summaryrefslogtreecommitdiff
path: root/src/spritetex.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/spritetex.S')
-rwxr-xr-xsrc/spritetex.S23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/spritetex.S b/src/spritetex.S
index 563d81a..1aeea74 100755
--- a/src/spritetex.S
+++ b/src/spritetex.S
@@ -556,6 +556,29 @@ SnowmanSandToSnowB:
blr
+
+
+SnowmanPokeyRotate:
+
+ lha r3, 0x102(r30)
+ blr
+
+
+.global TEX_PokeySnowmanRotate
+TEX_PokeySnowmanRotate:
+
+ lwz r10, 4(r30)
+ srwi r10, r10, 24
+ andi. r10, r10, 0xF
+
+ cmpwi r10, 0x2
+ bne SnowmanPokeyRotate
+
+ li r3, 0
+ sth r3, 0x102(r30)
+ blr
+
+
.global TEX_PokeySnowman
TEX_PokeySnowman: