summaryrefslogtreecommitdiff
path: root/linegod.yaml
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2011-03-12 23:17:12 +0100
committerTreeki <treeki@gmail.com>2011-03-12 23:17:12 +0100
commit7d4e4c0b34a613dd3c0220475ae4e448197522c1 (patch)
tree4f5cee367de3fdef4f9a7c84af59ffe76a2bb1c3 /linegod.yaml
downloadkamek-7d4e4c0b34a613dd3c0220475ae4e448197522c1.tar.gz
kamek-7d4e4c0b34a613dd3c0220475ae4e448197522c1.zip
initial commit. now I can start playing with stuff!
Diffstat (limited to '')
-rw-r--r--linegod.yaml36
1 files changed, 36 insertions, 0 deletions
diff --git a/linegod.yaml b/linegod.yaml
new file mode 100644
index 0000000..989e07b
--- /dev/null
+++ b/linegod.yaml
@@ -0,0 +1,36 @@
+---
+# Replaces RIVER_MGR
+
+source_files: [../src/linegod.cpp, ../src/linegod.S]
+hooks:
+ - name: LineGodCreate
+ type: add_func_pointer
+ src_addr_pal: 0x80979570
+ src_addr_ntsc: 0xdeadbeef
+ target_func: 'LineGod_Create(LineGod *)'
+
+ - name: LineGodExecute
+ type: add_func_pointer
+ src_addr_pal: 0x80979588
+ src_addr_ntsc: 0xdeadbeef
+ target_func: 'LineGod_Execute(LineGod *)'
+
+ - name: LineGodSpawnFix
+ type: branch_insn
+ branch_type: b
+ src_addr_pal: 0x8007EA98
+ src_addr_ntsc: 0xdeadbeef
+ target_func: 'BgActorSpawnFix'
+
+ - name: BgActorSetInfoFix
+ type: branch_insn
+ branch_type: b
+ src_addr_pal: 0x8007EA60
+ src_addr_ntsc: 0xdeadbeef
+ target_func: 'BgActorSetInfoFix'
+
+ - name: LineGodMemFix
+ type: patch
+ addr_pal: 0x80898798
+ addr_ntsc: 0xdeadbeef
+ data: '3860 0400'