From 0b44984de3c0113c05cdbe3db38eaa3578965fde Mon Sep 17 00:00:00 2001 From: Treeki Date: Sun, 5 Feb 2012 20:40:28 +0100 Subject: added rolling hill retexture --- spritetex.yaml | 6 ++++++ src/spritetex.S | 2 ++ 2 files changed, 8 insertions(+) diff --git a/spritetex.yaml b/spritetex.yaml index 3377a9d..d40dead 100644 --- a/spritetex.yaml +++ b/spritetex.yaml @@ -16,6 +16,12 @@ hooks: src_addr_pal: 0x80875BB4 target_func: 'TEX_Bush' + - name: TEX_RollingHills + type: branch_insn + branch_type: bl + src_addr_pal: 0x807EF26C + target_func: 'TEX_RollingHills' + # The below was added by Tempus diff --git a/src/spritetex.S b/src/spritetex.S index 2af1743..2a69a94 100755 --- a/src/spritetex.S +++ b/src/spritetex.S @@ -300,6 +300,8 @@ TEX_SpikeBall: TEX_HuckitBalls: .global HammerColour HammerColour: +.global TEX_RollingHills +TEX_RollingHills: lwz r5, 4(r30) srwi r5, r5, 24 andi. r5, r5, 0xF -- cgit v1.2.3