Preview on how it works
http://www.youtube.com/v/fph8mJogie4
Well since I'm new here I think I'll contribute a little.
I was looking for a way to change my Hulk's palletes while on his intro and I stumbled upon XCOSTUME PALLETE SELECTOR 2.0 on MFG and I like the idea but I'm too lazy to import those things on my character.
So I did what I did what I always loved to do. Improvise :cheers:
I want to make it as simple and practical as possible so here is how you do it
Put this inside your intro state
Spoiler, click to toggle visibilty
[State 0, RemapPal]
trigger1 = command = "down" ; you will press the down button to go through your palletes
type = RemapPal ; Basically means what it states remapping your palette
source = 1,1 ; your remapping this palette to the one below
dest = 1,1+(random%6) ; lets say you have six palletes it will randomize from 1 + 0 to 6 if you have more you can change it
[State 0, PlaySnd]
type = PlaySnd
trigger1 = command = "down" ; this is just basically the clicking sound it makes when you change palettes it's not necessary
value = S0,6 ; just the one above is enough to have a pallete selector
volume = 255
channel = -1
[State 191, 4] ;Change to stand state
type = ChangeState
trigger1 = time >= 500; I looped the last anim and made it longer so you can select longer
value = 0
Delete your stateno 5900 on your common.cns and paste this
Spoiler, click to toggle visibilty
;---------------------------------------------------------------------------
; Initialize (at the start of the round)
[Statedef 5900]
type = S
[State 5900, 1] ;Clear all int variables
type = VarRangeSet
trigger1 = roundsexisted = 0
value = 0
[State 5900, 2] ;Clear all float variables
type = VarRangeSet
trigger1 = roundsexisted = 0
fvalue = 0
[State 5900, 3] ;Intro for round 1
type = ChangeState
trigger1 = roundno = 1
value = 190
[State 5900, 3] ;Intro for round 1
type = ChangeState
trigger1 = roundno = 2
trigger2 = roundno = 3
trigger3 = roundno = 4
value = 5901
;---------------------------------------------------------------------------
; Round NO 2,3,4 palette selector
; CNS difficulty: basic
[Statedef 5901]
type = S
ctrl = 0
anim = 0
velset = 0,0
[State 0, RemapPal]
trigger1 = command = "down"
type = RemapPal
source = 1,1
dest = 1,1+(random%6)
[State 190, 1]
type = ChangeAnim
trigger1 = RoundState = 0
value = 0
[State 190, 2]
type = AssertSpecial
trigger1 = 1
flag = Intro
[State 0, AssertSpecial]
type = AssertSpecial
trigger1 = 1
flag = nomusic
[State 0, PlaySnd]
type = PlaySnd
trigger1 = command = "down": clicking sound
value = S0,6
volume = 255
channel = -1
[State 191, 4] ;Change to stand state
type = ChangeState
trigger1 = time >= 500
value = 0
And Voilà you can now change palettes in your intro like a pro coder :clap:
IMPORTANT NOTE : The only downside of this is your randomizing through the palettes not browsing them and you need choose a palette each round since it has no vars but now with this simple code you can change the palettes in your intro.