|
1
|
if (!i_ex(obj_herosusie) || !i_ex(obj_heroralsei))
|
|
2
|
{
|
|
3
|
if (debugvar == false && scr_debugscr_debug
function scr_debug()
{
if (global.debug == 1)
return 1;
} ())
|
|
4
|
{
|
|
5
|
scr_debug_printscr_debug_print
function scr_debug_print(arg0)
{
}
function print_message(arg0)
{
}
function debug_print(arg0)
{
}
function scr_debug_clear_all()
{
} ("You need Susie and Ralsei for this battle");
|
|
6
|
debugvar = true;
|
|
7
|
}
|
|
8
|
exit;
|
|
9
|
}
|
|
10
|
if (audience_goes_away == true)
|
|
11
|
{
|
|
12
|
with (obj_tenna_enemy_bg)
|
|
13
|
audience_y_pos = lerp(audience_y_pos, 480, 0.03);
|
|
14
|
}
|
|
15
|
if (global.is_console && scr_debugscr_debug
function scr_debug()
{
if (global.debug == 1)
return 1;
} ())
|
|
16
|
{
|
|
17
|
if (gamepad_button_check_pressed(0, gp_shoulderl))
|
|
18
|
{
|
|
19
|
if (minigameinsanity == 0)
|
|
20
|
{
|
|
21
|
minigameinsanity = 1;
|
|
22
|
scr_debug_printscr_debug_print
function scr_debug_print(arg0)
{
}
function print_message(arg0)
{
}
function debug_print(arg0)
{
}
function scr_debug_clear_all()
{
} ("minigame insanity on");
|
|
23
|
}
|
|
24
|
else
|
|
25
|
{
|
|
26
|
minigameinsanity = 0;
|
|
27
|
scr_debug_printscr_debug_print
function scr_debug_print(arg0)
{
}
function print_message(arg0)
{
}
function debug_print(arg0)
{
}
function scr_debug_clear_all()
{
} ("minigame insanity off");
|
|
28
|
}
|
|
29
|
}
|
|
30
|
}
|
|
31
|
if (global.monster[myself] == 1)
|
|
32
|
{
|
|
33
|
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 && obj_tenna_enemy_bg.myscore >= 1000 && haveusedultimate == true)
|
|
34
|
{
|
|
35
|
talked = -1;
|
|
36
|
endcon = 1;
|
|
37
|
end_cutscene_version = 1;
|
|
38
|
}
|
|
39
|
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)
|
|
40
|
{
|
|
41
|
scr_randomtargetscr_randomtarget
function scr_randomtarget()
{
abletotarget = 1;
if (global.charcantarget[0] == 0 && global.charcantarget[1] == 0 && global.charcantarget[2] == 0)
abletotarget = 0;
mytarget = choose(0, 1, 2);
if (abletotarget == 1)
{
while (global.charcantarget[mytarget] == 0)
mytarget = choose(0, 1, 2);
}
else
{
mytarget = 3;
}
global.targeted[mytarget] = 1;
if (global.chapter >= 2 && mytarget != 3)
{
if (global.charcantarget[0])
global.targeted[0] = 1;
if (global.charcantarget[1])
global.targeted[1] = 1;
if (global.charcantarget[2])
global.targeted[2] = 1;
mytarget = 4;
}
} ();
|
|
42
|
if (attackchosen == false)
|
|
43
|
{
|
|
44
|
event_user(0);
|
|
45
|
if (turns >= 10 && obj_tenna_enemy_bg.myscore < 500)
|
|
46
|
pointsmultiplier = 1.3;
|
|
47
|
if (turns >= 15 && obj_tenna_enemy_bg.myscore < 650)
|
|
48
|
pointsmultiplier = 1.6;
|
|
49
|
if (turns >= 20)
|
|
50
|
pointsmultiplier = 2;
|
|
51
|
attackchosen = true;
|
|
52
|
}
|
|
53
|
if (!instance_exists(obj_darkener))
|
|
54
|
instance_create(0, 0, obj_darkener);
|
|
55
|
global.fc = 22;
|
|
56
|
global.typer = 81;
|
|
57
|
var squential_dialogue = true;
|
|
58
|
if ((dialogueorder >= 9 && dialogueorder < 19) || dialogueorder > 20)
|
|
59
|
squential_dialogue = false;
|
|
60
|
if (minigameinsanity)
|
|
61
|
{
|
|
62
|
msgsetloc(0, That's it! It's time for the FINAL EPISODE!Wait for inputClose Message"That's it!&It's time for&the FINAL EPISODE!/%", "obj_tenna_enemy_slash_Step_0_gml_60_0" );
|
|
63
|
ballooncon = 40;
|
|
64
|
balloonend = 0;
|
|
65
|
}
|
|
66
|
else if (turns == 0)
|
|
67
|
{
|
|
68
|
msgsetloc(0, 1000 POINTS, JUST 1000 POINTS AND I'LL GIVE IT UP!Wait for inputClose Message"1000 POINTS,&JUST 1000 POINTS&AND I'LL GIVE IT UP!/%", "obj_tenna_enemy_slash_Step_0_gml_38_0" );
|
|
69
|
ballooncon = 1;
|
|
70
|
balloonend = 0;
|
|
71
|
}
|
|
72
|
else if (myattackchoice == 1 && smashcutdialgue == 0)
|
|
73
|
{
|
|
74
|
msgsetloc(0, Haha, no way we can use that take! CUT!!Wait for inputClose Message"Haha, no way&we can use that&take! CUT!!/%", "obj_tenna_enemy_slash_Step_0_gml_49_0_b" );
|
|
75
|
ballooncon = 3;
|
|
76
|
smashcutdialgue = 1;
|
|
77
|
}
|
|
78
|
else if (myattackchoice == 2 && rimshotdialogue == 0)
|
|
79
|
{
|
|
80
|
msgsetloc(0, You guys are so good, it's making me LAUGH!Wait for inputClose Message"You guys are&so good, it's&making me LAUGH!/%", "obj_tenna_enemy_slash_Step_0_gml_50_0_b" );
|
|
81
|
ballooncon = 4;
|
|
82
|
phaseturn = 0;
|
|
83
|
rimshotdialogue = 1;
|
|
84
|
}
|
|
85
|
else if (myattackchoice == 0 && squential_dialogue == false)
|
|
86
|
{
|
|
87
|
msgsetloc(0, WE'VE GOT AN ALL-STAR CAST!Wait for inputClose Message"WE'VE GOT AN&ALL-STAR CAST!/%", "obj_tenna_enemy_slash_Step_0_gml_52_0" );
|
|
88
|
ballooncon = 0;
|
|
89
|
if (dialogueorder < 19)
|
|
90
|
dialogueorder++;
|
|
91
|
balloonend = 1;
|
|
92
|
}
|
|
93
|
else if (myattackchoice == 1 && smashcutdialgue == 1 && squential_dialogue == false)
|
|
94
|
{
|
|
95
|
msgsetloc(0, HOW BOUT A LITTLE SLICE OF LIFE!?Wait for inputClose Message"HOW BOUT A&LITTLE SLICE&OF LIFE!?/%", "obj_tenna_enemy_slash_Step_0_gml_53_0" );
|
|
96
|
ballooncon = 0;
|
|
97
|
if (dialogueorder < 19)
|
|
98
|
dialogueorder++;
|
|
99
|
balloonend = 1;
|
|
100
|
}
|
|
101
|
else if (myattackchoice == 2 && rimshotdialogue == 1 && squential_dialogue == false)
|
|
102
|
{
|
|
103
|
msgsetloc(0, How about we play you a RIMSHOT!?Wait for inputClose Message"How about we&play you a&RIMSHOT!?/%", "obj_tenna_enemy_slash_Step_0_gml_54_0" );
|
|
104
|
ballooncon = 0;
|
|
105
|
if (dialogueorder < 19)
|
|
106
|
dialogueorder++;
|
|
107
|
balloonend = 1;
|
|
108
|
}
|
|
109
|
else if (minigameactivated && minigamecount <= 5 && minigamedialogue == 0)
|
|
110
|
{
|
|
111
|
msgsetloc(0, So our STAR contestants have contested our STARs!Wait for inputClose Message"So our STAR&contestants have&contested our STARs!/%", "obj_tenna_enemy_slash_Step_0_gml_56_0_b" );
|
|
112
|
ballooncon = 5;
|
|
113
|
minigamedialogue = 1;
|
|
114
|
}
|
|
115
|
else if (minigameactivated && minigamecount >= 6 && doubleminigamedialogue == 0)
|
|
116
|
{
|
|
117
|
msgsetloc(0, All right! If one PHYSICAL CHALLENGE isn't enough...Wait for inputClose Message"All right! If one&PHYSICAL CHALLENGE&isn't enough.../%", "obj_tenna_enemy_slash_Step_0_gml_57_0_b" );
|
|
118
|
ballooncon = 6;
|
|
119
|
doubleminigamedialogue = 1;
|
|
120
|
}
|
|
121
|
else if (minigameactivated && squential_dialogue == false)
|
|
122
|
{
|
|
123
|
msgsetloc(0, IT'S! TV! TIME!Wait for inputClose Message"IT'S!&TV!&TIME!/%", "obj_tenna_enemy_slash_Step_0_gml_58_0_b" );
|
|
124
|
ballooncon = 0;
|
|
125
|
balloonend = 1;
|
|
126
|
if (dialogueorder < 19)
|
|
127
|
dialogueorder++;
|
|
128
|
}
|
|
129
|
else
|
|
130
|
{
|
|
131
|
dialogueorder++;
|
|
132
|
if (dialogueorder == 1)
|
|
133
|
{
|
|
134
|
msgsetloc(0, Sick of the CLASSICS!? We'll make 'em NEO!Wait for inputClose Message"Sick of the&CLASSICS!? We'll&make 'em NEO!/%", "obj_tenna_enemy_slash_Step_0_gml_65_0" );
|
|
135
|
ballooncon = 7;
|
|
136
|
balloonend = 0;
|
|
137
|
}
|
|
138
|
if (dialogueorder == 2)
|
|
139
|
{
|
|
140
|
msgsetloc(0, Who SAYS an old CRT can't learn new tricks!?Wait for inputClose Message"Who SAYS an&old CRT can't&learn new tricks!?/%", "obj_tenna_enemy_slash_Step_0_gml_66_0" );
|
|
141
|
ballooncon = 8;
|
|
142
|
balloonend = 0;
|
|
143
|
}
|
|
144
|
if (dialogueorder == 3)
|
|
145
|
{
|
|
146
|
msgsetloc(0, Ratings!? HA! I'll show you CHARISMA!Wait for inputClose Message"Ratings!? HA!&I'll show you&CHARISMA!/%", "obj_tenna_enemy_slash_Step_0_gml_67_0" );
|
|
147
|
ballooncon = 9;
|
|
148
|
balloonend = 0;
|
|
149
|
}
|
|
150
|
if (dialogueorder == 4)
|
|
151
|
{
|
|
152
|
msgsetloc(0, Susie, you liked watching, didn't you!?!Wait for inputClose Message"Susie, you&liked watching,&didn't you!?!/%", "obj_tenna_enemy_slash_Step_0_gml_68_0" );
|
|
153
|
ballooncon = 10;
|
|
154
|
balloonend = 0;
|
|
155
|
}
|
|
156
|
if (dialogueorder == 5)
|
|
157
|
{
|
|
158
|
msgsetloc(0, Tell 'em, Susie!Wait for inputClose Message"Tell 'em,&Susie!/%", "obj_tenna_enemy_slash_Step_0_gml_69_0" );
|
|
159
|
ballooncon = 11;
|
|
160
|
balloonend = 0;
|
|
161
|
}
|
|
162
|
if (dialogueorder == 6)
|
|
163
|
{
|
|
164
|
msgsetloc(0, I'm still MARVELOUS! I'm still MYSTERIOUS!Wait for inputClose Message"I'm still&MARVELOUS! I'm&still MYSTERIOUS!/%", "obj_tenna_enemy_slash_Step_0_gml_70_0" );
|
|
165
|
ballooncon = 12;
|
|
166
|
balloonend = 0;
|
|
167
|
}
|
|
168
|
if (dialogueorder == 7)
|
|
169
|
{
|
|
170
|
msgsetloc(0, Kris!! I watched you GROW UP!!Wait for inputClose Message"Kris!! I watched&you GROW UP!!/%", "obj_tenna_enemy_slash_Step_0_gml_71_0" );
|
|
171
|
ballooncon = 13;
|
|
172
|
balloonend = 0;
|
|
173
|
}
|
|
174
|
if (dialogueorder == 8 && didkrisdoswordroute == false)
|
|
175
|
{
|
|
176
|
msgsetloc(0, Who do you think taught you to LAUGH and CRY!?Wait for inputClose Message"Who do you think&taught you to&LAUGH and CRY!?/%", "obj_tenna_enemy_slash_Step_0_gml_72_0" );
|
|
177
|
ballooncon = 14;
|
|
178
|
balloonend = 0;
|
|
179
|
}
|
|
180
|
if (dialogueorder == 9 && didkrisdoswordroute == false)
|
|
181
|
{
|
|
182
|
msgsetloc(0, Well, the GOOD OLD DAYS are HERE, Kris! On VHS!Wait for inputClose Message"Well, the GOOD&OLD DAYS are HERE,&Kris! On VHS!/%", "obj_tenna_enemy_slash_Step_0_gml_73_0" );
|
|
183
|
ballooncon = 15;
|
|
184
|
balloonend = 0;
|
|
185
|
}
|
|
186
|
if (dialogueorder == 8 && didkrisdoswordroute == true)
|
|
187
|
{
|
|
188
|
msgsetloc(0, You... you want to have fun, too, don't you!?Wait for inputClose Message"You... you want&to have fun,&too, don't you!?/%", "obj_tenna_enemy_slash_Step_0_gml_74_0" );
|
|
189
|
ballooncon = 17;
|
|
190
|
balloonend = 0;
|
|
191
|
}
|
|
192
|
if (dialogueorder == 9 && didkrisdoswordroute == true)
|
|
193
|
{
|
|
194
|
msgsetloc(0, Woah, woah, woah! Sorry, that was out of line, folks!Wait for inputClose Message"Woah, woah, woah!&Sorry, that was&out of line, folks!/%", "obj_tenna_enemy_slash_Step_0_gml_75_0" );
|
|
195
|
ballooncon = 18;
|
|
196
|
balloonend = 0;
|
|
197
|
}
|
|
198
|
if (dialogueorder == 20)
|
|
199
|
{
|
|
200
|
msgsetloc(0, ... what!? Are you waiting for me...Wait for inputClose Message"... what!? Are&you waiting for me.../%", "obj_tenna_enemy_slash_Step_0_gml_76_0" );
|
|
201
|
ballooncon = 19;
|
|
202
|
balloonend = 0;
|
|
203
|
}
|
|
204
|
if (dialogueorder == 21)
|
|
205
|
{
|
|
206
|
msgsetloc(0, ...Wait for inputClose Message".../%", "obj_tenna_enemy_slash_Step_0_gml_77_0" );
|
|
207
|
ballooncon = 21;
|
|
208
|
balloonend = 0;
|
|
209
|
}
|
|
210
|
}
|
|
211
|
if (ralseitalks == 1 && instance_exists(obj_heroralsei))
|
|
212
|
{
|
|
213
|
global.typer = 74;
|
|
214
|
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_long;
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_long;
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;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (obj_heroralsei.x + 75, obj_heroralsei.y + 15, 7);
|
|
215
|
scr_guardpeekscr_guardpeek
function scr_guardpeek(arg0)
{
if (global.faceaction[arg0.myself] == 4)
{
var _peeker = 0;
if (arg0 == obj_heroralsei)
{
obj_heroralsei.image_alpha = 0;
_peeker = scr_battle_marker(obj_heroralsei.x, obj_heroralsei.y, spr_ralsei_defend_peek);
_peeker.depth = obj_heroralsei.depth;
_peeker.sourceobject = obj_heroralsei;
_peeker.endanimation = spr_ralsei_redefend;
}
else if (arg0 == obj_herosusie)
{
obj_herosusie.image_alpha = 0;
_peeker = scr_battle_marker(obj_herosusie.x + 8, obj_herosusie.y + 4, spr_susie_defend_peek);
_peeker.depth = obj_herosusie.depth;
_peeker.sourceobject = obj_herosusie;
}
return _peeker;
}
} (obj_heroralsei);
|
|
216
|
}
|
|
217
|
else if (susietalks == 1 && instance_exists(obj_herosusie))
|
|
218
|
{
|
|
219
|
global.typer = 75;
|
|
220
|
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_long;
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_long;
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;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (obj_herosusie.x + 75, obj_herosusie.y + 15, 7);
|
|
221
|
scr_guardpeekscr_guardpeek
function scr_guardpeek(arg0)
{
if (global.faceaction[arg0.myself] == 4)
{
var _peeker = 0;
if (arg0 == obj_heroralsei)
{
obj_heroralsei.image_alpha = 0;
_peeker = scr_battle_marker(obj_heroralsei.x, obj_heroralsei.y, spr_ralsei_defend_peek);
_peeker.depth = obj_heroralsei.depth;
_peeker.sourceobject = obj_heroralsei;
_peeker.endanimation = spr_ralsei_redefend;
}
else if (arg0 == obj_herosusie)
{
obj_herosusie.image_alpha = 0;
_peeker = scr_battle_marker(obj_herosusie.x + 8, obj_herosusie.y + 4, spr_susie_defend_peek);
_peeker.depth = obj_herosusie.depth;
_peeker.sourceobject = obj_herosusie;
}
return _peeker;
}
} (obj_herosusie);
|
|
222
|
}
|
|
223
|
else
|
|
224
|
{
|
|
225
|
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_long;
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_long;
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;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (x + 27, global.monstery[myself] - 36, 10);
|
|
226
|
}
|
|
227
|
myblcon.depth = depth - 100;
|
|
228
|
ralseitalks = 0;
|
|
229
|
susietalks = 0;
|
|
230
|
if (ballooncon == 0)
|
|
231
|
{
|
|
232
|
talked = 0.5;
|
|
233
|
talktimer = 0;
|
|
234
|
}
|
|
235
|
else
|
|
236
|
{
|
|
237
|
talked = 0.6;
|
|
238
|
talktimer = 0;
|
|
239
|
}
|
|
240
|
rtimer = 0;
|
|
241
|
}
|
|
242
|
if (talked == 0.5)
|
|
243
|
{
|
|
244
|
talktimer++;
|
|
245
|
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
|
|
246
|
{
|
|
247
|
with (obj_writer)
|
|
248
|
instance_destroy();
|
|
249
|
alarm[6] = 1; gml_Object_obj_tenna_enemy_Alarm_6.gml
if (balloonend == 1)
{
talked = 1;
}
else
{
talked = 0.6;
talktimer = 0;
}
|
|
250
|
}
|
|
251
|
}
|
|
252
|
if (talked == 0.6)
|
|
253
|
{
|
|
254
|
talktimer++;
|
|
255
|
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
|
|
256
|
{
|
|
257
|
with (obj_writer)
|
|
258
|
instance_destroy();
|
|
259
|
if (ballooncon == 1)
|
|
260
|
{
|
|
261
|
msgsetloc(0, BUT DON'T THINK IT'S GONNA BE EASY!! BECAUSE TODAY...Wait for inputClose Message"BUT DON'T THINK&IT'S GONNA&BE EASY!!&BECAUSE TODAY.../%", "obj_tenna_enemy_slash_Step_0_gml_121_0" );
|
|
262
|
ballooncon = 2;
|
|
263
|
}
|
|
264
|
else if (ballooncon == 2)
|
|
265
|
{
|
|
266
|
msgsetloc(0, WE'VE GOT AN ALL-STAR CAST!Wait for inputClose Message"WE'VE GOT AN&ALL-STAR CAST!/%", "obj_tenna_enemy_slash_Step_0_gml_122_0" );
|
|
267
|
ballooncon = 0;
|
|
268
|
balloonend = 1;
|
|
269
|
}
|
|
270
|
else if (ballooncon == 3)
|
|
271
|
{
|
|
272
|
msgsetloc(0, CUT, I said! CUT! ... SMASH CUT!Wait for inputClose Message"CUT, I said!&CUT! ...&SMASH CUT!/%", "obj_tenna_enemy_slash_Step_0_gml_125_0" );
|
|
273
|
ballooncon = 0;
|
|
274
|
balloonend = 1;
|
|
275
|
}
|
|
276
|
else if (ballooncon == 4)
|
|
277
|
{
|
|
278
|
msgsetloc(0, How about we play you a RIMSHOT!?Wait for inputClose Message"How about we play&you a RIMSHOT!?/%", "obj_tenna_enemy_slash_Step_0_gml_126_0" );
|
|
279
|
ballooncon = 0;
|
|
280
|
balloonend = 1;
|
|
281
|
}
|
|
282
|
else if (ballooncon == 5)
|
|
283
|
{
|
|
284
|
msgsetloc(0, But can they survive... Another PHYSICAL CHALLENGE?!Wait for inputClose Message"But can they&survive... Another&PHYSICAL CHALLENGE?!/%", "obj_tenna_enemy_slash_Step_0_gml_127_0" );
|
|
285
|
ballooncon = 0;
|
|
286
|
balloonend = 1;
|
|
287
|
}
|
|
288
|
else if (ballooncon == 6)
|
|
289
|
{
|
|
290
|
msgsetloc(0, How about a DOUBLE FEATURE!?Wait for inputClose Message"How about a&DOUBLE FEATURE!?/%", "obj_tenna_enemy_slash_Step_0_gml_128_0" );
|
|
291
|
ballooncon = 0;
|
|
292
|
balloonend = 1;
|
|
293
|
}
|
|
294
|
else if (ballooncon == 7)
|
|
295
|
{
|
|
296
|
msgsetloc(0, NEO shows, NEO programs, just watch, watch, WATCH!Wait for inputClose Message"NEO shows,&NEO programs,&just watch,&watch, WATCH!/%", "obj_tenna_enemy_slash_Step_0_gml_131_0" );
|
|
297
|
ballooncon = 0;
|
|
298
|
balloonend = 1;
|
|
299
|
}
|
|
300
|
else if (ballooncon == 8)
|
|
301
|
{
|
|
302
|
msgsetloc(0, LOOK!! The 6PM show!? I'll show it at 5!!Wait for inputClose Message"LOOK!! The 6PM show!?&I'll show it at 5!!/%", "obj_tenna_enemy_slash_Step_0_gml_132_0" );
|
|
303
|
ballooncon = 0;
|
|
304
|
balloonend = 1;
|
|
305
|
}
|
|
306
|
else if (ballooncon == 9)
|
|
307
|
{
|
|
308
|
msgsetloc(0, HD's nothing when you got NOSTALGIA!Wait for inputClose Message"HD's nothing&when you got&NOSTALGIA!/%", "obj_tenna_enemy_slash_Step_0_gml_133_0" );
|
|
309
|
ballooncon = 0;
|
|
310
|
balloonend = 1;
|
|
311
|
}
|
|
312
|
else if (ballooncon == 10)
|
|
313
|
{
|
|
314
|
msgsetloc(0, Come, on! Tell 'em! Tell 'em!Wait for inputClose Message"Come, on!&Tell 'em!&Tell 'em!/%", "obj_tenna_enemy_slash_Step_0_gml_134_0" );
|
|
315
|
ballooncon = 0;
|
|
316
|
balloonend = 1;
|
|
317
|
}
|
|
318
|
else if (ballooncon == 11)
|
|
319
|
{
|
|
320
|
msgsetloc(0, Say they don't need to throw me away!Wait for inputClose Message"Say they don't&need to throw&me away!/%", "obj_tenna_enemy_slash_Step_0_gml_135_0" );
|
|
321
|
ballooncon = 0;
|
|
322
|
balloonend = 1;
|
|
323
|
}
|
|
324
|
else if (ballooncon == 12)
|
|
325
|
{
|
|
326
|
msgsetloc(0, Toriel oughta know she doesn't NEED a new TV!!Wait for inputClose Message"Toriel oughta&know she doesn't&NEED a new TV!!/%", "obj_tenna_enemy_slash_Step_0_gml_136_0" );
|
|
327
|
ballooncon = 0;
|
|
328
|
balloonend = 1;
|
|
329
|
}
|
|
330
|
else if (ballooncon == 13)
|
|
331
|
{
|
|
332
|
msgsetloc(0, Just admit you NEED ME already!!Wait for inputClose Message"Just admit you&NEED ME already!!/%", "obj_tenna_enemy_slash_Step_0_gml_137_0" );
|
|
333
|
ballooncon = 0;
|
|
334
|
balloonend = 1;
|
|
335
|
}
|
|
336
|
else if (ballooncon == 14)
|
|
337
|
{
|
|
338
|
msgsetloc(0, ... What, you think it's MY fault you forgot HOW!?Wait for inputClose Message"... What, you think&it's MY fault you&forgot HOW!?/%", "obj_tenna_enemy_slash_Step_0_gml_138_0" );
|
|
339
|
ballooncon = 0;
|
|
340
|
balloonend = 1;
|
|
341
|
}
|
|
342
|
else if (ballooncon == 15)
|
|
343
|
{
|
|
344
|
msgsetloc(0, And if you've forgotten how to smile...Wait for inputClose Message"And if you've&forgotten how&to smile.../%", "obj_tenna_enemy_slash_Step_0_gml_139_0" );
|
|
345
|
ballooncon = 16;
|
|
346
|
balloonend = 0;
|
|
347
|
}
|
|
348
|
else if (ballooncon == 16)
|
|
349
|
{
|
|
350
|
msgsetloc(0, I'll MAKE YOU remember.Wait for inputClose Message"I'll MAKE&YOU remember./%", "obj_tenna_enemy_slash_Step_0_gml_140_0" );
|
|
351
|
ballooncon = 0;
|
|
352
|
balloonend = 1;
|
|
353
|
}
|
|
354
|
else if (ballooncon == 17)
|
|
355
|
{
|
|
356
|
msgsetloc(0, Isn't that a little bit why you...Wait for inputClose Message"Isn't that a&little bit why you.../%", "obj_tenna_enemy_slash_Step_0_gml_141_0" );
|
|
357
|
ballooncon = 0;
|
|
358
|
balloonend = 1;
|
|
359
|
}
|
|
360
|
else if (ballooncon == 18)
|
|
361
|
{
|
|
362
|
msgsetloc(0, Back to your regularly scheduled programming!Wait for inputClose Message"Back to your®ularly scheduled&programming!/%", "obj_tenna_enemy_slash_Step_0_gml_142_0" );
|
|
363
|
ballooncon = 0;
|
|
364
|
balloonend = 1;
|
|
365
|
}
|
|
366
|
else if (ballooncon == 19)
|
|
367
|
{
|
|
368
|
msgsetloc(0, To... to... say something!?Wait for inputClose Message"To... to...&say something!?/%", "obj_tenna_enemy_slash_Step_0_gml_144_0" );
|
|
369
|
ballooncon = 20;
|
|
370
|
balloonend = 0;
|
|
371
|
}
|
|
372
|
else if (ballooncon == 20)
|
|
373
|
{
|
|
374
|
msgsetloc(0, I have nothing to say! Nothing!Wait for inputClose Message"I have nothing&to say! Nothing!/%", "obj_tenna_enemy_slash_Step_0_gml_145_0" );
|
|
375
|
ballooncon = 0;
|
|
376
|
balloonend = 1;
|
|
377
|
}
|
|
378
|
else if (ballooncon == 21)
|
|
379
|
{
|
|
380
|
msgsetloc(0, ... All right!Wait for inputClose Message"... All right!/%", "obj_tenna_enemy_slash_Step_0_gml_147_0" );
|
|
381
|
ballooncon = 22;
|
|
382
|
balloonend = 0;
|
|
383
|
}
|
|
384
|
else if (ballooncon == 22)
|
|
385
|
{
|
|
386
|
msgsetloc(0, All right, fine! FINE, I ADMIT IT!Wait for inputClose Message"All right, fine!&FINE, I ADMIT IT!/%", "obj_tenna_enemy_slash_Step_0_gml_148_0" );
|
|
387
|
ballooncon = 23;
|
|
388
|
balloonend = 0;
|
|
389
|
}
|
|
390
|
else if (ballooncon == 23)
|
|
391
|
{
|
|
392
|
msgsetloc(0, Maybe I AM a little GLOOBY sometimes!!Wait for inputClose Message"Maybe I AM a&little GLOOBY&sometimes!!/%", "obj_tenna_enemy_slash_Step_0_gml_149_0" );
|
|
393
|
ballooncon = 24;
|
|
394
|
balloonend = 0;
|
|
395
|
}
|
|
396
|
else if (ballooncon == 24)
|
|
397
|
{
|
|
398
|
msgsetloc(0, I AM!!! I'm GLOOBY!!!Wait for inputClose Message"I AM!!!&I'm GLOOBY!!!/%", "obj_tenna_enemy_slash_Step_0_gml_150_0" );
|
|
399
|
ballooncon = 25;
|
|
400
|
balloonend = 0;
|
|
401
|
}
|
|
402
|
else if (ballooncon == 25)
|
|
403
|
{
|
|
404
|
msgsetloc(0, WHAT'S wrong with THAT, HUH!?Wait for inputClose Message"WHAT'S wrong&with THAT, HUH!?/%", "obj_tenna_enemy_slash_Step_0_gml_151_0" );
|
|
405
|
ballooncon = 26;
|
|
406
|
balloonend = 0;
|
|
407
|
}
|
|
408
|
else if (ballooncon == 26)
|
|
409
|
{
|
|
410
|
msgsetloc(0, We're ALL a little GLOOBY sometimes!!Wait for inputClose Message"We're ALL a little&GLOOBY sometimes!!/%", "obj_tenna_enemy_slash_Step_0_gml_152_0" );
|
|
411
|
ballooncon = 27;
|
|
412
|
balloonend = 0;
|
|
413
|
}
|
|
414
|
else if (ballooncon == 27)
|
|
415
|
{
|
|
416
|
msgsetloc(0, YOU INCLUDED, KRIS!Wait for inputClose Message"YOU INCLUDED,&KRIS!/%", "obj_tenna_enemy_slash_Step_0_gml_153_0" );
|
|
417
|
ballooncon = 28;
|
|
418
|
balloonend = 0;
|
|
419
|
}
|
|
420
|
else if (ballooncon == 28)
|
|
421
|
{
|
|
422
|
msgsetloc(0, So DON'T give me that look!Wait for inputClose Message"So DON'T give&me that look!/%", "obj_tenna_enemy_slash_Step_0_gml_154_0" );
|
|
423
|
ballooncon = 29;
|
|
424
|
balloonend = 0;
|
|
425
|
}
|
|
426
|
else if (ballooncon == 29)
|
|
427
|
{
|
|
428
|
msgsetloc(0, That "Oh, I've never been Glooby" look!Wait for inputClose Message"That \"Oh, I've&never been&Glooby\" look!/%", "obj_tenna_enemy_slash_Step_0_gml_155_0" );
|
|
429
|
ballooncon = 30;
|
|
430
|
balloonend = 0;
|
|
431
|
}
|
|
432
|
else if (ballooncon == 30)
|
|
433
|
{
|
|
434
|
msgsetloc(0, YOU ARE! YOU HAVE BEEN! You HAVE TO be!Wait for inputClose Message"YOU ARE!&YOU HAVE BEEN!&You HAVE TO be!/%", "obj_tenna_enemy_slash_Step_0_gml_156_0" );
|
|
435
|
ballooncon = 31;
|
|
436
|
balloonend = 0;
|
|
437
|
}
|
|
438
|
else if (ballooncon == 31)
|
|
439
|
{
|
|
440
|
msgsetloc(0, It CAN'T just be me!Wait for inputClose Message"It CAN'T&just be me!/%", "obj_tenna_enemy_slash_Step_0_gml_157_0" );
|
|
441
|
ballooncon = 32;
|
|
442
|
balloonend = 0;
|
|
443
|
}
|
|
444
|
else if (ballooncon == 32)
|
|
445
|
{
|
|
446
|
msgsetloc(0, Just ME... alone.Wait for inputClose Message"Just ME...&alone./%", "obj_tenna_enemy_slash_Step_0_gml_158_0" );
|
|
447
|
ballooncon = 33;
|
|
448
|
balloonend = 0;
|
|
449
|
}
|
|
450
|
else if (ballooncon == 33)
|
|
451
|
{
|
|
452
|
msgsetloc(0, Glooby... against the whole world...Wait for inputClose Message"Glooby...&against the&whole world.../%", "obj_tenna_enemy_slash_Step_0_gml_159_0" );
|
|
453
|
ballooncon = 34;
|
|
454
|
balloonend = 0;
|
|
455
|
}
|
|
456
|
else if (ballooncon == 34)
|
|
457
|
{
|
|
458
|
msgsetloc(0, ... it can't be...Wait for inputClose Message"... it&can't be.../%", "obj_tenna_enemy_slash_Step_0_gml_160_0" );
|
|
459
|
ballooncon = 0;
|
|
460
|
balloonend = 1;
|
|
461
|
}
|
|
462
|
else if (ballooncon == 40)
|
|
463
|
{
|
|
464
|
msgsetloc(0, What will happen to our HEROES...Wait for inputClose Message"What will happen&to our HEROES.../%", "obj_tenna_enemy_slash_Step_0_gml_163_0" );
|
|
465
|
ballooncon = 41;
|
|
466
|
balloonend = 0;
|
|
467
|
}
|
|
468
|
else if (ballooncon == 41)
|
|
469
|
{
|
|
470
|
msgsetloc(0, When they REALIZE this show is NEVER gonna end!?Wait for inputClose Message"When they REALIZE&this show is NEVER&gonna end!?/%", "obj_tenna_enemy_slash_Step_0_gml_164_0" );
|
|
471
|
ballooncon = 0;
|
|
472
|
balloonend = 1;
|
|
473
|
}
|
|
474
|
talked = 0.7;
|
|
475
|
if (ralseitalks == 1 && instance_exists(obj_heroralsei))
|
|
476
|
{
|
|
477
|
global.typer = 74;
|
|
478
|
scr_heroblconscr_heroblcon
function scr_heroblcon(arg0)
{
var heroobj = -69420;
switch (arg0)
{
case 1:
case "kris":
case "kr":
heroobj = obj_herokris;
break;
case 2:
case "susie":
case "su":
heroobj = obj_herosusie;
break;
case 3:
case "ralsei":
case "ra":
heroobj = obj_heroralsei;
break;
case 4:
case "noelle":
case "no":
heroobj = obj_heronoelle;
break;
default:
heroobj = -69420;
break;
}
if (i_ex(heroobj))
{
var heroballoon = scr_enemyblcon(heroobj.x + 100, heroobj.y + 40, 10);
heroballoon.side = -1;
return heroballoon;
}
else
{
return false;
}
} ("ralsei");
|
|
479
|
scr_guardpeekscr_guardpeek
function scr_guardpeek(arg0)
{
if (global.faceaction[arg0.myself] == 4)
{
var _peeker = 0;
if (arg0 == obj_heroralsei)
{
obj_heroralsei.image_alpha = 0;
_peeker = scr_battle_marker(obj_heroralsei.x, obj_heroralsei.y, spr_ralsei_defend_peek);
_peeker.depth = obj_heroralsei.depth;
_peeker.sourceobject = obj_heroralsei;
_peeker.endanimation = spr_ralsei_redefend;
}
else if (arg0 == obj_herosusie)
{
obj_herosusie.image_alpha = 0;
_peeker = scr_battle_marker(obj_herosusie.x + 8, obj_herosusie.y + 4, spr_susie_defend_peek);
_peeker.depth = obj_herosusie.depth;
_peeker.sourceobject = obj_herosusie;
}
return _peeker;
}
} (obj_heroralsei);
|
|
480
|
}
|
|
481
|
else if (susietalks == 1 && instance_exists(obj_herosusie))
|
|
482
|
{
|
|
483
|
global.typer = 75;
|
|
484
|
scr_heroblconscr_heroblcon
function scr_heroblcon(arg0)
{
var heroobj = -69420;
switch (arg0)
{
case 1:
case "kris":
case "kr":
heroobj = obj_herokris;
break;
case 2:
case "susie":
case "su":
heroobj = obj_herosusie;
break;
case 3:
case "ralsei":
case "ra":
heroobj = obj_heroralsei;
break;
case 4:
case "noelle":
case "no":
heroobj = obj_heronoelle;
break;
default:
heroobj = -69420;
break;
}
if (i_ex(heroobj))
{
var heroballoon = scr_enemyblcon(heroobj.x + 100, heroobj.y + 40, 10);
heroballoon.side = -1;
return heroballoon;
}
else
{
return false;
}
} ("susie");
|
|
485
|
scr_guardpeekscr_guardpeek
function scr_guardpeek(arg0)
{
if (global.faceaction[arg0.myself] == 4)
{
var _peeker = 0;
if (arg0 == obj_heroralsei)
{
obj_heroralsei.image_alpha = 0;
_peeker = scr_battle_marker(obj_heroralsei.x, obj_heroralsei.y, spr_ralsei_defend_peek);
_peeker.depth = obj_heroralsei.depth;
_peeker.sourceobject = obj_heroralsei;
_peeker.endanimation = spr_ralsei_redefend;
}
else if (arg0 == obj_herosusie)
{
obj_herosusie.image_alpha = 0;
_peeker = scr_battle_marker(obj_herosusie.x + 8, obj_herosusie.y + 4, spr_susie_defend_peek);
_peeker.depth = obj_herosusie.depth;
_peeker.sourceobject = obj_herosusie;
}
return _peeker;
}
} (obj_herosusie);
|
|
486
|
}
|
|
487
|
else
|
|
488
|
{
|
|
489
|
global.fc = 22;
|
|
490
|
global.typer = 81;
|
|
491
|
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_long;
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_long;
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;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (x + 27, global.monstery[myself] - 36, 10);
|
|
492
|
}
|
|
493
|
myblcon.depth = depth - 100;
|
|
494
|
ralseitalks = 0;
|
|
495
|
susietalks = 0;
|
|
496
|
alarm[6] = 1; gml_Object_obj_tenna_enemy_Alarm_6.gml
if (balloonend == 1)
{
talked = 1;
}
else
{
talked = 0.6;
talktimer = 0;
}
|
|
497
|
}
|
|
498
|
}
|
|
499
|
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") && !i_ex(obj_writer))
|
|
500
|
{
|
|
501
|
global.mnfight = 1.5;
|
|
502
|
attackchosen = false;
|
|
503
|
}
|
|
504
|
if (global.mnfight == 1.5)
|
|
505
|
{
|
|
506
|
if (myattackchoice < 3)
|
|
507
|
{
|
|
508
|
if (!instance_exists(obj_growtangle))
|
|
509
|
instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle);
|
|
510
|
if (!instance_exists(obj_moveheart) && !i_ex(obj_heart))
|
|
511
|
scr_moveheartscr_moveheart
function scr_moveheart()
{
global.inv = 0;
return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart);
} ();
|
|
512
|
}
|
|
513
|
global.mnfight = 2;
|
|
514
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (90);
|
|
515
|
}
|
|
516
|
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)
|
|
517
|
{
|
|
518
|
rtimer += 1;
|
|
519
|
if (rtimer == 12)
|
|
520
|
{
|
|
521
|
scr_randomtargetscr_randomtarget
function scr_randomtarget()
{
abletotarget = 1;
if (global.charcantarget[0] == 0 && global.charcantarget[1] == 0 && global.charcantarget[2] == 0)
abletotarget = 0;
mytarget = choose(0, 1, 2);
if (abletotarget == 1)
{
while (global.charcantarget[mytarget] == 0)
mytarget = choose(0, 1, 2);
}
else
{
mytarget = 3;
}
global.targeted[mytarget] = 1;
if (global.chapter >= 2 && mytarget != 3)
{
if (global.charcantarget[0])
global.targeted[0] = 1;
if (global.charcantarget[1])
global.targeted[1] = 1;
if (global.charcantarget[2])
global.targeted[2] = 1;
mytarget = 4;
}
} ();
|
|
522
|
if (myattackchoice == 0)
|
|
523
|
{
|
|
524
|
global.monsterattackname[myself] = "all star cast";
|
|
525
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.creatorid = id;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
526
|
dc.type = 125;
|
|
527
|
dc.damage = 65;
|
|
528
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (200);
|
|
529
|
}
|
|
530
|
else if (myattackchoice == 1)
|
|
531
|
{
|
|
532
|
global.monsterattackname[myself] = "smashcut";
|
|
533
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.creatorid = id;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
534
|
dc.type = 126;
|
|
535
|
dc.damage = 65;
|
|
536
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (260);
|
|
537
|
}
|
|
538
|
else if (myattackchoice == 2)
|
|
539
|
{
|
|
540
|
global.monsterattackname[myself] = "rimshot lensflare";
|
|
541
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.creatorid = id;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
542
|
dc.type = 128;
|
|
543
|
dc.damage = 65;
|
|
544
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (260);
|
|
545
|
}
|
|
546
|
else if (myattackchoice == 3)
|
|
547
|
{
|
|
548
|
minigametransition_con = 1;
|
|
549
|
with (obj_darkener)
|
|
550
|
darken = 0;
|
|
551
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (999);
|
|
552
|
}
|
|
553
|
else if (myattackchoice == 20)
|
|
554
|
{
|
|
555
|
global.monsterattackname[myself] = "light em up";
|
|
556
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.creatorid = id;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
557
|
dc.type = 150;
|
|
558
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (999999);
|
|
559
|
}
|
|
560
|
else if (myattackchoice == 21)
|
|
561
|
{
|
|
562
|
minigametransition_con = 1;
|
|
563
|
minigametype = "battle";
|
|
564
|
difficulty = 1;
|
|
565
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (999999);
|
|
566
|
}
|
|
567
|
turns += 1;
|
|
568
|
global.fc = 22;
|
|
569
|
global.typer = 81;
|
|
570
|
rr = choose(0, 1, 2, 3, 4);
|
|
571
|
if (rr == 0)
|
|
572
|
global.battlemsg[0] = stringsetloc(* CLAP AND CHEER, SMILE AND SCREAM! ENTERTAINMENT ON YOUR SCREEN!"* CLAP AND CHEER, SMILE AND SCREAM! ENTERTAINMENT ON YOUR SCREEN!", "obj_tenna_enemy_slash_Step_0_gml_230_0" );
|
|
573
|
if (rr == 1)
|
|
574
|
global.battlemsg[0] = stringsetloc(* COWABUNGA-DERO! THAT'S THE SMOOTH TASTE OF TV TIME!"* COWABUNGA-DERO! THAT'S THE SMOOTH TASTE OF TV TIME!", "obj_tenna_enemy_slash_Step_0_gml_231_0" );
|
|
575
|
if (rr == 2)
|
|
576
|
global.battlemsg[0] = stringsetloc(* FRESH FROM THE JUICE! FRESH FROM THE JUICE!"* FRESH FROM THE JUICE! FRESH FROM THE JUICE!", "obj_tenna_enemy_slash_Step_0_gml_232_0" );
|
|
577
|
if (rr == 3)
|
|
578
|
global.battlemsg[0] = stringsetloc(* HEAR THAT WHINE!? THAT'S YOUR CRT ASKING FOR A WALK!!"* HEAR THAT WHINE!? THAT'S YOUR CRT ASKING FOR A WALK!!", "obj_tenna_enemy_slash_Step_0_gml_233_0" );
|
|
579
|
if (rr == 4)
|
|
580
|
global.battlemsg[0] = stringsetloc(* DON'T TOUCH THAT DIAL! THINGS ARE HEATING UP!"* DON'T TOUCH THAT DIAL! THINGS ARE HEATING UP!", "obj_tenna_enemy_slash_Step_0_gml_234_0" );
|
|
581
|
var rand = irandom(99);
|
|
582
|
if (rand == 1)
|
|
583
|
global.battlemsg[0] = stringsetloc(* IS IT JUST ME, OR DOES IT SMELL LIKE AN ORCHARD IN HERE?"* IS IT JUST ME, OR DOES IT SMELL LIKE AN ORCHARD IN HERE?", "obj_tenna_enemy_slash_Step_0_gml_237_0" );
|
|
584
|
if (rand == 2)
|
|
585
|
global.battlemsg[0] = stringsetloc(* IS IT JUST ME, OR DOES IT SMELL KINDA EARTHY AND SMOKEY IN HERE?"* IS IT JUST ME, OR DOES IT SMELL KINDA EARTHY AND SMOKEY IN HERE?", "obj_tenna_enemy_slash_Step_0_gml_238_0" );
|
|
586
|
if (rand == 3)
|
|
587
|
global.battlemsg[0] = stringsetloc(* IS IT JUST ME, OR DOES IT SMELL LIKE MARKETABLE PLUSH IN HERE?"* IS IT JUST ME, OR DOES IT SMELL LIKE MARKETABLE PLUSH IN HERE?", "obj_tenna_enemy_slash_Step_0_gml_239_0" );
|
|
588
|
if (turns == 7)
|
|
589
|
global.battlemsg[0] = stringsetloc(* COME ON KIDS, THE AUDIENCE LOVES IT!! CAN'T YOU HEAR 'EM CHEERING!? LISTEN!!"* COME ON KIDS, THE AUDIENCE LOVES IT!! CAN'T YOU HEAR 'EM CHEERING!? LISTEN!!", "obj_tenna_enemy_slash_Step_0_gml_241_0" );
|
|
590
|
if (turns == 8)
|
|
591
|
global.battlemsg[0] = stringsetloc(* ... WHERE... WHERE'S THE AUDIENCE? WHERE'D THEY GO...? WHERE ARE THEY!?"* ... WHERE... WHERE'S THE AUDIENCE? WHERE'D THEY GO...? WHERE ARE THEY!?", "obj_tenna_enemy_slash_Step_0_gml_242_0" );
|
|
592
|
if (turns == 9)
|
|
593
|
global.battlemsg[0] = stringsetloc(* THAT DAMN AUDIENCE! I GAVE THEM SO MANY POINTS TO BE HERE TODAY!"* THAT DAMN AUDIENCE! I GAVE THEM SO MANY POINTS TO BE HERE TODAY!", "obj_tenna_enemy_slash_Step_0_gml_243_0" );
|
|
594
|
if (turns == 10)
|
|
595
|
global.battlemsg[0] = stringsetloc(* MIKE... MIKE, IF YOU'RE STILL HERE... BAN EVERYONE FROM THE GIFT SHOP!"* MIKE... MIKE, IF YOU'RE STILL HERE... BAN EVERYONE FROM THE GIFT SHOP!", "obj_tenna_enemy_slash_Step_0_gml_244_0" );
|
|
596
|
if (turns == 11 && (global.flag[309 spamton_plot] == 9 || global.flag[454 got_dealmaker] == 1 || global.flag[456 beat_snowgrave_neo] == 1))
|
|
597
|
global.battlemsg[0] = stringsetloc(* I'M NOT LIKE HIM! I'M BETTER! I SWEAR I'M BETTER! MIKE, TELL 'EM!"* I'M NOT LIKE HIM! I'M BETTER! I SWEAR I'M BETTER! MIKE, TELL 'EM!", "obj_tenna_enemy_slash_Step_0_gml_245_0" );
|
|
598
|
if (healthphase == 1 && global.monsterhp[myself] < (global.monstermaxhp[myself] * 0.5))
|
|
599
|
{
|
|
600
|
healthphase = 2;
|
|
601
|
global.battlemsg[0] = stringsetloc(* OUCH! H-HEY! WATCH WHERE YOU, UH, SWING THOSE THINGS! HAHA!"* OUCH! H-HEY! WATCH WHERE YOU, UH, SWING THOSE THINGS! HAHA!", "obj_tenna_enemy_slash_Step_0_gml_247_0" );
|
|
602
|
}
|
|
603
|
else if (healthphase == 2 && global.monsterhp[myself] < (global.monstermaxhp[myself] * 0.25))
|
|
604
|
{
|
|
605
|
healthphase = 3;
|
|
606
|
global.battlemsg[0] = stringsetloc(* H-HEY, ANYONE NOTICED MY HP IS GOING DOWN!? ANYONE!?"* H-HEY, ANYONE NOTICED MY HP IS GOING DOWN!? ANYONE!?", "obj_tenna_enemy_slash_Step_0_gml_248_0" );
|
|
607
|
}
|
|
608
|
else if (healthphase == 3 && global.monsterhp[myself] < (global.monstermaxhp[myself] * 0.166))
|
|
609
|
{
|
|
610
|
healthphase = 4;
|
|
611
|
global.battlemsg[0] = stringsetloc(* WHAT AN EVENT!! THE CONTESTANTS APPEAR TO BE KILLING ME!!"* WHAT AN EVENT!! THE CONTESTANTS APPEAR TO BE KILLING ME!!", "obj_tenna_enemy_slash_Step_0_gml_249_0" );
|
|
612
|
}
|
|
613
|
if ((obj_tenna_enemy_bg.myscore + obj_tenna_enemy_bg.addscore) >= 1000)
|
|
614
|
global.battlemsg[0] = stringsetloc(* ALRIGHT, YOU ASKED FOR IT! TIME FOR THE GRAND FINALE!"* ALRIGHT, YOU ASKED FOR IT! TIME FOR THE GRAND FINALE!", "obj_tenna_enemy_slash_Step_0_gml_251_0" );
|
|
615
|
attacked = 1;
|
|
616
|
}
|
|
617
|
}
|
|
618
|
if (global.mnfight == 2 && global.turntimer <= 1)
|
|
619
|
{
|
|
620
|
if ((obj_tenna_enemy_bg.myscore + obj_tenna_enemy_bg.addscore) >= 1000)
|
|
621
|
{
|
|
622
|
global.battlemsg[0] = stringsetloc(* ALRIGHT, YOU ASKED FOR IT! TIME FOR THE GRAND FINALE!"* ALRIGHT, YOU ASKED FOR IT! TIME FOR THE GRAND FINALE!", "obj_tenna_enemy_slash_Step_0_gml_251_0" );
|
|
623
|
audience_goes_away = true;
|
|
624
|
}
|
|
625
|
if (minigamefailcount > 0)
|
|
626
|
gothit = true;
|
|
627
|
if (bet == true && gothit == false)
|
|
628
|
obj_tenna_enemy_bg.addscore += (betamount * 2);
|
|
629
|
if (i_ex(obj_tenna_smashcut_attack) && gothit == 0)
|
|
630
|
smashcutwithouttakingdamage = 1;
|
|
631
|
popularboy = false;
|
|
632
|
gothit = false;
|
|
633
|
bet = false;
|
|
634
|
minigameactivated = false;
|
|
635
|
deletefacebug = true;
|
|
636
|
betamount = 0;
|
|
637
|
smashcuthurt = 0;
|
|
638
|
pointsmultiplierthisturn = 5;
|
|
639
|
totalfails = 0;
|
|
640
|
scr_battle_sprite_resetscr_battle_sprite_reset
function scr_battle_sprite_reset(arg0)
{
_charactor = arg0;
_charinstance = obj_herokris;
if (_charactor == "noelle")
{
_charinstance = obj_heronoelle;
_charnum = 4;
}
if (_charactor == "ralsei")
{
_charinstance = obj_heroralsei;
_charnum = 3;
}
if (_charactor == "susie")
{
_charinstance = obj_herosusie;
_charnum = 2;
}
if (_charactor == "kris")
{
_charinstance = obj_herokris;
_charnum = 1;
}
if (instance_exists(_charinstance))
{
with (_charinstance)
{
state = 0;
hurt = 0;
attacktimer = 0;
attacked = 0;
maxframes = 0;
global.faceaction[myself] = 0;
}
}
} ("ralsei");
|
|
641
|
if (resetralsei == true)
|
|
642
|
{
|
|
643
|
resetralsei = false;
|
|
644
|
snd_play(snd_wing);
|
|
645
|
obj_heroralsei.x = obj_heroralsei.xstart;
|
|
646
|
obj_heroralsei.y = obj_heroralsei.ystart;
|
|
647
|
with (obj_heroralsei)
|
|
648
|
{
|
|
649
|
normalsprite = spr_ralsei_walk_right;
|
|
650
|
idlesprite = spr_ralsei_idle;
|
|
651
|
defendsprite = spr_ralsei_defend;
|
|
652
|
hurtsprite = spr_ralsei_hurt_fixed;
|
|
653
|
attackreadysprite = spr_ralsei_attackready;
|
|
654
|
attacksprite = spr_ralsei_attack;
|
|
655
|
itemsprite = spr_ralsei_item;
|
|
656
|
itemreadysprite = spr_ralsei_itemready;
|
|
657
|
spellreadysprite = spr_ralsei_spellready;
|
|
658
|
spellsprite = spr_ralsei_spell;
|
|
659
|
defeatsprite = spr_ralsei_defeat;
|
|
660
|
victorysprite = spr_ralsei_victory;
|
|
661
|
actreadysprite = spr_ralsei_actready;
|
|
662
|
actsprite = spr_ralsei_act;
|
|
663
|
}
|
|
664
|
repeat (26)
|
|
665
|
{
|
|
666
|
puff = instance_create(((obj_heroralsei.x + 50) - 60) + irandom(80), (obj_heroralsei.y - 90) + 90 + irandom(100), obj_animation);
|
|
667
|
puff.depth = obj_heroralsei.depth - 1;
|
|
668
|
puff.sprite_index = spr_susiezilla_houseexplosion;
|
|
669
|
puff.image_speed = 0.5;
|
|
670
|
puff.image_xscale = 1;
|
|
671
|
puff.image_yscale = 1;
|
|
672
|
}
|
|
673
|
}
|
|
674
|
if (lancercheat == true)
|
|
675
|
{
|
|
676
|
lancercheat = false;
|
|
677
|
lancerspin = true;
|
|
678
|
lancermarker.sprite_index = spr_lancer_lt;
|
|
679
|
lancermarker.gravity = -0.1;
|
|
680
|
lancermarker.image_angle = 0;
|
|
681
|
lancermarker.x -= 80;
|
|
682
|
lancermarker.y -= 10;
|
|
683
|
actconsus = 0;
|
|
684
|
actingsus = 0;
|
|
685
|
snd_play(snd_slidewhistle);
|
|
686
|
}
|
|
687
|
}
|
|
688
|
}
|
|
689
|
if (popularboy == true && ralseihpprev != global.hp[3])
|
|
690
|
obj_tenna_enemy_bg.addscore += round(abs(ralseihpprev - global.hp[3]) * 0.17);
|
|
691
|
ralseihpprev = global.hp[3];
|
|
692
|
if (lancerspin == true && lancermarker.y > (cameray() + 40) && lancermarker.gravity > 0)
|
|
693
|
{
|
|
694
|
lancermarker.vspeed = 0;
|
|
695
|
lancermarker.vspeed = 0;
|
|
696
|
lancermarker.gravity = 0;
|
|
697
|
lancermarker.image_angle = -90;
|
|
698
|
lancermarker.sprite_index = spr_lancer_lt_stool;
|
|
699
|
lancermarker.x += 80;
|
|
700
|
lancermarker.y += 10;
|
|
701
|
lancerspin = false;
|
|
702
|
snd_play(snd_item);
|
|
703
|
if (global.actsimulsus[myself][0] == 1)
|
|
704
|
{
|
|
705
|
actingsus = 1.4;
|
|
706
|
actcon = 1;
|
|
707
|
actconsus = 0;
|
|
708
|
}
|
|
709
|
else
|
|
710
|
{
|
|
711
|
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;
... ("lan");
|
|
712
|
msgsetloc(0, Face 2* Ho ho ho! I may drop, but the points won't!Wait for input"\\E2* Ho ho ho! I may drop, but the points won't!/", "obj_tenna_enemy_slash_Step_0_gml_335_0" );
|
|
713
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("no_name", 0);
|
|
714
|
msgnextloc(* Lancer clung to the score like a koala! Points can't drop!Wait for inputClose Message"* Lancer clung to the score like a koala! Points can't drop!/%", "obj_tenna_enemy_slash_Step_0_gml_337_0" );
|
|
715
|
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
} ();
|
|
716
|
actingsus = 1.3;
|
|
717
|
}
|
|
718
|
}
|
|
719
|
if (global.myfight == 3)
|
|
720
|
{
|
|
721
|
xx = __view_get(e__VW.XView, 0);
|
|
722
|
yy = __view_get(e__VW.YView, 0);
|
|
723
|
if (deletefacebug == false)
|
|
724
|
{
|
|
725
|
deletefacebug = true;
|
|
726
|
with (obj_face)
|
|
727
|
instance_destroy();
|
|
728
|
}
|
|
729
|
var havejeviltail = false;
|
|
730
|
if (global.chararmor1[1] == 7 || global.chararmor2[1] == 7 || global.chararmor1[2] == 7 || global.chararmor2[2] == 7 || global.chararmor1[3] == 7 || global.chararmor2[3] == 7)
|
|
731
|
havejeviltail = true;
|
|
732
|
if (acting == 1 && actcon == 0)
|
|
733
|
{
|
|
734
|
actcon = 1;
|
|
735
|
if (didkrisdoswordroute == true)
|
|
736
|
msgsetloc(0, * TENNA - Despite his size, sadly, he's quite fragile.Wait for inputClose Message"* TENNA - Despite his size, sadly, he's quite fragile./%", "obj_tenna_enemy_slash_Step_0_gml_446_0" );
|
|
737
|
else if (global.chararmor1[1] == 21 || global.chararmor2[1] == 21 || global.chararmor1[2] == 21 || global.chararmor2[2] == 21 || global.chararmor1[3] == 21 || global.chararmor2[3] == 21)
|
|
738
|
msgsetloc(0, * TENNA - THE [Tragic businesmen] THAT [Died] AT THE [Now] OF THE [Story]Wait for inputClose Message"* TENNA - THE [Tragic businesmen] THAT [Died] AT THE [Now] OF THE [Story]/%", "obj_tenna_enemy_slash_Step_0_gml_449_0" );
|
|
739
|
else
|
|
740
|
msgsetloc(0, * TENNA - Isn't it about time you got a new TV?Wait for inputClose Message"* TENNA - Isn't it about time you&got a new TV?/%", "obj_tenna_enemy_slash_Step_0_gml_450_0" );
|
|
741
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
742
|
}
|
|
743
|
if ((acting == 2 && actcon == 0) || (acting == 3 && actcon == 0) || (acting == 4 && actcon == 0) || (acting == 5 && actcon == 0))
|
|
744
|
{
|
|
745
|
if (acting == 2)
|
|
746
|
strng = stringsetloc(Everyone gets"Everyone gets", "obj_tenna_enemy_slash_Step_0_gml_387_0_b" );
|
|
747
|
if (acting == 3)
|
|
748
|
strng = stringsetloc(You and Susie get"You and Susie get", "obj_tenna_enemy_slash_Step_0_gml_385_0" );
|
|
749
|
if (acting == 4)
|
|
750
|
strng = stringsetloc(You and Ralsei get"You and Ralsei get", "obj_tenna_enemy_slash_Step_0_gml_386_0" );
|
|
751
|
if (acting == 5)
|
|
752
|
strng = stringsetloc(You get"You get", "obj_tenna_enemy_slash_Step_0_gml_384_0" );
|
|
753
|
acting = 5.1;
|
|
754
|
}
|
|
755
|
if (acting == 5.1 && actcon == 0)
|
|
756
|
{
|
|
757
|
var _playminigamestring = "* " + strng + stringsetloc( ready to play...!Wait for inputClose Message" ready to play...!/%", "obj_tenna_enemy_slash_Step_0_gml_393_0" );
|
|
758
|
msgset(0, _playminigamestring + "/%");
|
|
759
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
760
|
actcon = 1;
|
|
761
|
minigameactivated = true;
|
|
762
|
acting = 0;
|
|
763
|
with (obj_tenna_enemy_bg)
|
|
764
|
minigametimecon = 1;
|
|
765
|
}
|
|
766
|
if (acting == 6 && actcon == 0)
|
|
767
|
{
|
|
768
|
var _ilovetvstring = stringsetloc(* You said "I Love TV"!"* You said \"I Love TV\"!", "obj_tenna_enemy_slash_Step_0_gml_502_0" );
|
|
769
|
if (simultotal == 1)
|
|
770
|
{
|
|
771
|
msgset(0, _ilovetvstring + "/%");
|
|
772
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
773
|
acting = 6.1;
|
|
774
|
}
|
|
775
|
else
|
|
776
|
{
|
|
777
|
msgset(0, _ilovetvstring);
|
|
778
|
scr_simultextscr_simultext
function scr_simultext(arg0)
{
__simulorder = 0;
if (arg0 == "kris")
__simulorder = simulorderkri;
if (arg0 == "susie")
__simulorder = simulordersus;
if (arg0 == "ralsei")
__simulorder = simulorderral;
if (arg0 == "noelle")
__simulorder = simulordernoe;
__yoffset = __simulorder * 30;
global.typer = 4;
battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer);
} ("kris");
|
|
779
|
if (simulorderkri == 0)
|
|
780
|
actcon = 20;
|
|
781
|
else
|
|
782
|
actcon = -1;
|
|
783
|
acting = 6.1;
|
|
784
|
}
|
|
785
|
}
|
|
786
|
if (acting == 6.1 && actcon == 0 && !i_ex(obj_writer))
|
|
787
|
{
|
|
788
|
with (obj_tenna_enemy_bg)
|
|
789
|
{
|
|
790
|
addscore += (20 + other.extrapoints);
|
|
791
|
if (global.hp[2] < 1 && global.hp[3] < 1)
|
|
792
|
addscore += 20;
|
|
793
|
}
|
|
794
|
msgsetloc(0, * He couldn't help but give some SCORE!Wait for inputClose Message"* He couldn't help but give some SCORE!/%", "obj_tenna_enemy_slash_Step_0_gml_439_0" );
|
|
795
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
796
|
snd_play(snd_bell_bounce_short);
|
|
797
|
with (obj_actor_tenna)
|
|
798
|
pinkflash = 30;
|
|
799
|
actcon = 1;
|
|
800
|
acting = 0;
|
|
801
|
}
|
|
802
|
if (actingsus == 1 && actconsus == 1)
|
|
803
|
{
|
|
804
|
if (acting != 6.1)
|
|
805
|
{
|
|
806
|
with (obj_tenna_enemy_bg)
|
|
807
|
{
|
|
808
|
addscore += 10;
|
|
809
|
if (global.hp[1] < 1)
|
|
810
|
addscore += 10;
|
|
811
|
}
|
|
812
|
}
|
|
813
|
else
|
|
814
|
{
|
|
815
|
extrapoints += 10;
|
|
816
|
if (global.hp[1] < 1)
|
|
817
|
extrapoints += 10;
|
|
818
|
}
|
|
819
|
var _s_act_string = stringsetloc(* Susie said "I Love TV!""* Susie said \"I Love TV!\"", "obj_tenna_enemy_slash_Step_0_gml_457_0" );
|
|
820
|
if (simultotal == 1)
|
|
821
|
{
|
|
822
|
msgset(0, _s_act_string + "/%");
|
|
823
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
824
|
actconsus = 20;
|
|
825
|
}
|
|
826
|
else
|
|
827
|
{
|
|
828
|
msgset(0, _s_act_string);
|
|
829
|
scr_simultextscr_simultext
function scr_simultext(arg0)
{
__simulorder = 0;
if (arg0 == "kris")
__simulorder = simulorderkri;
if (arg0 == "susie")
__simulorder = simulordersus;
if (arg0 == "ralsei")
__simulorder = simulorderral;
if (arg0 == "noelle")
__simulorder = simulordernoe;
__yoffset = __simulorder * 30;
global.typer = 4;
battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer);
} ("susie");
|
|
830
|
if (simulordersus == 0)
|
|
831
|
actconsus = 20;
|
|
832
|
else
|
|
833
|
actconsus = 0;
|
|
834
|
}
|
|
835
|
}
|
|
836
|
if (actingsus == 2 && actconsus == 1)
|
|
837
|
{
|
|
838
|
bet = true;
|
|
839
|
obj_herosusie.x -= 8;
|
|
840
|
obj_herosusie.y -= 6;
|
|
841
|
scr_act_charspritescr_act_charsprite
function scr_act_charsprite(arg0, arg1, arg2, arg3)
{
_charactor = arg0;
_charinstance = obj_herokris;
if (_charactor == "noelle")
{
_charinstance = obj_heronoelle;
_charnum = 4;
}
if (_charactor == "ralsei")
{
_charinstance = obj_heroralsei;
_charnum = 3;
}
if (_charactor == "susie")
{
_charinstance = obj_herosusie;
_charnum = 2;
}
if (_charactor == "kris")
{
_charinstance = obj_herokris;
_charnum = 1;
}
__returnvalue = _charactsprite[_charnum];
if (i_ex(_charinstance))
{
with (_charinstance)
{
image_alpha = 0;
state = 0;
global.faceaction[myself] = 0;
}
_charactsprite[_charnum] = scr_dark_marker(_charinstance.x, _charinstance.y, arg1);
with (_charactsprite[_charnum])
{
depth = 20 - (__view_get(e__VW.YView, 0) / 40);
scr_oflash();
if (arg2 > 0 && arg3 == 0)
scr_animate(0, 0, arg2);
if (arg2 > 0 && arg3 == 1)
image_speed = arg2;
if (arg2 > 0 && arg3 == 2)
scr_animate(0, sprite_get_number(arg1) - 1, arg2);
if (arg2 > 0 && arg3 > 2)
{
scr_animate(0, sprite_get_number(arg1) - 1, arg2);
__animator.delay = arg3;
}
a = scr_afterimage();
a.hspeed = 2.5;
a.depth = depth + 1;
b = scr_afterimage();
b.image_alpha = 0.6;
b.hspeed = 5;
b.depth = depth + 2;
}
__returnvalue = _charactsprite[_charnum];
}
return __returnvalue;
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} ("susie", spr_susie_zoosuit_Card, 1/3, 8);
|
|
842
|
_charinstance.actspriteobject = _charactsprite[_charnum];
|
|
843
|
if (havejeviltail)
|
|
844
|
{
|
|
845
|
betamount = 30;
|
|
846
|
with (obj_tenna_enemy_bg)
|
|
847
|
addscore -= 30;
|
|
848
|
}
|
|
849
|
else
|
|
850
|
{
|
|
851
|
betamount = 20;
|
|
852
|
with (obj_tenna_enemy_bg)
|
|
853
|
addscore -= 20;
|
|
854
|
}
|
|
855
|
if (!havejeviltail)
|
|
856
|
msgsetloc(0, * Susie bet 20 POINTs on no damage!Wait for inputClose Message"* Susie bet 20 POINTs on no damage!/%", "obj_tenna_enemy_slash_Step_0_gml_387_0" );
|
|
857
|
if (havejeviltail)
|
|
858
|
{
|
|
859
|
msgsetloc(0, * JOKER's bet! 30 pts on NO DAMAGE!!Wait for inputClose Message"* JOKER's bet! 30 pts on NO DAMAGE!!/%", "obj_tenna_enemy_slash_Step_0_gml_390_0" );
|
|
860
|
snd_play(snd_joker_laugh0);
|
|
861
|
}
|
|
862
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
863
|
actingsus = 2.1;
|
|
864
|
}
|
|
865
|
if (actingsus == 2.1 && !i_ex(obj_writer))
|
|
866
|
{
|
|
867
|
scr_act_charsprite_endscr_act_charsprite_end
function scr_act_charsprite_end()
{
for (i = 0; i < 10; i++)
{
with (_charactsprite[i])
instance_destroy();
}
with (obj_heroparent)
{
if (image_alpha == 0)
{
image_alpha = 1;
acttimer = 0;
state = 0;
global.faceaction[myself] = 0;
}
}
} ();
|
|
868
|
obj_herosusie.x += 8;
|
|
869
|
obj_herosusie.y += 6;
|
|
870
|
scr_battle_sprite_resetscr_battle_sprite_reset
function scr_battle_sprite_reset(arg0)
{
_charactor = arg0;
_charinstance = obj_herokris;
if (_charactor == "noelle")
{
_charinstance = obj_heronoelle;
_charnum = 4;
}
if (_charactor == "ralsei")
{
_charinstance = obj_heroralsei;
_charnum = 3;
}
if (_charactor == "susie")
{
_charinstance = obj_herosusie;
_charnum = 2;
}
if (_charactor == "kris")
{
_charinstance = obj_herokris;
_charnum = 1;
}
if (instance_exists(_charinstance))
{
with (_charinstance)
{
state = 0;
hurt = 0;
attacktimer = 0;
attacked = 0;
maxframes = 0;
global.faceaction[myself] = 0;
}
}
} ("susie");
|
|
871
|
actingsus = 2.2;
|
|
872
|
actcon = 1;
|
|
873
|
actconsus = 0;
|
|
874
|
}
|
|
875
|
if (actingral == 1 && actconral == 1)
|
|
876
|
{
|
|
877
|
if (acting != 6.1)
|
|
878
|
{
|
|
879
|
with (obj_tenna_enemy_bg)
|
|
880
|
{
|
|
881
|
addscore += 10;
|
|
882
|
if (global.hp[1] < 1)
|
|
883
|
addscore += 10;
|
|
884
|
}
|
|
885
|
}
|
|
886
|
else
|
|
887
|
{
|
|
888
|
extrapoints += 10;
|
|
889
|
if (global.hp[1] < 1)
|
|
890
|
extrapoints += 10;
|
|
891
|
}
|
|
892
|
var _r_act_string = stringsetloc(* Ralsei said "I Love TV!""* Ralsei said \"I Love TV!\"", "obj_tenna_enemy_slash_Step_0_gml_517_0" );
|
|
893
|
if (simultotal == 1)
|
|
894
|
{
|
|
895
|
msgset(0, _r_act_string + "/%");
|
|
896
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
897
|
actconral = 20;
|
|
898
|
}
|
|
899
|
else
|
|
900
|
{
|
|
901
|
msgset(0, _r_act_string);
|
|
902
|
scr_simultextscr_simultext
function scr_simultext(arg0)
{
__simulorder = 0;
if (arg0 == "kris")
__simulorder = simulorderkri;
if (arg0 == "susie")
__simulorder = simulordersus;
if (arg0 == "ralsei")
__simulorder = simulorderral;
if (arg0 == "noelle")
__simulorder = simulordernoe;
__yoffset = __simulorder * 30;
global.typer = 4;
battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer);
} ("ralsei");
|
|
903
|
if (simulorderral == 0)
|
|
904
|
actconral = 20;
|
|
905
|
else
|
|
906
|
actconral = 0;
|
|
907
|
}
|
|
908
|
}
|
|
909
|
if (actingral == 2 && actconral == 1)
|
|
910
|
{
|
|
911
|
popularboy = true;
|
|
912
|
saveralseihp = global.hp[3];
|
|
913
|
instance_create(x, y, obj_popularboy_act);
|
|
914
|
snd_play(snd_drumroll);
|
|
915
|
if (global.actsimulral[myself][1] == 0)
|
|
916
|
{
|
|
917
|
actingral = 2.1;
|
|
918
|
}
|
|
919
|
else
|
|
920
|
{
|
|
921
|
if (simulorderral == 0)
|
|
922
|
actconral = 20;
|
|
923
|
else
|
|
924
|
actconral = 0;
|
|
925
|
actingral = 2.3;
|
|
926
|
msgsetloc(0, * Ralsei's HP linked to points!Wait for inputClose Message"* Ralsei's HP linked to points!/%", "obj_tenna_enemy_slash_Step_0_gml_602_0" );
|
|
927
|
scr_simultextscr_simultext
function scr_simultext(arg0)
{
__simulorder = 0;
if (arg0 == "kris")
__simulorder = simulorderkri;
if (arg0 == "susie")
__simulorder = simulordersus;
if (arg0 == "ralsei")
__simulorder = simulorderral;
if (arg0 == "noelle")
__simulorder = simulordernoe;
__yoffset = __simulorder * 30;
global.typer = 4;
battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer);
} ("ralsei");
|
|
928
|
}
|
|
929
|
}
|
|
930
|
if (actingral == 2.1 && !i_ex(obj_popularboy_act))
|
|
931
|
{
|
|
932
|
if (global.actsimulral[myself][1] == 0)
|
|
933
|
{
|
|
934
|
actingral = 2.2;
|
|
935
|
msgsetloc(0, * Ralsei became the center of attention!Wait for inputClose Message"* Ralsei became the center of attention!/%", "obj_tenna_enemy_slash_Step_0_gml_612_0" );
|
|
936
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
937
|
}
|
|
938
|
}
|
|
939
|
if (actingral == 2.2 && !i_ex(obj_writer))
|
|
940
|
{
|
|
941
|
snd_play(snd_bump);
|
|
942
|
with (ralseiplushmarker)
|
|
943
|
scr_shakeobjscr_shakeobj
function scr_shakeobj()
{
var _shakeobj = instance_create(x, y, obj_shakeobj);
_shakeobj.target = id;
if (argument_count >= 1)
{
if (i_ex(argument0))
_shakeobj.target = argument0;
}
if (argument_count >= 2)
{
if (argument1 != -1)
_shakeobj.shakeamt = argument1;
}
if (argument_count >= 3)
{
if (argument2 != -1)
_shakeobj.shakereduct = argument2;
}
with (_shakeobj)
event_user(0);
} ();
|
|
944
|
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;
... ("ralsei");
|
|
945
|
msgsetloc(0, Face U* Wh... why me!?Wait for input"\\EU* Wh... why me!?/", "obj_tenna_enemy_slash_Step_0_gml_623_0" );
|
|
946
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("no_name", 0);
|
|
947
|
msgnextloc(Face X* Any change to Ralsei's HP will give you points!Wait for inputClose Message"\\EX* Any change to Ralsei's HP will give you points!/%", "obj_tenna_enemy_slash_Step_0_gml_625_0" );
|
|
948
|
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
} ();
|
|
949
|
actingral = 2.3;
|
|
950
|
actcon = 1;
|
|
951
|
actconral = 0;
|
|
952
|
global.actsimulral[myself][1] = 1;
|
|
953
|
}
|
|
954
|
if (actcon == 20 || actconsus == 20 || actconral == 20)
|
|
955
|
{
|
|
956
|
if (scr_terminate_writerscr_terminate_writer
function scr_terminate_writer()
{
__writerkilled = 0;
__writerkillable = 0;
__writerended = 0;
if (instance_exists(obj_writer))
{
obj_writer.__endcheckid = id;
with (obj_writer)
{
if (reachedend == 1)
{
with (__endcheckid)
__writerended++;
}
}
if (__writerended == instance_number(obj_writer))
__writerkillable = 1;
}
else
{
__writerkilled = 1;
}
if (button1_p() && __writerkillable == 1)
{
with (obj_writer)
instance_destroy();
__writerkilled = 1;
}
return __writerkilled;
} () && obj_tenna_enemy_bg.addscore == 0)
|
|
957
|
{
|
|
958
|
actconsus = -1;
|
|
959
|
actconral = -1;
|
|
960
|
actcon = 1;
|
|
961
|
with (obj_face)
|
|
962
|
instance_destroy();
|
|
963
|
if (acting == 6.1)
|
|
964
|
actcon = 0;
|
|
965
|
}
|
|
966
|
}
|
|
967
|
if (actcon == 1 && !instance_exists(obj_writer) && obj_tenna_enemy_bg.addscore == 0)
|
|
968
|
{
|
|
969
|
with (obj_face)
|
|
970
|
instance_destroy();
|
|
971
|
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();
}
} ();
|
|
972
|
}
|
|
973
|
}
|
|
974
|
if (state == 3)
|
|
975
|
{
|
|
976
|
hurttimer -= 1;
|
|
977
|
if (hurttimer < 0)
|
|
978
|
{
|
|
979
|
state = 0;
|
|
980
|
tenna_actor.x = camerax() + 526;
|
|
981
|
tenna_actor.y = cameray() + 260;
|
|
982
|
}
|
|
983
|
else
|
|
984
|
{
|
|
985
|
if (global.monster[myself] == 0)
|
|
986
|
scr_defeatrunscr_defeatrun
function scr_defeatrun()
{
if (global.chapter == 3 && i_ex(obj_tennabattleconvo_controller))
obj_tennabattleconvo_controller.enemydefeated = true;
var __frozen;
if (object_is_ancestor(object_index, obj_monsterparent))
{
__frozen = 0;
if (global.flag[51 + myself] == 6)
__frozen = 1;
if (__frozen == 1)
{
_rtext = instance_create(global.monsterx[myself], global.monstery[myself] - 40, obj_recruitanim);
_rtext.image_index = 12;
if (recruitable == 1)
global.flag[global.monstertype[myself] + 600] = -1;
global.flag[63 violenced_last] = 1;
}
if (recruitable == 1 && global.flag[61 disable_recruiting] == 0 && __frozen == 0)
{
global.flag[63 violenced_last] = 1;
if (global.flag[global.monstertype[myself] + 600] != -1)
{
global.flag[global.monstertype[myself] + 600] = -1;
_rtext = instance_create(global.monsterx[myself], global.monstery[myself] - 40, obj_recruitanim);
_rtext.image_index = 7;
}
}
}
else
{
fatal = 0;
}
if (!__frozen)
{
if (fatal == 1)
defeatanim = instance_create(x, y, obj_deathanim);
else
defeatanim = instance_create(x, y, obj_defeatanim);
}
else if (__frozen)
{
defeatanim = instance_create(x, y, obj_frozennpc);
defeatanim.depth = depth;
defeatanim.inbattle = 1;
}
defeatanim.sprite_index = sprite_index;
defeatanim.sprite_index = hurtsprite;
defeatanim.image_index = 0;
defeatanim.image_xscale = image_xscale;
defeatanim.image_yscale = image_yscale;
instance_destroy();
} ();
|
|
987
|
hurtshake += 1;
|
|
988
|
if (hurtshake > 1)
|
|
989
|
{
|
|
990
|
if (shakex > 0)
|
|
991
|
shakex -= 1;
|
|
992
|
if (shakex < 0)
|
|
993
|
shakex += 1;
|
|
994
|
shakex = -shakex;
|
|
995
|
hurtshake = 0;
|
|
996
|
}
|
|
997
|
}
|
|
998
|
}
|
|
999
|
if (extrapointsviatension >= 2.5)
|
|
1000
|
{
|
|
1001
|
extrapointsviatension -= 2.5;
|
|
1002
|
points++;
|
|
1003
|
}
|
|
1004
|
if (lancerspin == true)
|
|
1005
|
{
|
|
1006
|
lancerindex++;
|
|
1007
|
if (lancerindex == 10)
|
|
1008
|
lancerindex = 2;
|
|
1009
|
if (lancerindex == 2)
|
|
1010
|
lancermarker.sprite_index = spr_lancer_ut;
|
|
1011
|
if (lancerindex == 4)
|
|
1012
|
lancermarker.sprite_index = spr_lancer_rt;
|
|
1013
|
if (lancerindex == 6)
|
|
1014
|
lancermarker.sprite_index = spr_lancer_dt;
|
|
1015
|
if (lancerindex == 8)
|
|
1016
|
lancermarker.sprite_index = spr_lancer_lt;
|
|
1017
|
}
|
|
1018
|
if (lancercheat == true && i_ex(obj_tenna_enemy_bg) && obj_tenna_enemy_bg.myscore < lancercheatpoints)
|
|
1019
|
obj_tenna_enemy_bg.myscore = lancercheatpoints;
|
|
1020
|
if (minigametransition_con == 1)
|
|
1021
|
{
|
|
1022
|
minigametransition_timer++;
|
|
1023
|
if (minigametransition_timer == 1)
|
|
1024
|
{
|
|
1025
|
tenna_actor.vspeed = -18;
|
|
1026
|
tenna_actor.hspeed = -10.5;
|
|
1027
|
tenna_actor.gravity = 2;
|
|
1028
|
tenna_actor.sprite_index = spr_tenna_attack;
|
|
1029
|
snd_play(snd_jump);
|
|
1030
|
with (obj_tenna_enemy_bg)
|
|
1031
|
{
|
|
1032
|
speedup = 0;
|
|
1033
|
slowdown = 1;
|
|
1034
|
}
|
|
1035
|
}
|
|
1036
|
if (tenna_actor.y > tenna_actor.ystart && tenna_actor.vspeed > 0)
|
|
1037
|
{
|
|
1038
|
tenna_actor.y = tenna_actor.ystart;
|
|
1039
|
tenna_actor.sprite_index = spr_tenna_grasp;
|
|
1040
|
tenna_actor._static = true;
|
|
1041
|
tenna_actor.vspeed = 0;
|
|
1042
|
tenna_actor.hspeed = 0;
|
|
1043
|
tenna_actor.gravity = 0;
|
|
1044
|
tenna_actor.x = camerax() + 320;
|
|
1045
|
tenna_actor.y = cameray() + 254;
|
|
1046
|
snd_play(snd_impact);
|
|
1047
|
scr_shakescreenscr_shakescreen
function scr_shakescreen()
{
instance_create(x, y, obj_shake);
} ();
|
|
1048
|
minigametransition_con = 1.5;
|
|
1049
|
minigametransition_timer = 0;
|
|
1050
|
}
|
|
1051
|
}
|
|
1052
|
if (minigametransition_con == 1.5)
|
|
1053
|
{
|
|
1054
|
minigametransition_timer++;
|
|
1055
|
if (minigametransition_timer == 1)
|
|
1056
|
{
|
|
1057
|
tenna_zoom = instance_create(tenna_actor.x, tenna_actor.y - 154, obj_tenna_zoom);
|
|
1058
|
tenna_zoom.minigametype = minigametype;
|
|
1059
|
tenna_zoom.minigamedifficulty = difficulty;
|
|
1060
|
tenna_zoom.minigametype2 = minigametype2;
|
|
1061
|
tenna_zoom.minigamedifficulty2 = difficulty2;
|
|
1062
|
tenna_zoom.minigametype3 = minigametype3;
|
|
1063
|
tenna_zoom.minigamedifficulty3 = difficulty3;
|
|
1064
|
tenna_actor.x = -9999;
|
|
1065
|
tenna_actor.y = -9999;
|
|
1066
|
minigamefailcountprev = 0;
|
|
1067
|
minigamefailcount = 0;
|
|
1068
|
}
|
|
1069
|
if (minigametransition_timer == 15)
|
|
1070
|
{
|
|
1071
|
minigametransition_con = 2;
|
|
1072
|
minigametransition_timer = 0;
|
|
1073
|
}
|
|
1074
|
}
|
|
1075
|
if (minigametransition_con == 3)
|
|
1076
|
{
|
|
1077
|
minigametransition_timer++;
|
|
1078
|
if (minigametransition_timer == 1)
|
|
1079
|
{
|
|
1080
|
tenna_actor.vspeed = -18;
|
|
1081
|
tenna_actor.hspeed = 10.5;
|
|
1082
|
tenna_actor.gravity = 2;
|
|
1083
|
tenna_actor.sprite_index = spr_tenna_attack;
|
|
1084
|
tenna_actor.image_xscale = -2;
|
|
1085
|
snd_play(snd_jump);
|
|
1086
|
if (minigamefailcount > 0)
|
|
1087
|
minigamefailcon = 1;
|
|
1088
|
else if (global.turntimer > 1)
|
|
1089
|
global.turntimer = 1;
|
|
1090
|
with (obj_tenna_enemy_bg)
|
|
1091
|
{
|
|
1092
|
speedup = 1;
|
|
1093
|
slowdown = 0;
|
|
1094
|
}
|
|
1095
|
}
|
|
1096
|
if (tenna_actor.y > tenna_actor.ystart && tenna_actor.vspeed > 0)
|
|
1097
|
{
|
|
1098
|
tenna_actor.sprite_index = spr_tenna_point_up;
|
|
1099
|
tenna_actor.vspeed = 0;
|
|
1100
|
tenna_actor.hspeed = 0;
|
|
1101
|
tenna_actor.gravity = 0;
|
|
1102
|
tenna_actor.image_xscale = 2;
|
|
1103
|
tenna_actor.x = tenna_actor.xstart;
|
|
1104
|
tenna_actor.y = tenna_actor.ystart;
|
|
1105
|
snd_play(snd_impact);
|
|
1106
|
scr_shakescreenscr_shakescreen
function scr_shakescreen()
{
instance_create(x, y, obj_shake);
} ();
|
|
1107
|
minigametransition_con = 0;
|
|
1108
|
minigametransition_timer = 0;
|
|
1109
|
}
|
|
1110
|
with (obj_vfx_twinkle)
|
|
1111
|
instance_destroy();
|
|
1112
|
with (obj_flickerdie)
|
|
1113
|
instance_destroy();
|
|
1114
|
with (obj_ch3_b4_chef_fire)
|
|
1115
|
instance_destroy();
|
|
1116
|
}
|
|
1117
|
if (minigamefailcount > 3)
|
|
1118
|
minigamefailcount = 3;
|
|
1119
|
if (minigamefailcon == 1)
|
|
1120
|
{
|
|
1121
|
if (minigamefailcount > 0 && (minigamefailtimer == 0 || minigamefailtimer == 15 || minigamefailtimer == 30))
|
|
1122
|
{
|
|
1123
|
minigamefailcount--;
|
|
1124
|
target = mytarget;
|
|
1125
|
totalfails++;
|
|
1126
|
if (totalfails == 1)
|
|
1127
|
damage = 56;
|
|
1128
|
if (totalfails == 2)
|
|
1129
|
damage = 26;
|
|
1130
|
if (totalfails > 2)
|
|
1131
|
damage = 18;
|
|
1132
|
snd_play(snd_damage);
|
|
1133
|
global.inv = -1;
|
|
1134
|
if (obj_tenna_enemy.popularboy && global.hp[3] > 0)
|
|
1135
|
{
|
|
1136
|
target = 2;
|
|
1137
|
damage *= 2;
|
|
1138
|
scr_damagescr_damage
function scr_damage()
{
if (global.inv < 0)
{
scr_damage_cache();
if (global.chapter == 3)
{
with (obj_tennabattleconvo_controller)
{
damagecount++;
damagecountthisturn++;
}
with (obj_tenna_enemy)
gothit = true;
with (obj_knight_enemy)
progamer = false;
}
var __element = 0;
if (variable_instance_exists(id, "element"))
{
if (is_real(element))
__element = element;
}
if (target < 3)
{
if (global.hp[global.char[target]] <= 0)
{
scr_randomtarget_old();
target = mytarget;
with (global.charinstance[target])
{
image_blend = c_white;
darkify = 0;
}
}
}
var __remtarget = -1;
if (target == 4)
{
__remtarget = 4;
scr_randomtarget_old();
target = mytarget;
if ((global.hp[global.char[target]] / global.maxhp[global.char[target]]) < (scr_party_hpaverage() / 2))
{
scr_randomtarget_old();
target = mytarget;
}
if ((global.hp[global.char[target]] / global.maxhp[global.char[target]]) < (scr_party_hpaverage() / 2))
{
scr_randomtarget_old();
target = mytarget;
}
if (target == 0 && (global.hp[global.char[target]] / global.maxhp[global.char[target]]) < 0.35)
{
scr_randomtarget_old();
target = mytarget;
}
with (global.charinstance[target])
{
image_blend = c_white;
darkify = 0;
}
}
var truedamage = 0;
if ((global.chapter == 3 && i_ex(obj_tenna_enemy) && obj_tenna_enemy.minigameinsanity) || i_ex(obj_knight_roaring2))
truedamage = 1;
chartarget = 3;
if (global.chapter == 3 && i_ex(obj_knight_enemy) && truedamage == 0)
{
if (obj_knight_enemy.aoedamage == false)
{
if (target == 0)
{
if (global.hp[2] > 0 && global.hp[3] > 0)
target = choose(1, 2);
else if (global.hp[2] > 0)
target = 1;
else if (global.hp[3] > 0)
target = 2;
}
if (obj_knight_enemy.myattackchoice != 13)
{
if (global.chararmor1[1] == 23 || global.chararmor2[1] == 23 || global.chararmor1[2] == 23 || global.chararmor2[2] == 23 || global.chararmor1[3] == 23 || global.chararmor2[3] == 23)
{
obj_knight_enemy.damagecounter++;
if (obj_knight_enemy.damagecounter < 3)
{
if (global.hp[1] > 0 && (global.chararmor1[1] == 23 || global.chararmor2[1] == 23))
target = 0;
if (global.hp[2] > 0 && (global.chararmor1[2] == 23 || global.chararmor2[2] == 23))
target = 1;
if (global.hp[3] > 0 && (global.chararmor1[3] == 23 || global.chararmor2[3] == 23))
target = 2;
}
else
{
target = choose(0, 1, 2);
repeat (2)
{
if (global.hp[1] < 1 && target == 0)
target++;
... ();
|
|
1139
|
with (obj_heroralsei)
|
|
1140
|
instance_create(x + 30, y + 50, obj_tenna_x_hurt);
|
|
1141
|
}
|
|
1142
|
else
|
|
1143
|
{
|
|
1144
|
scr_damage_allscr_damage_all
function scr_damage_all()
{
if (global.inv < 0)
{
remdamage = damage;
_temptarget = target;
for (ti = 0; ti < 3; ti += 1)
{
global.inv = -1;
damage = remdamage;
target = ti;
if (global.hp[global.char[ti]] > 0 && global.char[ti] != 0)
scr_damage();
}
global.inv = global.invc * 30;
target = _temptarget;
}
} ();
|
|
1145
|
if (global.hp[1] > 0)
|
|
1146
|
{
|
|
1147
|
with (obj_herokris)
|
|
1148
|
instance_create(x + 30, y + 50, obj_tenna_x_hurt);
|
|
1149
|
}
|
|
1150
|
if (global.hp[2] > 0)
|
|
1151
|
{
|
|
1152
|
with (obj_herosusie)
|
|
1153
|
instance_create(x + 30, y + 50, obj_tenna_x_hurt);
|
|
1154
|
}
|
|
1155
|
if (global.hp[3] > 0)
|
|
1156
|
{
|
|
1157
|
with (obj_heroralsei)
|
|
1158
|
instance_create(x + 30, y + 50, obj_tenna_x_hurt);
|
|
1159
|
}
|
|
1160
|
}
|
|
1161
|
global.inv = -1;
|
|
1162
|
}
|
|
1163
|
minigamefailtimer++;
|
|
1164
|
if (minigamefailcount == 0)
|
|
1165
|
{
|
|
1166
|
minigamefailtimer2++;
|
|
1167
|
if (minigamefailtimer2 == 5)
|
|
1168
|
{
|
|
1169
|
with (obj_dmgwriter)
|
|
1170
|
killactive = 1;
|
|
1171
|
}
|
|
1172
|
if (minigamefailtimer2 == 15)
|
|
1173
|
{
|
|
1174
|
minigamefailtimer = 0;
|
|
1175
|
minigamefailtimer2 = 0;
|
|
1176
|
minigamefailcon = 0;
|
|
1177
|
if (global.turntimer > 1)
|
|
1178
|
global.turntimer = 1;
|
|
1179
|
}
|
|
1180
|
}
|
|
1181
|
}
|
|
1182
|
if (minigamefailcount > 0 && global.turntimer < 4)
|
|
1183
|
global.turntimer = 4;
|
|
1184
|
if (minigamefailcount > minigamefailcountprev && minigameinsanity)
|
|
1185
|
{
|
|
1186
|
minigameinsanitydamage = true;
|
|
1187
|
for (ti = 0; ti < 3; ti += 1)
|
|
1188
|
{
|
|
1189
|
global.inv = -1;
|
|
1190
|
damage = ceil(global.hp[global.char[ti]] / 8);
|
|
1191
|
if (damage < 4)
|
|
1192
|
damage = 4;
|
|
1193
|
target = ti;
|
|
1194
|
if (global.hp[global.char[ti]] > 0 && global.char[ti] != 0)
|
|
1195
|
{
|
|
1196
|
scr_damagescr_damage
function scr_damage()
{
if (global.inv < 0)
{
scr_damage_cache();
if (global.chapter == 3)
{
with (obj_tennabattleconvo_controller)
{
damagecount++;
damagecountthisturn++;
}
with (obj_tenna_enemy)
gothit = true;
with (obj_knight_enemy)
progamer = false;
}
var __element = 0;
if (variable_instance_exists(id, "element"))
{
if (is_real(element))
__element = element;
}
if (target < 3)
{
if (global.hp[global.char[target]] <= 0)
{
scr_randomtarget_old();
target = mytarget;
with (global.charinstance[target])
{
image_blend = c_white;
darkify = 0;
}
}
}
var __remtarget = -1;
if (target == 4)
{
__remtarget = 4;
scr_randomtarget_old();
target = mytarget;
if ((global.hp[global.char[target]] / global.maxhp[global.char[target]]) < (scr_party_hpaverage() / 2))
{
scr_randomtarget_old();
target = mytarget;
}
if ((global.hp[global.char[target]] / global.maxhp[global.char[target]]) < (scr_party_hpaverage() / 2))
{
scr_randomtarget_old();
target = mytarget;
}
if (target == 0 && (global.hp[global.char[target]] / global.maxhp[global.char[target]]) < 0.35)
{
scr_randomtarget_old();
target = mytarget;
}
with (global.charinstance[target])
{
image_blend = c_white;
darkify = 0;
}
}
var truedamage = 0;
if ((global.chapter == 3 && i_ex(obj_tenna_enemy) && obj_tenna_enemy.minigameinsanity) || i_ex(obj_knight_roaring2))
truedamage = 1;
chartarget = 3;
if (global.chapter == 3 && i_ex(obj_knight_enemy) && truedamage == 0)
{
if (obj_knight_enemy.aoedamage == false)
{
if (target == 0)
{
if (global.hp[2] > 0 && global.hp[3] > 0)
target = choose(1, 2);
else if (global.hp[2] > 0)
target = 1;
else if (global.hp[3] > 0)
target = 2;
}
if (obj_knight_enemy.myattackchoice != 13)
{
if (global.chararmor1[1] == 23 || global.chararmor2[1] == 23 || global.chararmor1[2] == 23 || global.chararmor2[2] == 23 || global.chararmor1[3] == 23 || global.chararmor2[3] == 23)
{
obj_knight_enemy.damagecounter++;
if (obj_knight_enemy.damagecounter < 3)
{
if (global.hp[1] > 0 && (global.chararmor1[1] == 23 || global.chararmor2[1] == 23))
target = 0;
if (global.hp[2] > 0 && (global.chararmor1[2] == 23 || global.chararmor2[2] == 23))
target = 1;
if (global.hp[3] > 0 && (global.chararmor1[3] == 23 || global.chararmor2[3] == 23))
target = 2;
}
else
{
target = choose(0, 1, 2);
repeat (2)
{
if (global.hp[1] < 1 && target == 0)
target++;
... ();
|
|
1197
|
if (i_ex(dmgwriter))
|
|
1198
|
{
|
|
1199
|
if (ti == 0)
|
|
1200
|
dmgwriter.x -= 70;
|
|
1201
|
if (ti == 1)
|
|
1202
|
dmgwriter.x += 170;
|
|
1203
|
if (ti == 2)
|
|
1204
|
dmgwriter.x += 420;
|
|
1205
|
dmgwriter.y = 340;
|
|
1206
|
dmgwriter.ystart = 340;
|
|
1207
|
dmgwriter.depth = -999999999;
|
|
1208
|
}
|
|
1209
|
}
|
|
1210
|
if (phaseturn == 18 && i_ex(dmgwriter))
|
|
1211
|
{
|
|
1212
|
if (ti == 1)
|
|
1213
|
dmgwriter.x += 20;
|
|
1214
|
dmgwriter.ystart = 280;
|
|
1215
|
}
|
|
1216
|
}
|
|
1217
|
global.inv = global.invc * 30;
|
|
1218
|
target = 3;
|
|
1219
|
minigamefailcount = 0;
|
|
1220
|
minigameinsanitydamage = false;
|
|
1221
|
}
|
|
1222
|
minigamefailcountprev = minigamefailcount;
|
|
1223
|
|
|
1224
|
enum e__VW
|
|
1225
|
{
|
|
1226
|
XView,
|
|
1227
|
YView,
|
|
1228
|
WView,
|
|
1229
|
HView,
|
|
1230
|
Angle,
|
|
1231
|
HBorder,
|
|
1232
|
VBorder,
|
|
1233
|
HSpeed,
|
|
1234
|
VSpeed,
|
|
1235
|
Object,
|
|
1236
|
Visible,
|
|
1237
|
XPort,
|
|
1238
|
YPort,
|
|
1239
|
WPort,
|
|
1240
|
HPort,
|
|
1241
|
Camera,
|
|
1242
|
SurfaceID
|
|
1243
|
}
|