Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_sound_of_justice_enemy_Other_24

(view raw script w/o annotations or w/e)
1
attackcount = 0;
2
attacktimer = 0;
3
attackcon = 0;
4
visible = true;
5
scr_spearpattern_reset
scr_spearpattern_reset

function
scr_spearpattern_reset()
{ attackcount = 0; attackcountmax = 0; for (i = 0; i < 100; i++) { list_attackdirection[i] = 0; list_attackspeed[i] = 0; list_attackframes[i] = 0; list_attackspecial[i] = 0; list_attackspecial2[i] = 0; list_attackwait[i] = 5; } }
();
6
with (obj_gerson_hammer_bro_attack_controller)
7
    instance_destroy();
8
with (obj_gerson_hammer_bro_hammer)
9
    instance_destroy();
10
with (obj_gerson_box_hit_controller)
11
    instance_destroy();
12
with (obj_gerson_box_hit)
13
    instance_destroy();
14
with (obj_box_hit_bullet)
15
    instance_destroy();
16
with (obj_gerson_bell_attack_controller)
17
    instance_destroy();
18
with (obj_gerson_bell)
19
    instance_destroy();
20
with (obj_gerson_bell_hit)
21
    instance_destroy();
22
with (obj_gerson_bell_bullet)
23
    instance_destroy();
24
with (obj_gerson_bell_bullet_radial)
25
    instance_destroy();
26
with (obj_gerson_swing_down)
27
    instance_destroy();
28
with (obj_gerson_hits_box)
29
    instance_destroy();
30
with (obj_gerson_squishes_box)
31
    instance_destroy();
32
with (obj_gerson_teleport)
33
    instance_destroy();
34
with (obj_follow_spear)
35
    instance_destroy();
36
with (obj_spearblocker)
37
    instance_destroy();
38
with (obj_spearblocker_piece)
39
    instance_destroy();
40
with (obj_spearshot)
41
    instance_destroy();
42
with (obj_giant_hammer)
43
    instance_destroy();
44
with (obj_just_text)
45
    instance_destroy();
46
with (obj_green_heart_particle)
47
    instance_destroy();