• 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!

Color change of the red SSS cursor

Sham Rock

Smash Apprentice
Joined
Feb 10, 2014
Messages
95
Location
Outside of your grab range
Dan asked me to be able to change the color of the normally red flashing box around the stage icon.
This code lets you decide the color for yourself PLUS instead of just flashing every 5 frames like it usually does the white color fades. Just load it up if anything is not clear

custom SSS color (1.2) [Shamrock]
C225A3C0 0000000C
3E0000XX 6210XXXX //replace these XX XX XX with the RR GG BB color desired
3E20804D 623176DB
8A310000 1E310003
3A400000 5613063F
7E738A14 2C1300FF
40810008 3A6000FF
5610002F 7E109B78
5610C03F 3A520001
2C120003 41A0FFD8
3E2080CA 62313570
92110000 92110004
C001001C 00000000


custom SSS color (pal) [Shamrock]
C225aef8 0000000C
3E0000XX 6210XXXX //replace these XX XX XX with the RR GG BB color desired
3E20804c 62318a0b
8A310000 1E310003
3A400000 5613063F
7E738A14 2C1300FF
40810008 3A6000FF
5610002F 7E109B78
5610C03F 3A520001
2C120003 41A0FFD8
3E2080CC 6231da30
92110000 92110004
C001001C 00000000




26_05_2015 slight revision

1.2
C225A3C0 0000000E
3E0000XX 6210XXXX //replace these XX XX XX with RR GG BB desired
3E20804D 623176DB
8A310000 2C11001D
4081000C 3A60003B
7E319850 1E310006
3A400000 5613063F
7E738A14 2C1300FF
40810008 3A6000FF
5610002F 7E109B78
5610C03F 3A520001
2C120003 41A0FFD8
3E2080CA 62313570
92110000 92110004
C001001C 00000000


PAL
C225AEF8 0000000E
3E0000XX 6210XXXX //replace these XX XX XX with the RR GG BB color desired
3E20804C 62318A0B
8A310000 2C11001D
4081000C 3A60003B
7E319850 1E310006
3A400000 5613063F
7E738A14 2C1300FF
40810008 3A6000FF
5610002F 7E109B78
5610C03F 3A520001
2C120003 41A0FFD8
3E2080CC 6231DA30
92110000 92110004
C001001C 00000000
 

Attachments

Last edited:

CeLL

Smash Lord
Joined
Jan 26, 2014
Messages
1,026
Location
Washington
http://smashboards.com/posts/19354183

6F0FC - FF FF FF FF FF FF FF FF FF FF FF FF 3F 7F BE 77 42 48
Color 1 - Nothing
Color 2 - Changes the flashing outline around stage icon while selected
Note: This one is weird. The first(red) flashing color is only based on the red portion of the second color. Then the second(white) flashing color is the entire second color. So 00FF00 shows the 1st color black and the 2nd color green.
 

_glook

Got a Passion for Smashin'
Joined
Sep 30, 2005
Messages
802
Location
Not UC Berkeley anymore
So this seems to crash when language is Japanese, so I did the following:
Code:
# OLD load brightness code
lis r17, 0x804d   
ori r17,r17, 0x76db
lbz r17,0(r17)  
# NEW load brightness code
lwz r17,-0x3FC8(r13)

# OLD sove destination code
lis r17, 0x80ca     //save destination
ori r17,r17, 0x3570
# NEW Save destination code
CHECK_JAPANESE:
lwz r17, -0x77C0(r13)
addi r17, r17, 0x1CB0
lbz r17, 0x16(r17)
cmpwi r17, 1
beq LANG_ENG  # If 1, then we're usd
lis r17, 0x80CA
ori r17,r17, 0xE610
b STORE_COLOR
LANG_ENG:
lis r17, 0x80ca
ori r17,r17, 0x3570
This is for 1.02. Here's the total new ASM:
Code:
lis r16, 0x00XX   
ori r16,r16, 0xXXXX
       //set the desired color

lwz r17,-0x3FC8(r13)
       //load "brightness


mulli r17,r17,0x3 
       //multiply to get desired brightness to add later,
       //if to much of the cycle is jsut white, lower this multiplier

li r18, 0x0   
       //counter

   //loop

   rlwinm. r19,r16,0,24,31   
           //takes last byte from r16 and puts it into r19

   add r19,r19,r17       //add the brightness

   cmpwi r19, 0xFF       //bigger than max? yes, step back to max
   ble- 0x08
   li r19,0xFF
         
   rlwinm. r16,r16,0,0,23     //takes out last byte form r16
   or r16,r16,r19        //add r16 and r19(last byte) together



   rlwinm. r16,r16,24,0,31     //rotate right 8 bit

   addi r18,r18,1     //repeat until all 3 colors have been set
   cmpwi r18, 0x3
   blt- 0xFFFFFFd8

# Save destination, check if japanese
CHECK_JAPANESE:
lwz r17, -0x77C0(r13)
addi r17, r17, 0x1CB0
lbz r17, 0x16(r17)
cmpwi r17, 1
beq LANG_ENG  # If 1, then we're usd
lis r17, 0x80CA
ori r17,r17, 0xE610
b STORE_COLOR
LANG_ENG:
lis r17, 0x80ca
ori r17,r17, 0x3570

STORE_COLOR:
stw r16,0(r17)
stw r16,0x04(r17)


lfs   f0, 0x001C (sp)     
       //was there before
 
Last edited:
Top Bottom