diff options
author | Treeki <treeki@gmail.com> | 2012-02-05 20:40:28 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-02-05 20:40:28 +0100 |
commit | 0b44984de3c0113c05cdbe3db38eaa3578965fde (patch) | |
tree | 687ce8c20559ecac2a60e9680cc65ec3174712ba | |
parent | 9bc3404ab2404ac77a213ba678e88de8c27973e9 (diff) | |
download | kamek-0b44984de3c0113c05cdbe3db38eaa3578965fde.tar.gz kamek-0b44984de3c0113c05cdbe3db38eaa3578965fde.zip |
added rolling hill retexture
-rw-r--r-- | spritetex.yaml | 6 | ||||
-rwxr-xr-x | src/spritetex.S | 2 |
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 |