summaryrefslogtreecommitdiff
path: root/switchblock.yaml
diff options
context:
space:
mode:
authorColin Noga <Tempus@Spectrum-Song.local>2011-05-16 12:25:12 -0500
committerColin Noga <Tempus@Spectrum-Song.local>2011-05-16 12:25:12 -0500
commitb01edd3af9ccfdb05bbed628b1824779d2a59171 (patch)
tree5fca89195cc6f3a343c78b5678dae2a095d25790 /switchblock.yaml
parent7c5d2a4dd2a81282c38a6bbddacb3fe9c12808c4 (diff)
parent92541f002c9db098323bfdc544b18a89ae5da61c (diff)
downloadkamek-b01edd3af9ccfdb05bbed628b1824779d2a59171.tar.gz
kamek-b01edd3af9ccfdb05bbed628b1824779d2a59171.zip
Merge branch 'level-select' of treeki:newergit/Kamek into level-select
Diffstat (limited to 'switchblock.yaml')
-rw-r--r--switchblock.yaml25
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'
+