Force WW Battle Type [1superchip]
#1
Force WW Battle Type [1superchip]

This code allows the user to force the battle type of Worldwides and Regionals, only works when the user is the host.

NTSC-U:
C2659A70 00000003
64008000 6C00X000
90010008 807F0000
60000000 00000000

PAL:
C26619AC 00000003
64008000 6C00X000
90010008 807F0000
60000000 00000000

NTSC-J:
C2661018 00000003
64008000 6C00X000
90010008 807F0000
60000000 00000000

NTSC-K:
C264FCC4 00000003
64008000 6C00X000
90010008 807F0000
60000000 00000000

X Values:
0 = Balloon Battle
8 = Coin Runners

Source:

#r0 is the battleFlags, need to store that to (r1 + 0x8)

.set battleType, X # set X to 0x8000 for coin runners and 0x0000 for balloon battle

oris r0, r0, 0x8000 # set bit

xoris r0, r0, battleType # clear bit

stw r0, 0x8 (r1) #store r0 to stack

lwz r3, 0 (r31) #default instruction


Code Creator: 1superchip
Code Credits: Seeky (documentation)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)