Graal crashes entirely when a gani that is both an ani and a script is displayed.
Example:
PHP Code:
GANI0001
SPRITE 0 ATTR31 0 0 1 1 object
CONTINUOUS
SINGLEDIRECTION
SETBACKTO classic_effect_hidden_01
DEFAULTATTR1 hat0.png
DEFAULTHEAD head19.png
DEFAULTBODY body.png
SCRIPT
function onPlayerEnters(){
this.showimg(200, "bomb1.png", this.x, this.y);
}
SCRIPTEND
ANI
0 0 0
WAIT 1
0 0 0
WAIT 1
0 0 0
WAIT 1
0 0 0
WAIT 1
ANIEND