Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_sneo_heartattack_old_Create_0

(view raw script w/o annotations or w/e)
1
image_xscale = 1;
2
image_yscale = 1;
3
image_speed = 0;
4
speed = 5;
5
rand_angle = random(40);
6
heart_health = obj_spamton_neo_enemy.heart_health;
7
heart_speed_scaling = obj_spamton_neo_enemy.heart_speed_scaling;
8
con = 0;
9
shootcon = 0;
10
shoottimer = 0;
11
bustertimer = 0;
12
defeatedtimer = 0;
13
difficulty = obj_spamton_neo_enemy.difficulty;
14
movementstyle = obj_spamton_neo_enemy.difficulty;
15
if (movementstyle == 0)
16
    movementstyle = 1;
17
attackcount = obj_spamton_neo_enemy.heart_attack_count;
18
direction = 163 + random(34);
19
shakex = 0;
20
shakey = 0;
21
alarm[1]
 = 15;
gml_Object_obj_sneo_heartattack_old_Alarm_1.gml

scr_turntimer(obj_spamton_neo_enemy.heart_turntimer);