Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_sneo_lastattack_Create_0

(view raw script w/o annotations or w/e)
1
x_offset = 66;
2
y_offset = 135;
3
skip_1st_part_hp = 12;
4
skip_2nd_part_hp = 17;
5
yspot[0] = obj_growtangle.y - (obj_growtangle.sprite_height / 2) - y_offset;
6
yspot[1] = (obj_growtangle.y + (obj_growtangle.sprite_height / 2)) - y_offset;
7
yspot[2] = y;
8
lastshoty = y;
9
rand = 80;
10
ycurrent = 1;
11
con = 0;
12
movetimer = 0;
13
shottimer = 0;
14
timer = 0;
15
count = 0;
16
mouthtopy = 0;
17
mouthbottomy = 0;
18
shotmouthopen = 0;
19
shotmouthopentimer = 0;
20
mouthangle = 0;
21
init = 0;
22
remx = x;
23
hurtalpha = 0;
24
instance_create(x, y, obj_sneo_lastattack_hitbox);
25
endattack = 0;
26
with (obj_wreckpausespew)
27
    image_index = 2;