diff options
author | Treeki <treeki@gmail.com> | 2012-09-07 21:20:15 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-09-07 21:20:15 +0200 |
commit | 3b616a5f8b7d49c59c45f09b59c1129b43002f3d (patch) | |
tree | cd8bb02d6125c0e881e6b563dd01f1c92cfc619c /src | |
parent | 9483344fcecf669e2be98b61d1fdb6c6e3aa5520 (diff) | |
download | kamek-3b616a5f8b7d49c59c45f09b59c1129b43002f3d.tar.gz kamek-3b616a5f8b7d49c59c45f09b59c1129b43002f3d.zip |
untested retextures/re-effects/re-sounds for igapuku and tobipuku
Diffstat (limited to '')
-rwxr-xr-x | src/spritetex.S | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/src/spritetex.S b/src/spritetex.S index cd7d169..692a381 100755 --- a/src/spritetex.S +++ b/src/spritetex.S @@ -193,6 +193,85 @@ TEX_Bush: b GetTexFilenameForR5 +.global TEX_TobiPuku +TEX_TobiPuku: + lwz r5, 4(r28) + andi. r5, r5, 0xF + b GetTexFilenameForR5 + +.global TobiPukuBypass +TobiPukuBypass: + slwi r4, r30, 28 + lwz r5, 4(r29) + clrlwi r5, r5, 28 + or r4, r4, r5 + blr + +.global TobiPukuEffectChange +TobiPukuEffectChange: + lwz r9, 4(r30) + clrlwi r9, r9, 28 + cmpwi r9, 1 + bne dontChangeEff_ + lis r4, magmawave@h + ori r4, r4, magmawave@l +dontChangeEff_: + bctr + +.data +magmawave: .string "Wm_en_magmawave" +.text + +.global TobiPukuSoundChange +TobiPukuSoundChange: + lwz r9, 4(r30) + clrlwi r9, r9, 28 + cmpwi r9, 1 + li r4, 644 + beqlr + li r4, 476 + blr + +.global IgaPukuBypass +IgaPukuBypass: + lwz r4, 4(r29) + clrrwi r4, r4, 24 + ori r4, r4, 0x10 + blr + +.global IgaPukuNoEffect1 +IgaPukuNoEffect1: + lwz r9, 4(r29) + srwi r9, r9, 24 + cmpwi r9, 1 + beqlr + bctr + +.global IgaPukuChangeEffect2 +IgaPukuChangeEffect2: + lwz r9, 4(r29) + srwi r9, r9, 24 + cmpwi r9, 1 + bne dontChangeEff + lis r4, firepillarsign@h + ori r4, r4, firepillarsign@l +dontChangeEff: + bctr + +.data +firepillarsign: .string "Wm_ob_firespillarunder" +.text + +.global IgaPukuSoundChange +IgaPukuSoundChange: + lwz r9, 4(r29) + srwi r9, r9, 24 + cmpwi r9, 1 + li r4, 479 + bnelr + li r4, 644 + blr + # The below was added by Tempus @@ -264,6 +343,8 @@ TEX_CheepChomp: TEX_PokeyB: .global TEX_Huckit TEX_Huckit: +.global TEX_IgaPuku +TEX_IgaPuku: lwz r5, 4(r29) srwi r5, r5, 24 andi. r5, r5, 0xF |