summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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