diff options
Diffstat (limited to 'src/spritetex.S')
-rw-r--r-- | src/spritetex.S | 40 |
1 files changed, 18 insertions, 22 deletions
diff --git a/src/spritetex.S b/src/spritetex.S index 920036c..7464820 100644 --- a/src/spritetex.S +++ b/src/spritetex.S @@ -185,6 +185,14 @@ TEX_Gabon: b GetTexFilenameForR5
+.global TEX_GabonRock
+TEX_GabonRock:
+ lwz r5, 4(r29)
+ srwi r5, r5, 24
+ andi. r5, r5, 0xF
+ b GetTexFilenameForR5
+
+
.global TEX_Podoboo
TEX_Podoboo:
lwz r5, 4(r31)
@@ -203,7 +211,7 @@ TEX_Switch: .global TEX_WiggleShroom
TEX_WiggleShroom:
- lwz r5, 4(r4)
+ lwz r5, -0x520(r3)
# This sprite is pretty complex # The register with THIS is r29 # before the loading function, @@ -220,26 +228,6 @@ TEX_WiggleShroom: andi. r5, r5, 0xF
b GetTexFilenameForR5
- lwz r5, 4(r3)
- srwi r5, r5, 24
- andi. r5, r5, 0xF
- b GetTexFilenameForR5
- - lwz r5, 4(r29)
- srwi r5, r5, 24
- andi. r5, r5, 0xF
- b GetTexFilenameForR5
- - lwz r5, 4(r30)
- srwi r5, r5, 24
- andi. r5, r5, 0xF
- b GetTexFilenameForR5
- - lwz r5, 4(r31)
- srwi r5, r5, 24
- andi. r5, r5, 0xF
- b GetTexFilenameForR5
- .global TEX_Bramball
TEX_Bramball:
@@ -287,6 +275,14 @@ TEX_Bomb: srwi r5, r5, 24
andi. r5, r5, 0xF
b GetTexFilenameForR5
+ +
+.global TEX_ParaBomb
+TEX_ParaBomb:
+ lwz r5, 4(r29)
+ srwi r5, r5, 24
+ andi. r5, r5, 0xF
+ b GetTexFilenameForR5
.global TEX_CheepA
@@ -347,7 +343,7 @@ TEX_Goal: .global TEX_StretchMush
TEX_StretchMush:
- lwz r5, 4(r27)
+ lwz r5, 4(r30)
srwi r5, r5, 24
andi. r5, r5, 0xF b GetTexFilenameForR5
|