Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_chefs_food_Create_0

(view raw script w/o annotations or w/e)
1
image_xscale = 2;
2
image_yscale = 2;
3
depth = -1;
4
vspeed = -12;
5
fixate = -4;
6
fixate_y = 0;
7
falling = false;
8
fallspeed = 3;
9
caught = false;
10
thrown = false;
11
eaten = 0;
12
firedie = true;
13
gameover = false;
14
goto_susie = false;
15
image_speed = 0;
16
food_type = choose(0, 1, 2);
17
image_index = food_type;
18
on_fire = false;
19
img = irandom(3);
20
floor_y = obj_chefs_kris.ystart + 40;
21
if (i_ex(obj_chefs_init))
22
{
23
    depth = obj_chefs_init.depth - 10;
24
    if (i_ex(obj_tenna_minigame_ui))
25
        depth = obj_tenna_minigame_ui.depth;
26
}