YesNoOk
avatar

Remove remappal after super attack (Read 2758 times)

Started by DeCeballos, July 21, 2022, 11:03:37 am
Share this topic:
Remove remappal after super attack
#1  July 21, 2022, 11:03:37 am
  • **
    • Spain
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
Last Edit: July 21, 2022, 12:08:41 pm by DeCeballos
Re: Remove remappal after super attack
#2  July 21, 2022, 11:13:59 am
  • ****
  • Objection! Sustained!
    • Russia
    • mitia.pogorelov1@yandex.ru
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
Re: Remove remappal after super attack
#3  July 21, 2022, 11:20:05 am
  • **
    • Spain
Where do I put that?

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