diff options
-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: |