summaryrefslogtreecommitdiff
path: root/linegod.yaml
diff options
context:
space:
mode:
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'