summaryrefslogtreecommitdiff
path: root/src/koopatlas/fixes.S
diff options
context:
space:
mode:
Diffstat (limited to '')
-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
+