summaryrefslogtreecommitdiff
path: root/flipblock.yaml
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-10-03 12:55:15 -0500
committerColin Noga <Tempus@chronometry.ca>2012-10-03 12:55:15 -0500
commit34efbdba59b460a2f565c25a5ff20efb8d1077a0 (patch)
treec1729468fd611f9523e3a2bf492363e34c2fb879 /flipblock.yaml
parentc1365802c73376609e53b97440ae037b14f6324f (diff)
parent21d8492ded507f8f09bc28919b8d351b86fa0dd0 (diff)
downloadkamek-34efbdba59b460a2f565c25a5ff20efb8d1077a0.tar.gz
kamek-34efbdba59b460a2f565c25a5ff20efb8d1077a0.zip
Merge branch 'level-select' of ssh://treeki.rustedlogic.net:30000/Kamek into level-select
Diffstat (limited to 'flipblock.yaml')
-rw-r--r--flipblock.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/flipblock.yaml b/flipblock.yaml
new file mode 100644
index 0000000..38b6b7b
--- /dev/null
+++ b/flipblock.yaml
@@ -0,0 +1,18 @@
+---
+source_files: [../src/flipblock.cpp]
+hooks:
+ - name: BuildFlipBlock
+ type: add_func_pointer
+ src_addr_pal: 0x80982F34
+ target_func: 'daEnFlipBlock_c::build(void)'
+ - name: UpdateFlipBlockSpriteInfo
+ type: patch
+ addr_pal: 0x8030D518
+ # -ID- ---- -X Offs- -Y Offs- -RectX1- -RectY1- -RectX2- -RectY2- -1C- -1E- -20- -22- Flag ----
+ # Orig 02EB 0000 00000000 00000000 00000000 00000000 00000000 00000000 0000 0000 0000 0000 0000 0000
+ data: '0299 0000 00000008 FFFFFFF8 00000000 00000000 00000100 00000100 0000 0000 0000 0000 0000 0000'
+ - name: FlipBlockSpriteFileInfo
+ type: add_func_pointer
+ src_addr_pal: 0x8031B048
+ target_func: 'FlipBlockFileList'
+ # 0x8031AB4C + sprite num * 0x4 == offset