diff options
author | Treeki <treeki@gmail.com> | 2012-02-05 20:45:59 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-02-05 20:45:59 +0100 |
commit | fef04074604c7bda05cbb61dadb1600527121ed2 (patch) | |
tree | 8e7f45e9458bb46b80f69de907e9f50e3b8a1d74 /src | |
parent | 0b44984de3c0113c05cdbe3db38eaa3578965fde (diff) | |
download | kamek-fef04074604c7bda05cbb61dadb1600527121ed2.tar.gz kamek-fef04074604c7bda05cbb61dadb1600527121ed2.zip |
I ... didn't check which nybbles were used. oops
Diffstat (limited to '')
-rwxr-xr-x | src/spritetex.S | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/spritetex.S b/src/spritetex.S index 2a69a94..dedfbab 100755 --- a/src/spritetex.S +++ b/src/spritetex.S @@ -300,8 +300,6 @@ TEX_SpikeBall: TEX_HuckitBalls: .global HammerColour HammerColour: -.global TEX_RollingHills -TEX_RollingHills: lwz r5, 4(r30) srwi r5, r5, 24 andi. r5, r5, 0xF @@ -317,6 +315,20 @@ TEX_Podoboo: # All these vary +.global TEX_RollingHills +TEX_RollingHills: + lwz r5, 4(r30) + + # Get style + extrwi. r9, r5, 4, 8 + beq JustUseZero + + extrwi r5, r5, 8, 16 + b GetTexFilenameForR5 + +JustUseZero: + li r5, 0 + b GetTexFilenameForR5 .global TEX_Gabon_Spike TEX_Gabon_Spike: |