Coding Questions and other Quandaries
New & Newer Super Mario Brothers Wii

Instant Transformations Press (-)

Code Created by: Thomas83Lin

loc_0x0:
lbz r12, 7(r31)
cmpwi r12, 0x0
beq- loc_0x28
cmpwi r12, 0x1
beq- loc_0x3C
cmpwi r12, 0x2
beq- loc_0x50
cmpwi r12, 0x3
beq- loc_0x64
bne- loc_0x90

loc_0x28:
lis r12, 0x803A
lhz r12, 6862(r12)
cmpwi r12, 0x1000
beq- loc_0x74
bne- loc_0x90

loc_0x3C:
lis r12, 0x803A
lhz r12, 8262(r12)
cmpwi r12, 0x1000
beq- loc_0x74
bne- loc_0x90

loc_0x50:
lis r12, 0x803A
lhz r12, 9662(r12)
cmpwi r12, 0x1000
beq- loc_0x74
bne- loc_0x90

loc_0x64:
lis r12, 0x803A
lhz r12, 11062(r12)
cmpwi r12, 0x1000
bne- loc_0x90

loc_0x74:
li r12, 0x0
add r12, r12, r0
addi r12, r12, 0x1
cmpwi r12, 0x7
ble- loc_0x8C
li r12, 0x0

loc_0x8C:
stw r12, 5344(r31)

loc_0x90:
lwz r4, 5344(r3)
Reply


Messages In This Thread
RE: Coding Questions and other Quandaries - by Hackwiz - 05-07-2022, 02:02 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)