Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_ch4_PDC03A_alphys_juice_Create_0

(view raw script w/o annotations or w/e)
1
con = 0;
2
customcon = 0;
3
talked = 0;
4
juice_red = 0;
5
juice_yellow = 0;
6
juice_success = false;
7
susie_check = false;
8
susie_con = 0;
9
facing_temp = 0;
10
giving_juice = false;
11
scr_depth
scr_depth

function
scr_depth(arg0 = id, arg1 = 0)
{ with (arg0) depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10)); }
();
12
alphys_npc = instance_create(675, 520, obj_npc_room);
13
with (alphys_npc)
14
{
15
    extflag = "alphys";
16
    sprite_index = spr_alphys_no_juice;
17
    
scr_depth
scr_depth

function
scr_depth(arg0 = id, arg1 = 0)
{ with (arg0) depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10)); }
();
18
}