summaryrefslogtreecommitdiff
path: root/flipblock.yaml
blob: 38b6b7b91bc2fdb5dc0dd9c7cea2eb068fa16160 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
source_files: [../src/flipblock.cpp]
hooks:
  - name: BuildFlipBlock
    type: add_func_pointer
    src_addr_pal: 0x80982F34
    target_func: 'daEnFlipBlock_c::build(void)'
  - name: UpdateFlipBlockSpriteInfo
    type: patch
    addr_pal: 0x8030D518
    #      -ID- ----  -X Offs- -Y Offs-  -RectX1- -RectY1- -RectX2- -RectY2-  -1C- -1E- -20- -22-  Flag ----
    # Orig 02EB 0000  00000000 00000000  00000000 00000000 00000000 00000000  0000 0000 0000 0000  0000 0000
    data: '0299 0000  00000008 FFFFFFF8  00000000 00000000 00000100 00000100  0000 0000 0000 0000  0000 0000'
  - name: FlipBlockSpriteFileInfo
    type: add_func_pointer
    src_addr_pal: 0x8031B048
    target_func: 'FlipBlockFileList'
    # 0x8031AB4C + sprite num * 0x4 == offset