mirror of
https://github.com/project-slippi/slippi-ssbm-asm.git
synced 2025-10-05 23:52:43 +02:00
add puff costume bound check
This commit is contained in:
21
Common/CostumeBoundCheck/PuffCostume.asm
Normal file
21
Common/CostumeBoundCheck/PuffCostume.asm
Normal file
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
# Address: 8013c388
|
||||
################################################################################
|
||||
.include "Common/Common.s"
|
||||
|
||||
lwz r30, 0x002C (r28)
|
||||
|
||||
# check if over max costume
|
||||
lbz r3,0xC(r30)
|
||||
branchl r12,0x80032330
|
||||
branchl r12,0x80169238
|
||||
lbz r4,0x619(r30)
|
||||
cmpw r4,r3
|
||||
bge Skip
|
||||
b Exit
|
||||
|
||||
Skip:
|
||||
branch r12,0x8013c46c
|
||||
|
||||
Exit:
|
||||
lwz r4, 0x002C (r28)
|
@@ -580,6 +580,17 @@ C216EA30 00000004 #Common/Winners Names are Gold on CSS/Remember Who LRA Started
|
||||
04261B30 60000000 #External/Closing CSS Door Preserves Nametag/On Window Close/Skip isUsingNametag Bool Reset.asm
|
||||
042605FC 38C00003 #External/Unplugging Closes CSS Door/Unplugging Closes CSS Door.asm
|
||||
041239A8 60000000 #External/FreezeGlitchFix/FreezeGlitchFix.asm
|
||||
C213C388 0000000A #Common/CostumeBoundCheck/PuffCostume.asm
|
||||
83DC002C 887E000C
|
||||
3D808003 618C2330
|
||||
7D8903A6 4E800421
|
||||
3D808016 618C9238
|
||||
7D8903A6 4E800421
|
||||
889E0619 7C041800
|
||||
40800008 48000014
|
||||
3D808013 618CC46C
|
||||
7D8903A6 4E800420
|
||||
809C002C 00000000
|
||||
C216DED4 00000039 #Common/CostumeBoundCheck/main.asm
|
||||
7C0802A6 90010004
|
||||
9421FF50 BE810008
|
||||
|
@@ -580,6 +580,17 @@ C216EA30 00000004 #Common/Winners Names are Gold on CSS/Remember Who LRA Started
|
||||
04261B30 60000000 #External/Closing CSS Door Preserves Nametag/On Window Close/Skip isUsingNametag Bool Reset.asm
|
||||
042605FC 38C00003 #External/Unplugging Closes CSS Door/Unplugging Closes CSS Door.asm
|
||||
041239A8 60000000 #External/FreezeGlitchFix/FreezeGlitchFix.asm
|
||||
C213C388 0000000A #Common/CostumeBoundCheck/PuffCostume.asm
|
||||
83DC002C 887E000C
|
||||
3D808003 618C2330
|
||||
7D8903A6 4E800421
|
||||
3D808016 618C9238
|
||||
7D8903A6 4E800421
|
||||
889E0619 7C041800
|
||||
40800008 48000014
|
||||
3D808013 618CC46C
|
||||
7D8903A6 4E800420
|
||||
809C002C 00000000
|
||||
C216DED4 00000039 #Common/CostumeBoundCheck/main.asm
|
||||
7C0802A6 90010004
|
||||
9421FF50 BE810008
|
||||
|
@@ -37,6 +37,17 @@ C9E1FFEC EDEF8028
|
||||
EDEF8824 807E0010
|
||||
D1E3002C 807E0010
|
||||
60000000 00000000
|
||||
C213C388 0000000A #Common/CostumeBoundCheck/PuffCostume.asm
|
||||
83DC002C 887E000C
|
||||
3D808003 618C2330
|
||||
7D8903A6 4E800421
|
||||
3D808016 618C9238
|
||||
7D8903A6 4E800421
|
||||
889E0619 7C041800
|
||||
40800008 48000014
|
||||
3D808013 618CC46C
|
||||
7D8903A6 4E800420
|
||||
809C002C 00000000
|
||||
C216DED4 00000039 #Common/CostumeBoundCheck/main.asm
|
||||
7C0802A6 90010004
|
||||
9421FF50 BE810008
|
||||
|
@@ -37,6 +37,17 @@ C9E1FFEC EDEF8028
|
||||
EDEF8824 807E0010
|
||||
D1E3002C 807E0010
|
||||
60000000 00000000
|
||||
C213C388 0000000A #Common/CostumeBoundCheck/PuffCostume.asm
|
||||
83DC002C 887E000C
|
||||
3D808003 618C2330
|
||||
7D8903A6 4E800421
|
||||
3D808016 618C9238
|
||||
7D8903A6 4E800421
|
||||
889E0619 7C041800
|
||||
40800008 48000014
|
||||
3D808013 618CC46C
|
||||
7D8903A6 4E800420
|
||||
809C002C 00000000
|
||||
C216DED4 00000039 #Common/CostumeBoundCheck/main.asm
|
||||
7C0802A6 90010004
|
||||
9421FF50 BE810008
|
||||
|
Reference in New Issue
Block a user