summaryrefslogtreecommitdiff
path: root/mrsun.yaml
blob: f2c23997a7545764220a27dd6db17d646e576e64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
# Replaces EN_WALLINSECT

source_files: [../src/mrsun.cpp]
hooks:
  - name: BuildMrSun
    type: add_func_pointer
    src_addr_pal: 0x80B0DFA0
    target_func: 'daMrSun_c::build(void)'

  - name: MrSunSpriteFileInfo
    type: add_func_pointer
    src_addr_pal: 0x8031AFB4
    target_func: 'MSarcNameList'
    # 0x8031AB4C + sprite num * 0x4 == offset