News:

MFG's Character of the Month: September 2026 Voting

Main Menu

Remove remappal after super attack

Started by DeCeballos, July 21, 2022, 11:03:37 AM

Previous topic - Next topic

DeCeballos

Hello, I have a char that I have remappal to change the palette in super mode but I can't get it to return to its main palette after the super attack.
  So I have the code.

[State 1000, flash]
type = RemapPal
trigger1 = !(time%10) && time >= 22
trigger1 = var(43)
trigger1 = numexplod(99999) = 0
source = 1,1
dest = 2,Var(43)
time = 10
id = 99999

And so I put the remove explod below in commands.

[State -3, RemoveExplod]
type = RemoveExplod
trigger1 = var(43) = 0 ;; if your power mode is not activated, remove the explode
id = 99999

Trololo

RemoveExplod is not connected to RemapPan in any way. You need another RemapPal here. Something like this:

[State 1000, flash]
type = RemapPal
trigger1 = !var(43)
source = 1,1
dest = 1,PalNo

DeCeballos

Where do I put that?

     Posted: July 21, 2022, 12:08:25 PM
Solved Thanks!