|
1
|
if (maus_action == 0 && !console_version)
|
|
2
|
{
|
|
3
|
if (obj_mainchara.y < 364)
|
|
4
|
maus_action = 1;
|
|
5
|
}
|
|
6
|
if (console_version)
|
|
7
|
{
|
|
8
|
with (obj_mike_controller)
|
|
9
|
__usable = i_ex(obj_mike_minigame_controller);
|
|
10
|
}
|
|
11
|
if (maus_action == 1)
|
|
12
|
{
|
|
13
|
cutscene_master = scr_cutscene_makescr_cutscene_make
function scr_cutscene_make()
{
_cutscene_master = instance_create(0, 0, obj_cutscene_master);
_cutscene_master.master_object = id;
return _cutscene_master;
} ();
|
|
14
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (id, "maus_transform", true);
|
|
15
|
c_wait_ifc_wait_if
function c_wait_if(arg0, arg1, arg2, arg3)
{
c_cmd("waitif", arg0, arg1, arg2, arg3);
} (id, "maus_transform", "=", false);
|
|
16
|
c_customfuncc_customfunc
function c_customfunc(arg0, arg1 = -1)
{
if (instance_exists(obj_cutscene_master))
{
with (obj_cutscene_master)
array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
}
}
function c_delay_customfunc(arg0, arg1, arg2 = -1)
{
if (instance_exists(obj_cutscene_master))
c_cmd_x("delaycmd", arg0, "customfunc", arg2, arg1, 0, 0);
} (function()
|
|
17
|
{
|
|
18
|
mike_controller = instance_create(0, 0, obj_mike_controller);
|
|
19
|
mike_controller.hand_wait = 15;
|
|
20
|
with (obj_mike_hand)
|
|
21
|
{
|
|
22
|
visible = 0;
|
|
23
|
hand_wait = 15;
|
|
24
|
}
|
|
25
|
});
|
|
26
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (5);
|
|
27
|
c_customfuncc_customfunc
function c_customfunc(arg0, arg1 = -1)
{
if (instance_exists(obj_cutscene_master))
{
with (obj_cutscene_master)
array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
}
}
function c_delay_customfunc(arg0, arg1, arg2 = -1)
{
if (instance_exists(obj_cutscene_master))
c_cmd_x("delaycmd", arg0, "customfunc", arg2, arg1, 0, 0);
} (function()
|
|
28
|
{
|
|
29
|
var hand_x = 0;
|
|
30
|
var hand_y = 0;
|
|
31
|
var angle = 0;
|
|
32
|
with (obj_mike_controller)
|
|
33
|
{
|
|
34
|
angle = point_direction(mx, my, x, y) + 90 + hand_angle;
|
|
35
|
hand_x = mx + msx;
|
|
36
|
hand_y = my + msy;
|
|
37
|
}
|
|
38
|
with (hand_marker)
|
|
39
|
{
|
|
40
|
scr_move_to_point_over_timescr_move_to_point_over_time
function scr_move_to_point_over_time(arg0, arg1, arg2)
{
_mmm = instance_create(x, y, obj_move_to_point);
_mmm.target = id;
_mmm.movex = arg0;
_mmm.movey = arg1;
_mmm.movemax = arg2;
return _mmm;
} (hand_x, hand_y, 10);
|
|
41
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("image_angle", 0, angle, 10);
|
|
42
|
}
|
|
43
|
});
|
|
44
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (10);
|
|
45
|
c_customfuncc_customfunc
function c_customfunc(arg0, arg1 = -1)
{
if (instance_exists(obj_cutscene_master))
{
with (obj_cutscene_master)
array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
}
}
function c_delay_customfunc(arg0, arg1, arg2 = -1)
{
if (instance_exists(obj_cutscene_master))
c_cmd_x("delaycmd", arg0, "customfunc", arg2, arg1, 0, 0);
} (function()
|
|
46
|
{
|
|
47
|
with (obj_mike_hand)
|
|
48
|
visible = 1;
|
|
49
|
with (hand_marker)
|
|
50
|
visible = 0;
|
|
51
|
});
|
|
52
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
53
|
maus_action = 2;
|
|
54
|
}
|
|
55
|
if (maus_transform)
|
|
56
|
{
|
|
57
|
maus_transform_timer++;
|
|
58
|
if (maus_transform_timer == 1)
|
|
59
|
{
|
|
60
|
maus_flash = instance_create(maus_marker.x, maus_marker.y, obj_whiteout);
|
|
61
|
var _target = maus_marker;
|
|
62
|
with (maus_flash)
|
|
63
|
start_whiteout(4, _target, true);
|
|
64
|
hand_marker = scr_markerscr_marker
function scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (maus_marker.x, maus_marker.y, spr_mike_hand);
|
|
65
|
with (hand_marker)
|
|
66
|
{
|
|
67
|
image_xscale = 0;
|
|
68
|
image_yscale = 0;
|
|
69
|
}
|
|
70
|
hand_flash = instance_create(hand_marker.x, hand_marker.y, obj_whiteout);
|
|
71
|
_target = hand_marker;
|
|
72
|
with (hand_flash)
|
|
73
|
start_whiteout(4, _target, true);
|
|
74
|
}
|
|
75
|
if (maus_transform_timer == 6)
|
|
76
|
{
|
|
77
|
snd_play(snd_hypnosis);
|
|
78
|
scr_lerp_var_instance(hand_marker, "image_xscale", 0, 0.5, 4);
|
|
79
|
scr_lerp_var_instance(hand_marker, "image_yscale", 0, 0.5, 4);
|
|
80
|
scr_lerp_var_instance(maus_marker, "image_xscale", 2, 0, 4);
|
|
81
|
scr_lerp_var_instance(maus_marker, "image_yscale", 2, 0, 4);
|
|
82
|
}
|
|
83
|
if (maus_transform_timer == 11)
|
|
84
|
{
|
|
85
|
with (hand_flash)
|
|
86
|
stop_whiteout(4);
|
|
87
|
with (maus_flash)
|
|
88
|
stop_whiteout(4);
|
|
89
|
}
|
|
90
|
if (maus_transform_timer == 15)
|
|
91
|
{
|
|
92
|
maus_transform = false;
|
|
93
|
maus_transform_timer = 0;
|
|
94
|
}
|
|
95
|
}
|
|
96
|
if (instance_number(obj_mike_minigame_controller) > 0)
|
|
97
|
{
|
|
98
|
var minigame_end = false;
|
|
99
|
with (obj_mike_minigame_controller)
|
|
100
|
{
|
|
101
|
if (finished)
|
|
102
|
{
|
|
103
|
minigame_end = true;
|
|
104
|
scr_endcombatscr_endcombat
function scr_endcombat()
{
global.fighting = 0;
if (global.specialbattle == 0 || global.specialbattle == 2 || global.specialbattle == 3)
{
if (global.specialbattle == 2)
{
with (obj_mainchara)
{
cutscene = 1;
x = global.charinstance[0].x;
y = global.charinstance[0].y;
}
with (global.cinstance[0])
{
x = global.charinstance[1].x;
y = global.charinstance[1].y;
}
with (global.cinstance[1])
{
x = global.charinstance[2].x;
y = global.charinstance[2].y;
}
with (obj_caterpillarchara)
scr_caterpillar_interpolate();
scr_pan_to_obj(obj_mainchara, 30);
with (obj_mainchara)
visible = 1;
with (obj_caterpillarchara)
visible = 1;
}
instance_create(0, 0, obj_endbattle);
with (obj_monsterparent)
instance_destroy();
with (obj_bulletparent)
instance_destroy();
with (obj_heroparent)
instance_destroy();
global.charinstance[0] = obj_mainchara;
global.charinstance[1] = global.cinstance[0];
global.charinstance[2] = global.cinstance[1];
instance_destroy();
}
} ();
|
|
105
|
}
|
|
106
|
}
|
|
107
|
if (minigame_end)
|
|
108
|
{
|
|
109
|
with (obj_mike_minigame_controller)
|
|
110
|
instance_destroy();
|
|
111
|
with (obj_mike_controller)
|
|
112
|
reset_control();
|
|
113
|
with (obj_mike_battle)
|
|
114
|
instance_destroy();
|
|
115
|
with (obj_mike_slot)
|
|
116
|
act = 0;
|
|
117
|
con = 101;
|
|
118
|
global.interact = 1;
|
|
119
|
timer = 0;
|
|
120
|
}
|
|
121
|
}
|
|
122
|
if (con < 0)
|
|
123
|
exit;
|
|
124
|
if (con == 1)
|
|
125
|
{
|
|
126
|
if (console_version)
|
|
127
|
{
|
|
128
|
obj_mike_minigame_tv.minigame = 1;
|
|
129
|
obj_mike_minigame_tv.lastmike = 1;
|
|
130
|
}
|
|
131
|
con = 1.1;
|
|
132
|
global.interact = 1;
|
|
133
|
global.msc = -99;
|
|
134
|
global.choice = -1;
|
|
135
|
global.choicemsg[0] = stringsetloc(#Why"#Why", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_134_0" );
|
|
136
|
global.choicemsg[1] = stringsetloc(#Nothing"#Nothing", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_135_0" );
|
|
137
|
global.choicemsg[2] = stringsetloc(Instructions"Instructions", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_136_0" );
|
|
138
|
global.choicemsg[3] = stringsetloc(Who's Mike"Who's Mike", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_137_0" );
|
|
139
|
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 == "gerson" || _speaker == "ger" || _speaker == "gers")
global.typer = 85;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
... ("no_name");
|
|
140
|
msgsetloc(0, * Mi-hi-hi-hi-hyike! What's up!? It's me, the REAL Mike!Wait for input"* Mi-hi-hi-hi-hyike! What's up!? It's me, the REAL Mike!/", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_149_0" );
|
|
141
|
msgnext("\\C4 ");
|
|
142
|
d_make();
|
|
143
|
}
|
|
144
|
if (con == 1.1 && global.choice != -1)
|
|
145
|
{
|
|
146
|
k_d(1);
|
|
147
|
var _i = 0;
|
|
148
|
con = 100;
|
|
149
|
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 == "gerson" || _speaker == "ger" || _speaker == "gers")
global.typer = 85;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
... ("no_name");
|
|
150
|
if (global.choice == 0)
|
|
151
|
{
|
|
152
|
global.msg[_i] = stringsetloc(* A few minutes outta this room... and we all decided we couldn't take it!!Wait for input"* A few minutes outta this room... and we all decided we couldn't take it!!/", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_151_0" );
|
|
153
|
_i++;
|
|
154
|
global.msg[_i] = stringsetloc(* There CAN'T be no MIKE!! And there CAN'T be more than ONE Mike!!Wait for input"* There CAN'T be no MIKE!! And there CAN'T be more than ONE Mike!!/", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_152_0" );
|
|
155
|
_i++;
|
|
156
|
global.msg[_i] = stringsetloc(* So which one of us the REAL one!?Wait for input"* So which one of us the REAL one!?/", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_153_0" );
|
|
157
|
_i++;
|
|
158
|
global.msg[_i] = stringsetloc(* ... that's where YOU come in, see?Wait for input"* ... that's where YOU come in, see?/", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_154_0" );
|
|
159
|
_i++;
|
|
160
|
global.msg[_i] = stringsetloc(* See, the REAL Mike would be the STRONGEST, right!?Wait for input"* See, the REAL Mike would be the STRONGEST, right!?/", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_155_0" );
|
|
161
|
_i++;
|
|
162
|
global.msg[_i] = stringsetloc(* So each of us is ready to fight you again... MINI-GAME STYLE!Wait for input"* So each of us is ready to fight you again... MINI-GAME STYLE!/", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_156_0" );
|
|
163
|
_i++;
|
|
164
|
global.msg[_i] = stringsetloc(* The one who you get the most points against, has got to be the REAL MIKE!Wait for inputClose Message"* The one who you get the most points against, has got to be the REAL MIKE!/%", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_157_0" );
|
|
165
|
_i++;
|
|
166
|
}
|
|
167
|
else if (global.choice == 1)
|
|
168
|
{
|
|
169
|
global.msg[_i] = stringsetloc(* Tenna always said "Mike acted different" after the other guy left.Wait for input"* Tenna always said \"Mike acted different\" after the other guy left./", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_160_0" );
|
|
170
|
_i++;
|
|
171
|
global.msg[_i] = stringsetloc(* WHAT other guy!? Delay 22WHAT different!?Wait for inputClose Message"* WHAT other guy!?^2 WHAT different!?/%", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_161_0" );
|
|
172
|
_i++;
|
|
173
|
}
|
|
174
|
else if (global.choice == 2)
|
|
175
|
{
|
|
176
|
if (console_version)
|
|
177
|
{
|
|
178
|
global.msg[_i] = stringsetloc(* Talk to the MAUS in the center to play! Here's the games...Wait for input"* Talk to the MAUS in the center to play! Here's the games.../", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_176_0" );
|
|
179
|
_i++;
|
|
180
|
}
|
|
181
|
else
|
|
182
|
{
|
|
183
|
global.msg[_i] = stringsetloc(* Pick us up with MAUS and put us in the center to play! Here's the games...Wait for input"* Pick us up with MAUS and put us in the center to play! Here's the games.../", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_164_0" );
|
|
184
|
_i++;
|
|
185
|
}
|
|
186
|
if (os_type == os_psvita)
|
|
187
|
{
|
|
188
|
global.msg[_i] = stringsetloc(* SMALL MIKE - Pluey - Bring the cat to the basket, and don't touch the rain!Wait for input"* SMALL MIKE - Pluey - Bring the cat to the basket, and don't touch the rain!/", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_165_0" );
|
|
189
|
_i++;
|
|
190
|
global.msg[_i] = stringsetloc(* COWBOY HAT MIKE - Air Waves - Block the fuzzballs as long as possible!Wait for input"* COWBOY HAT MIKE - Air Waves - Block the fuzzballs as long as possible!/", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_166_0" );
|
|
191
|
_i++;
|
|
192
|
global.msg[_i] = stringsetloc(* CAT MIKE - Main Performance - Match the poses in time! CLICK to extend arms!Wait for inputClose Message"* CAT MIKE - Main Performance - Match the poses in time! CLICK to extend arms!/%", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_167_0" );
|
|
193
|
_i++;
|
|
194
|
}
|
|
195
|
else
|
|
196
|
{
|
|
197
|
global.msg[_i] = stringsetloc(* SMALL MIKE - BATTAT - Use MAUS to avoid dangerous BATTAT.Delay 11 VOL to SPEED UP!Wait for input"* SMALL MIKE - BATTAT - Use MAUS to avoid dangerous BATTAT^1. VOL to SPEED UP!/", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_173_0" );
|
|
198
|
_i++;
|
|
199
|
global.msg[_i] = stringsetloc(* COWBOY HAT MIKE - JONGLER - Use VOL and MAUS to JONGLE falling toys into the hoop!Wait for input"* COWBOY HAT MIKE - JONGLER - Use VOL and MAUS to JONGLE falling toys into the hoop!/", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_174_0" );
|
|
200
|
_i++;
|
|
201
|
global.msg[_i] = stringsetloc(* CAT MIKE - PLUEY - Avoid rain!Delay 11 Click + Hold with MAUS to bring CATs to the BASKET!Wait for inputClose Message"* CAT MIKE - PLUEY - Avoid rain^1! Click + Hold with MAUS to bring CATs to the BASKET!/%", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_175_0" );
|
|
202
|
_i++;
|
|
203
|
}
|
|
204
|
}
|
|
205
|
else if (global.choice == 3)
|
|
206
|
{
|
|
207
|
var _max_index = 0;
|
|
208
|
var _max_value = obj_mike_minigame_tv.hiscore[0];
|
|
209
|
var _tie = false;
|
|
210
|
for (var _ii = 1; _ii < 4; _ii++)
|
|
211
|
{
|
|
212
|
if (obj_mike_minigame_tv.hiscore[_ii] > _max_value)
|
|
213
|
{
|
|
214
|
_max_value = obj_mike_minigame_tv.hiscore[_ii];
|
|
215
|
_max_index = _ii;
|
|
216
|
_tie = false;
|
|
217
|
}
|
|
218
|
else if (obj_mike_minigame_tv.hiscore[_ii] == _max_value)
|
|
219
|
{
|
|
220
|
_tie = true;
|
|
221
|
}
|
|
222
|
}
|
|
223
|
if (_tie)
|
|
224
|
{
|
|
225
|
global.msg[_i] = stringsetloc(* Who KNOWS!? It's a TIE! Hurry up and get a HIGH SCORE, kid!Wait for inputClose Message"* Who KNOWS!? It's a TIE! Hurry up and get a HIGH SCORE, kid!/%", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_187_0" );
|
|
226
|
_i++;
|
|
227
|
}
|
|
228
|
else
|
|
229
|
{
|
|
230
|
switch (_max_index)
|
|
231
|
{
|
|
232
|
case 1:
|
|
233
|
var _rand = [stringsetloc(give Tenna an antenna massage"give Tenna an antenna massage", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_193_0" ), stringsetloc(have Tenna's shock therapy"have Tenna's shock therapy", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_194_0" ), stringsetloc(sing rock-a-bye biiby to Tenna's cupboard"sing rock-a-bye biiby to Tenna's cupboard", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_195_0" ), stringsetloc(organize Tenna's nose drawer"organize Tenna's nose drawer", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_196_0" )];
|
|
234
|
var _choice = irandom(3);
|
|
235
|
while (_choice == last_num)
|
|
236
|
_choice = irandom(3);
|
|
237
|
last_num = _choice;
|
|
238
|
global.msg[_i] = stringsetloc(* Haha! It's ME, SMALL MIKE!!! I'm the REAL Mike!! Finally!!!Wait for input"* Haha! It's ME, SMALL MIKE!!! I'm the REAL Mike!! Finally!!!/", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_206_0" );
|
|
239
|
_i++;
|
|
240
|
global.msg[_i] = stringsetsubloc("* Now I'll get to ~1 all by myself.../", string(_rand[_choice]), "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_207_0");
|
|
241
|
_i++;
|
|
242
|
global.msg[_i] = stringsetloc(* W-wait! That's not what I WANT!! Let somebody ELSE win!!Wait for inputClose Message"* W-wait! That's not what I WANT!! Let somebody ELSE win!!/%", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_208_0" );
|
|
243
|
_i++;
|
|
244
|
break;
|
|
245
|
case 2:
|
|
246
|
global.msg[_i] = stringsetloc(* What!? COWBOY HAT MIKE has the highest score!?Wait for input"* What!? COWBOY HAT MIKE has the highest score!?/", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_212_0" );
|
|
247
|
_i++;
|
|
248
|
global.msg[_i] = stringsetloc(* What's wrong with you, making people think Mike is a cowboy!?Wait for input"* What's wrong with you, making people think Mike is a cowboy!?/", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_213_0" );
|
|
249
|
_i++;
|
|
250
|
global.msg[_i] = stringsetloc(* I'll make you pay!! I've got connections!! I've got friends on the inside!!Wait for input"* I'll make you pay!! I've got connections!! I've got friends on the inside!!/", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_214_0" );
|
|
251
|
_i++;
|
|
252
|
global.msg[_i] = stringsetloc(* ... though, that friend is, just that cowboy guy over there.Wait for inputClose Message"* ... though, that friend is, just that cowboy guy over there./%", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_215_0" );
|
|
253
|
_i++;
|
|
254
|
break;
|
|
255
|
case 3:
|
|
256
|
global.msg[_i] = stringsetloc(* What!? CAT MIKE has the highest score!?Wait for input"* What!? CAT MIKE has the highest score!?/", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_219_0" );
|
|
257
|
_i++;
|
|
258
|
global.msg[_i] = stringsetloc(* What's wrong with you, making people think MIKE is a CAT!?Wait for input"* What's wrong with you, making people think MIKE is a CAT!?/", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_220_0" );
|
|
259
|
_i++;
|
|
260
|
global.msg[_i] = stringsetloc(* I swear, you people see PINK and YELLOW and think, oh, a FRIEND!!Wait for input"* I swear, you people see PINK and YELLOW and think, oh, a FRIEND!!/", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_221_0" );
|
|
261
|
_i++;
|
|
262
|
global.msg[_i] = stringsetloc(* Being a friend doesn't make you them YOURS! Those teeth, they BITE!Wait for inputClose Message"* Being a friend doesn't make you them YOURS! Those teeth, they BITE!/%", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_222_0" );
|
|
263
|
_i++;
|
|
264
|
break;
|
|
265
|
}
|
|
266
|
}
|
|
267
|
}
|
|
268
|
d_make();
|
|
269
|
}
|
|
270
|
if (con == 2 && !d_ex() && global.interact == 0)
|
|
271
|
{
|
|
272
|
if (console_version)
|
|
273
|
{
|
|
274
|
obj_mike_minigame_tv.minigame = 2;
|
|
275
|
obj_mike_minigame_tv.lastmike = 2;
|
|
276
|
}
|
|
277
|
con = 100;
|
|
278
|
global.interact = 1;
|
|
279
|
var _max_index = 0;
|
|
280
|
var _max_value = obj_mike_minigame_tv.hiscore[0];
|
|
281
|
var _tie = false;
|
|
282
|
for (var _ii = 1; _ii < 4; _ii++)
|
|
283
|
{
|
|
284
|
if (obj_mike_minigame_tv.hiscore[_ii] > _max_value)
|
|
285
|
{
|
|
286
|
_max_value = obj_mike_minigame_tv.hiscore[_ii];
|
|
287
|
_max_index = _ii;
|
|
288
|
_tie = false;
|
|
289
|
}
|
|
290
|
else if (obj_mike_minigame_tv.hiscore[_ii] == _max_value)
|
|
291
|
{
|
|
292
|
_tie = true;
|
|
293
|
}
|
|
294
|
}
|
|
295
|
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 == "gerson" || _speaker == "ger" || _speaker == "gers")
global.typer = 85;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
... ("no_name");
|
|
296
|
if (!_tie && obj_mike_minigame_tv.hiscore[2] == _max_value)
|
|
297
|
{
|
|
298
|
msgsetloc(0, * Hey, boss. Delay 33I got the highest scores.Wait for input"* Hey, boss.^3 I got the highest scores./", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_162_0" );
|
|
299
|
msgnextloc(* Does dat mean I can finally say whatever lines I wanna say?Wait for inputClose Message"* Does dat mean I can finally say whatever lines I wanna say?/%", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_263_0" );
|
|
300
|
}
|
|
301
|
else
|
|
302
|
{
|
|
303
|
msgsetloc(0, * Hey, boss. Delay 33Talk to the little guys. Delay 33I dunno what's up.Wait for inputClose Message"* Hey, boss.^3 Talk to the little guys.^3 I dunno what's up./%", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_265_0" );
|
|
304
|
}
|
|
305
|
d_make();
|
|
306
|
}
|
|
307
|
if (con == 3 && !d_ex() && global.interact == 0)
|
|
308
|
{
|
|
309
|
if (console_version)
|
|
310
|
{
|
|
311
|
obj_mike_minigame_tv.minigame = 3;
|
|
312
|
obj_mike_minigame_tv.lastmike = 3;
|
|
313
|
}
|
|
314
|
con = 100;
|
|
315
|
global.interact = 1;
|
|
316
|
var _max_index = 0;
|
|
317
|
var _max_value = obj_mike_minigame_tv.hiscore[0];
|
|
318
|
var _tie = false;
|
|
319
|
for (var _ii = 1; _ii < 4; _ii++)
|
|
320
|
{
|
|
321
|
if (obj_mike_minigame_tv.hiscore[_ii] > _max_value)
|
|
322
|
{
|
|
323
|
_max_value = obj_mike_minigame_tv.hiscore[_ii];
|
|
324
|
_max_index = _ii;
|
|
325
|
_tie = false;
|
|
326
|
}
|
|
327
|
else if (obj_mike_minigame_tv.hiscore[_ii] == _max_value)
|
|
328
|
{
|
|
329
|
_tie = true;
|
|
330
|
}
|
|
331
|
}
|
|
332
|
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 == "gerson" || _speaker == "ger" || _speaker == "gers")
global.typer = 85;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
... ("no_name");
|
|
333
|
if (!_tie && obj_mike_minigame_tv.hiscore[3] == _max_value)
|
|
334
|
msgsetloc(0, * (With the highest score, maybe the real Mike?)Wait for inputClose Message"* (With the highest score, maybe the real Mike?)/%", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_295_0" );
|
|
335
|
else
|
|
336
|
msgsetloc(0, * (Just dancing.)Wait for inputClose Message"* (Just dancing.)/%", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_297_0" );
|
|
337
|
d_make();
|
|
338
|
}
|
|
339
|
if (con == 4 && !d_ex() && global.interact == 0)
|
|
340
|
{
|
|
341
|
con = 4.1;
|
|
342
|
global.interact = 1;
|
|
343
|
global.msc = -99;
|
|
344
|
global.choice = -1;
|
|
345
|
global.choicemsg[0] = stringsetloc(#BATTAT"#BATTAT", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_342_0" );
|
|
346
|
global.choicemsg[1] = stringsetloc(#PLUEY"#PLUEY", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_343_0" );
|
|
347
|
global.choicemsg[2] = stringsetloc(JONGLER"JONGLER", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_344_0" );
|
|
348
|
global.choicemsg[3] = stringsetloc(No."No.", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_345_0" );
|
|
349
|
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 == "gerson" || _speaker == "ger" || _speaker == "gers")
global.typer = 85;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
... ("no_name");
|
|
350
|
msgsetloc(0, * (The MAUS is ready to play!)Wait for input"* (The MAUS is ready to play!)/", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_347_0" );
|
|
351
|
msgnextloc(* (Play a MIKE MINIGAME?)Wait for input"* (Play a MIKE MINIGAME?)/", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_348_0" );
|
|
352
|
msgnext("\\C4 ");
|
|
353
|
var _d = d_make();
|
|
354
|
_d.side = 1;
|
|
355
|
}
|
|
356
|
if (con == 4.1 && i_ex(obj_choicer_neo))
|
|
357
|
{
|
|
358
|
if (obj_choicer_neo.mychoice == 0)
|
|
359
|
{
|
|
360
|
obj_mike_minigame_tv.minigame = 1;
|
|
361
|
obj_mike_minigame_tv.lastmike = 1;
|
|
362
|
}
|
|
363
|
if (obj_choicer_neo.mychoice == 1)
|
|
364
|
{
|
|
365
|
obj_mike_minigame_tv.minigame = 3;
|
|
366
|
obj_mike_minigame_tv.lastmike = 3;
|
|
367
|
}
|
|
368
|
if (obj_choicer_neo.mychoice == 2)
|
|
369
|
{
|
|
370
|
obj_mike_minigame_tv.minigame = 2;
|
|
371
|
obj_mike_minigame_tv.lastmike = 2;
|
|
372
|
}
|
|
373
|
}
|
|
374
|
if (con == 4.1 && global.choice != -1)
|
|
375
|
{
|
|
376
|
k_d(1);
|
|
377
|
var _i = 0;
|
|
378
|
con = -1;
|
|
379
|
global.interact = 0;
|
|
380
|
if (global.choice == 3)
|
|
381
|
{
|
|
382
|
}
|
|
383
|
else
|
|
384
|
{
|
|
385
|
global.flag[9 battle_music] = 2;
|
|
386
|
if (global.choice == 0)
|
|
387
|
{
|
|
388
|
global.batmusic[0] = snd_init("spamton_dance.ogg");
|
|
389
|
obj_mike_minigame_tv.minigame = 1;
|
|
390
|
obj_mike_minigame_tv.lastmike = 1;
|
|
391
|
}
|
|
392
|
else if (global.choice == 1)
|
|
393
|
{
|
|
394
|
global.batmusic[0] = snd_init("muffled_rain.ogg");
|
|
395
|
obj_mike_minigame_tv.minigame = 3;
|
|
396
|
obj_mike_minigame_tv.lastmike = 3;
|
|
397
|
}
|
|
398
|
else if (global.choice == 2)
|
|
399
|
{
|
|
400
|
global.batmusic[0] = snd_init("mike.ogg");
|
|
401
|
obj_mike_minigame_tv.minigame = 2;
|
|
402
|
obj_mike_minigame_tv.lastmike = 2;
|
|
403
|
}
|
|
404
|
instance_create_depth(0, 0, 1000, obj_mike_minigame_bg);
|
|
405
|
instance_create_depth(0, 0, 0, obj_mike_minigame_start);
|
|
406
|
snd_volume(global.currentsong[1], 0, 20);
|
|
407
|
with (obj_mike_controller)
|
|
408
|
hand_type = 0;
|
|
409
|
}
|
|
410
|
}
|
|
411
|
if (con == 5 && !d_ex() && global.interact == 0)
|
|
412
|
{
|
|
413
|
con = 5.1;
|
|
414
|
global.interact = 1;
|
|
415
|
global.msc = -99;
|
|
416
|
global.choice = -1;
|
|
417
|
global.choicemsg[0] = stringsetloc(Explode#and#reset#scores"Explode#and#reset#scores", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_416_0" );
|
|
418
|
global.choicemsg[1] = stringsetloc(#Don't"#Don't", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_417_0" );
|
|
419
|
global.choicemsg[2] = "";
|
|
420
|
global.choicemsg[3] = "";
|
|
421
|
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 == "gerson" || _speaker == "ger" || _speaker == "gers")
global.typer = 85;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
... ("no_name");
|
|
422
|
msgsetloc(0, * (It's the MichaelBomb.)Wait for input"* (It's the MichaelBomb.)/", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_421_0" );
|
|
423
|
msgnextloc(* (It resets the High Score of all Michaels to 0.)Wait for input"* (It resets the High Score of all Michaels to 0.)/", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_422_0" );
|
|
424
|
msgnext("\\C2 ");
|
|
425
|
var _d = d_make();
|
|
426
|
_d.side = 0;
|
|
427
|
}
|
|
428
|
if (con == 5.1 && global.choice != -1)
|
|
429
|
{
|
|
430
|
k_d(1);
|
|
431
|
bomb_marker.image_speed = 0.25;
|
|
432
|
var _i = 0;
|
|
433
|
con = -1;
|
|
434
|
global.interact = 0;
|
|
435
|
if (global.choice == 1)
|
|
436
|
{
|
|
437
|
global.interact = 1;
|
|
438
|
msgsetloc(0, * (Resisted the temptation of Michael.)Wait for inputClose Message"* (Resisted the temptation of Michael.)/%", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_436_0" );
|
|
439
|
var _d = d_make();
|
|
440
|
_d.side = 0;
|
|
441
|
con = 5.5;
|
|
442
|
}
|
|
443
|
else
|
|
444
|
{
|
|
445
|
con = 5.2;
|
|
446
|
global.interact = 1;
|
|
447
|
global.msc = -99;
|
|
448
|
global.choice = -1;
|
|
449
|
global.choicemsg[0] = stringsetloc(#I'm#serious"#I'm#serious", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_446_0" );
|
|
450
|
global.choicemsg[1] = stringsetloc(#Don't#do it"#Don't#do it", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_447_0" );
|
|
451
|
global.choicemsg[2] = "";
|
|
452
|
global.choicemsg[3] = "";
|
|
453
|
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 == "gerson" || _speaker == "ger" || _speaker == "gers")
global.typer = 85;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
... ("no_name");
|
|
454
|
msgsetloc(0, * (You hesitated.)Wait for input"* (You hesitated.)/", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_451_0" );
|
|
455
|
msgnextloc(* (MichaelBomb will really set all High Scores to 0!)Wait for input"* (MichaelBomb will really set all High Scores to 0!)/", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_452_0" );
|
|
456
|
msgnext("\\C2 ");
|
|
457
|
var _d = d_make();
|
|
458
|
_d.side = 0;
|
|
459
|
}
|
|
460
|
}
|
|
461
|
if (con == 5.2 && global.choice != -1)
|
|
462
|
{
|
|
463
|
k_d(1);
|
|
464
|
var _i = 0;
|
|
465
|
con = -1;
|
|
466
|
global.interact = 0;
|
|
467
|
if (global.choice == 1)
|
|
468
|
{
|
|
469
|
global.interact = 1;
|
|
470
|
msgsetloc(0, * (Resisted the temptation of Michael.)Wait for inputClose Message"* (Resisted the temptation of Michael.)/%", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_466_0" );
|
|
471
|
var _d = d_make();
|
|
472
|
_d.side = 0;
|
|
473
|
con = 5.5;
|
|
474
|
}
|
|
475
|
else
|
|
476
|
{
|
|
477
|
con = 5.3;
|
|
478
|
global.interact = 1;
|
|
479
|
msgsetloc(0, * (You pressed in the letters M I C H A E L !)Wait for inputClose Message"* (You pressed in the letters&M I C H A E L !)/%", "obj_room_castle_tv_zone_minigame_slash_Step_0_gml_474_0" );
|
|
480
|
var _d = d_make();
|
|
481
|
_d.side = 0;
|
|
482
|
}
|
|
483
|
}
|
|
484
|
if (con == 5.3 && !i_ex(obj_dialoguer))
|
|
485
|
{
|
|
486
|
k_d(1);
|
|
487
|
var _i = 0;
|
|
488
|
con = 5.4;
|
|
489
|
global.interact = 1;
|
|
490
|
snd_pause(global.currentsong[1]);
|
|
491
|
scr_fadeoutscr_fadeout
function scr_fadeout(arg0)
{
__fadeouter = instance_create(camerax() - 200, cameray() - 200, obj_fadeout);
__fadeouter.fadespeed = 1 / arg0;
__fadeouter.depth = 3;
return __fadeouter;
} (1);
|
|
492
|
timer = 0;
|
|
493
|
}
|
|
494
|
if (con == 5.4)
|
|
495
|
{
|
|
496
|
timer++;
|
|
497
|
var bombdelay = 60;
|
|
498
|
var resetdelay = 60;
|
|
499
|
if (timer == bombdelay)
|
|
500
|
{
|
|
501
|
var expl = instance_create(camerax() + 320, cameray() + 240, obj_animation);
|
|
502
|
with (expl)
|
|
503
|
{
|
|
504
|
image_xscale = 0.5;
|
|
505
|
image_yscale = 0.5;
|
|
506
|
sprite_index = spr_realisticexplosion;
|
|
507
|
}
|
|
508
|
snd_play(snd_explosion_firework_bc);
|
|
509
|
}
|
|
510
|
if (timer == (bombdelay + resetdelay))
|
|
511
|
{
|
|
512
|
snd_play(snd_mike_reset);
|
|
513
|
reset_blend = 1;
|
|
514
|
with (obj_mike_minigame_tv)
|
|
515
|
{
|
|
516
|
latestscore[1] = 0;
|
|
517
|
latestscore[2] = 0;
|
|
518
|
latestscore[3] = 0;
|
|
519
|
global.flag[1698] = 0;
|
|
520
|
global.flag[1699] = 0;
|
|
521
|
global.flag[1700] = 0;
|
|
522
|
hiscore[1] = global.flag[1698];
|
|
523
|
hiscore[2] = global.flag[1699];
|
|
524
|
hiscore[3] = global.flag[1700];
|
|
525
|
}
|
|
526
|
}
|
|
527
|
if (timer == (bombdelay + resetdelay + 150))
|
|
528
|
{
|
|
529
|
reset_blend = 0;
|
|
530
|
bomb_marker.image_speed = 0.1;
|
|
531
|
snd_volume(global.currentsong[1], 0, 0);
|
|
532
|
with (obj_fadeout)
|
|
533
|
instance_destroy();
|
|
534
|
scr_fadeinscr_fadein
function scr_fadein(arg0)
{
__fadeouter = instance_create(0, 0, obj_fadein);
__fadeouter.fadespeed = -1 / arg0;
__fadeouter.depth = 3;
return __fadeouter;
} (30);
|
|
535
|
}
|
|
536
|
if (timer == (bombdelay + resetdelay + 180))
|
|
537
|
{
|
|
538
|
snd_resume(global.currentsong[1]);
|
|
539
|
snd_volume(global.currentsong[1], 1, 30);
|
|
540
|
timer = 0;
|
|
541
|
con = -1;
|
|
542
|
global.interact = 0;
|
|
543
|
}
|
|
544
|
}
|
|
545
|
if (con == 5.5 && !i_ex(obj_dialoguer))
|
|
546
|
{
|
|
547
|
global.interact = 0;
|
|
548
|
bomb_marker.image_speed = 0.1;
|
|
549
|
con = -1;
|
|
550
|
}
|
|
551
|
if (con == 100 && !d_ex())
|
|
552
|
{
|
|
553
|
con = -1;
|
|
554
|
global.interact = 0;
|
|
555
|
}
|
|
556
|
if (con == 101)
|
|
557
|
{
|
|
558
|
global.interact = 1;
|
|
559
|
timer++;
|
|
560
|
if (timer >= 15)
|
|
561
|
{
|
|
562
|
global.interact = 0;
|
|
563
|
con = -1;
|
|
564
|
}
|
|
565
|
}
|