--- # Captain Bowser Replaces Branch # # KoopaThrow = WM_ANCHOR # FlameThrower = WM_ANTLION source_files: [../src/bossPlayerClown.cpp, ../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: 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 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: '029F 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: 0x80981A3C 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: '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: '386017D0' # 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 *)' - name: ClownCarDtor type: add_func_pointer src_addr_pal: 0x8095FF30 target_func: 'newClownDtor(dEn_c *, unsigned int)' # My overrides - name: ClownCarMoveExecute type: add_func_pointer src_addr_pal: 0x80960184 target_func: 'CConExecuteMove(dEn_c *)' - name: ClownCarAfterCreate type: add_func_pointer src_addr_pal: 0x8095FEF8 target_func: 'CCafterCreate(dEn_c *, unsigned int)' - name: ClownCarOnExecute type: add_func_pointer src_addr_pal: 0x8095FF08 target_func: 'CConExecute(dEn_c *)' - name: ClownCarOnDraw type: add_func_pointer src_addr_pal: 0x8095FF14 target_func: 'CConDraw(dEn_c *)'