summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-02-05 20:40:28 +0100
committerTreeki <treeki@gmail.com>2012-02-05 20:40:28 +0100
commit0b44984de3c0113c05cdbe3db38eaa3578965fde (patch)
tree687ce8c20559ecac2a60e9680cc65ec3174712ba
parent9bc3404ab2404ac77a213ba678e88de8c27973e9 (diff)
downloadkamek-0b44984de3c0113c05cdbe3db38eaa3578965fde.tar.gz
kamek-0b44984de3c0113c05cdbe3db38eaa3578965fde.zip
added rolling hill retexture
-rw-r--r--spritetex.yaml6
-rwxr-xr-xsrc/spritetex.S2
2 files changed, 8 insertions, 0 deletions
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