summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-08-17 22:56:35 +0200
committerTreeki <treeki@gmail.com>2012-08-17 22:56:35 +0200
commit3a11a06438d1f13d5c260e1083e70c144cff0463 (patch)
tree75b0b1f7d67de09a81d64180df2fa09c746f2ceb /src
parent4f12cb6a6165362acb84b9991a1c4dd291e30eea (diff)
downloadkamek-3a11a06438d1f13d5c260e1083e70c144cff0463.tar.gz
kamek-3a11a06438d1f13d5c260e1083e70c144cff0463.zip
i am bad at assembly
Diffstat (limited to '')
-rwxr-xr-xsrc/spritetex.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spritetex.S b/src/spritetex.S
index d5f7ed0..cd7d169 100755
--- a/src/spritetex.S
+++ b/src/spritetex.S
@@ -1221,10 +1221,10 @@ ChangeWindyColour:
andi. r3, r3, 0xF0
stb r0, 0x5BB(r23)
beqlr
- lis r3, r3, 0xFFFF
+ lis r3, 0xFFFF
ori r3, r3, 0xFF64
stw r3, 0x5B4(r23)
- lis r3, r3, 0x87E6
+ lis r3, 0x87E6
ori r3, r3, 0xFFFF
stw r3, 0x5B8(r23)
blr