summaryrefslogtreecommitdiff
path: root/flipblock.yaml
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-10-01 23:51:12 +0200
committerTreeki <treeki@gmail.com>2012-10-01 23:51:12 +0200
commitaa0105c53dc74583831c88761e542f1d1baee463 (patch)
tree6c46a0770fdc6243f027f8fb205cb662d4699e03 /flipblock.yaml
parentb8b7c83fc30e8436de4138809d5691187c74887e (diff)
downloadkamek-aa0105c53dc74583831c88761e542f1d1baee463.tar.gz
kamek-aa0105c53dc74583831c88761e542f1d1baee463.zip
untested flip block
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..0656091
--- /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 00000000 00000000 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