summaryrefslogtreecommitdiff
path: root/bossCaptainBowser.yaml
blob: 5ef0ea06f6eddbd4daa6835550837effba749e52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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: '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: 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: '0271 0000  00000010 00000010  00000000 00000000 00000020 00000020  0040 0040 0000 0000  0000 0000'
    # 0x8030A340 + sprite num * 0x28 == offset