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