Stacked Teams (Online, HOST Only) [Vega]
Code only works when you are the HOST of the Online Room. With this code, if a Team VS/Battle is chosen, you will be on the lopsided team with all the players in the room except for player slot 1 (non-guest). You also have the ability (with the X value) to choose what team color you want your lopsided team to be.
Example: You set X value to 1, and you are in a 7 player room. When the Team VS/Battle starts, you plus everyone else (except player slot 1 non-guest) will all be on the red team (6v1).
X = Value to set for Red or Blue Team
0 = Blue
1 = Red
NTSC-U
C2659AB8 00000006
5400000E 3980000X
2C0C0000 40A2000C
39800004 4800000C
3D8000FF 618CFFFB
7D800378 901F002C
60000000 00000000
PAL
C26619F4 00000006
5400000E 3980000X
2C0C0000 40A2000C
39800004 4800000C
3D8000FF 618CFFFB
7D800378 901F002C
60000000 00000000
NTSC-J
C2661060 00000006
5400000E 3980000X
2C0C0000 40A2000C
39800004 4800000C
3D8000FF 618CFFFB
7D800378 901F002C
60000000 00000000
NTSC-K
C264FD0C 00000006
5400000E 3980000X
2C0C0000 40A2000C
39800004 4800000C
3D8000FF 618CFFFB
7D800378 901F002C
60000000 00000000
Source:
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
# Notes for Team Bits #
# Bits 0 thru 7 are reserved, not used for Team Bits #
# A bit flips from 0 to 1 if Red Team #
# Bit 31 = HOST aka slot 0, non guest #
# Bit 30 = Guest of HOST #
# Bit 29 = Player slot 1, non guest #
# Bit 28 = Player slot 1, guest #
# Bit 27 = Player slot 2, non guest #
# Bit 26 = Player slot 2, guest #
# etc etc etc #
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
clrrwi r0, r0, 24 #Clear out all the team bits of the compiled word
li r12, 0x1 #1 simply used to allow compilation, set this to what you want
cmpwi r12, 0x0
bne+ red_team
li r12, 0x0004 #Set bits so you+everyone is on blue team except player slot 1 non-guest
b the_end
red_team:
lis r12, 0x00FF
ori r12, r12, 0xFFFB #Set bits so you+everyone is on red team except player slot 1 non-guest
the_end:
or r0, r12, r0 #Logically OR finalized bits to completed compiled word
stw r0, 0x002C (r31) #Default Instruction
Code creator: Vega
Code only works when you are the HOST of the Online Room. With this code, if a Team VS/Battle is chosen, you will be on the lopsided team with all the players in the room except for player slot 1 (non-guest). You also have the ability (with the X value) to choose what team color you want your lopsided team to be.
Example: You set X value to 1, and you are in a 7 player room. When the Team VS/Battle starts, you plus everyone else (except player slot 1 non-guest) will all be on the red team (6v1).
X = Value to set for Red or Blue Team
0 = Blue
1 = Red
NTSC-U
C2659AB8 00000006
5400000E 3980000X
2C0C0000 40A2000C
39800004 4800000C
3D8000FF 618CFFFB
7D800378 901F002C
60000000 00000000
PAL
C26619F4 00000006
5400000E 3980000X
2C0C0000 40A2000C
39800004 4800000C
3D8000FF 618CFFFB
7D800378 901F002C
60000000 00000000
NTSC-J
C2661060 00000006
5400000E 3980000X
2C0C0000 40A2000C
39800004 4800000C
3D8000FF 618CFFFB
7D800378 901F002C
60000000 00000000
NTSC-K
C264FD0C 00000006
5400000E 3980000X
2C0C0000 40A2000C
39800004 4800000C
3D8000FF 618CFFFB
7D800378 901F002C
60000000 00000000
Source:
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
# Notes for Team Bits #
# Bits 0 thru 7 are reserved, not used for Team Bits #
# A bit flips from 0 to 1 if Red Team #
# Bit 31 = HOST aka slot 0, non guest #
# Bit 30 = Guest of HOST #
# Bit 29 = Player slot 1, non guest #
# Bit 28 = Player slot 1, guest #
# Bit 27 = Player slot 2, non guest #
# Bit 26 = Player slot 2, guest #
# etc etc etc #
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
clrrwi r0, r0, 24 #Clear out all the team bits of the compiled word
li r12, 0x1 #1 simply used to allow compilation, set this to what you want
cmpwi r12, 0x0
bne+ red_team
li r12, 0x0004 #Set bits so you+everyone is on blue team except player slot 1 non-guest
b the_end
red_team:
lis r12, 0x00FF
ori r12, r12, 0xFFFB #Set bits so you+everyone is on red team except player slot 1 non-guest
the_end:
or r0, r12, r0 #Logically OR finalized bits to completed compiled word
stw r0, 0x002C (r31) #Default Instruction
Code creator: Vega