Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_sneo_guymaker_Create_0

(view raw script w/o annotations or w/e)
1
type = 4;
2
if (obj_spamton_neo_enemy.difficulty == 0)
3
    type = 1;
4
if (obj_spamton_neo_enemy.difficulty == 1)
5
    type = 2;
6
if (obj_spamton_neo_enemy.difficulty == 2)
7
    type = 3;
8
if (obj_spamton_neo_enemy.difficulty == 3)
9
    type = 4;
10
if (instance_exists(obj_sneo_heartattack))
11
    type = 5;
12
if (obj_spamton_neo_enemy.difficulty == 6)
13
    type = 6;
14
if (obj_spamton_neo_enemy.difficulty == 7)
15
    type = 7;
16
timer = 0;
17
prevrow = 0;
18
row = 0;
19
prevrowy = 0;
20
spawncount = 0;
21
firstspawn = 0;