summaryrefslogtreecommitdiff
path: root/src/spritetex.S
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-03-03 02:53:03 +0100
committerTreeki <treeki@gmail.com>2013-03-03 02:53:03 +0100
commitfd44cf6ce77b7cc16619f4274c31ba9137fc0064 (patch)
tree83ee84dcb8274dca2c4a9f114eb0161cd4da875d /src/spritetex.S
parentc563103b0ba5bfe79e79395ab0e05094974e4ca7 (diff)
downloadkamek-fd44cf6ce77b7cc16619f4274c31ba9137fc0064.tar.gz
kamek-fd44cf6ce77b7cc16619f4274c31ba9137fc0064.zip
disable mpgp on spike tops with texture 5
Diffstat (limited to '')
-rwxr-xr-xsrc/spritetex.S7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/spritetex.S b/src/spritetex.S
index 7fa09ba..2831b31 100755
--- a/src/spritetex.S
+++ b/src/spritetex.S
@@ -1598,6 +1598,13 @@ BigMetPowFix:
beqlr
b OriginalPowBlockActivated
+.global TogeMetPowFix
+TogeMetPowFix:
+ lwz r5, 4(r3)
+ extrwi r5, r5, 4,4
+ cmpwi r5, 5
+ beqlr
+ b OriginalPowBlockActivated
.data
BomombDir: