Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_sworks_id_Create_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
draw_alpha = 0;
4
pencil_color = [make_color_rgb(213, 222, 231), make_color_rgb(137, 163, 187), make_color_rgb(62, 55, 207), make_color_rgb(40, 195, 72), make_color_rgb(237, 221, 53), make_color_rgb(207, 34, 67), make_color_rgb(141, 37, 17), make_color_rgb(68, 6, 6)];
5
id_xx = 56;
6
id_yy = 16;
7
view_x = camera_get_view_x(view_camera[0]);
8
view_y = camera_get_view_y(view_camera[0]);
9
event_fade_in = true;
10
event_fade_out = false;
11
end_cutscene = true;
12
depth = -100000;
13
drawing_grid = ds_grid_create(208, 147);
14
ds_grid_copy(drawing_grid, global.sworks_id_grid);
15
scr_cutscene_start
scr_cutscene_start

function scr_cutscene_start() { global.cutscene = true; obj_pl.state = scr_frozen_state; obj_pl.image_index = 0; obj_pl.image_speed = 0; }
();