Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_cutscene_screenshake

(view raw script w/o annotations or w/e)
1
function cutscene_screenshake(argument0, argument1) //gml_Script_cutscene_screenshake
2
{
3
    scr_screenshake
scr_screenshake

function scr_screenshake(argument0, argument1) //gml_Script_scr_screenshake { if instance_exists(obj_screenshake_player) return; with (instance_create(__view_get((9 << 0), 0).x, __view_get((9 << 0), 0).y, obj_screenshake_player)) { alarm[0] intensity = argument1 } }
((argument0 * 30 + 1), argument1)
4
    cutscene_wait(argument0)
5
    return false;
6
}