summaryrefslogtreecommitdiff
path: root/flipblock.yaml
diff options
context:
space:
mode:
Diffstat (limited to '')
-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