Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_attack_green_cookingtime_Create_0

(view raw script w/o annotations or w/e)
1
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
2
image_speed = 0.25;
3
xstart = camerax() + 472;
4
ystart = (cameray() + 176) - 80;
5
x = xstart;
6
y = ystart;
7
image_speed = 0;
8
lifetime = 190;
9
con = 0;
10
init = 0;
11
timer = 0;
12
mode = 2;
13
wavesiner = 0;
14
mode2siner = 0;
15
mode2count = 0;
16
sharewithorange_counter = 0;
17
savelasti = -1;
18
savelasti2 = -1;
19
foodtype = 0;
20
if (i_ex(obj_orange_green_controller))
21
{
22
    landingspot_x[0] = camerax() + 272;
23
    landingspot_x[1] = camerax() + 306;
24
    landingspot_x[2] = camerax() + 336;
25
    if (obj_orange_green_controller.powerup == 2)
26
    {
27
        landingspot_x[0] = camerax() + 283;
28
        landingspot_x[1] = camerax() + 318;
29
        landingspot_x[2] = camerax() + 352;
30
    }
31
}