diff options
author | Treeki <treeki@gmail.com> | 2011-05-08 03:03:36 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2011-05-08 03:03:36 +0200 |
commit | d97037eec29dafa172e495a4ca97b37ce0125087 (patch) | |
tree | aa597b93c1c2bb795348ba647fd0b257c40b754a /switchblock.yaml | |
parent | 41ce28e78ac811ea1d5c0cb861bb42f6178ed746 (diff) | |
download | kamek-d97037eec29dafa172e495a4ca97b37ce0125087.tar.gz kamek-d97037eec29dafa172e495a4ca97b37ce0125087.zip |
bringing the switch block hack over to this branch
Diffstat (limited to 'switchblock.yaml')
-rw-r--r-- | switchblock.yaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/switchblock.yaml b/switchblock.yaml new file mode 100644 index 0000000..20ecf24 --- /dev/null +++ b/switchblock.yaml @@ -0,0 +1,25 @@ +---
+source_files: [../src/switchblock.S]
+hooks:
+ - name: PrepareReplay_SwitchPatch
+ type: patch
+ addr_pal: 0x8091F800
+ data: '60000000 60000000 60000000 98830380'
+
+ - name: MoveInfoFromWorldDataToStructArray_SwitchPatch
+ type: patch
+ addr_pal: 0x80102C28
+ data: '60000000 3B800001 60000000 3BC0002A 60000000 98830380'
+
+ - name: BG_GM_InitRedSwitchFlag_SwitchPatch
+ type: branch_insn
+ src_addr_pal: 0x800784D0
+ branch_type: b
+ target_func: 'BG_GM_InitRedSwitchFlag_Patch'
+
+ - name: ProcessTileNum_EndPatch
+ type: branch_insn
+ src_addr_pal: 0x80081B54
+ branch_type: b
+ target_func: 'ProcessTileNum_EndPatch'
+
|