Completed Colored Hitbox IDs

Joined
Nov 9, 2014
Messages
635
#1
1552896591901.png


Code:
$Colored Hitbox IDs [UnclePunch]
*ID 0 = Red, ID 1 = Green, ID 2 = Blue, ID 3 = Purple
C2009FA4 00000007
4800001D 7CA802A6
1CD90004 7CC5302E
38AD8000 90C50000
48000018 4E800021
FF313180 7CFC0080
00FFFF80 4B008280
60000000 00000000
Code:
#To be inserted at 80009fa4
.include "../Common.s"


#Get Hitbox Colors
  bl  Colors
  mflr r5
#Get ID's Color
  mulli r6,r25,4
  lwzx r6,r5,r6
#Store hitbox color
  subi    r5, r13, 32768        #Get Hitbox Color in DOL
  stw r6,0x0(r5)

  b Exit

Colors:
blrl
.long 0xff313180    #Red
.long 0x7CFC0080    #Green
.long 0x00FFFF80    #Blue
.long 0x4B008280    #Purple

Exit:
 
Last edited:
Top