summaryrefslogtreecommitdiff
path: root/randtiles.yaml
blob: 5ee73aaf7821d20dc24b2de267c7913b4bf8de1f (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
---
source_files: [../src/randtiles.cpp]
hooks:
  - name: ModifyTilemapClassSize
    type: patch
    addr_pal: 0x80083598
    data: '3860 0C3C'

  - name: LoadRandTiles
    type: branch_insn
    branch_type: b
    src_addr_pal: 0x8015BCD0
    target_func: 'RandTileLoadHook'

  - name: HookIdentifyTilesets
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x800838AC
    target_func: 'IdentifyTilesets'

  - name: HookTilePlacer
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80086B48
    target_func: 'TryAndRandomise'