• Welcome to Smashboards, the world's largest Super Smash Brothers community! Over 250,000 Smash Bros. fans from around the world have come to discuss these great games in over 19 million posts!

    You are currently viewing our boards as a visitor. Click here to sign up right now and start on your path in the Smash community!

Completed Custom Hitbox ID Colors

Achilles1515

Smash Master
Joined
Jun 18, 2007
Messages
3,211
Location
Cincinnati / Columbus OH
Custom Hitbox ID Colors (1.02) [Achilles]
  • Hitbox0
  • Hitbox1
  • Hitbox2
  • Hitbox3
  • Last byte for each of the colors is the alpha value (default = 0x80)
C2009F60 0000000A
80030000 2C190000
41820020 2C190001
41820024 2C190002
41820028 3CA000FF
60A50080 48000024
3CA0FF00 60A50080
48000018 3CA0FF80
60A50080 4800000C
3CA0FF00 60A5FF80
90AD8000 00000000



80009f60
- at beginning of CollisionBubbles_HitboxDisplay
- r25 = hitbox ID (0-indexed)

lwz r0,0(r3) # default code line, load hitbox active bool

cmpwi r25,0
beq- HITBOX_ZERO
cmpwi r25,1
beq- HITBOX_ONE
cmpwi r25,2
beq- HITBOX_TWO
HITBOX_THREE:
lis r5,0x00FF
ori r5,r5,0x0080 # 00FF00 = Green
b COLOR_FINISH
HITBOX_ZERO:
lis r5,0xFF00
ori r5,r5,0x0080 # FF0000 = Red
b COLOR_FINISH
HITBOX_ONE:
lis r5,0xFF80
ori r5,r5,0x0080 # FF8000 = Orange
b COLOR_FINISH
HITBOX_TWO:
lis r5,0xFF00
ori r5,r5,0xFF80 # FF00FF = Magenta
COLOR_FINISH:
stw r5,-0x8000(r13) # store color @804d36a0 = hitbox RGBA value

Gentlefox Gentlefox @schmooblidon @Kadano
 
Last edited:

Gentlefox

Smash Cadet
Joined
Dec 6, 2013
Messages
47
Achilles the god.

I like your colors better than mine too, although I did swap orange and green so red and orange appear together less frequently.
 
Last edited:

flieskiller

Smash Journeyman
Joined
Jan 3, 2013
Messages
426
Achilles1515 Achilles1515 This code or the "hitlag is teal" code (I'm not sure, I have both activated) crash on a Gamecube when used in Yoshi Story, or using a Mushroom effect (shroom effect on FD at least).
 

Gentlefox

Smash Cadet
Joined
Dec 6, 2013
Messages
47
Achilles1515 Achilles1515 This code or the "hitlag is teal" code (I'm not sure, I have both activated) crash on a Gamecube when used in Yoshi Story, or using a Mushroom effect (shroom effect on FD at least).
There is a possibly related glitch, where shyguys will still have hitboxes displayed after exiting a match with hitboxes on.
 

Kou

Smash Apprentice
Joined
Nov 22, 2011
Messages
198
Location
Japan
Custom Hitbox ID Colors (1.02) [Achilles]
  • Hitbox0
  • Hitbox1
  • Hitbox2
  • Hitbox3
  • Last byte for each of the colors is the alpha value (default = 0x80)
C2009F60 0000000A
80030000 2C190000
41820020 2C190001
41820024 2C190002
41820028 3CA000FF
60A50080 48000024
3CA0FF00 60A50080
48000018 3CA0FF80
60A50080 4800000C
3CA0FF00 60A5FF80
90AD8000 00000000



80009f60
- at beginning of CollisionBubbles_HitboxDisplay
- r25 = hitbox ID (0-indexed)

lwz r0,0(r3) # default code line, load hitbox active bool

cmpwi r25,0
beq- HITBOX_ZERO
cmpwi r25,1
beq- HITBOX_ONE
cmpwi r25,2
beq- HITBOX_TWO
HITBOX_THREE:
lis r5,0x00FF
ori r5,r5,0x0080 # 00FF00 = Green
b COLOR_FINISH
HITBOX_ZERO:
lis r5,0xFF00
ori r5,r5,0x0080 # FF0000 = Red
b COLOR_FINISH
HITBOX_ONE:
lis r5,0xFF80
ori r5,r5,0x0080 # FF8000 = Orange
b COLOR_FINISH
HITBOX_TWO:
lis r5,0xFF00
ori r5,r5,0xFF80 # FF00FF = Magenta
COLOR_FINISH:
stw r5,-0x8000(r13) # store color @804d36a0 = hitbox RGBA value

Gentlefox Gentlefox @schmooblidon @Kadano
YOU ARE A GOD
 
Top Bottom