|
1
|
if (talked)
|
|
2
|
sprite_index = spr_lancer_dt;
|
|
3
|
else
|
|
4
|
sprite_index = spr_lancer_ut;
|
|
5
|
if (x < (camerax() - 72))
|
|
6
|
talked = 0;
|
|
7
|
if (global.plot >= 280)
|
|
8
|
{
|
|
9
|
sprite_index = spr_lancer_stone;
|
|
10
|
if (x > (camerax() - 20))
|
|
11
|
global.flag[1254 stone_lancer_ch3] = 1;
|
|
12
|
}
|
|
13
|
if (buffer > 0)
|
|
14
|
buffer--;
|
|
15
|
if (con == 1)
|
|
16
|
{
|
|
17
|
global.interact = 1;
|
|
18
|
global.choice = -1;
|
|
19
|
global.msc = -99;
|
|
20
|
global.choicemsg[0] = stringsetloc(#What are#you doing?"#What are#you doing?", "obj_b3bs_lancerget_lancer_slash_Step_0_gml_17_0" );
|
|
21
|
global.choicemsg[1] = stringsetloc(#Tips #Tricks"#Tips &#Tricks", "obj_b3bs_lancerget_lancer_slash_Step_0_gml_18_0" );
|
|
22
|
global.choicemsg[2] = stringsetloc(Nothing"Nothing", "obj_b3bs_lancerget_lancer_slash_Step_0_gml_19_0" );
|
|
23
|
if (global.flag[1099 lancer_control_num] > 0)
|
|
24
|
global.choicemsg[2] = stringsetloc(Return controllers"Return controllers", "obj_b3bs_lancerget_lancer_slash_Step_0_gml_21_0" );
|
|
25
|
global.choicemsg[3] = stringset("");
|
|
26
|
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;
... ("lancer");
|
|
27
|
msgsetloc(0, Face 1* Ho ho ho!Delay 11 What's up,Delay 11 my gang?Wait for input"\\E1* Ho ho ho^1! What's up^1, my gang?/", "obj_b3bs_lancerget_lancer_slash_Step_0_gml_26_0" );
|
|
28
|
msgnext("\\E1\\C3 ");
|
|
29
|
con = 2;
|
|
30
|
if (global.plot >= 280)
|
|
31
|
{
|
|
32
|
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");
|
|
33
|
msgsetloc(0, * (...Delay 11 stone.)Wait for inputClose Message"* (..^1. stone.)/%", "obj_b3bs_lancerget_lancer_slash_Step_0_gml_45_0" );
|
|
34
|
con = 99;
|
|
35
|
}
|
|
36
|
d_make();
|
|
37
|
}
|
|
38
|
if (con == 2 && global.choice != -1)
|
|
39
|
{
|
|
40
|
k_d(2);
|
|
41
|
if (global.choice == 0)
|
|
42
|
{
|
|
43
|
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;
... ("lancer");
|
|
44
|
msgsetloc(0, Face 2* I lost my controller,Delay 11 so they gave me a fresh one!Wait for input"\\E2* I lost my controller^1, so they gave me a fresh one!/", "obj_b3bs_lancerget_lancer_slash_Step_0_gml_40_0" );
|
|
45
|
msgnextloc(Face 1* Repeat several times,Delay 11 and voil-o!Delay 11 Fun is had.Wait for inputClose Message"\\E1* Repeat several times^1, and voil-o^1! Fun is had./%", "obj_b3bs_lancerget_lancer_slash_Step_0_gml_41_0" );
|
|
46
|
d_make();
|
|
47
|
con = 99;
|
|
48
|
}
|
|
49
|
if (global.choice == 1)
|
|
50
|
{
|
|
51
|
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;
... ("lancer");
|
|
52
|
msgsetloc(0, Face 3* Oh-ho!Delay 11 You want some treats of the trade!?Wait for input"\\E3* Oh-ho^1! You want some treats of the trade!?/", "obj_b3bs_lancerget_lancer_slash_Step_0_gml_48_0_b" );
|
|
53
|
msgnextloc(Face 2* To be me,Delay 11 first find an X on the ground.Wait for input"\\E2* To be me^1, first find an X on the ground./", "obj_b3bs_lancerget_lancer_slash_Step_0_gml_49_0" );
|
|
54
|
msgnextloc(Face 1* Go on it and...Delay 11 dig!Delay 11 I don't know which button!Wait for input"\\E1* Go on it and..^1. dig^1! I don't know which button!/", "obj_b3bs_lancerget_lancer_slash_Step_0_gml_50_0_b" );
|
|
55
|
msgnextloc(Face 3* I just press all of them down with my tongue.Wait for input"\\E3* I just press all of them down with my tongue./", "obj_b3bs_lancerget_lancer_slash_Step_0_gml_51_0_b" );
|
|
56
|
msgnextloc(Face 6* Eventually your controller will break.Wait for input"\\E6* Eventually your controller will break./", "obj_b3bs_lancerget_lancer_slash_Step_0_gml_52_0" );
|
|
57
|
msgnextloc(Face 2* A father figure will give you a new one.Wait for input"\\E2* A father figure will give you a new one./", "obj_b3bs_lancerget_lancer_slash_Step_0_gml_53_0" );
|
|
58
|
msgnextloc(Face 1* Say "aaaaa" when he checks your mouth for illness.Wait for input"\\E1* Say \"aaaaa\" when he checks your mouth for illness./", "obj_b3bs_lancerget_lancer_slash_Step_0_gml_54_0" );
|
|
59
|
msgnextloc(Face 3* Then,Delay 11 just gargle,Delay 11 rinse,Delay 11 and repeat!Delay 11 Have fun,Delay 11 team!Wait for inputClose Message"\\E3* Then^1, just gargle^1, rinse^1, and repeat^1! Have fun^1, team!/%", "obj_b3bs_lancerget_lancer_slash_Step_0_gml_55_0" );
|
|
60
|
d_make();
|
|
61
|
con = 99;
|
|
62
|
}
|
|
63
|
if (global.choice == 2)
|
|
64
|
{
|
|
65
|
if (global.flag[1099 lancer_control_num] > 0)
|
|
66
|
{
|
|
67
|
scr_keyitemremovescr_keyitemremove
function scr_keyitemremove(arg0)
{
removed = 0;
scr_keyitemcheck(arg0);
if (haveit == 1)
{
loc = 0;
skip = 0;
if (global.keyitem[0] == arg0 && skip == 0)
{
loc = 0;
skip = 1;
}
if (global.keyitem[1] == arg0 && skip == 0)
{
loc = 1;
skip = 1;
}
if (global.keyitem[2] == arg0 && skip == 0)
{
loc = 2;
skip = 1;
}
if (global.keyitem[3] == arg0 && skip == 0)
{
loc = 3;
skip = 1;
}
if (global.keyitem[4] == arg0 && skip == 0)
{
loc = 4;
skip = 1;
}
if (global.keyitem[5] == arg0 && skip == 0)
{
loc = 5;
skip = 1;
}
if (global.keyitem[6] == arg0 && skip == 0)
{
loc = 6;
skip = 1;
}
if (global.keyitem[7] == arg0 && skip == 0)
{
loc = 7;
skip = 1;
}
if (global.keyitem[8] == arg0 && skip == 0)
{
loc = 8;
skip = 1;
}
if (global.keyitem[9] == arg0 && skip == 0)
{
loc = 9;
skip = 1;
}
if (global.keyitem[10] == arg0 && skip == 0)
{
loc = 10;
skip = 1;
}
if (global.keyitem[11] == arg0 && skip == 0)
{
loc = 11;
skip = 1;
}
scr_keyitemshift(loc, 0);
removed = 1;
}
} (19);
|
|
68
|
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;
... ("lancer");
|
|
69
|
msgsetloc(0, Face 8* Hokey-dokey. Smush those babies back in...Wait for inputClose Message"\\E8* Hokey-dokey. Smush those babies back in.../%", "obj_b3bs_lancerget_lancer_slash_Step_0_gml_60_0" );
|
|
70
|
d_make();
|
|
71
|
con = 98;
|
|
72
|
}
|
|
73
|
else
|
|
74
|
{
|
|
75
|
con = 99;
|
|
76
|
}
|
|
77
|
}
|
|
78
|
}
|
|
79
|
if (con == 98 && !d_ex())
|
|
80
|
{
|
|
81
|
snd_play(snd_reverse_splat);
|
|
82
|
with (obj_b3bs_lancerget_console)
|
|
83
|
insert = 1;
|
|
84
|
global.flag[1099 lancer_control_num] = 0;
|
|
85
|
con = 99;
|
|
86
|
}
|
|
87
|
if (con == 99 && !d_ex())
|
|
88
|
{
|
|
89
|
con = 0;
|
|
90
|
global.interact = 0;
|
|
91
|
buffer = 3;
|
|
92
|
}
|