summaryrefslogtreecommitdiff
path: root/src/spritetex.S
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/spritetex.S28
1 files changed, 21 insertions, 7 deletions
diff --git a/src/spritetex.S b/src/spritetex.S
index b24c77a..850ebb7 100755
--- a/src/spritetex.S
+++ b/src/spritetex.S
@@ -1349,9 +1349,23 @@ GLOW_LightBlock:
.global CloudLT_Execute
CloudLT_Execute:
+
+ # li r9, 0xFF
+ # li r8, 0
+
+ # stb r9, 0x934(r31)
+ # stb r8, 0x935(r31)
+ # stb r8, 0x936(r31)
+ # stb r9, 0x937(r31)
+
+ # stb r9, 0xa60(r31)
+ # stb r8, 0xa61(r31)
+ # stb r8, 0xa62(r31)
+ # stb r9, 0xa63(r31)
+
lwz r8, 4(r31)
- slwi r8, r8, 28
+ srwi r8, r8, 28
cmpwi r8, 1
beq CloudD_Execute
@@ -1367,7 +1381,7 @@ CloudD_Execute:
TEX_CloudLT_A:
lwz r8, 4(r31)
- slwi r8, r8, 28
+ srwi r8, r8, 28
cmpwi r8, 1
beq TEX_CloudLT_Aa
@@ -1385,7 +1399,7 @@ TEX_CloudLT_Aa:
TEX_CloudLT_B:
lwz r8, 4(r31)
- slwi r8, r8, 28
+ srwi r8, r8, 28
cmpwi r8, 1
beq TEX_CloudLT_Ba
@@ -1403,7 +1417,7 @@ TEX_CloudLT_Ba:
TEX_CloudLT_C:
lwz r8, 4(r31)
- slwi r8, r8, 28
+ srwi r8, r8, 28
cmpwi r8, 1
beq TEX_CloudLT_Ca
@@ -1541,12 +1555,12 @@ YoshiStrings:
.align 4
CloudA:
- .string "wny_mist.9"
+ .string "wny_mist.0"
.align 4
CloudB:
- .string "wny_mist.10"
+ .string "wny_mist.1"
.align 4
CloudC:
- .string "wny_mist.11"
+ .string "wny_mist.2"
.align 4