summaryrefslogtreecommitdiff
path: root/meteor.yaml
blob: b2be96de7b4db69c447183332c741c725116ccd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
# Replaces EN_TARZANROPE

source_files: [../src/meteor.cpp]
hooks:
  - name: BuildMeteor
    type: add_func_pointer
    src_addr_pal: 0x80B0A940
    target_func: 'dMeteor::build(void)'

  - name: UpdateMeteorSpriteInfo
    type: patch
    # 0x8030A340 + sprite num * 0x28 == offset
    addr_pal: 0x8030BFD8
    #      -ID- ----  -X Offs- -Y Offs-  -RectX1- -RectY1- -RectX2- -RectY2-  -1C- -1E- -20- -22-  Flag ----
    # Orig 01FC 0000  00000008 00000000  00000000 FFFFFFC0 00000010 00000040  0030 0030 0000 0000  0008 0000
    data: '01FC 0000  00000008 00000000  00000008 00000000 00000200 00000200  0030 0030 0000 0000  0008 0000'