summaryrefslogtreecommitdiff
path: root/src/spritetex.S
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-07-11 02:34:29 -0500
committerColin Noga <Tempus@chronometry.ca>2012-07-11 02:34:29 -0500
commitc6461149389ec807371b9692b7484ab108e2a068 (patch)
tree5d2624e4d61ab5f4e8c1472fcb6733d612d4e071 /src/spritetex.S
parentab412589662152c99c1653be980136912bcde4f3 (diff)
downloadkamek-c6461149389ec807371b9692b7484ab108e2a068.tar.gz
kamek-c6461149389ec807371b9692b7484ab108e2a068.zip
Plenty of bugfixes, and bowser improvements
Diffstat (limited to '')
-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: