summaryrefslogtreecommitdiff
path: root/src/spritetex.S
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-12-13 00:03:23 -0600
committerColin Noga <Tempus@chronometry.ca>2012-12-13 00:03:23 -0600
commite1425a9dcaf00f3f0932a0a8830d8593bf91ab60 (patch)
treec3a3030a333bfd42ec534429829f852ead0f72e5 /src/spritetex.S
parent4d2ba0963e1d4722f569b68235b169b5e3f69204 (diff)
downloadkamek-e1425a9dcaf00f3f0932a0a8830d8593bf91ab60.tar.gz
kamek-e1425a9dcaf00f3f0932a0a8830d8593bf91ab60.zip
Fixes to Samurshai, Thwomp boss, glow block
Diffstat (limited to '')
-rwxr-xr-xsrc/spritetex.S15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/spritetex.S b/src/spritetex.S
index a3d0331..50d2419 100755
--- a/src/spritetex.S
+++ b/src/spritetex.S
@@ -1329,6 +1329,21 @@ ChangeWindyColour:
blr
+.global GLOW_LightBlock
+GLOW_LightBlock:
+ lwz r4, 4(r3)
+
+ andi. r4, r4, 0x1
+ cmpwi r4, 1
+
+ beqlr
+
+ lwzu r12, 0x404(r3)
+ lwz r12, 0x10(r12)
+ mtctr r12
+ bctr
+
+
.data
BomombDir:
.word 0x0400FC00