The default is probably a decade old now. Here's it in GS2 though:
PHP Code:
function onCreated() {
showcharacter();
updateGani();
}
function onPlayerEnters() {
updateGani();
}
function updateGani() {
temp.gralat = 1;
if (this.rupees >= 100) temp.gralat = 4;
else if (this.rupees >= 30) temp.gralat = 3;
else if (this.rupees >= 5) temp.gralat = 2;
setcharani("gralats", temp.gralat);
}
function onPlayerTouchsMe() {
player.rupees += this.rupees;
this.rupees = 0;
destroy();
}