summaryrefslogtreecommitdiff
path: root/replay.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 /replay.yaml
downloadkamek-7d4e4c0b34a613dd3c0220475ae4e448197522c1.tar.gz
kamek-7d4e4c0b34a613dd3c0220475ae4e448197522c1.zip
initial commit. now I can start playing with stuff!
Diffstat (limited to '')
-rw-r--r--replay.yaml39
1 files changed, 39 insertions, 0 deletions
diff --git a/replay.yaml b/replay.yaml
new file mode 100644
index 0000000..0dc9084
--- /dev/null
+++ b/replay.yaml
@@ -0,0 +1,39 @@
+source_files: [replay.S]
+hooks:
+ - name: ReplayHookStart
+ type: branch_insn
+ branch_type: b
+ src_addr_pal: 0x809246E0
+ target_func: 'replayStart'
+ - name: ReplayHookEnd
+ type: branch_insn
+ branch_type: bl
+ src_addr_pal: 0x80102238
+ target_func: 'replayEnd'
+ - name: ReplayHookRecord
+ type: branch_insn
+ 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: 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
+ - name: ReplayInitPatch2
+ type: patch
+ addr_pal: 0x8092016C
+ data: '38841D68' # might not work on NTSC
+ - name: ReplayPrepareSkip
+ type: patch
+ addr_pal: 0x8091F6EC
+ data: '48000220' # branches past most of the function