Pardon the double post!
I am having some other problems with the Ganis I am using. I want to use a gani to enhance the boots script a bit, and it works fine when you go into the gani mode, but coming out makes an idle character over my real character. Here is the script and both ganis.
Script
PHP Code:
function onKeyPressed(code, Key) {
if (Key == "z") {
setTimer(0.05);
if (this.mode == 0) {
this.mode = 1;
this.speed = 1;
player.attr[23] = "lexia_boots.gani";
} else {
this.mode = 0;
player.attr[23] = "lexia_unboots.gani";
}
}
if (Key == "=") {
this.speed = this.speed + 1;
}
if (Key == "-") {
this.speed = this.speed - 1;
}
}