Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_screenshake_hurt_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
battle_screenshake_duration = 3
4
battle_screenshake_intensity = 3
5
can_screenshake = true
6
battle_screenshake_dec = battle_screenshake_intensity / battle_screenshake_duration
7
view_x = camera_get_view_x(view_camera[0])
8
view_y = camera_get_view_y(view_camera[0])