diff options
Diffstat (limited to 'replay.yaml')
-rw-r--r-- | replay.yaml | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/replay.yaml b/replay.yaml index 0dc9084..c60d848 100644 --- a/replay.yaml +++ b/replay.yaml @@ -1,4 +1,4 @@ -source_files: [replay.S] +source_files: [../src/replay.S] hooks: - name: ReplayHookStart type: branch_insn @@ -15,25 +15,28 @@ hooks: branch_type: b src_addr_pal: 0x8006A1B4 target_func: 'replayRecord' - - name: LuigiOverride - type: branch_insn - branch_type: b - src_addr_pal: 0x800E50B4 - target_func: 'luigiOverride' +# - name: LuigiOverride +# type: branch_insn +# branch_type: b +# src_addr_pal: 0x800E50B4 +# target_func: 'luigiOverride' - name: GetAndSaveRandomSeed type: branch_insn branch_type: b src_addr_pal: 0x8091F930 target_func: 'getAndSaveRandomSeed' - name: ReplayInitPatch1 - type: patch - addr_pal: 0x80920124 - data: '38841D68' # might not work on NTSC + type: branch_insn + branch_type: bl + src_addr_pal: 0x80920124 + target_func: 'ChooseReplayStateIfNeeded' - name: ReplayInitPatch2 - type: patch - addr_pal: 0x8092016C - data: '38841D68' # might not work on NTSC + type: branch_insn + branch_type: bl + src_addr_pal: 0x8092016C + target_func: 'ChooseReplayStateIfNeeded' - name: ReplayPrepareSkip - type: patch - addr_pal: 0x8091F6EC - data: '48000220' # branches past most of the function + type: branch_insn + branch_type: b + src_addr_pal: 0x8091F6E8 + target_func: 'SkipReplayPrepareIfNeeded' |