YesNoOk
avatar

Make palettes interchange between different states [Remappal] (Read 1161 times)

Started by Kolossoni, February 14, 2020, 05:18:30 pm
Share this topic:
Make palettes interchange between different states [Remappal]
New #1  February 14, 2020, 05:18:30 pm
  • ***
  • 하나뿐인 한국인 대표
  • Ambassador of MugenRevival
    • South Korea
    • sites.google.com/view/kolossoni-mugen
FYI: The palettes are in 1.0 SFF format! Not separate ACT files.

I was wondering how to change palettes in and out of specific states.

I.e.
"Stateno != ###" = (pal 1,1)
"Stateno = ###" = (pal 2,1)

Problem is, "Stateno = ###" is a special state which means the palette change should only be temporary.

I tried
Code:
[State -2]
type = RemapPal
triggerall = palno != 1
trigger1 = time = 0
source = 1,1
dest = 1, ifelse((palno =1),1,(palno))
for "Stateno != ###" (In state -2) and
Code:
[State ###]
type = RemapPal
trigger1 = time = 0
source = 1,palno
dest = 2, ifelse((palno =1),1,(palno))
in its own ### state.

First palette (1,1 -> 2,1) seems to work fine, but the other ones (1,2 / 1,3 / 1,4...) don't seem to work even when selected and will always show up as (1,1) NOT going to (2,1).
Last Edit: February 14, 2020, 05:38:15 pm by Kolossoni