summaryrefslogtreecommitdiff
path: root/bossMegaGoomba.yaml
blob: 869c2a28c9d50616d5682c27bbeca1cd7287c879 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
# Replaces AC_BLOCK_GROUP

source_files: [../src/bossMegaGoomba.cpp]
hooks:
  - name: MegaGoombaBuild
    type: add_func_pointer
    src_addr_pal: 0x80952e10
    target_func: 'daMegaGoomba_c::build(void)'

  - name: MegaGoombaSpriteFileInfo
    type: add_func_pointer
    src_addr_pal: 0x8031B1B4
    target_func: 'MGarcNameList'
    # 0x8031AB4C + sprite num * 0x4 == offset

  - {name: ShakePlayerFix1, type: nop_insn, area_pal: 0x80B601AC}
  - {name: ShakePlayerFix2, type: nop_insn, area_pal: [0x80B601F0, 0x80B601F4]}
  - {name: ShakePlayerFix1, type: nop_insn, area_pal: 0x80B601AC}