diff options
Diffstat (limited to 'bossCaptainBowser.yaml')
-rw-r--r-- | bossCaptainBowser.yaml | 37 |
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 |