summaryrefslogtreecommitdiff
path: root/levelspecial.yaml
blob: a1569609608fecc4fd4e2d2e3541890fc4637957 (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
---
# Replaces TAG_THUNDER

source_files: [../src/levelspecial.cpp]
hooks:
  - name: LevelSpecial_Create
    type: add_func_pointer
    src_addr_pal: 0x8097CD3C
    target_func: 'LevelSpecial_Create(LevelSpecial *)'
    
  - name: LevelSpecial_Execute
    type: add_func_pointer
    src_addr_pal: 0x8097CD54
    target_func: 'LevelSpecial_Execute(LevelSpecial *)'
        
  - name: ResetAfterLevel
    type: branch_insn
    branch_type: b
    src_addr_pal: 0x809259E0
    target_func: 'ResetAfterLevel(void)'

  - name: LevelSpecial_MemFix
    type: patch
    addr_pal: 0x808AC778
    data: '38600400'

  - name: MarioStateChanger
    type: add_func_pointer
    src_addr_pal: 0x803259FC
    target_func: 'MarioStateChanger(void *, dStateBase_c *, unsigned int)'