summaryrefslogtreecommitdiff
path: root/src/spritetex.S
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-12-15 13:36:40 -0600
committerColin Noga <Tempus@chronometry.ca>2012-12-15 13:36:40 -0600
commit639434feba546d683ee1e7255652a1caa20ea154 (patch)
tree755bdec0b05e6173ced17b3e375175e52256f982 /src/spritetex.S
parentdc914f134411f829c49f0dfb5c11255e9caccf2e (diff)
downloadkamek-639434feba546d683ee1e7255652a1caa20ea154.tar.gz
kamek-639434feba546d683ee1e7255652a1caa20ea154.zip
junk
Diffstat (limited to 'src/spritetex.S')
-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