|
1
|
global.msc = 0;
|
|
2
|
global.typer = 5;
|
|
3
|
if (global.darkzone == 1)
|
|
4
|
global.typer = 6;
|
|
5
|
global.fc = 0;
|
|
6
|
global.fe = 0;
|
|
7
|
global.interact = 1;
|
|
8
|
nodialogue = 1;
|
|
9
|
global.currentroom = room;
|
|
10
|
nodialogue = 0;
|
|
11
|
if (scr_is_valid_mic_platform())
|
|
12
|
{
|
|
13
|
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");
|
|
14
|
if (!global.use_mic)
|
|
15
|
{
|
|
16
|
msgsetloc(0, * You're using the gamepad!Wait for inputClose Message"* You're using the gamepad!/%", "obj_miccheck_slash_Other_10_gml_16_0" );
|
|
17
|
nomic = true;
|
|
18
|
}
|
|
19
|
else
|
|
20
|
{
|
|
21
|
nomic = false;
|
|
22
|
if (global.flag[1663] == 0)
|
|
23
|
{
|
|
24
|
global.flag[1663] = 1;
|
|
25
|
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");
|
|
26
|
msgsetloc(0, * (It's a mysterious microphone-shaped crystal.)Wait for input"* (It's a mysterious microphone-shaped crystal.)/", "obj_miccheck_slash_Other_10_gml_44_0" );
|
|
27
|
msgnextloc(* (Peering into the crystal ball,Delay 11 the thoughts of microphones cross your mind...)Wait for inputClose Message"* (Peering into the crystal ball^1, the thoughts of microphones cross your mind...)/%", "obj_miccheck_slash_Other_10_gml_45_0" );
|
|
28
|
}
|
|
29
|
else
|
|
30
|
{
|
|
31
|
myinteract = 3;
|
|
32
|
exit;
|
|
33
|
}
|
|
34
|
}
|
|
35
|
}
|
|
36
|
else
|
|
37
|
{
|
|
38
|
nomic = true;
|
|
39
|
var key = [scr_get_input_name_consolescr_get_input_name_console
function scr_get_input_name_console(arg0)
{
var _control = arg0;
var _input_name = "?";
switch (_control)
{
case gp_padr:
_input_name = "\\*D ";
break;
case gp_padl:
_input_name = "\\*A ";
break;
case gp_padu:
_input_name = "\\*W ";
break;
case gp_padd:
_input_name = "\\*S ";
break;
case global.button0:
_input_name = "\\*Z ";
break;
case global.button1:
_input_name = "\\*X ";
break;
case global.button2:
_input_name = "\\*C ";
break;
case gp_shoulderl:
_input_name = "\\*l ";
break;
case gp_shoulderlb:
_input_name = "\\*L ";
break;
case gp_shoulderr:
_input_name = "\\*r ";
break;
case gp_shoulderrb:
_input_name = "\\*R ";
break;
case gp_stickl:
_input_name = "\\*j ";
break;
case gp_stickr:
_input_name = "\\*J ";
break;
}
return _input_name;
} (32775), scr_get_input_name_consolescr_get_input_name_console
function scr_get_input_name_console(arg0)
{
var _control = arg0;
var _input_name = "?";
switch (_control)
{
case gp_padr:
_input_name = "\\*D ";
break;
case gp_padl:
_input_name = "\\*A ";
break;
case gp_padu:
_input_name = "\\*W ";
break;
case gp_padd:
_input_name = "\\*S ";
break;
case global.button0:
_input_name = "\\*Z ";
break;
case global.button1:
_input_name = "\\*X ";
break;
case global.button2:
_input_name = "\\*C ";
break;
case gp_shoulderl:
_input_name = "\\*l ";
break;
case gp_shoulderlb:
_input_name = "\\*L ";
break;
case gp_shoulderr:
_input_name = "\\*r ";
break;
case gp_shoulderrb:
_input_name = "\\*R ";
break;
case gp_stickl:
_input_name = "\\*j ";
break;
case gp_stickr:
_input_name = "\\*J ";
break;
}
return _input_name;
} (32776)];
|
|
40
|
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");
|
|
41
|
msgsetloc(0, * (It's a mysterious microphone-shaped crystal.)Wait for input"* (It's a mysterious microphone-shaped crystal.)/", "obj_miccheck_slash_Other_10_gml_58_0" );
|
|
42
|
var latemessages = true;
|
|
43
|
if (global.input_g[4] == gp_shoulderrb)
|
|
44
|
{
|
|
45
|
if (!obj_gamecontroller.gamepad_shoulderlb_reassign)
|
|
46
|
{
|
|
47
|
latemessages = false;
|
|
48
|
msgnextsubloc("* (The crystal vibrates intensely. Please reassign buttons set to ~1 or ~2!)/%", key[0], key[1], "obj_miccheck_slash_Other_10_gml_67_0");
|
|
49
|
}
|
|
50
|
else
|
|
51
|
{
|
|
52
|
key[1] = key[0];
|
|
53
|
}
|
|
54
|
}
|
|
55
|
if (latemessages)
|
|
56
|
{
|
|
57
|
msgnextsubloc("* (It's engraved with buttons shaped like ~1 and the letters \"VOL\".)/", key[1], "obj_miccheck_slash_Other_10_gml_59_0");
|
|
58
|
msgnextloc(* (When pressed in,Delay 11 the whole room seems to make a noise...!)Wait for inputClose Message"* (When pressed in^1, the whole room seems to make a noise...!)/%", "obj_miccheck_slash_Other_10_gml_60_0" );
|
|
59
|
}
|
|
60
|
}
|
|
61
|
myinteract = 3;
|
|
62
|
if (nodialogue == 0)
|
|
63
|
mydialoguer = instance_create(0, 0, obj_dialoguer);
|
|
64
|
talked += 1;
|