diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-06-24 19:34:56 -0500 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-06-24 19:34:56 -0500 |
commit | 10fa535e98f3e1043b04895aaab2e916549fcf69 (patch) | |
tree | 7dda2c5658961801414f2eef9e9137efadd26d78 /singAlong.yaml | |
parent | fd286ae035b52d3d78e234d9f91b6610ae30def6 (diff) | |
download | kamek-10fa535e98f3e1043b04895aaab2e916549fcf69.tar.gz kamek-10fa535e98f3e1043b04895aaab2e916549fcf69.zip |
Lots of bug fixes, bowser improvements, summer sun hacks, JPN support, etc.
Diffstat (limited to 'singAlong.yaml')
-rw-r--r-- | singAlong.yaml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/singAlong.yaml b/singAlong.yaml new file mode 100644 index 0000000..7c9ba66 --- /dev/null +++ b/singAlong.yaml @@ -0,0 +1,39 @@ +--- +# SingAlong = WM_KILLERBULLET (0x276) +# SongBlock = WM_KILLER (0x275) + +source_files: [../src/bonusRoom.cpp] + +hooks: + + ################################################ + # HOOKS FOR Sing Along + ################################################ + - name: SingAlongBuild + type: add_func_pointer + src_addr_pal: 0x8098369C + target_func: 'dSingAlong::build(void)' + + - name: UpdateSingAlongSpriteInfo + type: patch + addr_pal: 0x8030A598 + data: '0276 0000 00000010 00000010 00000000 00000000 00000200 00000200 0000 0000 0200 0200 0000 0000' + # 0x8030A340 + sprite num * 0x28 == offset + + - name: SingAlongSpriteFileInfo + type: add_func_pointer + src_addr_pal: 0x8031AB88 + target_func: 'SAarcNameList' + + # 0x8031AB4C + sprite num * 0x4 == offset + # That offset stores a pointer to a table of pointers to strings, followed by four bytes of padding + # Each string is an arcname to load + + + ################################################ + # HOOKS FOR Song Block + ################################################ + - name: SongBlockBuild + type: add_func_pointer + src_addr_pal: 0x809834F0 + target_func: 'dSongBlock::build(void)' |