Deltarune script viewer

← back to main script listing

gml_Object_obj_wobblything_evil_ch1_Create_0

(view raw script w/o annotations or w/e)
1
global.charinstance[0] = obj_mainchara_ch1;
2
image_speed = 0;
3
image_xscale = 2;
4
image_yscale = 2;
5
scr_depth_ch1
scr_depth_ch1

function scr_depth_ch1() { depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
6
wobbled = 0;
7
if (room == room_dark_wobbles_ch1)
8
{
9
    tilearray = tile_get_ids_at_depth_ch1(777777);
10
    for (var i = 0; i < array_length_1d(tilearray); i++)
11
        tile_set_alpha_ch1(tilearray[i], 0);
12
}