So you'd probably be able to make an effect like this by using the main "palettefade" function as well as the "setpalette" function. Basically set up a red palette, cut to it instantly, and then slowly fade back to the normal palette. Something like this - I've commented to explain what each bit does
#set up the two palettes we need, one normal and one red redpalette:(16711680,16711680,16711680,16711680,16711680,16711680,16711680,16711680,16711680,16711680,16711680,16711680,16711680,16711680,16711680,16711680) normalpalette:pf.currentpalette[deck] pf.setpalette[deck redpalette] #make screen red go["card1"] #go to the next card #could add a wait step here if you want to hold on red for a bit before fading back pf.palettefade[deck redpalette normalpalette 30] #fade back to normal
I hope this makes sense! You can tweak it to go to different colours or fade faster or slower if you want - and there's no requirement to necessarily change cards, if you leave out the go statement you can have it as like an effect on the current card (e.g. in the middle of another script)