summaryrefslogtreecommitdiff
path: root/src/anotherhax.S
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-02-04 21:36:43 +0100
committerTreeki <treeki@gmail.com>2012-02-04 21:36:43 +0100
commit4c8f7e0c1e6d219b5642e322d37dc6169de50d2c (patch)
tree0ff01b1b268d5a0814598ae5e2d62a81755fef96 /src/anotherhax.S
parenta1e88d255ec5b2d47c6467a5818fbe34e00588c1 (diff)
downloadkamek-4c8f7e0c1e6d219b5642e322d37dc6169de50d2c.tar.gz
kamek-4c8f7e0c1e6d219b5642e322d37dc6169de50d2c.zip
ported Another sprite 38 fix to Newer
Diffstat (limited to 'src/anotherhax.S')
-rw-r--r--src/anotherhax.S23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/anotherhax.S b/src/anotherhax.S
deleted file mode 100644
index ca0a658..0000000
--- a/src/anotherhax.S
+++ /dev/null
@@ -1,23 +0,0 @@
-.set sp, 1
-
-.extern continueFromFlagObjCheck
-.extern returnFromFlagObjCheck
-
-.global fix38WithJumpCoin
-
-.text
-
-fix38WithJumpCoin:
- # hacky fix because I can't figure out how to do it the right way
-
- # check actor type for EN_COIN_JUMP
- lhz r0, 8(r3)
- cmplwi r0, 403
- bne dontContinue
- b continueFromFlagObjCheck
-dontContinue:
-
- # it wasn't that, so just return 0
- li r3, 0
- b returnFromFlagObjCheck
-