Quote:
Originally Posted by Crow
PHP Code:
if (created) {
showcharacter;
updategani();
}
if (updategani)
updategani();
function updategani() {
this.type = 1;
if (rupees>=100) this.type = 4;
else if (rupees>=30) this.type = 3;
else if (rupees>=5) this.type = 2;
setcharani gralats,#v(this.type);
}
if (playertouchsme) {
playerrupees += rupees;
rupees = 0;
destroy;
}
|
Wait, by default is is GS1, not GS2?