summaryrefslogtreecommitdiff
path: root/bossCaptainBowser.yaml
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-03-17 16:27:52 -0500
committerColin Noga <Tempus@chronometry.ca>2012-03-17 16:27:52 -0500
commite6a945496b2252477f1d5015343ce7e6cdda0cc4 (patch)
tree67aeb5a84b5423082c264d1c1326c9d443960839 /bossCaptainBowser.yaml
parente88fd1dcef52d4375fef655918886fc14bb1f40c (diff)
downloadkamek-e6a945496b2252477f1d5015343ce7e6cdda0cc4.tar.gz
kamek-e6a945496b2252477f1d5015343ce7e6cdda0cc4.zip
Added Captina Bowser and his crew of merry sprites, plus some fixes for other junk.
Diffstat (limited to 'bossCaptainBowser.yaml')
-rw-r--r--bossCaptainBowser.yaml37
1 files changed, 37 insertions, 0 deletions
diff --git a/bossCaptainBowser.yaml b/bossCaptainBowser.yaml
new file mode 100644
index 0000000..5ac6970
--- /dev/null
+++ b/bossCaptainBowser.yaml
@@ -0,0 +1,37 @@
+---
+# Captain Bowser Replaces Mask
+#
+# KoopaThrow = WM_ANCHOR
+# FlameThrower = WM_ANTLION_MGR
+
+source_files: [../src/bossCaptainBowser.cpp, ../src/bossKoopaThrow.cpp, ../src/bossFlameThrower.cpp]
+
+hooks:
+ - name: BossCaptainBoswerBuild
+ type: add_func_pointer
+ src_addr_pal: 0x80955978
+ target_func: 'daCaptainBowser::build(void)'
+
+ - name: KoopaThrowBuild
+ type: add_func_pointer
+ src_addr_pal: 0x80981960
+ target_func: 'daKoopaThrow::build(void)'
+
+ - name: UpdateKoopaThrowSpriteInfo
+ type: patch
+ addr_pal: 0x8030A4D0
+ # [010] ( 16, 16) ( 0, 0 32: 32) 64? 64? 0? 0? | [0:No Flags]
+ data: '000A 0000 00000010 00000010 00000000 00000000 00000020 00000020 0040 0040 0000 0000 0000 0000'
+ # 0x8030A340 + sprite num * 0x28 == offset
+
+ - name: KFlameThrowerBuild
+ type: add_func_pointer
+ src_addr_pal: 0x80981BD4
+ target_func: 'daKoopaBreath::build(void)'
+
+ - name: UpdateKoopaThrowSpriteInfo
+ type: patch
+ addr_pal: 0x8030A4F8
+ # [011] ( 16, 16) ( 0, 0 32: 32) 64? 64? 0? 0? | [0:No Flags]
+ data: '000B 0000 00000010 00000010 00000000 00000000 00000020 00000020 0040 0040 0000 0000 0000 0000'
+ # 0x8030A340 + sprite num * 0x28 == offset