Alright, found a quick moment to test this out.
The rage palette should be on while in state 0, and it should turn off in state 200
In state 0 I set
[State -2 rage active slash]
type = remapPal
triggerall = var(52) = 0
trigger1 = 1
source = 1,palno
dest = 1,6
[State -2 rage active bust]
type = remapPal
triggerall = var(52) = 1
trigger1 = 1
source = 1,palno
dest = 1,7
and in state 200 I set
[State -2 rage non active slash]
type = RemapPal
triggerall = var(52) = 0
trigger1 = 1
source = 1,palno
dest = 1,1
[State -2 rage non active bust]
type = RemapPal
triggerall = var(52) = 1
trigger1 = 1
source = 1,palno
dest = 1,2
Spoiler: images here (click to see content)
Again, to test if the palette itself is bugged, I switched the code for the working slash (1,1) to the not working bust (1,2)
[State -2 rage active slash]
type = remapPal
triggerall = var(52) = 0
trigger1 = 1
source = 1,palno
dest = 1,7
[State -2 rage non active slash]
type = RemapPal
triggerall = var(52) = 0
trigger1 = 1
source = 1,palno
dest = 1,2
Spoiler: images here (click to see content)
Maybe it must have something to do with the slash/bust variable, 52, as it works when it equals 0, but when it equals 1 it doesn't apply at all, as seen in the earlier screenshots.