From 7d4e4c0b34a613dd3c0220475ae4e448197522c1 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sat, 12 Mar 2011 23:17:12 +0100 Subject: initial commit. now I can start playing with stuff! --- linegod.yaml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 linegod.yaml (limited to 'linegod.yaml') 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' -- cgit v1.2.3