if (_parent == -4) exit; if (!_input_enabled) exit; update_facing(); collision_check(); x += px; y += py; if (x != nowx || y != nowy) { wspeed = scr_movetowards(wspeed, 4, 0.02); if (!fullspeed) { if (wspeed >= 3.5) { fullspeed = true; with (_parent) trigger_event("zorgon_fullspeed"); } } } walk = 0; if (x != nowx && nopress == 0) walk = 1; if (y != nowy && nopress == 0) walk = 1; if (walk == 1) walkbuffer = 6; update_walk(); scr_depth(); obj_mainchara.x = x; obj_mainchara.y = y;