summaryrefslogtreecommitdiff
path: root/src/koopatlas/fixes.S
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-10-31 00:50:54 +0100
committerTreeki <treeki@gmail.com>2012-10-31 00:50:54 +0100
commite7ffd801beef0f4b5e49db7d384fb3dd77c5a68c (patch)
tree41a6fcad926c1e92a4c4405e2d7d85b24f911eb7 /src/koopatlas/fixes.S
parent4e43d350d71fcbd90bc8e647aa53fc5152bb1de8 (diff)
downloadkamek-e7ffd801beef0f4b5e49db7d384fb3dd77c5a68c.tar.gz
kamek-e7ffd801beef0f4b5e49db7d384fb3dd77c5a68c.zip
bugfixes and some cleanup
Diffstat (limited to 'src/koopatlas/fixes.S')
-rw-r--r--src/koopatlas/fixes.S10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/koopatlas/fixes.S b/src/koopatlas/fixes.S
new file mode 100644
index 0000000..50c2bed
--- /dev/null
+++ b/src/koopatlas/fixes.S
@@ -0,0 +1,10 @@
+.text
+.global ClearLastPowerupStoreTypeAfterGameOver
+.extern LastPowerupStoreType
+ClearLastPowerupStoreTypeAfterGameOver:
+ lis r4, LastPowerupStoreType@h
+ ori r4, r4, LastPowerupStoreType@l
+ li r5, 0
+ stw r5, 0(r4)
+ blr
+