From fef04074604c7bda05cbb61dadb1600527121ed2 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sun, 5 Feb 2012 20:45:59 +0100 Subject: I ... didn't check which nybbles were used. oops --- src/spritetex.S | 16 ++++++++++++++-- 1 file 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: -- cgit v1.2.3