diff options
Diffstat (limited to '')
-rw-r--r-- | src/spritetex.S | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/src/spritetex.S b/src/spritetex.S index 0f89cd5..0336a5c 100644 --- a/src/spritetex.S +++ b/src/spritetex.S @@ -80,6 +80,14 @@ TEX_Goomba: srwi r5, r5, 24
andi. r5, r5, 0xF
b GetTexFilenameForR5
+ + +.global TEX_BigGoomba
+TEX_BigGoomba:
+ lwz r5, 4(r30)
+ srwi r5, r5, 24
+ andi. r5, r5, 0xF
+ b GetTexFilenameForR5
.global TEX_Barrel
@@ -171,7 +179,7 @@ TEX_SpringBlock: .global TEX_Coaster
TEX_Coaster:
- lwz r5, 4(r31)
+ lwz r5, 4(r3)
srwi r5, r5, 24
andi. r5, r5, 0xF
b GetTexFilenameForR5
@@ -395,8 +403,13 @@ TEX_PokeyB: srwi r5, r5, 24
andi. r5, r5, 0xF
b GetTexFilenameForR5
+ -
+.global TEX_PokeyC
+TEX_PokeyC:
+ lwz r5, 4(r30) + or r5, r5, r31
+ blr
|