I've got other gani scripts, they all work fine.
And thanks, I forgot to convert the #p()'s.
I originally had it stopping itself when fade hit 0, but I took it out to test if that's what was causing the crash. It wasn't.
It's slightly better now; it doesn't crash Graal every time the gani is shown, but instead it only crashes Graal maybe 1/6 times. Unfortunately, the text won't show. The script, right now, is:
NPC Code:
function onCreated() {
setTimer(.05);
this.fade = 2;
this.damage = params[0];
}
function onTimeout() {
setTimer(.05);
this.y -= .1;
if (this.fade > 0) {
this.fade -= .1;
}
showtext(5,x,y+this.y,"Times New Roman","b",this.damage);
changeimgcolors(5,params[1],params[2],params[3],this.fade);
}
Anyhow, the script that shows the gani is hiding it before fade hits 0.
Edit: Oh yeah, the console doesn't have anything in it about the crash.