|
1
|
buffer--;
|
|
2
|
scr_depthscr_depth
function scr_depth()
{
if (argument_count > 0)
{
with (argument0)
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
else
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
} ();
|
|
3
|
depth += 1000;
|
|
4
|
if (myinteract == 3)
|
|
5
|
{
|
|
6
|
global.msc = 1304;
|
|
7
|
scr_textscr_text
function scr_text(arg0)
{
switch (arg0)
{
case 0:
break;
case 10:
global.choicemsg[0] = stringsetloc(#Yes"#Yes", "scr_text_slash_scr_text_gml_8_0" );
global.choicemsg[1] = stringsetloc(#No"#No", "scr_text_slash_scr_text_gml_9_0" );
global.choicemsg[2] = stringsetloc( " ", "scr_text_slash_scr_text_gml_12_0_b" );
global.choicemsg[3] = stringsetloc( " ", "scr_text_slash_scr_text_gml_13_0_b" );
global.msg[0] = stringsetloc(* You really didn't want to throw it away.Wait for input"* You really didn't want to throw it away./", "scr_text_slash_scr_text_gml_12_0" );
global.msg[1] = stringsetloc(* Throw it away anyway?Wait for input"* Throw it away anyway?/", "scr_text_slash_scr_text_gml_13_0" );
global.msg[2] = stringsetloc(Choice type 2 "\\C2 ", "scr_text_slash_scr_text_gml_14_0" );
if (global.chapter >= 2)
msgsetloc(0, * You took it from your pocket.Delay 11 * You have a very,Delay 11 very,Delay 11 bad feeling about throwing it away.Wait for input"* You took it from your pocket^1.&* You have a \\cYvery^1, very^1, bad feeling\\c0 about throwing it away./", "scr_text_slash_scr_text_gml_19_0" );
break;
case 11:
if (global.choice == 0)
{
global.flag[466 junkball_dropped] = 1;
snd_play(snd_bageldefeat);
global.msg[0] = stringsetloc(* Hand shaking,Delay 11 you dropped the ball of junk on the ground.Wait for input"* Hand shaking^1, you dropped the ball of junk on the ground./", "scr_text_slash_scr_text_gml_20_0" );
global.msg[1] = stringsetloc(* It broke into pieces.Wait for input"* It broke into pieces./", "scr_text_slash_scr_text_gml_21_0" );
global.msg[2] = stringsetloc(* You felt bitter.Wait for inputClose Message"* You felt bitter./%", "scr_text_slash_scr_text_gml_22_0" );
script_execute(scr_litemshift, global.menucoord[1], 0);
for (var i = 0; i < 12; i += 1)
global.item[i] = 0;
for (var i = 0; i < 48; i += 1)
{
global.armor[i] = 0;
global.weapon[i] = 0;
}
}
else
{
global.msg[0] = stringsetloc(* You felt a feeling of relief.Wait for inputClose Message"* You felt a feeling of relief./%", "scr_text_slash_scr_text_gml_34_0" );
}
break;
case 100:
global.msg[0] = stringsetloc(* Hey, Kris!Delay 11 What's up?Delay 11 * Didja lose your pencil again?Wait for input"* Hey, Kris^1! What's up^1?&* Didja lose your pencil again?/", "scr_text_slash_scr_text_gml_39_0" );
global.msg[1] = stringsetloc(Face 4* Here,Delay 11 you want the candy-cane one or the one with lights on it?Wait for input"\\E4* Here^1, you want the candy-cane one or the one with lights on it?/", "scr_text_slash_scr_text_gml_40_0" );
global.msg[2] = stringsetloc(Face 1* Huh?Delay 11 * You want to be partners?Wait for input"\\E1* Huh^1?&* You want to be partners?/", "scr_text_slash_scr_text_gml_41_0" );
global.msg[3] = stringsetloc(Face 4* Ummm...Delay 11 Sorry...Delay 11 * Berdly already asked me...Wait for input"\\E4* Ummm..^1. Sorry..^1.&* Berdly already asked me.../", "scr_text_slash_scr_text_gml_42_0" );
global.msg[4] = stringsetloc(Face 0* But I could ask Ms. Alphys if we could make a group of 3!Wait for input"\\E0* But I could ask Ms. Alphys if we could make a group of 3!/", "scr_text_slash_scr_text_gml_43_0" );
global.msg[5] = stringsetloc(Face 4* I'll ask if you're sure!
Not yet Yes. Ask.Choice type 1 "\\E4* I'll ask if you're sure!& &Not yet Yes. Ask.\\C1 ", "scr_text_slash_scr_text_gml_44_0" );
global.msg[6] = stringsetloc( " ", "scr_text_slash_scr_text_gml_47_0" );
break;
case 101:
if (global.choice == 1)
{
global.msg[0] = stringsetloc(Face 0* OK,Delay 11 I'll ask!Wait for input"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_51_0" );
global.msg[1] = stringsetloc(* Miss Alphys!Delay 11 * Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_52_0" );
with (obj_classscene)
con = 20;
}
if (global.choice == 0)
global.msg[0] = stringsetloc(Face 4* Yeah,Delay 11 I'm sure there's someone else you can ask!Wait for inputClose Message"\\E4* Yeah^1, I'm sure there's someone else you can ask!/%", "scr_text_slash_scr_text_gml_57_0" );
break;
case 102:
global.msg[0] = stringsetloc(Face 0* Do you wanna be partners? Not yet YesChoice type 1 "\\E0* Do you wanna be partners?&Not yet Yes\\C1 ", "scr_text_slash_scr_text_gml_62_0" );
global.msg[1] = stringsetloc( " ", "scr_text_slash_scr_text_gml_65_0" );
break;
case 103:
if (global.choice == 1)
{
global.msg[0] = stringsetloc(Face 0* OK,Delay 11 I'll ask!Wait for input"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_69_0" );
global.msg[1] = stringsetloc(* Miss Alphys!Delay 11 * Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_70_0" );
with (obj_classscene)
con = 20;
}
if (global.choice == 0)
global.msg[0] = stringsetloc(Face 4* Umm,Delay 11 OK.Delay 11 * You just keep doing your thing,Delay 11 Kris.Wait for inputClose Message"\\E4* Umm^1, OK^1.&* You just keep doing your thing^1, Kris./%", "scr_text_slash_scr_text_gml_75_0" );
break;
case 104:
global.msg[0] = stringsetloc(Face 0* Alright.Delay 11 * Let's get this over with.Wait for input"\\E0* Alright^1.&* Let's get this over with./", "scr_text_slash_scr_text_gml_80_0" );
global.msg[1] = stringsetloc(* We'll get more chalk.Delay 11 * Mosey back to class.Delay 11 * And then,Delay 11 Kris...Wait for input"* We'll get more chalk^1.&* Mosey back to class^1.&* And then^1, Kris.../", "scr_text_slash_scr_text_gml_81_0" );
global.msg[2] = stringsetloc(Face 2* YOU'LL do our project.Wait for input"\\E2* YOU'LL do our project./", "scr_text_slash_scr_text_gml_82_0" );
global.msg[3] = stringsetloc(* How's that sound?
Good BadChoice type 1 "* How's that sound?& &Good Bad\\C1 ", "scr_text_slash_scr_text_gml_83_0" );
global.msg[4] = stringsetloc( " ", "scr_text_slash_scr_text_gml_86_0" );
break;
case 105:
global.msg[0] = stringsetloc( Close MessageClose Message" %%", "scr_text_slash_scr_text_gml_90_0" );
break;
case 110:
global.choicemsg[0] = stringsetloc(#Yes"#Yes", "scr_text_slash_scr_text_gml_92_0" );
global.choicemsg[1] = stringsetloc(#No"#No", "scr_text_slash_scr_text_gml_93_0" );
global.choicemsg[2] = stringsetloc( " ", "scr_text_slash_scr_text_gml_96_0" );
global.choicemsg[3] = stringsetloc( " ", "scr_text_slash_scr_text_gml_97_0" );
if (global.flag[100 got_glowshard] == 0)
{
global.msg[0] = stringsetloc(* (There's something glowing inside.)Wait for input"* (There's something glowing inside.)/", "scr_text_slash_scr_text_gml_98_0" );
global.msg[1] = stringsetloc(* (Take it?)Wait for input "* (Take it?)/ ", "scr_text_slash_scr_text_gml_99_0" );
global.msg[2] = stringsetloc( Choice type 2" \\C2", "scr_text_slash_scr_text_gml_100_0" );
}
else
{
global.msg[0] = stringsetloc(* (It's dark inside.)Wait for inputClose Message"* (It's dark inside.)/%", "scr_text_slash_scr_text_gml_104_0" );
}
break;
case 111:
... (global.msc);
|
|
8
|
with (d_make())
|
|
9
|
side = 0;
|
|
10
|
myinteract = 4;
|
|
11
|
}
|
|
12
|
if (myinteract == 4 && !d_ex())
|
|
13
|
myinteract = 10;
|
|
14
|
if (myinteract == 10)
|
|
15
|
{
|
|
16
|
codeentry = instance_create(x, y, obj_codeentry);
|
|
17
|
with (codeentry)
|
|
18
|
{
|
|
19
|
side = 0;
|
|
20
|
numcount = 3;
|
|
21
|
noquit = true;
|
|
22
|
correctcode[0] = 2;
|
|
23
|
correctcode[1] = 1;
|
|
24
|
correctcode[2] = 3;
|
|
25
|
if (room == room_dw_puzzlecloset_2)
|
|
26
|
{
|
|
27
|
numcount = 4;
|
|
28
|
correctcode[0] = 1;
|
|
29
|
correctcode[1] = 2;
|
|
30
|
correctcode[2] = 2;
|
|
31
|
correctcode[3] = 5;
|
|
32
|
}
|
|
33
|
if (room == room_dw_puzzlecloset_3)
|
|
34
|
{
|
|
35
|
numcount = 6;
|
|
36
|
correctcode[0] = 0;
|
|
37
|
correctcode[1] = 0;
|
|
38
|
correctcode[2] = 0;
|
|
39
|
correctcode[3] = 0;
|
|
40
|
correctcode[4] = 0;
|
|
41
|
correctcode[5] = 0;
|
|
42
|
}
|
|
43
|
}
|
|
44
|
timer = 0;
|
|
45
|
myinteract = 11;
|
|
46
|
}
|
|
47
|
if (myinteract == 11)
|
|
48
|
{
|
|
49
|
if (codeentry.result != -1)
|
|
50
|
{
|
|
51
|
timer++;
|
|
52
|
if (timer == 1)
|
|
53
|
{
|
|
54
|
if (codeentry.result == -2)
|
|
55
|
{
|
|
56
|
with (codeentry)
|
|
57
|
instance_destroy();
|
|
58
|
timer = 0;
|
|
59
|
myinteract = 30;
|
|
60
|
}
|
|
61
|
}
|
|
62
|
if (timer == 30)
|
|
63
|
{
|
|
64
|
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");
|
|
65
|
if (codeentry.result == 0)
|
|
66
|
{
|
|
67
|
msgsetloc(0, * (...Delay 11 wrong combination!)Wait for inputClose Message"* (..^1. wrong combination!)/%", "obj_dw_puzzlecloset_dooriel_slash_Step_0_gml_50_0" );
|
|
68
|
myinteract = 30;
|
|
69
|
if (room == room_dw_puzzlecloset_1)
|
|
70
|
{
|
|
71
|
with (obj_dw_puzzlecloset_1_consolesequence)
|
|
72
|
{
|
|
73
|
if (con == -1)
|
|
74
|
con = 0;
|
|
75
|
}
|
|
76
|
if (global.flag[1133 parent_lock_1_start] == 0)
|
|
77
|
{
|
|
78
|
global.flag[1133 parent_lock_1_start] = 1;
|
|
79
|
screenon = 1;
|
|
80
|
}
|
|
81
|
if (!i_ex(obj_puzzlecloset_tvturnon))
|
|
82
|
{
|
|
83
|
if (codeentry.entrystring == "123" || codeentry.entrystring == "123" || codeentry.entrystring == "132" || codeentry.entrystring == "231" || codeentry.entrystring == "312" || codeentry.entrystring == "321")
|
|
84
|
{
|
|
85
|
global.flag[1262 parent_lock_1_close]++;
|
|
86
|
if (resultcheck == 0)
|
|
87
|
resultcheck = 1;
|
|
88
|
if (global.flag[1262 parent_lock_1_close] >= 2)
|
|
89
|
resultcheck = 5;
|
|
90
|
}
|
|
91
|
}
|
|
92
|
}
|
|
93
|
if (room == room_dw_puzzlecloset_2)
|
|
94
|
{
|
|
95
|
if (codeentry.entrystring == "1252" || codeentry.entrystring == "1522" || codeentry.entrystring == "2125" || codeentry.entrystring == "2152" || codeentry.entrystring == "2215" || codeentry.entrystring == "2251" || codeentry.entrystring == "2512" || codeentry.entrystring == "2521" || codeentry.entrystring == "5122" || codeentry.entrystring == "5212" || codeentry.entrystring == "5221")
|
|
96
|
{
|
|
97
|
if (resultcheck == 0)
|
|
98
|
resultcheck = 1;
|
|
99
|
}
|
|
100
|
}
|
|
101
|
}
|
|
102
|
else
|
|
103
|
{
|
|
104
|
msgsetloc(0, * (You entered the numbers knowingly.)Wait for inputClose Message"* (You entered the numbers knowingly.)/%", "obj_dw_puzzlecloset_dooriel_slash_Step_0_gml_55_0" );
|
|
105
|
myinteract = 50;
|
|
106
|
}
|
|
107
|
with (codeentry)
|
|
108
|
instance_destroy();
|
|
109
|
with (d_make())
|
|
110
|
{
|
|
111
|
side = 0;
|
|
112
|
if (other.resultcheck == 1)
|
|
113
|
stay = 10;
|
|
114
|
}
|
|
115
|
timer = 0;
|
|
116
|
}
|
|
117
|
}
|
|
118
|
}
|
|
119
|
if (myinteract == 30 && !d_ex())
|
|
120
|
myinteract = 99;
|
|
121
|
if (myinteract == 50 && !d_ex())
|
|
122
|
{
|
|
123
|
if (room == room_dw_puzzlecloset_1)
|
|
124
|
global.flag[1094 parent_lock_1] = 1;
|
|
125
|
if (room == room_dw_puzzlecloset_2)
|
|
126
|
global.flag[1095 parent_lock_2] = 1;
|
|
127
|
if (room == room_dw_puzzlecloset_3)
|
|
128
|
global.flag[1231 parent_lock_3_done] = 1;
|
|
129
|
with (scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (x, y, sprite_index))
|
|
130
|
{
|
|
131
|
image_blend = c_black;
|
|
132
|
depth = 1000050;
|
|
133
|
}
|
|
134
|
timer = 0;
|
|
135
|
ribbickleave = 1;
|
|
136
|
open = 1;
|
|
137
|
myinteract++;
|
|
138
|
}
|
|
139
|
if (myinteract == 99)
|
|
140
|
{
|
|
141
|
if (screenon == 1)
|
|
142
|
{
|
|
143
|
screenon = 2;
|
|
144
|
with (obj_b3bs_console)
|
|
145
|
{
|
|
146
|
global.flag[1133 parent_lock_1_start] = 1;
|
|
147
|
with (tv2)
|
|
148
|
turnon = 1;
|
|
149
|
with (tv1)
|
|
150
|
scr_delay_var("turnon", 1, 3);
|
|
151
|
with (tv3)
|
|
152
|
scr_delay_var("turnon", 1, 6);
|
|
153
|
snd = snd_play_x(snd_tv_poweron, 0.2, 0.5);
|
|
154
|
snd_volume(snd, 0, 15);
|
|
155
|
snd = snd_play_x(snd_tv_poweron, 0.4, 2);
|
|
156
|
snd_volume(snd, 0, 15);
|
|
157
|
}
|
|
158
|
}
|
|
159
|
buffer = 3;
|
|
160
|
myinteract = 0;
|
|
161
|
if (resultcheck == 1 || (resultcheck == 5 && global.flag[1133 parent_lock_1_start] == 1 && instance_number(obj_board_grabbablegrass) <= 4 && obj_dw_puzzlecloset_1_solidarea.everpressed))
|
|
162
|
{
|
|
163
|
global.interact = 1;
|
|
164
|
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");
|
|
165
|
msgsetloc(0, Face d* ...Delay 11 hmm...Delay 11 I feel like that was close,Delay 11 but...Wait for inputClose Message"\\Ed* ..^1. hmm..^1. I feel like that was close^1, but.../%", "obj_dw_puzzlecloset_dooriel_slash_Step_0_gml_259_0" );
|
|
166
|
if (resultcheck == 5)
|
|
167
|
{
|
|
168
|
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");
|
|
169
|
msgsetloc(0, Face d* Hmm...Delay 11 1,Delay 112,Delay 11 and 3 seem like the right numbers,Delay 11 but...Wait for input"\\Ed* Hmm..^1. 1^1,2^1, and 3 seem like the right numbers^1, but.../", "obj_dw_puzzlecloset_dooriel_slash_Step_0_gml_207_0" );
|
|
170
|
msgnextloc(Face E* (Is the order...Delay 11 different somehow?...)Wait for inputClose Message"\\EE* (Is the order..^1. different somehow?...)/%", "obj_dw_puzzlecloset_dooriel_slash_Step_0_gml_208_0" );
|
|
171
|
}
|
|
172
|
d_make();
|
|
173
|
resultcheck = 2;
|
|
174
|
}
|
|
175
|
else
|
|
176
|
{
|
|
177
|
global.interact = 0;
|
|
178
|
}
|
|
179
|
}
|
|
180
|
if (resultcheck == 2 && !d_ex())
|
|
181
|
{
|
|
182
|
resultcheck = 3;
|
|
183
|
global.interact = 0;
|
|
184
|
}
|
|
185
|
if (ribbickleave == 1)
|
|
186
|
{
|
|
187
|
timer++;
|
|
188
|
if (timer == 1)
|
|
189
|
{
|
|
190
|
with (obj_npc_room)
|
|
191
|
{
|
|
192
|
if (sprite_index == spr_ribbick_Idle)
|
|
193
|
{
|
|
194
|
other.ribbick = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (x, y, sprite_index);
|
|
195
|
other.ribbick.depth = depth;
|
|
196
|
instance_destroy();
|
|
197
|
}
|
|
198
|
}
|
|
199
|
if (!i_ex(ribbick))
|
|
200
|
{
|
|
201
|
}
|
|
202
|
}
|
|
203
|
if (timer == 15)
|
|
204
|
{
|
|
205
|
with (ribbick)
|
|
206
|
{
|
|
207
|
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_alpha", 1, 0, 45, 2, "out");
|
|
208
|
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;
} ("x", x, x - 120, 45, 2, "in");
|
|
209
|
scr_doomscr_doom
function scr_doom(arg0, arg1)
{
with (instance_create_depth(0, 0, 0, obj_doom))
{
alarm[0]
target = arg0;
}
} (id, 45);
|
|
210
|
}
|
|
211
|
}
|
|
212
|
}
|