Quote:
Originally Posted by Matt
That did the trick, thanks.
Would you happen to have the default gralat script?
|
Here is the default gralat script.
PHP Code:
function onCreated() {
showcharacter();
updategani();
}
function onUpdategani() {
updategani();
}
function updategani() {
temp.type = 1;
if (rupees>=100) temp.type = 4;
else if (rupees>=30) temp.type = 3;
else if (rupees>=5) temp.type = 2;
setcharani("gralats", temp.type);
}
function onPlayerTouchsMe() {
player.rupees += rupees;
rupees = 0;
destroy();
}