summaryrefslogtreecommitdiff
path: root/bossCaptainBowser.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'bossCaptainBowser.yaml')
-rw-r--r--bossCaptainBowser.yaml69
1 files changed, 65 insertions, 4 deletions
diff --git a/bossCaptainBowser.yaml b/bossCaptainBowser.yaml
index 5ef0ea0..0583af0 100644
--- a/bossCaptainBowser.yaml
+++ b/bossCaptainBowser.yaml
@@ -1,10 +1,10 @@
---
-# Captain Bowser Replaces Mask
+# Captain Bowser Replaces Branch
#
# KoopaThrow = WM_ANCHOR
-# FlameThrower = WM_ANTLION_MGR
+# FlameThrower = WM_ANTLION
-source_files: [../src/bossCaptainBowser.cpp, ../src/bossKoopaThrow.cpp, ../src/bossFlameThrower.cpp]
+source_files: [../src/bossPlayerClown.cpp, ../src/bossCaptainBowser.cpp, ../src/bossKoopaThrow.cpp, ../src/bossFlameThrower.cpp]
hooks:
- name: BossCaptainBoswerBuild
@@ -12,6 +12,14 @@ hooks:
src_addr_pal: 0x80955978
target_func: 'daCaptainBowser::build(void)'
+ - name: UpdateaptainBoswerSpriteInfo
+ type: patch
+ addr_pal: 0x8030C4AC
+ # [010] ( 16, 16) ( 0, 0 32: 32) 64? 64? 0? 0? | [0:No Flags]
+ data: '0002 0000'
+ # 0x8030A340 + sprite num * 0x28 == offset (+24 in this case)
+
+
- name: KoopaThrowBuild
type: add_func_pointer
src_addr_pal: 0x80981960
@@ -26,7 +34,7 @@ hooks:
- name: KFlameThrowerBuild
type: add_func_pointer
- src_addr_pal: 0x80981BD4
+ src_addr_pal: 0x80981A3C
target_func: 'daKoopaBreath::build(void)'
- name: UpdateKoopaThrowSpriteInfo
@@ -35,3 +43,56 @@ hooks:
# [011] ( 16, 16) ( 0, 0 32: 32) 64? 64? 0? 0? | [0:No Flags]
data: '0271 0000 00000010 00000010 00000000 00000000 00000020 00000020 0040 0040 0000 0000 0000 0000'
# 0x8030A340 + sprite num * 0x28 == offset
+
+
+
+ - name: ClownCarFloor
+ type: patch
+ addr_pal: 0x80810A40
+ data: '60000000'
+
+ - name: ClownCarWalls
+ type: patch
+ addr_pal: 0x80937A60
+ data: '471C4000'
+
+ - name: ClownCarAllocation
+ type: patch
+ addr_pal: 0x8080F918
+ data: '38600FD0' # Replace 0x0FD0 which how much space I want to allocate
+
+
+
+ # Official Funcs
+ # - name: ClownCarCtor
+ # type: branch_insn
+ # branch_type: bl
+ # src_addr_pal: 0x8080F92C
+ # target_func: 'newClownCtor(dEn_c *clown)'
+
+ # - name: ClownCarDtor
+ # type: add_func_pointer
+ # src_addr_pal: 0x809602A8
+ # target_func: 'newClownDtor(dEn_c *clown, u32 willDelete)'
+
+
+ # # My overrides
+ # - name: ClownCarMoveExecute
+ # type: add_func_pointer
+ # src_addr_pal: 0x80960184
+ # target_func: 'CConExecuteMove(dEn_c *clown)'
+
+ # - name: ClownCarAfterCreate
+ # type: add_func_pointer
+ # src_addr_pal: 0x8095FEF8
+ # target_func: 'CCafterCreate(dEn_c *clown)'
+
+ # - name: ClownCarOnExecute
+ # type: add_func_pointer
+ # src_addr_pal: 0x8095FF08
+ # target_func: 'CConExecute(dEn_c *clown)'
+
+ # - name: ClownCarOnDraw
+ # type: add_func_pointer
+ # src_addr_pal: 0x8095FF14
+ # target_func: 'CConDraw(dEn_c *clown)'