summaryrefslogtreecommitdiff
path: root/src/soundPlayer.S
diff options
context:
space:
mode:
authorColin Noga <Tempus@Spectrum-Song.local>2011-10-15 03:23:27 -0500
committerColin Noga <Tempus@Spectrum-Song.local>2011-10-15 03:23:27 -0500
commitd287567cb54f4ba68633e3580e5e39a38a533604 (patch)
treef9ff45ea3680f1dafb630e678ec85d88362de8a0 /src/soundPlayer.S
parentf490f30abf396ad8d0ce4ccfe5337c9949776ed8 (diff)
downloadkamek-d287567cb54f4ba68633e3580e5e39a38a533604.tar.gz
kamek-d287567cb54f4ba68633e3580e5e39a38a533604.zip
some touch ups, animations, effects, sounds, the stage end function, and a proper wipe, fake coin improvements
Diffstat (limited to '')
-rw-r--r--src/soundPlayer.S13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/soundPlayer.S b/src/soundPlayer.S
index 04f29f8..645af31 100644
--- a/src/soundPlayer.S
+++ b/src/soundPlayer.S
@@ -20,8 +20,9 @@
.extern YetAnotherSoundPlayer
.extern CheckIfPlayingSound
.extern StopSoundBasic
-.extern BufferToCheckIfPlaying
+.extern StopSoundRelated
.extern SoundClassRelated
+.extern BufferToCheckIfPlaying
.align 4
@@ -85,7 +86,15 @@ GoAwaySoundGuy:
.global StopSound
StopSound:
+ stwu r1, -0x10(r1)
+ mtlr r0
+ stw r0, 0x14(r1)
+
mr r4, r3
lwz r3, -0x5218(r13)
- b StopSoundBasic
+ bl StopSoundBasic
+ lwz r0, 0x14(r1)
+ mflr r0
+
+ blr