Undertale script viewer

← back to main script listing

gml_Object_obj_castroll_Alarm_0

(view raw script w/o annotations or w/e)
1
global.inbattle = 1;
2
type = global.cast_type;
3
if (type == 0)
4
{
5
    froggit = instance_create(col1_x - 50, 600, obj_monster_extrabody);
6
    froggit.type = 1;
7
    whimsun = instance_create(col2_x - 50, 600, obj_monster_extrabody);
8
    whimsun.type = 2;
9
    moldsmal = instance_create(col1_x - 50, 940, obj_monster_extrabody);
10
    moldsmal.type = 3;
11
    loox = instance_create(col2_x - 50, 940, obj_monster_extrabody);
12
    loox.type = 6;
13
    vegetoid = instance_create(col1_x - 50, 1280, obj_monster_extrabody);
14
    vegetoid.type = 7;
15
    migosp = instance_create(col2_x - 50, 1280, obj_monster_extrabody);
16
    migosp.type = 5;
17
    napstablook = instance_create(280, 1620, obj_monster_extrabody);
18
    napstablook.type = 4;
19
    active = 2;
20
}
21
if (type == 1)
22
{
23
    snowdrake = instance_create(col1_x - 100, 600, obj_monster_extrabody);
24
    snowdrake.type = 11;
25
    icecap = instance_create(col2_x - 50, 600, obj_monster_extrabody);
26
    icecap.type = 10;
27
    icecap.image_yscale = 2;
28
    gyftrot = instance_create(col1_x - 100, 1040, obj_monster_extrabody);
29
    gyftrot.type = 12;
30
    gyftrot.image_xscale = 2;
31
    gyftrot.image_yscale = 2;
32
    doggo = instance_create(col2_x - 50, 1040, obj_monster_extrabody);
33
    doggo.type = 13;
34
    doggo.image_yscale = 2;
35
    dogamy = instance_create(208, 1480, obj_monster_extrabody);
36
    dogamy.type = 14;
37
    dogamy.image_xscale = 2;
38
    dogamy.image_yscale = 2;
39
    lesserdog = instance_create(col1_x - 70, 1920, obj_monster_extrabody);
40
    lesserdog.type = 8;
41
    lesserdog.image_xscale = 1;
42
    lesserdog.image_yscale = 2;
43
    greaterdog = instance_create(col2_x - 80, 1920, obj_monster_extrabody);
44
    greaterdog.type = 9;
45
    greaterdog.image_xscale = 2;
46
    greaterdog.image_yscale = 2;
47
    active = 1;
48
}
49
if (type == 2)
50
{
51
    aaron = instance_create(col1_x - 50, 600, obj_monster_extrabody);
52
    aaron.type = 16;
53
    aaron.image_xscale = 2;
54
    aaron.image_yscale = 2;
55
    moldbygg = instance_create(col2_x - 50, 600, obj_monster_extrabody);
56
    moldbygg.type = 19;
57
    moldbygg.image_yscale = 2;
58
    woshua = instance_create(col1_x - 50, 1040, obj_monster_extrabody);
59
    woshua.type = 15;
60
    temmie = instance_create(col2_x - 50, 1040, obj_monster_extrabody);
61
    temmie.type = 18;
62
    temmie.image_yscale = 1;
63
    maddummy = instance_create(col1_x - 50, 1380, obj_monster_extrabody);
64
    maddummy.type = 20;
65
    maddummy.image_xscale = 1;
66
    maddummy.image_yscale = 2;
67
    shyren = instance_create(col2_x - 50, 1380, obj_monster_extrabody);
68
    shyren.type = 17;
69
    shyren.image_xscale = 1;
70
    shyren.image_yscale = 2;
71
    active = 1;
72
}
73
if (type == 3)
74
{
75
    vulkin = instance_create(col1_x - 50, 700, obj_monster_extrabody);
76
    vulkin.type = 22;
77
    tsunderplane = instance_create(col2_x - 90, 600, obj_monster_extrabody);
78
    tsunderplane.image_yscale = 2;
79
    tsunderplane.image_xscale = 2;
80
    tsunderplane.type = 23;
81
    pyrope = instance_create(col1_x - 50, 1040, obj_monster_extrabody);
82
    pyrope.image_yscale = 2;
83
    pyrope.type = 24;
84
    muffet = instance_create(col2_x - 95, 1040, obj_monster_extrabody);
85
    muffet.image_yscale = 2;
86
    muffet.image_xscale = 2;
87
    muffet.type = 25;
88
    knighta = instance_create(150, 1480, obj_monster_extrabody);
89
    knighta.image_yscale = 2;
90
    knighta.image_xscale = 2;
91
    knighta.type = 21;
92
    finalfroggit = instance_create(col1_x - 50, 1940, obj_monster_extrabody);
93
    finalfroggit.type = 28;
94
    whimsalot = instance_create(col2_x - 40, 1940, obj_monster_extrabody);
95
    whimsalot.type = 29;
96
    astigmatism = instance_create(270, 2260, obj_monster_extrabody);
97
    astigmatism.type = 30;
98
    madjick = instance_create(col1_x - 100, 2600, obj_monster_extrabody);
99
    madjick.type = 26;
100
    madjick.image_xscale = 2;
101
    madjick.image_yscale = 2;
102
    knightknight = instance_create(360, 2600, obj_monster_extrabody);
103
    knightknight.type = 27;
104
    knightknight.image_yscale = 2;
105
    knightknight.image_xscale = 2;
106
    amalgamate1 = instance_create(70, 3040, obj_monster_extrabody);
107
    amalgamate1.type = 32;
108
    amalgamate1.image_xscale = 1;
109
    amalgamate1.image_yscale = 3;
110
    amalgamate2 = instance_create(180, 3140, obj_monster_extrabody);
111
    amalgamate2.type = 31;
112
    amalgamate2.image_yscale = 1;
113
    amalgamate2.image_xscale = 1;
114
    amalgamate3 = instance_create(290, 3040, obj_monster_extrabody);
115
    amalgamate3.type = 33;
116
    amalgamate3.image_yscale = 2;
117
    amalgamate3.image_xscale = 2;
118
    amalgamate4 = instance_create(500, 3140, obj_monster_extrabody);
119
    amalgamate4.type = 34;
120
    amalgamate4.image_xscale = 1;
121
    amalgamate4.image_yscale = 2;
122
    active = 1;
123
}