summaryrefslogtreecommitdiff
path: root/magicplatform.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'magicplatform.yaml')
-rw-r--r--magicplatform.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/magicplatform.yaml b/magicplatform.yaml
new file mode 100644
index 0000000..69b349c
--- /dev/null
+++ b/magicplatform.yaml
@@ -0,0 +1,15 @@
+---
+source_files: [../src/magicplatform.cpp]
+hooks:
+ - name: BuildMagicPlatform
+ type: add_func_pointer
+ src_addr_pal: 0x80B08630
+ target_func: 'daEnMagicPlatform_c::build(void)'
+
+ - name: UpdateMagicPlatformSpriteInfo
+ type: patch
+ addr_pal: 0x8030BDA8
+ # -ID- ---- -X Offs- -Y Offs- -RectX1- -RectY1- -RectX2- -RectY2- -1C- -1E- -20- -22- Flag ----
+ # Orig 00C4 0000 00000008 FFFFFFF0 00000000 00000010 00000010 00000010 0000 0000 0000 0000 0000 0000
+ data: '00C4 0000 00000000 00000000 00000000 00000000 00000100 00000100 0000 0000 0000 0000 0000 0000'
+