int tnum = parms[0].get_int_value(); if (tnum >= 0 && tnum < (int)(sizeof(timers)/sizeof(timers[0]))) timers[tnum] = gwin->get_total_hours(); else cerr << "Attempt to use invalid timer " << tnum << endl;
Game_object *obj = get_item(parms[0]); int flag = parms[1].get_int_value(); if (obj) { obj->set_flag(flag); if (flag == Actor::dont_render) { gwin->paint(); gwin->show(); } }
USECODE_INTRINSIC(set_timer){	int tnum = parms[0].get_int_value();	if (tnum >= 0 && tnum < (int)(sizeof(timers)/sizeof(timers[0])))		timers[tnum] = gwin->get_total_hours();	else		cerr << "Attempt to use invalid timer " << tnum << endl;	return(no_ret);}