summaryrefslogtreecommitdiff
path: root/thundercloud.yaml
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-12-13 17:02:55 -0600
committerColin Noga <Tempus@chronometry.ca>2012-12-13 17:02:55 -0600
commitac0ced5b71d2cf2bce444fce88e7b359ac08815c (patch)
tree6305e51ef39ba2a34b93f39e1a650ae346f6cebb /thundercloud.yaml
parente1425a9dcaf00f3f0932a0a8830d8593bf91ab60 (diff)
downloadkamek-ac0ced5b71d2cf2bce444fce88e7b359ac08815c.tar.gz
kamek-ac0ced5b71d2cf2bce444fce88e7b359ac08815c.zip
Added thundercloud sprite, made area death clouds
Diffstat (limited to '')
-rw-r--r--thundercloud.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/thundercloud.yaml b/thundercloud.yaml
new file mode 100644
index 0000000..e8a74c3
--- /dev/null
+++ b/thundercloud.yaml
@@ -0,0 +1,23 @@
+---
+# Replaces WM_BUBBLE
+
+source_files: [../src/thundercloud.cpp]
+hooks:
+ - name: BuildThundercloud
+ type: add_func_pointer
+ src_addr_pal: 0x80981E0C
+ target_func: 'dThunderCloud::build(void)'
+
+ - name: ThundercloudSpriteFileInfo
+ type: add_func_pointer
+ src_addr_pal: 0x8031ADEC
+ target_func: 'TLCarcNameList'
+ # 0x8031AB4C + sprite num * 0x4 == offset
+
+ - name: UpdateThundercloudSpriteInfo
+ type: patch
+ # 0x8030A340 + sprite num * 0x28 == offset
+ addr_pal: 0x8030BD80
+ # -ID- ---- -X Offs- -Y Offs- -RectX1- -RectY1- -RectX2- -RectY2- -1C- -1E- -20- -22- Flag ----
+ # Orig 01FC 0000 00000008 00000000 00000000 FFFFFFC0 00000010 00000040 0030 0030 0000 0000 0008 0000
+ data: '02A6 0000 00000000 00000000 00000000 00000000 00000200 00000200 0030 0030 0000 0000 0000 0000'