void main(location where_to) {
while(get_property("_petePeeledOut").to_int() < 30)
adv1(where_to, -1, "skill 15015;");
}
void main(location where_to) {
int max_peel = 10;
if(get_property("peteMotorbikeTires") == "Racing Slicks")
max_peel = 30;
while(get_property("_petePeeledOut").to_int() < max_peel)
adv1(where_to, -1, "skill 15015;");
}