Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_snowdin_06_screenshake_Step_0

(view raw script w/o annotations or w/e)
1
x_original = obj_camera.x;
2
y_original = obj_camera.y;
3
if (scr_timer
scr_timer

function scr_timer() { if (timer > 0) { timer--; return false; } else { return true; } }
())
4
    instance_destroy();
5
obj_camera.x += irandom_range(-2, 2);
6
obj_camera.y += irandom_range(-2, 2);