|
1
|
if (init == 0)
|
|
2
|
{
|
|
3
|
with (obj_heroparent)
|
|
4
|
visible = false;
|
|
5
|
init = 1;
|
|
6
|
}
|
|
7
|
if (i_ex(o_boxingqueen))
|
|
8
|
{
|
|
9
|
x = o_boxingqueen.x;
|
|
10
|
y = o_boxingqueen.y - 80;
|
|
11
|
}
|
|
12
|
if (instance_exists(o_boxinghud))
|
|
13
|
{
|
|
14
|
global.monsterhp[myself] = o_boxingqueen.health_count + (o_boxinghud.sub_healthbar_count * 1500);
|
|
15
|
if (global.monsterhp[myself] < 1)
|
|
16
|
global.monsterhp[myself] = 1;
|
|
17
|
}
|
|
18
|
if (global.monster[myself] == 1)
|
|
19
|
{
|
|
20
|
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") && talked == 0)
|
|
21
|
turn++;
|
|
22
|
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") && talked == 0 && turn > 18 && o_boxingqueen.phase_transition < 1)
|
|
23
|
{
|
|
24
|
if (global.monsterdf[myself] > -25)
|
|
25
|
{
|
|
26
|
global.monsterdf[myself] -= 5;
|
|
27
|
o_boxingqueen.damagetakenincrease += 0.166666;
|
|
28
|
}
|
|
29
|
}
|
|
30
|
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") && talked == 0 && o_boxingqueen.phase_transition < 1)
|
|
31
|
{
|
|
32
|
global.typer = 70;
|
|
33
|
ballooncon = 0;
|
|
34
|
balloonsubcon = 0;
|
|
35
|
balloonend = 1;
|
|
36
|
talkedcon = 0;
|
|
37
|
o_boxingcontroller.acttoenemytalktransition = 0;
|
|
38
|
if (playerhasntdodged == 0 && balloonorder > 0 && playerhasntdodgedorder < 3)
|
|
39
|
{
|
|
40
|
if (playerhasntdodgedorder == 0)
|
|
41
|
{
|
|
42
|
msgsetloc(0, Oh No Did You Forget How To Control A Giant RobotWait for inputClose Message"Oh No Did You&Forget How To&Control A Giant&Robot/%", "obj_gigaqueen_enemy_slash_Step_0_gml_56_0" );
|
|
43
|
ballooncon = 11;
|
|
44
|
balloonend = 0;
|
|
45
|
}
|
|
46
|
if (playerhasntdodgedorder == 1 || playerhasntdodgedorder == 2)
|
|
47
|
{
|
|
48
|
msgsetsubloc(0, "One More Time,&Press ~1 And&~2 To Dodge/%", scr_get_input_namescr_get_input_name
function scr_get_input_name(arg0)
{
var _control = "[?]";
if (global.is_console || obj_gamecontroller.gamepad_active)
{
_control = global.input_g[arg0];
if (_control == gp_padr)
return "\\*D ";
if (_control == gp_padl)
return "\\*A ";
if (_control == gp_padu)
return "\\*W ";
if (_control == gp_padd)
return "\\*S ";
if (_control == global.button0)
return "\\*Z ";
if (_control == global.button1)
return "\\*X ";
if (_control == global.button2)
return "\\*C ";
}
var left_bracket = (global.lang == "en") ? "[" : "[";
var right_bracket = (global.lang == "en") ? "]" : "]";
_control = left_bracket + global.asc_def[global.input_k[arg0]] + right_bracket;
if (!is_string(_control))
_control = "[?]";
else
return _control;
} (3), scr_get_input_namescr_get_input_name
function scr_get_input_name(arg0)
{
var _control = "[?]";
if (global.is_console || obj_gamecontroller.gamepad_active)
{
_control = global.input_g[arg0];
if (_control == gp_padr)
return "\\*D ";
if (_control == gp_padl)
return "\\*A ";
if (_control == gp_padu)
return "\\*W ";
if (_control == gp_padd)
return "\\*S ";
if (_control == global.button0)
return "\\*Z ";
if (_control == global.button1)
return "\\*X ";
if (_control == global.button2)
return "\\*C ";
}
var left_bracket = (global.lang == "en") ? "[" : "[";
var right_bracket = (global.lang == "en") ? "]" : "]";
_control = left_bracket + global.asc_def[global.input_k[arg0]] + right_bracket;
if (!is_string(_control))
_control = "[?]";
else
return _control;
} (1), "obj_gigaqueen_enemy_slash_Step_0_gml_57_0_b");
|
|
49
|
ballooncon = 13;
|
|
50
|
balloonend = 0;
|
|
51
|
}
|
|
52
|
playerhasntdodgedorder++;
|
|
53
|
balloonorder = 2;
|
|
54
|
}
|
|
55
|
else
|
|
56
|
{
|
|
57
|
if (balloonorder == 0)
|
|
58
|
{
|
|
59
|
msgsetloc(0, The Time For Words Is OverWait for inputClose Message"The Time For&Words Is Over/%", "obj_gigaqueen_enemy_slash_Step_0_gml_63_0" );
|
|
60
|
ballooncon = 1;
|
|
61
|
balloonend = 0;
|
|
62
|
}
|
|
63
|
if (balloonorder == 1)
|
|
64
|
{
|
|
65
|
msgsetloc(0, Ha Ha Just Kidding I Totally Will Keep Monologuing As I Kick At: Your FaceWait for inputClose Message"Ha Ha Just Kidding&I Totally Will&Keep Monologuing&As I Kick At: Your&Face/%", "obj_gigaqueen_enemy_slash_Step_0_gml_64_0" );
|
|
66
|
balloonend = 1;
|
|
67
|
}
|
|
68
|
if (balloonorder == 2)
|
|
69
|
{
|
|
70
|
msgsetloc(0, The Time Has Come For Noelle To Realize Her Own StrengthWait for inputClose Message"The Time Has&Come For Noelle&To Realize Her&Own Strength/%", "obj_gigaqueen_enemy_slash_Step_0_gml_65_0" );
|
|
71
|
ballooncon = 2;
|
|
72
|
balloonend = 0;
|
|
73
|
}
|
|
74
|
if (balloonorder == 3)
|
|
75
|
{
|
|
76
|
msgsetloc(0, Focusing Into Her Blade, She Will Create A Neo Dark FountainWait for inputClose Message"Focusing Into&Her Blade, She&Will Create A&Neo Dark Fountain/%", "obj_gigaqueen_enemy_slash_Step_0_gml_66_0" );
|
|
77
|
ballooncon = 3;
|
|
78
|
balloonend = 0;
|
|
79
|
}
|
|
80
|
if (balloonorder == 4)
|
|
81
|
{
|
|
82
|
msgsetloc(0, Then, When The Whole World Is Covered In DarknessWait for inputClose Message"Then, When The&Whole World Is&Covered In Darkness/%", "obj_gigaqueen_enemy_slash_Step_0_gml_67_0" );
|
|
83
|
ballooncon = 4;
|
|
84
|
balloonend = 0;
|
|
85
|
}
|
|
86
|
if (balloonorder == 5)
|
|
87
|
{
|
|
88
|
msgsetloc(0, Kris, Susie, Why Don't You Help Me Too?Wait for inputClose Message"Kris, Susie,&Why Don't You&Help Me Too?/%", "obj_gigaqueen_enemy_slash_Step_0_gml_68_0" );
|
|
89
|
ballooncon = 5;
|
|
90
|
balloonend = 0;
|
|
91
|
}
|
|
92
|
if (balloonorder == 6)
|
|
93
|
{
|
|
94
|
msgsetloc(0, SusieWait for inputClose Message"Susie/%", "obj_gigaqueen_enemy_slash_Step_0_gml_69_0" );
|
|
95
|
ballooncon = 6;
|
|
96
|
balloonend = 0;
|
|
97
|
}
|
|
98
|
if (balloonorder == 7)
|
|
99
|
{
|
|
100
|
msgsetloc(0, And Kris, My Dearest Trucie You Can Have As ManyWait for inputClose Message"And Kris, My&Dearest Trucie&You Can Have&As Many/%", "obj_gigaqueen_enemy_slash_Step_0_gml_70_0" );
|
|
101
|
ballooncon = 7;
|
|
102
|
balloonend = 0;
|
|
103
|
}
|
|
104
|
if (balloonorder == 8)
|
|
105
|
{
|
|
106
|
msgsetloc(0, Hey Was There A Third Guy?????????Wait for inputClose Message"Hey Was There&A Third&Guy?????????/%", "obj_gigaqueen_enemy_slash_Step_0_gml_71_0" );
|
|
107
|
ballooncon = 0;
|
|
108
|
balloonend = 1;
|
|
109
|
}
|
|
110
|
if (balloonorder == 9)
|
|
111
|
{
|
|
112
|
msgsetloc(0, Join Me And All Of You Will Become Super Strong And CoolWait for inputClose Message"Join Me And&All Of You&Will Become&Super Strong&And Cool/%", "obj_gigaqueen_enemy_slash_Step_0_gml_72_0" );
|
|
113
|
ballooncon = 9;
|
|
114
|
balloonend = 0;
|
|
115
|
}
|
|
116
|
if (balloonorder == 10)
|
|
117
|
{
|
|
118
|
msgsetloc(0, Okay I Believe I've Made My Point I'm Going To Procedurally Loop My Dialogue NowWait for inputClose Message"Okay I Believe&I've Made My Point&I'm Going To&Procedurally&Loop My Dialogue&Now/%", "obj_gigaqueen_enemy_slash_Step_0_gml_73_0" );
|
|
119
|
ballooncon = 0;
|
|
120
|
balloonend = 1;
|
|
121
|
balloonorder = -1;
|
|
122
|
}
|
|
123
|
balloonorder++;
|
|
124
|
}
|
|
125
|
if ((o_boxingcontroller.wireframe_boxing == 0 && o_boxinghud.sub_healthbar_count == 0) && o_boxingqueen.health_count <= (o_boxingqueen.health_count_max * 0.27))
|
|
126
|
{
|
|
127
|
breathattack = 0;
|
|
128
|
if (finalconvcon == 0)
|
|
129
|
{
|
|
130
|
msgsetloc(0, Kris Susie Other GuyWait for inputClose Message"Kris&Susie&Other Guy/%", "obj_gigaqueen_enemy_slash_Step_0_gml_73_0_b" );
|
|
131
|
ballooncon = 14;
|
|
132
|
balloonend = 0;
|
|
133
|
finalconvcon = 1;
|
|
134
|
}
|
|
135
|
else if (finalconvcon == 1)
|
|
136
|
{
|
|
137
|
msgsetloc(0, You Think You're Finished?Wait for inputClose Message"You Think You're&Finished?/%", "obj_gigaqueen_enemy_slash_Step_0_gml_74_0" );
|
|
138
|
ballooncon = 0;
|
|
139
|
balloonend = 1;
|
|
140
|
finalconvcon = 2;
|
|
141
|
}
|
|
142
|
else if (finalconvcon == 2)
|
|
143
|
{
|
|
144
|
msgsetloc(0, I Have More Extremely Slow Moving Obviously Punchable Giant Baseballs Where That One Came FromWait for inputClose Message"I Have More Extremely&Slow Moving Obviously&Punchable Giant Baseballs&Where That One Came From/%", "obj_gigaqueen_enemy_slash_Step_0_gml_75_0" );
|
|
145
|
ballooncon = 0;
|
|
146
|
balloonend = 1;
|
|
147
|
}
|
|
148
|
}
|
|
149
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
} (o_boxingqueen.x - 40, o_boxingqueen.y - 185, 10);
|
|
150
|
if (ballooncon == 0)
|
|
151
|
{
|
|
152
|
talked = 1;
|
|
153
|
talktimer = 0;
|
|
154
|
}
|
|
155
|
else
|
|
156
|
{
|
|
157
|
talked = 0.6;
|
|
158
|
talktimer = 0;
|
|
159
|
}
|
|
160
|
}
|
|
161
|
if (talked == 0.6)
|
|
162
|
{
|
|
163
|
talktimer++;
|
|
164
|
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
|
|
165
|
{
|
|
166
|
with (obj_writer)
|
|
167
|
instance_destroy();
|
|
168
|
if (ballooncon == 1)
|
|
169
|
{
|
|
170
|
msgsetloc(0, Now Is The Time To Fight (Only)Wait for inputClose Message"Now Is The&Time To Fight&(Only)/%", "obj_gigaqueen_enemy_slash_Step_0_gml_106_0" );
|
|
171
|
ballooncon = 0;
|
|
172
|
balloonend = 1;
|
|
173
|
}
|
|
174
|
else if (ballooncon == 2)
|
|
175
|
{
|
|
176
|
msgsetloc(0, Her Own Will Her Own DeterminationWait for inputClose Message"Her Own Will&Her Own&Determination/%", "obj_gigaqueen_enemy_slash_Step_0_gml_107_0" );
|
|
177
|
ballooncon = 0;
|
|
178
|
balloonend = 1;
|
|
179
|
}
|
|
180
|
else if (ballooncon == 3)
|
|
181
|
{
|
|
182
|
msgsetloc(0, Then Another, Then AnotherWait for inputClose Message"Then Another,&Then Another/%", "obj_gigaqueen_enemy_slash_Step_0_gml_108_0" );
|
|
183
|
ballooncon = 0;
|
|
184
|
balloonend = 1;
|
|
185
|
}
|
|
186
|
else if (ballooncon == 4)
|
|
187
|
{
|
|
188
|
msgsetloc(0, She - And Everyone - Can Live In Bliss, Free Of Fear And SufferingWait for inputClose Message"She - And Everyone -&Can Live In Bliss,&Free Of Fear And&Suffering/%", "obj_gigaqueen_enemy_slash_Step_0_gml_109_0" );
|
|
189
|
ballooncon = 0;
|
|
190
|
balloonend = 1;
|
|
191
|
}
|
|
192
|
else if (ballooncon == 5)
|
|
193
|
{
|
|
194
|
msgsetloc(0, Create The World Of Your Dreams (Also My Dreams)Wait for inputClose Message"Create The World&Of Your Dreams&(Also My Dreams)/%", "obj_gigaqueen_enemy_slash_Step_0_gml_110_0" );
|
|
195
|
ballooncon = 0;
|
|
196
|
balloonend = 1;
|
|
197
|
}
|
|
198
|
else if (ballooncon == 6)
|
|
199
|
{
|
|
200
|
msgsetloc(0, Bro Just Let Me Karate Chop You And You Can Have As Many Skateboards As You WantWait for inputClose Message"Bro Just Let Me&Karate Chop You&And You Can Have&As Many Skateboards&As You Want/%", "obj_gigaqueen_enemy_slash_Step_0_gml_111_0" );
|
|
201
|
ballooncon = 0;
|
|
202
|
balloonend = 1;
|
|
203
|
}
|
|
204
|
else if (ballooncon == 7)
|
|
205
|
{
|
|
206
|
msgsetloc(0, ...Wait for inputClose Message".../%", "obj_gigaqueen_enemy_slash_Step_0_gml_113_0" );
|
|
207
|
ballooncon = 8;
|
|
208
|
balloonend = 0;
|
|
209
|
}
|
|
210
|
else if (ballooncon == 8)
|
|
211
|
{
|
|
212
|
msgsetloc(0, Okay I Don't Remember What You LikedWait for inputClose Message"Okay I Don't&Remember What&You Liked/%", "obj_gigaqueen_enemy_slash_Step_0_gml_114_0_b" );
|
|
213
|
ballooncon = 0;
|
|
214
|
balloonend = 1;
|
|
215
|
}
|
|
216
|
else if (ballooncon == 9)
|
|
217
|
{
|
|
218
|
msgsetloc(0, Meanwhile I Don't Need To Improve Because I'm Already Perfect And Can Shoot Lasers From My Fancy GlassWait for inputClose Message"Meanwhile I Don't&Need To Improve&Because I'm Already&Perfect And Can&Shoot Lasers From&My Fancy Glass/%", "obj_gigaqueen_enemy_slash_Step_0_gml_116_0" );
|
|
219
|
ballooncon = 0;
|
|
220
|
balloonend = 1;
|
|
221
|
}
|
|
222
|
else if (ballooncon == 10)
|
|
223
|
{
|
|
224
|
msgsetloc(0, Now Is The Time To (LOOPING ERROR)Wait for inputClose Message"Now Is The&Time To&(LOOPING ERROR)/%", "obj_gigaqueen_enemy_slash_Step_0_gml_118_0" );
|
|
225
|
ballooncon = 0;
|
|
226
|
balloonend = 1;
|
|
227
|
}
|
|
228
|
else if (ballooncon == 11)
|
|
229
|
{
|
|
230
|
msgsetloc(0, There Are Keyboard Controls InsideWait for inputClose Message"There Are&Keyboard Controls&Inside/%", "obj_gigaqueen_enemy_slash_Step_0_gml_120_0" );
|
|
231
|
ballooncon = 12;
|
|
232
|
balloonend = 0;
|
|
233
|
}
|
|
234
|
else if (ballooncon == 12)
|
|
235
|
{
|
|
236
|
msgsetsubloc(0, "Press ~1&And ~2 To&Dodge ~3 And ~4&To Punch/%", scr_get_input_namescr_get_input_name
function scr_get_input_name(arg0)
{
var _control = "[?]";
if (global.is_console || obj_gamecontroller.gamepad_active)
{
_control = global.input_g[arg0];
if (_control == gp_padr)
return "\\*D ";
if (_control == gp_padl)
return "\\*A ";
if (_control == gp_padu)
return "\\*W ";
if (_control == gp_padd)
return "\\*S ";
if (_control == global.button0)
return "\\*Z ";
if (_control == global.button1)
return "\\*X ";
if (_control == global.button2)
return "\\*C ";
}
var left_bracket = (global.lang == "en") ? "[" : "[";
var right_bracket = (global.lang == "en") ? "]" : "]";
_control = left_bracket + global.asc_def[global.input_k[arg0]] + right_bracket;
if (!is_string(_control))
_control = "[?]";
else
return _control;
} (3), scr_get_input_namescr_get_input_name
function scr_get_input_name(arg0)
{
var _control = "[?]";
if (global.is_console || obj_gamecontroller.gamepad_active)
{
_control = global.input_g[arg0];
if (_control == gp_padr)
return "\\*D ";
if (_control == gp_padl)
return "\\*A ";
if (_control == gp_padu)
return "\\*W ";
if (_control == gp_padd)
return "\\*S ";
if (_control == global.button0)
return "\\*Z ";
if (_control == global.button1)
return "\\*X ";
if (_control == global.button2)
return "\\*C ";
}
var left_bracket = (global.lang == "en") ? "[" : "[";
var right_bracket = (global.lang == "en") ? "]" : "]";
_control = left_bracket + global.asc_def[global.input_k[arg0]] + right_bracket;
if (!is_string(_control))
_control = "[?]";
else
return _control;
} (1), scr_get_input_namescr_get_input_name
function scr_get_input_name(arg0)
{
var _control = "[?]";
if (global.is_console || obj_gamecontroller.gamepad_active)
{
_control = global.input_g[arg0];
if (_control == gp_padr)
return "\\*D ";
if (_control == gp_padl)
return "\\*A ";
if (_control == gp_padu)
return "\\*W ";
if (_control == gp_padd)
return "\\*S ";
if (_control == global.button0)
return "\\*Z ";
if (_control == global.button1)
return "\\*X ";
if (_control == global.button2)
return "\\*C ";
}
var left_bracket = (global.lang == "en") ? "[" : "[";
var right_bracket = (global.lang == "en") ? "]" : "]";
_control = left_bracket + global.asc_def[global.input_k[arg0]] + right_bracket;
if (!is_string(_control))
_control = "[?]";
else
return _control;
} (4), scr_get_input_namescr_get_input_name
function scr_get_input_name(arg0)
{
var _control = "[?]";
if (global.is_console || obj_gamecontroller.gamepad_active)
{
_control = global.input_g[arg0];
if (_control == gp_padr)
return "\\*D ";
if (_control == gp_padl)
return "\\*A ";
if (_control == gp_padu)
return "\\*W ";
if (_control == gp_padd)
return "\\*S ";
if (_control == global.button0)
return "\\*Z ";
if (_control == global.button1)
return "\\*X ";
if (_control == global.button2)
return "\\*C ";
}
var left_bracket = (global.lang == "en") ? "[" : "[";
var right_bracket = (global.lang == "en") ? "]" : "]";
_control = left_bracket + global.asc_def[global.input_k[arg0]] + right_bracket;
if (!is_string(_control))
_control = "[?]";
else
return _control;
} (5), "obj_gigaqueen_enemy_slash_Step_0_gml_121_0");
|
|
237
|
ballooncon = 0;
|
|
238
|
balloonend = 1;
|
|
239
|
}
|
|
240
|
else if (ballooncon == 13)
|
|
241
|
{
|
|
242
|
msgsetsubloc(0, "~1 And ~2 To&Punch/%", scr_get_input_namescr_get_input_name
function scr_get_input_name(arg0)
{
var _control = "[?]";
if (global.is_console || obj_gamecontroller.gamepad_active)
{
_control = global.input_g[arg0];
if (_control == gp_padr)
return "\\*D ";
if (_control == gp_padl)
return "\\*A ";
if (_control == gp_padu)
return "\\*W ";
if (_control == gp_padd)
return "\\*S ";
if (_control == global.button0)
return "\\*Z ";
if (_control == global.button1)
return "\\*X ";
if (_control == global.button2)
return "\\*C ";
}
var left_bracket = (global.lang == "en") ? "[" : "[";
var right_bracket = (global.lang == "en") ? "]" : "]";
_control = left_bracket + global.asc_def[global.input_k[arg0]] + right_bracket;
if (!is_string(_control))
_control = "[?]";
else
return _control;
} (4), scr_get_input_namescr_get_input_name
function scr_get_input_name(arg0)
{
var _control = "[?]";
if (global.is_console || obj_gamecontroller.gamepad_active)
{
_control = global.input_g[arg0];
if (_control == gp_padr)
return "\\*D ";
if (_control == gp_padl)
return "\\*A ";
if (_control == gp_padu)
return "\\*W ";
if (_control == gp_padd)
return "\\*S ";
if (_control == global.button0)
return "\\*Z ";
if (_control == global.button1)
return "\\*X ";
if (_control == global.button2)
return "\\*C ";
}
var left_bracket = (global.lang == "en") ? "[" : "[";
var right_bracket = (global.lang == "en") ? "]" : "]";
_control = left_bracket + global.asc_def[global.input_k[arg0]] + right_bracket;
if (!is_string(_control))
_control = "[?]";
else
return _control;
} (5), "obj_gigaqueen_enemy_slash_Step_0_gml_123_0");
|
|
243
|
ballooncon = 0;
|
|
244
|
balloonend = 1;
|
|
245
|
}
|
|
246
|
else if (ballooncon == 14)
|
|
247
|
{
|
|
248
|
msgsetsubloc(0, You Have Truly Proven Yourselves To Be A Worthy OpponentWait for inputClose Message"You Have Truly&Proven Yourselves&To Be A Worthy&Opponent/%", "obj_gigaqueen_enemy_slash_Step_0_gml_121_0_b" );
|
|
249
|
ballooncon = 15;
|
|
250
|
balloonend = 0;
|
|
251
|
}
|
|
252
|
else if (ballooncon == 15)
|
|
253
|
{
|
|
254
|
msgsetsubloc(0, You Have Earned The Right To Remember What Your Fighting Machine's True Purpose IsWait for inputClose Message"You Have Earned The&Right To Remember What&Your Fighting Machine's&True Purpose Is/%", "obj_gigaqueen_enemy_slash_Step_0_gml_122_0" );
|
|
255
|
ballooncon = 16;
|
|
256
|
balloonend = 0;
|
|
257
|
}
|
|
258
|
else if (ballooncon == 16)
|
|
259
|
{
|
|
260
|
msgsetsubloc(0, To Get Your Own Ass ThrashedWait for inputClose Message"To Get Your Own&Ass Thrashed/%", "obj_gigaqueen_enemy_slash_Step_0_gml_123_0_b" );
|
|
261
|
ballooncon = 17;
|
|
262
|
balloonend = 0;
|
|
263
|
}
|
|
264
|
else if (ballooncon == 17)
|
|
265
|
{
|
|
266
|
msgsetsubloc(0, By MeWait for inputClose Message"By Me/%", "obj_gigaqueen_enemy_slash_Step_0_gml_124_0_b" );
|
|
267
|
ballooncon = 18;
|
|
268
|
balloonend = 0;
|
|
269
|
}
|
|
270
|
else if (ballooncon == 18)
|
|
271
|
{
|
|
272
|
msgsetsubloc(0, With My Final AttackWait for inputClose Message"With My Final Attack/%", "obj_gigaqueen_enemy_slash_Step_0_gml_125_0" );
|
|
273
|
ballooncon = 19;
|
|
274
|
balloonend = 0;
|
|
275
|
}
|
|
276
|
else if (ballooncon == 19)
|
|
277
|
{
|
|
278
|
msgsetsubloc(0, Ha Ha ByeWait for inputClose Message"Ha Ha Bye/%", "obj_gigaqueen_enemy_slash_Step_0_gml_126_0" );
|
|
279
|
ballooncon = 0;
|
|
280
|
balloonend = 1;
|
|
281
|
}
|
|
282
|
talked = 0.7;
|
|
283
|
global.typer = 70;
|
|
284
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
} (o_boxingqueen.x - 40, o_boxingqueen.y - 185, 10);
|
|
285
|
alarm[6] = 1; gml_Object_obj_gigaqueen_enemy_Alarm_6.gml
if (balloonend == 1)
{
talked = 1;
}
else
{
talked = 0.6;
talktimer = 0;
}
|
|
286
|
}
|
|
287
|
}
|
|
288
|
if (talked == 1 && 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"))
|
|
289
|
{
|
|
290
|
talktimer++;
|
|
291
|
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
|
|
292
|
{
|
|
293
|
with (obj_writer)
|
|
294
|
instance_destroy();
|
|
295
|
talkedcon = 1;
|
|
296
|
}
|
|
297
|
if (talkedcon == 1)
|
|
298
|
{
|
|
299
|
rtimer = 0;
|
|
300
|
scr_blconskipscr_blconskip
function scr_blconskip(arg0)
{
if (arg0 >= 0)
{
if (button1_p() && talktimer > arg0)
talktimer = talkmax;
talktimer += 1;
if (talktimer >= talkmax)
{
with (obj_writer)
instance_destroy();
global.mnfight = 2;
}
}
else if (arg0 == -1)
{
if (instance_exists(obj_writer) == false)
global.mnfight = 2;
}
else if (arg0 == -2)
{
talktimer += 1;
if (talktimer > 15)
talktimer = talkmax;
if (talktimer >= talkmax)
{
with (obj_writer)
instance_destroy();
global.mnfight = 2;
}
}
} (-1);
|
|
301
|
if ((missleattack == 1 && attacked == 0) || (breathattack == 1 && attacked == 0))
|
|
302
|
{
|
|
303
|
if (!instance_exists(obj_darkener))
|
|
304
|
instance_create(0, 0, obj_darkener);
|
|
305
|
if (!instance_exists(obj_growtangle))
|
|
306
|
{
|
|
307
|
instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 250, obj_growtangle);
|
|
308
|
if (missleattack == 1)
|
|
309
|
{
|
|
310
|
obj_growtangle.maxxscale = 2;
|
|
311
|
obj_growtangle.maxyscale = 2;
|
|
312
|
}
|
|
313
|
if (breathattack == 1)
|
|
314
|
{
|
|
315
|
obj_growtangle.maxxscale = 1.8;
|
|
316
|
obj_growtangle.maxyscale = 2;
|
|
317
|
}
|
|
318
|
}
|
|
319
|
if (!instance_exists(obj_moveheart) && !instance_exists(obj_heart))
|
|
320
|
scr_moveheartscr_moveheart
function scr_moveheart()
{
global.inv = 0;
if (global.chapter == 2 && instance_exists(obj_gigaqueen_enemy))
return instance_create(o_boxingcontroller.x + 4, o_boxingcontroller.y - 120, obj_moveheart);
else
return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart);
} ();
|
|
321
|
}
|
|
322
|
}
|
|
323
|
}
|
|
324
|
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") && attacked == 0)
|
|
325
|
{
|
|
326
|
rtimer += 1;
|
|
327
|
if (rtimer == 1)
|
|
328
|
{
|
|
329
|
if (missleattack == 1)
|
|
330
|
{
|
|
331
|
global.monsterattackname[myself] = "gigamissle";
|
|
332
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
333
|
dc.type = 46;
|
|
334
|
dc.target = mytarget;
|
|
335
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (208);
|
|
336
|
}
|
|
337
|
else if (breathattack == 1)
|
|
338
|
{
|
|
339
|
global.monsterattackname[myself] = "gigabreath";
|
|
340
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
341
|
dc.type = 47;
|
|
342
|
dc.target = mytarget;
|
|
343
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (200);
|
|
344
|
}
|
|
345
|
else
|
|
346
|
{
|
|
347
|
with (o_boxingcontroller)
|
|
348
|
{
|
|
349
|
event_user(0);
|
|
350
|
attackintrocon = 2;
|
|
351
|
}
|
|
352
|
with (obj_battlecontroller)
|
|
353
|
{
|
|
354
|
gigaqueencon = 1;
|
|
355
|
gigaqueentimer = 0;
|
|
356
|
}
|
|
357
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (999999);
|
|
358
|
}
|
|
359
|
missleattack = 0;
|
|
360
|
breathattack = 0;
|
|
361
|
turns += 1;
|
|
362
|
global.typer = 6;
|
|
363
|
global.fc = 0;
|
|
364
|
rr = choose(0, 1, 2, 3);
|
|
365
|
if (rr == 0)
|
|
366
|
global.battlemsg[0] = stringsetloc(* The cityscape roars past."* The cityscape roars past.", "obj_gigaqueen_enemy_slash_Step_0_gml_213_0" );
|
|
367
|
if (rr == 1 && o_boxinghud.sub_healthbar_count != 0)
|
|
368
|
global.battlemsg[0] = stringsetloc(* The night is young for fighting."* The night is young for fighting.", "obj_gigaqueen_enemy_slash_Step_0_gml_214_0" );
|
|
369
|
if (rr == 1 && o_boxinghud.sub_healthbar_count == 0)
|
|
370
|
global.battlemsg[0] = stringsetloc(* The battle is really heating up."* The battle is really heating up.", "obj_gigaqueen_enemy_slash_Step_0_gml_215_0" );
|
|
371
|
if (rr == 2)
|
|
372
|
global.battlemsg[0] = stringsetloc(* Susie mashes the controls trying to punch more."* Susie mashes the controls trying to punch more.", "obj_gigaqueen_enemy_slash_Step_0_gml_216_0" );
|
|
373
|
if (rr == 3)
|
|
374
|
global.battlemsg[0] = stringsetloc(* Ralsei advises you to "dodge, then counter punch.""* Ralsei advises you to \"dodge, then counter punch.\"", "obj_gigaqueen_enemy_slash_Step_0_gml_217_0" );
|
|
375
|
if (irandom(100) < 5)
|
|
376
|
global.battlemsg[0] = stringsetloc(* Smells like gigantic batteries."* Smells like gigantic batteries.", "obj_gigaqueen_enemy_slash_Step_0_gml_218_0" );
|
|
377
|
if (haventusedspell == 1 && global.tension >= 150)
|
|
378
|
global.battlemsg[0] = stringsetloc(* Your machine is charged up for special moves!"* Your machine is charged up for special moves!", "obj_gigaqueen_enemy_slash_Step_0_gml_219_0" );
|
|
379
|
if (global.hp[1] < 50)
|
|
380
|
global.battlemsg[0] = stringsetloc(* Your machine's inner lighting turns red."* Your machine's inner lighting turns red.", "obj_gigaqueen_enemy_slash_Step_0_gml_220_0" );
|
|
381
|
attacked = 1;
|
|
382
|
}
|
|
383
|
else
|
|
384
|
{
|
|
385
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (120);
|
|
386
|
}
|
|
387
|
}
|
|
388
|
}
|
|
389
|
if (global.myfight == 3)
|
|
390
|
{
|
|
391
|
xx = __view_get(e__VW.XView, 0);
|
|
392
|
yy = __view_get(e__VW.YView, 0);
|
|
393
|
if (acting == 1)
|
|
394
|
{
|
|
395
|
if (o_boxingcontroller.headsprite == spr_bhero_head_a)
|
|
396
|
actpunchtext = stringsetloc(* FLAME MODE engaged! * A power-boosting aura fired up...!Wait for inputClose Message"* FLAME MODE engaged!&* A power-boosting aura fired up...!/%", "obj_gigaqueen_enemy_slash_Step_0_gml_243_0" );
|
|
397
|
if (o_boxingcontroller.headsprite == spr_bhero_head_b)
|
|
398
|
actpunchtext = stringsetloc(* SWORD MODE engaged! * Damage grows until you miss!Wait for inputClose Message"* SWORD MODE engaged!&* Damage grows until you miss!/%", "obj_gigaqueen_enemy_slash_Step_0_gml_248_0" );
|
|
399
|
if (o_boxingcontroller.headsprite == spr_bhero_head_c)
|
|
400
|
actpunchtext = stringsetloc(* LASER MODE engaged! * A light-quick aura fired up...!Wait for inputClose Message"* LASER MODE engaged!&* A light-quick aura fired up...!/%", "obj_gigaqueen_enemy_slash_Step_0_gml_253_0" );
|
|
401
|
if (o_boxingcontroller.headsprite == spr_bhero_head_d)
|
|
402
|
actpunchtext = stringsetloc(* DUCK MODE engaged! * A totally-sucking aura fired up...!Wait for inputClose Message"* DUCK MODE engaged!&* A totally-sucking aura fired up...!/%", "obj_gigaqueen_enemy_slash_Step_0_gml_258_0" );
|
|
403
|
acting = 1.5;
|
|
404
|
haventusedspell = 0;
|
|
405
|
msgset(0, actpunchtext);
|
|
406
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
407
|
with (obj_event_manager)
|
|
408
|
trigger_event(UnknownEnum.Value_0, UnknownEnum.Value_19);
|
|
409
|
}
|
|
410
|
if (acting == 1.5 && !i_ex(obj_writer))
|
|
411
|
{
|
|
412
|
extradamage = 0;
|
|
413
|
if (o_boxingcontroller.headsprite == spr_bhero_head_a)
|
|
414
|
{
|
|
415
|
o_boxingcontroller.specialcon = 1;
|
|
416
|
extradamage = 30;
|
|
417
|
}
|
|
418
|
if (o_boxingcontroller.headsprite == spr_bhero_head_b)
|
|
419
|
{
|
|
420
|
o_boxingcontroller.specialcon = 2;
|
|
421
|
extradamage = 10;
|
|
422
|
}
|
|
423
|
if (o_boxingcontroller.headsprite == spr_bhero_head_c)
|
|
424
|
o_boxingcontroller.specialcon = 3;
|
|
425
|
if (o_boxingcontroller.headsprite == spr_bhero_head_d)
|
|
426
|
{
|
|
427
|
o_boxingcontroller.specialcon = 4;
|
|
428
|
extradamage = -30;
|
|
429
|
}
|
|
430
|
snd_play(snd_cardrive);
|
|
431
|
acting = 4;
|
|
432
|
alarm[5] = 30; gml_Object_obj_gigaqueen_enemy_Alarm_5.gml
acting++;
|
|
433
|
}
|
|
434
|
if (acting == 5 && o_boxingcontroller.specialcon == 0 && !i_ex(obj_writer))
|
|
435
|
{
|
|
436
|
acting = 7;
|
|
437
|
o_boxingcontroller.punchcon = 1;
|
|
438
|
o_boxingcontroller.damageoverride = round((global.battleat[0] * 300) / 20) + extradamage;
|
|
439
|
if (o_boxingcontroller.headsprite == spr_bhero_head_d)
|
|
440
|
o_boxingcontroller.healoverride = 35;
|
|
441
|
}
|
|
442
|
if (acting == 7 && o_boxingcontroller.punchcon == 0)
|
|
443
|
{
|
|
444
|
actcon = 1;
|
|
445
|
acting = 0;
|
|
446
|
}
|
|
447
|
if (acting == 2)
|
|
448
|
{
|
|
449
|
o_boxingcontroller.specialcon = 5;
|
|
450
|
snd_play(snd_cardrive);
|
|
451
|
msgsetloc(0, * TURBODODGE engaged! * A dodge-enhancing aura fired up...!Wait for inputClose Message"* TURBODODGE engaged!&* A dodge-enhancing aura fired up...!/%", "obj_gigaqueen_enemy_slash_Step_0_gml_309_0" );
|
|
452
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
453
|
haventusedspell = 0;
|
|
454
|
acting = 0;
|
|
455
|
actcon = 1;
|
|
456
|
with (obj_event_manager)
|
|
457
|
trigger_event(UnknownEnum.Value_0, UnknownEnum.Value_19);
|
|
458
|
}
|
|
459
|
if (acting == 3)
|
|
460
|
{
|
|
461
|
o_boxingcontroller.specialcon = 6;
|
|
462
|
snd_play(snd_cardrive);
|
|
463
|
if (healcount > 2)
|
|
464
|
msgsetloc(0, * SELF-FIX engaged! * A healing aura fired up...!Wait for inputClose Message"* SELF-FIX engaged!&* A healing aura fired up...!/%", "obj_gigaqueen_enemy_slash_Step_0_gml_320_0" );
|
|
465
|
else
|
|
466
|
msgsetloc(0, * SELF-FIX engaged! * A healing aura fired up...! * (But, the TP cost increased!)Wait for inputClose Message"* SELF-FIX engaged!&* A healing aura fired up...!&* (But, the TP cost increased!)/%", "obj_gigaqueen_enemy_slash_Step_0_gml_321_0" );
|
|
467
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
468
|
haventusedspell = 0;
|
|
469
|
healcount++;
|
|
470
|
if (healcount == 1)
|
|
471
|
global.actcost[myself][2] = 75;
|
|
472
|
if (healcount == 2)
|
|
473
|
global.actcost[myself][2] = 100;
|
|
474
|
if (healcount == 3)
|
|
475
|
global.actcost[myself][2] = 125;
|
|
476
|
scr_spellmenu_setupscr_spellmenu_setup
function scr_spellmenu_setup()
{
var __actnamecheck = 0;
var __monstertype = global.monstertype[0];
for (__i = 1; __i < 3; __i++)
{
if (global.monster[__i] == 1 && global.monstertype[__i] != __monstertype)
__actnamecheck = 1;
}
for (__i = 0; __i < 3; __i++)
{
for (__fj = 0; __fj < 6; __fj++)
{
global.battlespell[__i][__fj] = 0;
if (global.char[__i] == 1)
{
if (global.canact[0][__fj] == 1)
{
global.battlespell[__i][__fj] = -1;
if (global.battleactcount[__i] < (__fj + 1))
global.battleactcount[__i] = __fj + 1;
global.battlespellcost[__i][__fj] = global.actcost[0][__fj];
global.battlespellname[__i][__fj] = global.actname[0][__fj];
global.battlespelldesc[__i][__fj] = global.actdesc[0][__fj];
global.battlespelltarget[__i][__fj] = 0;
global.battlespellspecial[__i][__fj] = 1;
}
}
if (global.char[__i] == 2)
{
if (global.canactsus[0][__fj] == 1)
{
global.battlespell[__i][__fj] = -1;
if (global.battleactcount[__i] < (__fj + 1))
global.battleactcount[__i] = __fj + 1;
global.battlespellcost[__i][__fj] = global.actcostsus[0][__fj];
global.battlespellname[__i][__fj] = global.actnamesus[0][__fj];
if (__actnamecheck)
global.battlespellname[__i][__fj] = stringsetloc(S-Action"S-Action", "scr_monstersetup_slash_scr_monstersetup_gml_1053_0" );
global.battlespelldesc[__i][__fj] = global.actdescsus[0][__fj];
global.battlespelltarget[__i][__fj] = 2;
global.battlespellspecial[__i][__fj] = 2;
}
}
if (global.char[__i] == 3)
{
if (global.canactral[0][__fj] == 1)
{
global.battlespell[__i][__fj] = -1;
if (global.battleactcount[__i] < (__fj + 1))
global.battleactcount[__i] = __fj + 1;
global.battlespellcost[__i][__fj] = global.actcostral[0][__fj];
global.battlespellname[__i][__fj] = global.actnameral[0][__fj];
if (__actnamecheck)
global.battlespellname[__i][__fj] = stringsetloc(R-Action"R-Action", "scr_monstersetup_slash_scr_monstersetup_gml_1057_0" );
global.battlespelldesc[__i][__fj] = global.actdescral[0][__fj];
global.battlespelltarget[__i][__fj] = 2;
global.battlespellspecial[__i][__fj] = 3;
}
}
if (global.char[__i] == 4)
{
if (global.canactnoe[0][__fj] == 1)
{
global.battlespell[__i][__fj] = -1;
if (global.battleactcount[__i] < (__fj + 1))
global.battleactcount[__i] = __fj + 1;
global.battlespellcost[__i][__fj] = global.actcostnoe[0][__fj];
global.battlespellname[__i][__fj] = global.actnamenoe[0][__fj];
if (__actnamecheck)
global.battlespellname[__i][__fj] = stringsetloc(N-Action"N-Action", "scr_monstersetup_slash_scr_monstersetup_gml_1061_0" );
global.battlespelldesc[__i][__fj] = global.actdescnoe[0][__fj];
global.battlespelltarget[__i][__fj] = 2;
global.battlespellspecial[__i][__fj] = 4;
}
}
}
}
scr_spellinfo_all();
for (__i = 0; __i < 3; __i++)
{
for (__fj = 0; __fj < 12; __fj++)
{
__ib = global.battleactcount[__i] + __fj;
global.battlespell[__i][__ib] = global.spell[global.char[__i]][__fj];
global.battlespellcost[__i][__ib] = global.spellcost[global.char[__i]][__fj];
global.battlespellname[__i][__ib] = global.spellnameb[global.char[__i]][__fj];
global.battlespelldesc[__i][__ib] = global.spelldescb[global.char[__i]][__fj];
global.battlespelltarget[__i][__ib] = global.spelltarget[global.char[__i]][__fj];
}
}
} ();
|
|
477
|
acting = 0;
|
|
478
|
actcon = 1;
|
|
479
|
}
|
|
480
|
if (actcon == 1 && acting == 0 && !instance_exists(obj_writer))
|
|
481
|
{
|
|
482
|
actcon = 0;
|
|
483
|
o_boxingcontroller.acttoenemytalktransition = 1;
|
|
484
|
scr_nextactscr_nextact
function scr_nextact()
{
global.acting[0] = 0;
global.acting[1] = 0;
global.acting[2] = 0;
global.actingsingle[global.currentactingchar] = 0;
__minstance = global.monsterinstance[global.actingtarget[global.currentactingchar]];
with (__minstance)
{
acting = 0;
actcon = 0;
actconsus = 0;
actconral = 0;
actconnoe = 0;
}
var singleactcomplete = 0;
while (global.currentactingchar < 3)
{
global.currentactingchar++;
if (global.currentactingchar < 3)
{
if (global.actingsingle[global.currentactingchar] == 1)
{
__minstance = global.monsterinstance[global.actingtarget[global.currentactingchar]];
if (global.char[global.currentactingchar] == 2)
{
with (__minstance)
actconsus = 1;
if (global.actingsimul[global.currentactingchar] == 0)
singleactcomplete = 1;
break;
}
if (global.char[global.currentactingchar] == 3)
{
with (__minstance)
actconral = 1;
if (global.actingsimul[global.currentactingchar] == 0)
singleactcomplete = 1;
break;
}
if (global.char[global.currentactingchar] == 4)
{
with (__minstance)
actconnoe = 1;
if (global.actingsimul[global.currentactingchar] == 0)
singleactcomplete = 1;
break;
}
}
}
}
if (global.currentactingchar >= 3)
{
with (obj_monsterparent)
{
acting = 0;
actingsus = 0;
actingral = 0;
actingnoe = 0;
}
global.currentactingchar = 0;
scr_attackphase();
}
else if (!singleactcomplete)
{
scr_act_simul();
}
} ();
|
|
485
|
}
|
|
486
|
}
|
|
487
|
|
|
488
|
enum e__VW
|
|
489
|
{
|
|
490
|
XView,
|
|
491
|
YView,
|
|
492
|
WView,
|
|
493
|
HView,
|
|
494
|
Angle,
|
|
495
|
HBorder,
|
|
496
|
VBorder,
|
|
497
|
HSpeed,
|
|
498
|
VSpeed,
|
|
499
|
Object,
|
|
500
|
Visible,
|
|
501
|
XPort,
|
|
502
|
YPort,
|
|
503
|
WPort,
|
|
504
|
HPort,
|
|
505
|
Camera,
|
|
506
|
SurfaceID
|
|
507
|
}
|
|
508
|
|
|
509
|
enum UnknownEnum
|
|
510
|
{
|
|
511
|
Value_0,
|
|
512
|
Value_19 = 19
|
|
513
|
}
|