|
1
|
if (!i_ex(obj_battlecontroller))
|
|
2
|
instance_destroy();
|
|
3
|
if (global.firstboardbattle == 1 && room == room_board_1)
|
|
4
|
{
|
|
5
|
talktimer++;
|
|
6
|
if (introcon == 0)
|
|
7
|
{
|
|
8
|
global.charturn = 3;
|
|
9
|
global.fc = 22;
|
|
10
|
global.typer = 80;
|
|
11
|
msgsetloc(0, * That's right!!! It's a battle scene, folks!!!"* That's right!!! It's a battle scene, folks!!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_13_0" );
|
|
12
|
scr_battletextscr_battletext
function scr_battletext()
{
xx = __view_get(e__VW.XView, 0);
yy = __view_get(e__VW.YView, 0);
if (global.fc != 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.fc == 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.chapter == 3 && i_ex(obj_tennabattleconvo_controller) && (obj_tennabattleconvo_controller.chattedduringbulletphase == true || (obj_tennabattleconvo_controller.introcon >= 0.1 && obj_tennabattleconvo_controller.introcon <= 2)))
{
}
else
{
myface = instance_create(xx + 26, yy + 380, obj_face);
}
with (battlewriter)
{
dialoguer = 1;
facer = 1;
if (global.fc == 0 && originalcharline == 33)
charline = 26;
}
return battlewriter;
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} ();
|
|
13
|
introcon = 0.1;
|
|
14
|
}
|
|
15
|
if (introcon == 0.1 && talktimer > 1 && i_ex(obj_writer) && obj_writer.reachedend == true && (button1_p() || button3_h()))
|
|
16
|
{
|
|
17
|
with (obj_writer)
|
|
18
|
instance_destroy();
|
|
19
|
global.fc = 22;
|
|
20
|
global.typer = 80;
|
|
21
|
msgsetloc(0, * And our boys backstage have been begging to beat you down!"* And our boys backstage have been begging to beat you down!", "obj_tennabattleconvo_controller_slash_Step_0_gml_23_0" );
|
|
22
|
scr_battletextscr_battletext
function scr_battletext()
{
xx = __view_get(e__VW.XView, 0);
yy = __view_get(e__VW.YView, 0);
if (global.fc != 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.fc == 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.chapter == 3 && i_ex(obj_tennabattleconvo_controller) && (obj_tennabattleconvo_controller.chattedduringbulletphase == true || (obj_tennabattleconvo_controller.introcon >= 0.1 && obj_tennabattleconvo_controller.introcon <= 2)))
{
}
else
{
myface = instance_create(xx + 26, yy + 380, obj_face);
}
with (battlewriter)
{
dialoguer = 1;
facer = 1;
if (global.fc == 0 && originalcharline == 33)
charline = 26;
}
return battlewriter;
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} ();
|
|
23
|
talktimer = 0;
|
|
24
|
introcon = 0.2;
|
|
25
|
}
|
|
26
|
if (introcon == 0.2 && talktimer > 1 && i_ex(obj_writer) && obj_writer.reachedend == true && (button1_p() || button3_h()))
|
|
27
|
{
|
|
28
|
with (obj_writer)
|
|
29
|
instance_destroy();
|
|
30
|
global.fc = 22;
|
|
31
|
global.typer = 80;
|
|
32
|
msgsetloc(0, * But this ain't your normal Saturday night slam fest!!"* But this ain't your normal Saturday night slam fest!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_34_0" );
|
|
33
|
scr_battletextscr_battletext
function scr_battletext()
{
xx = __view_get(e__VW.XView, 0);
yy = __view_get(e__VW.YView, 0);
if (global.fc != 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.fc == 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.chapter == 3 && i_ex(obj_tennabattleconvo_controller) && (obj_tennabattleconvo_controller.chattedduringbulletphase == true || (obj_tennabattleconvo_controller.introcon >= 0.1 && obj_tennabattleconvo_controller.introcon <= 2)))
{
}
else
{
myface = instance_create(xx + 26, yy + 380, obj_face);
}
with (battlewriter)
{
dialoguer = 1;
facer = 1;
if (global.fc == 0 && originalcharline == 33)
charline = 26;
}
return battlewriter;
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} ();
|
|
34
|
talktimer = 0;
|
|
35
|
introcon = 0.3;
|
|
36
|
}
|
|
37
|
if (introcon == 0.3 && talktimer > 1 && i_ex(obj_writer) && obj_writer.reachedend == true && (button1_p() || button3_h()))
|
|
38
|
{
|
|
39
|
with (obj_writer)
|
|
40
|
instance_destroy();
|
|
41
|
global.fc = 22;
|
|
42
|
global.typer = 80;
|
|
43
|
msgsetloc(0, * Perform well, and you'll get extra points!!!"* Perform well, and you'll get extra points!!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_45_0" );
|
|
44
|
scr_battletextscr_battletext
function scr_battletext()
{
xx = __view_get(e__VW.XView, 0);
yy = __view_get(e__VW.YView, 0);
if (global.fc != 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.fc == 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.chapter == 3 && i_ex(obj_tennabattleconvo_controller) && (obj_tennabattleconvo_controller.chattedduringbulletphase == true || (obj_tennabattleconvo_controller.introcon >= 0.1 && obj_tennabattleconvo_controller.introcon <= 2)))
{
}
else
{
myface = instance_create(xx + 26, yy + 380, obj_face);
}
with (battlewriter)
{
dialoguer = 1;
facer = 1;
if (global.fc == 0 && originalcharline == 33)
charline = 26;
}
return battlewriter;
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} ();
|
|
45
|
talktimer = 0;
|
|
46
|
introcon = 0.4;
|
|
47
|
}
|
|
48
|
if (introcon == 0.4 && talktimer > 1 && i_ex(obj_writer) && obj_writer.reachedend == true && (button1_p() || button3_h()))
|
|
49
|
{
|
|
50
|
with (obj_writer)
|
|
51
|
instance_destroy();
|
|
52
|
global.fc = 22;
|
|
53
|
global.typer = 80;
|
|
54
|
msgsetloc(0, * For best "results", take no damage, win fast, and get gobs of TP!!!"* For best \"results\", take no damage, win fast, and get gobs of TP!!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_56_0" );
|
|
55
|
scr_battletextscr_battletext
function scr_battletext()
{
xx = __view_get(e__VW.XView, 0);
yy = __view_get(e__VW.YView, 0);
if (global.fc != 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.fc == 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.chapter == 3 && i_ex(obj_tennabattleconvo_controller) && (obj_tennabattleconvo_controller.chattedduringbulletphase == true || (obj_tennabattleconvo_controller.introcon >= 0.1 && obj_tennabattleconvo_controller.introcon <= 2)))
{
}
else
{
myface = instance_create(xx + 26, yy + 380, obj_face);
}
with (battlewriter)
{
dialoguer = 1;
facer = 1;
if (global.fc == 0 && originalcharline == 33)
charline = 26;
}
return battlewriter;
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} ();
|
|
56
|
talktimer = 0;
|
|
57
|
introcon = 1;
|
|
58
|
}
|
|
59
|
if (introcon == 1 && talktimer > 1 && i_ex(obj_writer) && obj_writer.reachedend == true && (button1_p() || button3_h()))
|
|
60
|
{
|
|
61
|
with (obj_writer)
|
|
62
|
instance_destroy();
|
|
63
|
introcon = 2;
|
|
64
|
talktimer = 0;
|
|
65
|
global.charturn = 0;
|
|
66
|
}
|
|
67
|
if (scr_debugscr_debug
function scr_debug()
{
if (global.debug == 1)
return 1;
} ())
|
|
68
|
{
|
|
69
|
if (keyboard_check_pressed(vk_f5))
|
|
70
|
{
|
|
71
|
with (obj_writer)
|
|
72
|
instance_destroy();
|
|
73
|
introcon = 2;
|
|
74
|
}
|
|
75
|
}
|
|
76
|
if (introcon < 2)
|
|
77
|
exit;
|
|
78
|
}
|
|
79
|
if (scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("enemytalk"))
|
|
80
|
{
|
|
81
|
con = 0;
|
|
82
|
introcon = 3;
|
|
83
|
with (obj_face)
|
|
84
|
{
|
|
85
|
if (global.fc == 22)
|
|
86
|
instance_destroy();
|
|
87
|
}
|
|
88
|
}
|
|
89
|
if (scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("bullets") && con == 0)
|
|
90
|
{
|
|
91
|
timer++;
|
|
92
|
if (timer == 13)
|
|
93
|
{
|
|
94
|
timer = 0;
|
|
95
|
con = 1;
|
|
96
|
chattedduringbulletphase = false;
|
|
97
|
rr = choose(0, 2, 3, 4, 5, 6, 7, 8, 9);
|
|
98
|
if (irandom(99) == 1)
|
|
99
|
rr = 10;
|
|
100
|
if (rr == 0)
|
|
101
|
statustext = stringsetloc(* This is gonna be a heck of a slugfest, folks!"* This is gonna be a heck of a slugfest, folks!", "obj_tennabattleconvo_controller_slash_Step_0_gml_95_0" );
|
|
102
|
if (rr == 2)
|
|
103
|
statustext = stringsetloc(* Get your VHS players, this is gonna be one to tape!"* Get your VHS players, this is gonna be one to tape!", "obj_tennabattleconvo_controller_slash_Step_0_gml_96_0" );
|
|
104
|
if (rr == 3)
|
|
105
|
statustext = stringsetloc(* Don't adjust your set!! This battle is real, folks!!"* Don't adjust your set!! This battle is real, folks!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_97_0" );
|
|
106
|
if (rr == 4)
|
|
107
|
statustext = stringsetloc(* This is gonna be all out, folks! Get ready!!!"* This is gonna be all out, folks! Get ready!!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_98_0" );
|
|
108
|
if (rr == 5)
|
|
109
|
statustext = stringsetloc(* What will our heroes do next!?"* What will our heroes do next!?", "obj_tennabattleconvo_controller_slash_Step_0_gml_99_0" );
|
|
110
|
if (rr == 6)
|
|
111
|
statustext = stringsetloc(* You can only get this on cable TV, folks!!!"* You can only get this on cable TV, folks!!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_100_0" );
|
|
112
|
if (rr == 7)
|
|
113
|
statustext = stringsetloc(* Refreshments are available in the green room!"* Refreshments are available in the green room!", "obj_tennabattleconvo_controller_slash_Step_0_gml_101_0" );
|
|
114
|
if (rr == 8)
|
|
115
|
statustext = stringsetloc(* Miss something!? The battle will be available on laserdisc!"* Miss something!? The battle will be available on laserdisc!", "obj_tennabattleconvo_controller_slash_Step_0_gml_102_0" );
|
|
116
|
if (rr == 9)
|
|
117
|
statustext = stringsetloc(* My nose is tingling from the excitement, folks!!!"* My nose is tingling from the excitement, folks!!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_103_0" );
|
|
118
|
if (rr == 10)
|
|
119
|
statustext = stringsetloc(* Hey you! Stop selling tickets made of toilet paper!"* Hey you! Stop selling tickets made of toilet paper!", "obj_tennabattleconvo_controller_slash_Step_0_gml_105_0" );
|
|
120
|
if (enemyspared == true)
|
|
121
|
{
|
|
122
|
rr = choose(0, 1, 2, 3);
|
|
123
|
if (rr == 0)
|
|
124
|
statustext = stringsetloc(* Wow!! A spare!! Love blooms in the battlefield, folks!!"* Wow!! A spare!! Love blooms in the battlefield, folks!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_110_0" );
|
|
125
|
if (rr == 1)
|
|
126
|
statustext = stringsetloc(* Our heroes score a pacifist knockdown!!"* Our heroes score a pacifist knockdown!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_111_0" );
|
|
127
|
if (rr == 2)
|
|
128
|
statustext = stringsetloc(* A brutal pacifist sparing from our heroes!!!"* A brutal pacifist sparing from our heroes!!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_112_0" );
|
|
129
|
if (rr == 3)
|
|
130
|
statustext = stringsetloc(* Our heroes score a spare!! But where's the strike!?"* Our heroes score a spare!! But where's the strike!?", "obj_tennabattleconvo_controller_slash_Step_0_gml_113_0" );
|
|
131
|
}
|
|
132
|
if (enemydefeated == true)
|
|
133
|
{
|
|
134
|
rr = choose(0, 1, 2, 3);
|
|
135
|
if (rr == 0)
|
|
136
|
statustext = stringsetloc(* Ouch for the enemies!! Too bad they don't get healthcare, folks!!"* Ouch for the enemies!! Too bad they don't get healthcare, folks!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_119_0" );
|
|
137
|
if (rr == 1)
|
|
138
|
statustext = stringsetloc(* Beat so easily!? The enemies are looking at a pay cut!"* Beat so easily!? The enemies are looking at a pay cut!", "obj_tennabattleconvo_controller_slash_Step_0_gml_120_0" );
|
|
139
|
if (rr == 2)
|
|
140
|
statustext = stringsetloc(* A brutal smack-down from our heroes!!!"* A brutal smack-down from our heroes!!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_121_0" );
|
|
141
|
if (rr == 3)
|
|
142
|
statustext = stringsetloc(* KO!! The heel is coming out from our heroes, folks!!"* KO!! The heel is coming out from our heroes, folks!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_122_0" );
|
|
143
|
}
|
|
144
|
}
|
|
145
|
}
|
|
146
|
if (global.turntimer < 2 && !i_ex(obj_heart) && con == 1)
|
|
147
|
{
|
|
148
|
if (grazed10bullets == true && damagecountthisturn == 0)
|
|
149
|
{
|
|
150
|
grazed10bullets = false;
|
|
151
|
rr = choose(0, 1, 2);
|
|
152
|
if (rr == 0)
|
|
153
|
statustext = stringsetloc(* Wow!! Our heroes are grazing like goats!!!"* Wow!! Our heroes are grazing like goats!!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_134_0" );
|
|
154
|
if (rr == 1)
|
|
155
|
statustext = stringsetloc(* No damage!? What amazing skill!! Can we even show this!?"* No damage!? What amazing skill!! Can we even show this!?", "obj_tennabattleconvo_controller_slash_Step_0_gml_135_0" );
|
|
156
|
if (rr == 2)
|
|
157
|
statustext = stringsetloc(* Incredible dodging!! And best of all, it's on TV!!!"* Incredible dodging!! And best of all, it's on TV!!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_136_0" );
|
|
158
|
}
|
|
159
|
if (herodowned == true)
|
|
160
|
{
|
|
161
|
herodowned = false;
|
|
162
|
rr = choose(0, 1, 2, 3);
|
|
163
|
if (rr == 0)
|
|
164
|
statustext = stringsetloc(* A brutal smackdown! Can our heroes survive!?"* A brutal smackdown! Can our heroes survive!?", "obj_tennabattleconvo_controller_slash_Step_0_gml_143_0" );
|
|
165
|
if (rr == 1)
|
|
166
|
statustext = stringsetloc(* That was rough!! Can our heroes mount a comeback!?"* That was rough!! Can our heroes mount a comeback!?", "obj_tennabattleconvo_controller_slash_Step_0_gml_144_0" );
|
|
167
|
if (rr == 2)
|
|
168
|
statustext = stringsetloc(* Don't give up, heroes!! Think of the ratings!!!"* Don't give up, heroes!! Think of the ratings!!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_145_0" );
|
|
169
|
if (rr == 3)
|
|
170
|
statustext = stringsetloc(* Downed!? Down't worry!!! We'll edit that out in post!!!"* Downed!? Down't worry!!! We'll edit that out in post!!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_146_0" );
|
|
171
|
}
|
|
172
|
with (obj_writer)
|
|
173
|
instance_destroy();
|
|
174
|
if (chattedduringbulletphase == false)
|
|
175
|
{
|
|
176
|
with (obj_face)
|
|
177
|
instance_destroy();
|
|
178
|
}
|
|
179
|
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 == "tenna")
{
global.typer = 80;
if (global.fighting == 1)
global.typer = 81;
}
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;
... ("tenna");
|
|
180
|
global.fc = 22;
|
|
181
|
global.battlemsg[0] = statustext;
|
|
182
|
con = 2;
|
|
183
|
damagecountthisturn = 0;
|
|
184
|
enemyspared = false;
|
|
185
|
enemydefeated = false;
|
|
186
|
}
|
|
187
|
if (global.turntimer > 120)
|
|
188
|
{
|
|
189
|
if (damagecount == 1 && damagecountthisturn > 0)
|
|
190
|
{
|
|
191
|
damagecount = 2;
|
|
192
|
rr = choose(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
|
|
193
|
if (rr == -1 || krisdowned || susiedowned || ralseidowned)
|
|
194
|
{
|
|
195
|
}
|
|
196
|
else
|
|
197
|
{
|
|
198
|
with (obj_writer)
|
|
199
|
instance_destroy();
|
|
200
|
with (obj_face)
|
|
201
|
instance_destroy();
|
|
202
|
global.fc = 22;
|
|
203
|
global.typer = 80;
|
|
204
|
if (rr == 0)
|
|
205
|
msgsetloc(0, * Kris!! Oh no!! Toriel, don't look!!"* Kris!! Oh no!! Toriel, don't look!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_178_0" );
|
|
206
|
if (rr == 1)
|
|
207
|
msgsetloc(0, * That's gotta hurt, folks!"* That's gotta hurt, folks!", "obj_tennabattleconvo_controller_slash_Step_0_gml_179_0" );
|
|
208
|
if (rr == 2)
|
|
209
|
msgsetloc(0, * Slam for the bad guys!!"* Slam for the bad guys!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_180_0" );
|
|
210
|
if (rr == 3)
|
|
211
|
msgsetloc(0, * Call the IQ police, that's gotta smart!!"* Call the IQ police, that's gotta smart!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_181_0" );
|
|
212
|
if (rr == 4)
|
|
213
|
msgsetloc(0, * Just watching it hurts, folks!!"* Just watching it hurts, folks!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_182_0" );
|
|
214
|
if (rr == 5)
|
|
215
|
msgsetloc(0, * Ouch! Cover your nose, kids!!!"* Ouch! Cover your nose, kids!!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_183_0" );
|
|
216
|
if (rr == 6)
|
|
217
|
msgsetloc(0, * Watch out for the splash zone!!"* Watch out for the splash zone!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_184_0" );
|
|
218
|
if (rr == 7)
|
|
219
|
msgsetloc(0, * It's carnage out there, folks!!"* It's carnage out there, folks!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_185_0" );
|
|
220
|
if (rr == 8)
|
|
221
|
msgsetloc(0, * Alert!! The curtains are on fire!!"* Alert!! The curtains are on fire!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_186_0" );
|
|
222
|
if (rr == 9)
|
|
223
|
msgsetloc(0, * Oh no!! Mike, don't look!!"* Oh no!! Mike, don't look!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_187_0" );
|
|
224
|
if (rr == 10)
|
|
225
|
msgsetloc(0, * Boo boo for bozos!"* Boo boo for bozos!", "obj_tennabattleconvo_controller_slash_Step_0_gml_188_0" );
|
|
226
|
scr_battletextscr_battletext
function scr_battletext()
{
xx = __view_get(e__VW.XView, 0);
yy = __view_get(e__VW.YView, 0);
if (global.fc != 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.fc == 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.chapter == 3 && i_ex(obj_tennabattleconvo_controller) && (obj_tennabattleconvo_controller.chattedduringbulletphase == true || (obj_tennabattleconvo_controller.introcon >= 0.1 && obj_tennabattleconvo_controller.introcon <= 2)))
{
}
else
{
myface = instance_create(xx + 26, yy + 380, obj_face);
}
with (battlewriter)
{
dialoguer = 1;
facer = 1;
if (global.fc == 0 && originalcharline == 33)
charline = 26;
}
return battlewriter;
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} ();
|
|
227
|
if (rr == 10)
|
|
228
|
snd_play(snd_crowd_laughter_single);
|
|
229
|
else
|
|
230
|
snd_play(snd_crowd_gasp);
|
|
231
|
chattedduringbulletphase = true;
|
|
232
|
}
|
|
233
|
}
|
|
234
|
if (damagecount == 4 && damagecountthisturn > 0)
|
|
235
|
{
|
|
236
|
damagecount = 5;
|
|
237
|
rr = choose(0, 1, 2, 3);
|
|
238
|
if (rr == 0 || rr == 1)
|
|
239
|
{
|
|
240
|
with (obj_writer)
|
|
241
|
instance_destroy();
|
|
242
|
with (obj_face)
|
|
243
|
instance_destroy();
|
|
244
|
global.fc = 22;
|
|
245
|
global.typer = 80;
|
|
246
|
if (rr == 0)
|
|
247
|
msgsetloc(0, * Ever heard of dodging!?"* Ever heard of dodging!?", "obj_tennabattleconvo_controller_slash_Step_0_gml_209_0" );
|
|
248
|
if (rr == 1)
|
|
249
|
msgsetloc(0, * Dan called! He wants his maku back!!"* Dan called! He wants his maku back!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_210_0" );
|
|
250
|
scr_battletextscr_battletext
function scr_battletext()
{
xx = __view_get(e__VW.XView, 0);
yy = __view_get(e__VW.YView, 0);
if (global.fc != 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.fc == 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.chapter == 3 && i_ex(obj_tennabattleconvo_controller) && (obj_tennabattleconvo_controller.chattedduringbulletphase == true || (obj_tennabattleconvo_controller.introcon >= 0.1 && obj_tennabattleconvo_controller.introcon <= 2)))
{
}
else
{
myface = instance_create(xx + 26, yy + 380, obj_face);
}
with (battlewriter)
{
dialoguer = 1;
facer = 1;
if (global.fc == 0 && originalcharline == 33)
charline = 26;
}
return battlewriter;
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} ();
|
|
251
|
snd_play(snd_crowd_laughter_single);
|
|
252
|
chattedduringbulletphase = true;
|
|
253
|
}
|
|
254
|
}
|
|
255
|
if (krisdowned)
|
|
256
|
{
|
|
257
|
krisdowned = false;
|
|
258
|
with (obj_writer)
|
|
259
|
instance_destroy();
|
|
260
|
with (obj_face)
|
|
261
|
instance_destroy();
|
|
262
|
global.fc = 22;
|
|
263
|
global.typer = 80;
|
|
264
|
msgsetloc(0, * Kris!! Oh no!! Toriel, don't look!!"* Kris!! Oh no!! Toriel, don't look!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_225_0" );
|
|
265
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
266
|
chattedduringbulletphase = true;
|
|
267
|
}
|
|
268
|
if (susiedowned)
|
|
269
|
{
|
|
270
|
susiedowned = false;
|
|
271
|
with (obj_writer)
|
|
272
|
instance_destroy();
|
|
273
|
with (obj_face)
|
|
274
|
instance_destroy();
|
|
275
|
global.fc = 22;
|
|
276
|
global.typer = 80;
|
|
277
|
msgsetloc(0, * Monster girl down!!! No way!!!"* Monster girl down!!! No way!!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_238_0" );
|
|
278
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
279
|
chattedduringbulletphase = true;
|
|
280
|
}
|
|
281
|
if (ralseidowned)
|
|
282
|
{
|
|
283
|
ralseidowned = false;
|
|
284
|
with (obj_writer)
|
|
285
|
instance_destroy();
|
|
286
|
with (obj_face)
|
|
287
|
instance_destroy();
|
|
288
|
global.fc = 22;
|
|
289
|
global.typer = 80;
|
|
290
|
msgsetloc(0, * Fluffy boy down!!! Oh no!!!"* Fluffy boy down!!! Oh no!!!", "obj_tennabattleconvo_controller_slash_Step_0_gml_251_0" );
|
|
291
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
292
|
chattedduringbulletphase = true;
|
|
293
|
}
|
|
294
|
}
|