summaryrefslogtreecommitdiff
path: root/worldmap.yaml
blob: 4ca48f305882de41102dd76c9557f14f71a2b443 (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
---
source_files:
  - ../src/worldmap.cpp
  - ../src/fileload.cpp
  - ../src/asmlib.S
  - ../src/levelinfo.cpp
  - ../src/layoutlib.S
  - ../src/scene.S
  - ../src/player.cpp
  - ../src/effects.cpp

hooks:
  - name: BuildWorldMap
    type: add_func_pointer
    src_addr_pal: 0x8098DCF0
    target_func: 'dScNewerWorldMap_c::build(void)'

# fix the STOCK_ITEM references
  - name: StockItemFix
    type: patch
    addr_ntsc: 0x80101110
    addr_pal: 0x80101220
    data: '4E800020'

# this isn't used!
  - name: WMDrawFuncFix
    type: patch
    addr_pal: 0x80926800
    data: '60000000'