diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-09-13 15:38:47 -0500 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-09-13 15:38:47 -0500 |
commit | a16adae746a5d4814a781f583d18dd79d3e7d43b (patch) | |
tree | 1d4a62d19e3a69e1f057fb6769e3f3e123a182ab /pumpkinGoomba.yaml | |
parent | dba3ee84993ddb4adc909ba005eb88a2a201da82 (diff) | |
download | kamek-a16adae746a5d4814a781f583d18dd79d3e7d43b.tar.gz kamek-a16adae746a5d4814a781f583d18dd79d3e7d43b.zip |
Added in pumpkin goomba and the airship key global event option
Diffstat (limited to 'pumpkinGoomba.yaml')
-rw-r--r-- | pumpkinGoomba.yaml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pumpkinGoomba.yaml b/pumpkinGoomba.yaml new file mode 100644 index 0000000..ae28f56 --- /dev/null +++ b/pumpkinGoomba.yaml @@ -0,0 +1,24 @@ +--- +# Replaces [637] WM_KINOKO_STAR + + +source_files: [../src/pumpkinGoomba.cpp] +hooks: + - name: BuildGoombaPie + type: add_func_pointer + src_addr_pal: 0x80983E3C + target_func: 'dGoombaPie::build(void)' + + - name: UpdateGoombaPieSpriteInfo + type: patch + # 0x8030A340 + sprite num * 0x28 == offset + addr_pal: 0x8030A6B0 + # -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: '027D 0000 00000008 00000000 00000008 00000000 00000200 00000200 0030 0030 0000 0000 0008 0000' + + - name: GoombaPieSpriteFileInfo + type: add_func_pointer + src_addr_pal: 0x8031ABA4 + target_func: 'GParcNameList' + # 0x8031AB4C + sprite num * 0x4 == offset |