Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_overworldenemy_parent_Create_0

(view raw script w/o annotations or w/e)
1
event_inherited();
2
touchflag = 0;
3
touchsprite = spr_diamondm_hurt;
4
eraser = 0;
5
touchflag = 0;
6
ignoresolid = 0;
7
scr_depth
scr_depth

function scr_depth() { depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
8
image_xscale = 2;
9
image_yscale = 2;
10
hitresult = 1;
11
washit = 0;
12
active = 1;
13
encountered = 0;
14
whichmonster = 0;