Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_sneo_headwave_Create_0

(view raw script w/o annotations or w/e)
1
event_inherited();
2
hp = 3;
3
init = 0;
4
destroyable = 0;
5
state = 0;
6
spin = 0;
7
flydirection = 180 + (randomsign() * random(30));
8
timer = 0;
9
direction = 180;
10
image_angle = 0;
11
image_alpha = 0;
12
flash = 0;
13
friction = 0.5;
14
image_blend = #00A2E8;
15
if (instance_exists(obj_spamton_neo_enemy))
16
    damage = global.monsterat[obj_spamton_neo_enemy.myself] * 5;
17
if (instance_exists(obj_sneo_bulletcontroller))
18
    target = obj_sneo_bulletcontroller.target;
19
grazepoints = 4;