Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_dw_church_climbtut_Create_0

(view raw script w/o annotations or w/e)
1
helpnpc = 0;
2
npctext = 0;
3
helpnpctalked = 0;
4
with (instance_create(448, 634, obj_trigger_interact))
5
{
6
    other.helpnpc = id;
7
    
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
8
    sprite_index = spr_npc_rgdragon_juice;
9
    image_speed = 0;
10
    strict = true;
11
    visible = true;
12
    issolid = true;
13
    
scr_depth
scr_depth

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