summaryrefslogtreecommitdiff
path: root/bossSamurshai.yaml
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-07-15 15:16:26 -0500
committerColin Noga <Tempus@chronometry.ca>2012-07-15 15:16:26 -0500
commit85ffcf8e57ab7a90318b8e24f62257b5393f7330 (patch)
treebf583ab2c8a1bc6f9a16b4a7a925a6daee541982 /bossSamurshai.yaml
parenta463a96cf84284b4a54eb4c57bf929a523157b45 (diff)
downloadkamek-85ffcf8e57ab7a90318b8e24f62257b5393f7330.tar.gz
kamek-85ffcf8e57ab7a90318b8e24f62257b5393f7330.zip
Lots of bug fixes, changing up the giga goomba, added in shy guy samurai boss
Diffstat (limited to 'bossSamurshai.yaml')
-rw-r--r--bossSamurshai.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/bossSamurshai.yaml b/bossSamurshai.yaml
new file mode 100644
index 0000000..9c8d65d
--- /dev/null
+++ b/bossSamurshai.yaml
@@ -0,0 +1,21 @@
+---
+# Replaces WM_PUKU
+
+source_files: [../src/bossSamurshai.cpp]
+hooks:
+ - name: SamurshaiBuild
+ type: add_func_pointer
+ src_addr_pal: 0x809894B4
+ target_func: 'daSamurshai::build(void)'
+
+ - name: SamurshaiSpriteFileInfo
+ type: add_func_pointer
+ src_addr_pal: 0x8031AB98
+ target_func: 'SSarcNameList'
+ # 0x8031AB4C + sprite num * 0x4 == offset
+
+ - name: UpdateSamurshaiSpriteInfo
+ type: patch
+ addr_pal: 0x8030A638
+ data: '0290 0000 00000010 00000010 00000000 00000000 00000040 00000040 0000 0000 0040 0040 0000 0000'
+ # 0x8030A340 + sprite num * 0x28 == offset