Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_npc_hammerguy_Create_0

(view raw script w/o annotations or w/e)
1
myinteract = 0;
2
talked = 0;
3
image_xscale = 2;
4
image_yscale = 2;
5
con = 0;
6
image_speed = 0.05;
7
scr_depth
scr_depth

function
scr_depth(arg0 = id, arg1 = 0)
{ with (arg0) depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10)); }
();
8
hitmode = 0;
9
timer = 0;
10
fusionResultName = "ITEM";
11
fusionResultType = "ITEM";
12
item1 = 0;
13
item2 = 0;
14
item3 = 0;
15
times_fused = 0;
16
npc_sprite = sprite_index;
17
if (global.chapter == 4)
18
    npc_sprite = 1214;
19
sprite_index = npc_sprite;