|
1
|
if (con == 1)
|
|
2
|
{
|
|
3
|
timer++;
|
|
4
|
if (timer >= 45)
|
|
5
|
{
|
|
6
|
con = 2;
|
|
7
|
timer = 0;
|
|
8
|
__view_set(e__VW.XView, 0, __view_get(e__VW.XView, 0) + 28);
|
|
9
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("queen");
|
|
10
|
msgsetloc(0, * Finally... a worthy opponent...Wait for inputClose Message"* Finally... a worthy opponent.../%", "obj_bqueen_intro_slash_Step_0_gml_13_0" );
|
|
11
|
instance_create(camerax() + 30, cameray() + 376, obj_writer);
|
|
12
|
__view_set(e__VW.XView, 0, __view_get(e__VW.XView, 0) - 28);
|
|
13
|
with (obj_writer)
|
|
14
|
{
|
|
15
|
rate = 3;
|
|
16
|
skippable = 0;
|
|
17
|
writingy = y - 320;
|
|
18
|
}
|
|
19
|
}
|
|
20
|
}
|
|
21
|
if (con == 2 && !i_ex(obj_writer))
|
|
22
|
{
|
|
23
|
con = 3;
|
|
24
|
y = -120;
|
|
25
|
sprite_index = spr_bqueen_pirouette;
|
|
26
|
image_speed = 0.25;
|
|
27
|
gravity_direction = 270;
|
|
28
|
gravity = 2;
|
|
29
|
}
|
|
30
|
if (con == 3 && y < 280)
|
|
31
|
{
|
|
32
|
timer++;
|
|
33
|
if (cameray() < 0)
|
|
34
|
__view_set(e__VW.YView, 0, __view_get(e__VW.YView, 0) + 7);
|
|
35
|
else
|
|
36
|
__view_set(e__VW.YView, 0, 0);
|
|
37
|
with (obj_thrash_intro)
|
|
38
|
{
|
|
39
|
if (y < 390)
|
|
40
|
y += 6;
|
|
41
|
else
|
|
42
|
y = 390;
|
|
43
|
}
|
|
44
|
flash = instance_create(x, y, o_afterimage);
|
|
45
|
flash.sprite_index = sprite_index;
|
|
46
|
flash.image_index = image_index;
|
|
47
|
flash.image_xscale = image_xscale;
|
|
48
|
flash.image_yscale = image_yscale;
|
|
49
|
flash.image_blend = c_white;
|
|
50
|
flash.image_speed = 0;
|
|
51
|
flash.rate = 0.2;
|
|
52
|
flash.hasboss = 0;
|
|
53
|
flash.depth = depth + 1;
|
|
54
|
flash.boss = id;
|
|
55
|
}
|
|
56
|
if (con == 3 && y > 280)
|
|
57
|
{
|
|
58
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("no_name");
|
|
59
|
global.typer = 4;
|
|
60
|
global.fc = 0;
|
|
61
|
global.fe = 0;
|
|
62
|
con = 4;
|
|
63
|
timer = 0;
|
|
64
|
sprite_index = spr_bqueen;
|
|
65
|
image_index = 21;
|
|
66
|
image_speed = 0;
|
|
67
|
speed = 0;
|
|
68
|
gravity = 0;
|
|
69
|
y = 300;
|
|
70
|
d = instance_exists(obj_shake) ? 196 : instance_create(0, 0, obj_shake);
|
|
71
|
d.shakex = ceil(2);
|
|
72
|
d.shakey = ceil(2);
|
|
73
|
snd_play(snd_closet_impact);
|
|
74
|
}
|
|
75
|
if (con == 4)
|
|
76
|
{
|
|
77
|
timer++;
|
|
78
|
if (timer >= 20)
|
|
79
|
{
|
|
80
|
con = 5;
|
|
81
|
timer = 0;
|
|
82
|
}
|
|
83
|
}
|
|
84
|
if (con == 5)
|
|
85
|
{
|
|
86
|
timer++;
|
|
87
|
if (timer == 1)
|
|
88
|
instance_create(camerax() + (camerawidth() / 2), cameray() - 220, obj_gigaqueen_intro_round);
|
|
89
|
if (timer == 52)
|
|
90
|
instance_create(obj_gigaqueen_intro_round.x + 5, obj_gigaqueen_intro_round.y, obj_gigaqueen_intro_fight);
|
|
91
|
if (timer == 92)
|
|
92
|
{
|
|
93
|
con = 6;
|
|
94
|
timer = 0;
|
|
95
|
readycon = 0;
|
|
96
|
}
|
|
97
|
}
|
|
98
|
if (con == 6)
|
|
99
|
{
|
|
100
|
timer++;
|
|
101
|
if (timer == 1 || timer == 10)
|
|
102
|
snd_play(snd_bell);
|
|
103
|
if (timer == 22)
|
|
104
|
{
|
|
105
|
con = 8;
|
|
106
|
timer = 0;
|
|
107
|
}
|
|
108
|
}
|
|
109
|
if (con == 8)
|
|
110
|
{
|
|
111
|
con = 9;
|
|
112
|
with (obj_thrash_intro)
|
|
113
|
timer = 150 / f;
|
|
114
|
}
|
|
115
|
|
|
116
|
enum e__VW
|
|
117
|
{
|
|
118
|
XView,
|
|
119
|
YView,
|
|
120
|
WView,
|
|
121
|
HView,
|
|
122
|
Angle,
|
|
123
|
HBorder,
|
|
124
|
VBorder,
|
|
125
|
HSpeed,
|
|
126
|
VSpeed,
|
|
127
|
Object,
|
|
128
|
Visible,
|
|
129
|
XPort,
|
|
130
|
YPort,
|
|
131
|
WPort,
|
|
132
|
HPort,
|
|
133
|
Camera,
|
|
134
|
SurfaceID
|
|
135
|
}
|