summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-02-04 21:45:53 +0100
committerTreeki <treeki@gmail.com>2012-02-04 21:45:53 +0100
commit155c87d40aa4854056836c0fefc5f50d3a4bd024 (patch)
tree2c2f3edc15b2c7626a99b0bd65e2a62f534ef609 /src
parent4ef5a035af3fe3d2157cea753b39500367cd290a (diff)
downloadkamek-155c87d40aa4854056836c0fefc5f50d3a4bd024.tar.gz
kamek-155c87d40aa4854056836c0fefc5f50d3a4bd024.zip
fixed the fix for sprite 38
Diffstat (limited to 'src')
-rw-r--r--src/fix38.S7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/fix38.S b/src/fix38.S
index 09c3ac6..9728e1e 100644
--- a/src/fix38.S
+++ b/src/fix38.S
@@ -13,12 +13,15 @@ fix38WithJumpCoin:
# check actor type for EN_COIN_JUMP
lhz r0, 8(r3)
cmplwi r0, 403
- beq continueFromFlagObjCheck
+ beq isExemptedActor
# and EN_HATENA_BALLOON
cmplwi r0, 221
- beq continueFromFlagObjCheck
+ beq isExemptedActor
# it wasn't that, so just return 0
li r3, 0
b returnFromFlagObjCheck
+isExemptedActor:
+ b continueFromFlagObjCheck
+