diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-07-11 02:34:29 -0500 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-07-11 02:34:29 -0500 |
commit | c6461149389ec807371b9692b7484ab108e2a068 (patch) | |
tree | 5d2624e4d61ab5f4e8c1472fcb6733d612d4e071 /src/spritetex.S | |
parent | ab412589662152c99c1653be980136912bcde4f3 (diff) | |
download | kamek-c6461149389ec807371b9692b7484ab108e2a068.tar.gz kamek-c6461149389ec807371b9692b7484ab108e2a068.zip |
Plenty of bugfixes, and bowser improvements
Diffstat (limited to '')
-rwxr-xr-x | src/spritetex.S | 23 |
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: |