|
1
|
if (i_ex(star))
|
|
2
|
{
|
|
3
|
with (star)
|
|
4
|
{
|
|
5
|
if (myinteract == 3)
|
|
6
|
{
|
|
7
|
global.interact = 1;
|
|
8
|
global.msc = -99;
|
|
9
|
global.choice = -1;
|
|
10
|
global.choicemsg[0] = stringsetloc(#Pick it#up"#Pick it#up", "obj_room_console_room_slash_Step_0_gml_14_0" );
|
|
11
|
global.choicemsg[1] = stringsetloc(#Don't pick#it up"#Don't pick#it up", "obj_room_console_room_slash_Step_0_gml_15_0" );
|
|
12
|
global.choicemsg[2] = stringset("");
|
|
13
|
global.choicemsg[3] = stringset("");
|
|
14
|
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;
... ("no_name");
|
|
15
|
msgsetloc(0, * (...? Seems there's a controller fallen on the ground.)Wait for input"* (...? Seems there's a controller fallen on the ground.)/", "obj_room_console_room_slash_Step_0_gml_20_0" );
|
|
16
|
msgnext("\\C2 ");
|
|
17
|
d_make();
|
|
18
|
myinteract = 4;
|
|
19
|
}
|
|
20
|
if (myinteract == 4 && global.choice != -1)
|
|
21
|
{
|
|
22
|
k_d(2);
|
|
23
|
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;
... ("no_name");
|
|
24
|
if (global.choice == 0)
|
|
25
|
{
|
|
26
|
visible = false;
|
|
27
|
msgsetloc(0, * (ODDCONTROLLER was added to your KEY ITEMS.)Wait for inputClose Message"* (\\cYODDCONTROLLER\\cW was added to your \\cYKEY ITEMS\\cW.)/%", "obj_room_console_room_slash_Step_0_gml_34_0" );
|
|
28
|
myinteract = 6;
|
|
29
|
}
|
|
30
|
if (global.choice == 1)
|
|
31
|
{
|
|
32
|
msgsetloc(0, * (You didn't pick up the strangely familiar controller.)Wait for inputClose Message"* (You didn't pick up the strangely familiar controller.)/%", "obj_room_console_room_slash_Step_0_gml_39_0" );
|
|
33
|
myinteract = 5;
|
|
34
|
}
|
|
35
|
d_make();
|
|
36
|
}
|
|
37
|
if (myinteract == 5 && !d_ex())
|
|
38
|
{
|
|
39
|
global.interact = 0;
|
|
40
|
myinteract = 0;
|
|
41
|
}
|
|
42
|
if (myinteract == 6)
|
|
43
|
{
|
|
44
|
if (scr_msgno_endscr_msgno_end
function scr_msgno_end(arg0 = 0)
{
if (i_ex(obj_writer))
{
with (obj_writer)
{
if (msgno == arg0)
{
if (reachedend)
return true;
else
return false;
}
}
}
else
{
return true;
}
} (0) || !d_ex())
|
|
45
|
{
|
|
46
|
myinteract = 7;
|
|
47
|
snd_play(snd_item);
|
|
48
|
}
|
|
49
|
}
|
|
50
|
if (myinteract == 7 && !d_ex())
|
|
51
|
{
|
|
52
|
global.flag[1176 oddcontroller_state] = 2;
|
|
53
|
scr_keyitemgetscr_keyitemget
function scr_keyitemget(arg0)
{
i = 0;
loop = 1;
noroom = 0;
global.item[12] = 999;
while (loop == 1)
{
if (global.keyitem[i] == 0)
{
global.keyitem[i] = arg0;
break;
}
if (i == 12)
{
noroom = 1;
break;
}
i += 1;
}
script_execute(scr_keyiteminfo_all);
} (16);
|
|
54
|
global.interact = 0;
|
|
55
|
myinteract = 0;
|
|
56
|
other.star = -4;
|
|
57
|
safe_delete(other.block);
|
|
58
|
instance_destroy();
|
|
59
|
}
|
|
60
|
}
|
|
61
|
}
|
|
62
|
if (con == 10 && global.interact == 0)
|
|
63
|
{
|
|
64
|
con = 11;
|
|
65
|
global.interact = 1;
|
|
66
|
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;
... ("no_name");
|
|
67
|
msgsetloc(0, * Kris...Delay 11 Kris,Delay 11 that's you,Delay 11 isn't it,Delay 11 luv?Wait for input"* Kris..^1. Kris^1, that's you^1, isn't it^1, luv?/", "obj_room_console_room_slash_Step_0_gml_81_0" );
|
|
68
|
msgnextloc(* Good show,Delay 11 good show...Wait for input"* Good show^1, good show.../", "obj_room_console_room_slash_Step_0_gml_82_0" );
|
|
69
|
msgnextloc(* Tenna's been up to this and that,Delay 11 that and this...Delay 11 All sorts of boring stuff.Wait for input"* Tenna's been up to this and that^1, that and this..^1. All sorts of boring stuff./", "obj_room_console_room_slash_Step_0_gml_83_0" );
|
|
70
|
msgnextloc(* But Kris!Delay 11 Oh,Delay 11 Kris!Delay 11 You and I know...Delay 11 The REAL drama happens BACKSTAGE!Wait for input"* But Kris^1! Oh^1, Kris^1! You and I know..^1. The REAL drama happens BACKSTAGE!/", "obj_room_console_room_slash_Step_0_gml_84_0" );
|
|
71
|
msgnextloc(* That's why...Delay 11 I got it ready for you,Delay 11 y'know.Wait for input"* That's why..^1. I got it ready for you^1, y'know./", "obj_room_console_room_slash_Step_0_gml_85_0" );
|
|
72
|
msgnextloc(* One last game.Wait for input"* One last game./", "obj_room_console_room_slash_Step_0_gml_86_0" );
|
|
73
|
msgnextloc(* And I'll keep watch.Wait for input"* And I'll keep watch./", "obj_room_console_room_slash_Step_0_gml_87_0" );
|
|
74
|
msgnextloc(* Well,Delay 11 just as long as...Delay 11 haha. Just as long as I can.Wait for input"* Well^1, just as long as..^1. haha. Just as long as I can./", "obj_room_console_room_slash_Step_0_gml_88_0" );
|
|
75
|
msgnextloc(* Now,Delay 11 Kris,Delay 11 I hate to trouble you,Delay 11 I really do,Delay 11 but...Wait for input"* Now^1, Kris^1, I hate to trouble you^1, I really do^1, but.../", "obj_room_console_room_slash_Step_0_gml_89_0" );
|
|
76
|
msgnextloc(* Y'see,Delay 11 I can't really move myself now.Wait for input"* Y'see^1, I can't really move myself now./", "obj_room_console_room_slash_Step_0_gml_90_0" );
|
|
77
|
msgnextloc(* If you could just shove me out of the way...Wait for input"* If you could just shove me out of the way.../", "obj_room_console_room_slash_Step_0_gml_91_0" );
|
|
78
|
msgnextloc(* Yes,Delay 11 that's right!Delay 11 Just like that!Wait for inputClose Message"* Yes^1, that's right^1! Just like that!/%", "obj_room_console_room_slash_Step_0_gml_92_0" );
|
|
79
|
d_make();
|
|
80
|
}
|
|
81
|
if (con == 11 && !d_ex())
|
|
82
|
{
|
|
83
|
con = 12;
|
|
84
|
scr_delay_var("con", 13, 120);
|
|
85
|
scr_script_delayedscr_script_delayed
function scr_script_delayed()
{
var __scriptdelay = instance_create(0, 0, obj_script_delayed);
__scriptdelay.script = argument[0];
__scriptdelay.alarm[0] = argument[1];
__scriptdelay.target = id;
for (var __i = 0; __i < (argument_count - 2); __i++)
__scriptdelay.script_arg[__i] = argument[__i + 2];
__scriptdelay.arg_count = argument_count - 2;
return __scriptdelay;
} (snd_play_x, 10, 168, 0.7, 1);
|
|
86
|
scr_script_delayedscr_script_delayed
function scr_script_delayed()
{
var __scriptdelay = instance_create(0, 0, obj_script_delayed);
__scriptdelay.script = argument[0];
__scriptdelay.alarm[0] = argument[1];
__scriptdelay.target = id;
for (var __i = 0; __i < (argument_count - 2); __i++)
__scriptdelay.script_arg[__i] = argument[__i + 2];
__scriptdelay.arg_count = argument_count - 2;
return __scriptdelay;
} (snd_play_x, 10, 155, 0.7, 1);
|
|
87
|
with (ramb_npc)
|
|
88
|
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;
} ("y", y, y - 30, 90, 3, "inout");
|
|
89
|
}
|
|
90
|
if (con == 13)
|
|
91
|
{
|
|
92
|
con = 14;
|
|
93
|
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;
... ("no_name");
|
|
94
|
msgsetloc(0, Face 0* Kris!Wait for input"\\M0* Kris!/", "obj_room_console_room_slash_Step_0_gml_127_0" );
|
|
95
|
msgnextloc(Face 2* ...Delay 11 enjoy the games,Delay 11 eh,Delay 11 luv?Wait for inputClose Message"\\M2* ..^1. enjoy the games^1, eh^1, luv?/%", "obj_room_console_room_slash_Step_0_gml_128_0" );
|
|
96
|
d_make();
|
|
97
|
}
|
|
98
|
if (con == 14 && !d_ex())
|
|
99
|
{
|
|
100
|
con = -1;
|
|
101
|
scr_flag_setscr_flag_set
function scr_flag_set(arg0, arg1)
{
global.flag[arg0] = arg1;
} (1238, 1);
|
|
102
|
global.interact = 0;
|
|
103
|
global.facing = 0;
|
|
104
|
}
|