|
1
|
scr_populatecharsscr_populatechars
function scr_populatechars()
{
if (!variable_instance_exists(id, "kris"))
kris = 0;
if (!variable_instance_exists(id, "ralsei"))
ralsei = 0;
if (!variable_instance_exists(id, "susie"))
susie = 0;
if (!variable_instance_exists(id, "noelle"))
noelle = 0;
if (kris == 0)
{
with (obj_mainchara)
other.kris = id;
}
if (susie == 0)
{
with (obj_caterpillarchara)
{
if (name == "susie")
other.susie = id;
}
}
if (ralsei == 0)
{
with (obj_caterpillarchara)
{
if (name == "ralsei")
other.ralsei = id;
}
}
if (noelle == 0)
{
with (obj_caterpillarchara)
{
if (name == "noelle")
other.noelle = id;
}
}
} ();
|
|
2
|
if (!init)
|
|
3
|
{
|
|
4
|
var pos = scr_heromarkerscr_heromarker
function scr_heromarker(arg0 = "", arg1 = "")
{
var ____foundmarker = -4;
var xpos = -1;
var ypos = -1;
var objindextocheck = 1365;
if (string_pos("kr", arg0) != 0)
objindextocheck = 544;
if (string_pos("su", arg0) != 0)
objindextocheck = 522;
if (string_pos("ra", arg0) != 0)
objindextocheck = 75;
if (string_pos("no", arg0) != 0)
objindextocheck = 933;
if (string_pos("gen", arg0) != 0)
objindextocheck = 1365;
with (objindextocheck)
{
if (variable_instance_exists(id, "extflag"))
{
if (extflag == arg1)
____foundmarker = id;
}
}
if (instance_exists(____foundmarker))
{
xpos = ____foundmarker.x;
ypos = ____foundmarker.y;
}
if (____foundmarker == -4)
{
debug_message("scr_heromarker(" + arg0 + "," + arg1 + ") Object Not Found");
return [-4, -4, -4];
}
return [xpos, ypos, ____foundmarker];
}
function scr_genmarker(arg0 = "")
{
var marker = -4;
with (obj_genmarker)
{
if (extflag == arg0)
marker = id;
}
return marker;
} (undefined, "prop3");
|
|
5
|
prophecy3 = instance_create(scr_evenscr_even
function scr_even(arg0)
{
return round(arg0 / 2) * 2;
} (pos[0] + 150), scr_evenscr_even
function scr_even(arg0)
{
return round(arg0 / 2) * 2;
} (pos[1] + 90), obj_dw_church_prophecy);
|
|
6
|
prophecy3.extflag = "boss3";
|
|
7
|
init = 1;
|
|
8
|
}
|
|
9
|
if (global.fighting == 1)
|
|
10
|
domake = false;
|
|
11
|
array_push(plspeed, obj_mainchara.px);
|
|
12
|
if (array_length(plspeed) > 8)
|
|
13
|
array_delete(plspeed, 0, 1);
|
|
14
|
var plspeedavg = 0;
|
|
15
|
for (var i = 0; i < array_length(plspeed); i++)
|
|
16
|
plspeedavg += plspeed[i];
|
|
17
|
plspeedavg = plspeedavg / array_length(plspeed);
|
|
18
|
if (battlecon == 0 && domake)
|
|
19
|
{
|
|
20
|
var trig = 0;
|
|
21
|
var _dir = 0;
|
|
22
|
with (obj_trigger)
|
|
23
|
{
|
|
24
|
if (scr_trigcheckscr_trigcheck
function scr_trigcheck(arg0)
{
var ____trig = 0;
if (is_string(arg0))
{
with (obj_trigger)
{
if (extflag == arg0)
{
if (place_meeting(x, y, obj_mainchara))
____trig++;
}
}
}
return ____trig;
}
function scr_trigcheck_ext(arg0, arg1 = id)
{
var ____trig = 0;
if (is_string(arg0))
{
with (obj_trigger)
{
if (extflag == arg0)
{
if (place_meeting(x, y, arg1))
____trig++;
}
}
}
return ____trig;
} ("encounter"))
|
|
25
|
{
|
|
26
|
trig = 1;
|
|
27
|
if (obj_mainchara.x < (bbox_left + (sprite_width / 2)))
|
|
28
|
_dir = 1;
|
|
29
|
else
|
|
30
|
_dir = 0;
|
|
31
|
}
|
|
32
|
}
|
|
33
|
if (trig == 1)
|
|
34
|
{
|
|
35
|
if (global.flag[encounterflag] != 0)
|
|
36
|
_dir = !_dir;
|
|
37
|
var xloc = scr_genmarker("left").x;
|
|
38
|
if (_dir == 1)
|
|
39
|
xloc = scr_genmarker("right").x;
|
|
40
|
with (instance_create(xloc, cameray(), obj_encounter_incenseturtle))
|
|
41
|
{
|
|
42
|
depth = layer_get_depth("PILLARS_FG") + 1;
|
|
43
|
dir = !_dir;
|
|
44
|
encounterno = other.encounterno;
|
|
45
|
encounterflag = other.encounterflag;
|
|
46
|
}
|
|
47
|
battletimer = 200;
|
|
48
|
battlecon = 1;
|
|
49
|
}
|
|
50
|
}
|
|
51
|
if (battlecon == 1)
|
|
52
|
{
|
|
53
|
if (global.interact == 0)
|
|
54
|
battletimer--;
|
|
55
|
if (battletimer <= 0)
|
|
56
|
battlecon = 0;
|
|
57
|
}
|
|
58
|
with (pillarnpc)
|
|
59
|
{
|
|
60
|
var gotegg = global.flag[931];
|
|
61
|
if (myinteract == 3)
|
|
62
|
{
|
|
63
|
makedoor = false;
|
|
64
|
global.interact = 1;
|
|
65
|
global.msc = -99;
|
|
66
|
global.choice = -1;
|
|
67
|
global.choicemsg[0] = stringsetloc(#Yes"#Yes", "obj_dw_churchc_angelprophecy_encounter_slash_Step_0_gml_89_0" );
|
|
68
|
global.choicemsg[1] = stringsetloc(#No"#No", "obj_dw_churchc_angelprophecy_encounter_slash_Step_0_gml_90_0" );
|
|
69
|
global.choicemsg[2] = stringset("");
|
|
70
|
global.choicemsg[3] = stringset("");
|
|
71
|
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");
|
|
72
|
msgsetloc(0, * Treasure? There is no treasure...Delay 11 only experience.Wait for input"* Treasure? There is no treasure..^1. only experience./", "obj_dw_churchc_angelprophecy_encounter_slash_Step_0_gml_95_0" );
|
|
73
|
msgnextloc(* The other side of your mind...Delay 11 did you miss something there?Wait for input"* The other side of your mind..^1. did you miss something there?/", "obj_dw_churchc_angelprophecy_encounter_slash_Step_0_gml_96_0" );
|
|
74
|
msgnext("\\C2 ");
|
|
75
|
myinteract = 4;
|
|
76
|
if (talked || global.flag[1606] > 0)
|
|
77
|
{
|
|
78
|
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");
|
|
79
|
msgsetloc(0, * We are all liars now. Yes,Delay 11 it's fun being a liar.Wait for inputClose Message"* We are all liars now. Yes^1, it's fun being a liar./%", "obj_dw_churchc_angelprophecy_encounter_slash_Step_0_gml_104_0" );
|
|
80
|
myinteract = 999;
|
|
81
|
}
|
|
82
|
d_make();
|
|
83
|
talked++;
|
|
84
|
}
|
|
85
|
if (myinteract == 4 && global.choice != -1)
|
|
86
|
{
|
|
87
|
k_d(1);
|
|
88
|
if (global.choice == 1)
|
|
89
|
{
|
|
90
|
if (gotegg)
|
|
91
|
{
|
|
92
|
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");
|
|
93
|
msgsetloc(0, * It's absolutely true. Oh,Delay 11 sink me,Delay 11 the unbeliever. I should be a statue.Wait for inputClose Message"* It's absolutely true. Oh^1, sink me^1, the unbeliever. I should be a statue./%", "obj_dw_churchc_angelprophecy_encounter_slash_Step_0_gml_121_0" );
|
|
94
|
global.flag[1606] = 2;
|
|
95
|
}
|
|
96
|
else
|
|
97
|
{
|
|
98
|
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");
|
|
99
|
msgsetloc(0, * Of course you didn't. There's nothing to miss.Wait for input"* Of course you didn't. There's nothing to miss./", "obj_dw_churchc_angelprophecy_encounter_slash_Step_0_gml_127_0" );
|
|
100
|
msgnextloc(* Those who can't speak the truth are liars.Wait for input"* Those who can't speak the truth are liars./", "obj_dw_churchc_angelprophecy_encounter_slash_Step_0_gml_128_0" );
|
|
101
|
msgnextloc(* And none of us can know the truth now,Delay 11 so we're all liars!Wait for input"* And none of us can know the truth now^1, so we're all liars!/", "obj_dw_churchc_angelprophecy_encounter_slash_Step_0_gml_129_0" );
|
|
102
|
msgnextloc(* Look for yourself!Delay 11 There's nothing back there,Delay 11 is there?Wait for inputClose Message"* Look for yourself^1! There's nothing back there^1, is there?/%", "obj_dw_churchc_angelprophecy_encounter_slash_Step_0_gml_130_0" );
|
|
103
|
global.flag[1606] = 1;
|
|
104
|
makedoor = true;
|
|
105
|
}
|
|
106
|
}
|
|
107
|
if (global.choice == 0)
|
|
108
|
{
|
|
109
|
if (gotegg)
|
|
110
|
{
|
|
111
|
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");
|
|
112
|
msgsetloc(0, * Liar!Delay 11 Your hands are shining. You took and made,Delay 11 took and made.Wait for input"* Liar^1! Your hands are shining. You took and made^1, took and made./", "obj_dw_churchc_angelprophecy_encounter_slash_Step_0_gml_140_0" );
|
|
113
|
msgnextloc(* Tickets and cards,Delay 11 drawn in gray,Delay 11 a trace - repeated,Delay 11 repeated!Delay 11 - it's all so clear!Wait for input"* Tickets and cards^1, drawn in gray^1, a trace - repeated^1, repeated^1! - it's all so clear!/", "obj_dw_churchc_angelprophecy_encounter_slash_Step_0_gml_141_0" );
|
|
114
|
msgnextloc(* ...Delay 11 though,Delay 11 it would be a lie if I said I understood it!Wait for inputClose Message"* ..^1. though^1, it would be a lie if I said I understood it!/%", "obj_dw_churchc_angelprophecy_encounter_slash_Step_0_gml_142_0" );
|
|
115
|
global.flag[1606] = 2;
|
|
116
|
}
|
|
117
|
else
|
|
118
|
{
|
|
119
|
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");
|
|
120
|
msgsetloc(0, * You speak the truth so confidently.Wait for input"* You speak the truth so confidently./", "obj_dw_churchc_angelprophecy_encounter_slash_Step_0_gml_148_0" );
|
|
121
|
msgnextloc(* You are safe now,Delay 11 but you have the makings of a liar.Wait for inputClose Message"* You are safe now^1, but you have the makings of a liar./%", "obj_dw_churchc_angelprophecy_encounter_slash_Step_0_gml_149_0" );
|
|
122
|
talked = 0;
|
|
123
|
}
|
|
124
|
}
|
|
125
|
d_make();
|
|
126
|
myinteract = 999;
|
|
127
|
}
|
|
128
|
if (myinteract > 3 && d_ex())
|
|
129
|
{
|
|
130
|
var trig = 0;
|
|
131
|
if (!i_ex(obj_writer))
|
|
132
|
trig = 1;
|
|
133
|
with (obj_writer)
|
|
134
|
{
|
|
135
|
if (halt)
|
|
136
|
trig = 1;
|
|
137
|
}
|
|
138
|
if (!trig)
|
|
139
|
marker.image_index += 0.25;
|
|
140
|
}
|
|
141
|
if (myinteract == 999 && !d_ex())
|
|
142
|
{
|
|
143
|
if (makedoor)
|
|
144
|
{
|
|
145
|
makedoor = false;
|
|
146
|
scr_shakescreenscr_shakescreen
function scr_shakescreen(arg0 = 4, arg1 = 4)
{
var shaker = instance_create(x, y, obj_shake);
if (i_ex(shaker))
{
shaker.shakex = arg0;
shaker.shakey = arg1;
}
} ();
|
|
147
|
snd_play(snd_locker);
|
|
148
|
with (obj_dw_churchc_angelprophecy_encounter)
|
|
149
|
event_user(1);
|
|
150
|
}
|
|
151
|
myinteract = 0;
|
|
152
|
marker.image_index = 0;
|
|
153
|
global.interact = 0;
|
|
154
|
}
|
|
155
|
}
|
|
156
|
propact = scr_trigcheckscr_trigcheck
function scr_trigcheck(arg0)
{
var ____trig = 0;
if (is_string(arg0))
{
with (obj_trigger)
{
if (extflag == arg0)
{
if (place_meeting(x, y, obj_mainchara))
____trig++;
}
}
}
return ____trig;
}
function scr_trigcheck_ext(arg0, arg1 = id)
{
var ____trig = 0;
if (is_string(arg0))
{
with (obj_trigger)
{
if (extflag == arg0)
{
if (place_meeting(x, y, arg1))
____trig++;
}
}
}
return ____trig;
} ("propact");
|
|
157
|
obj_dw_church_prophecy.active = propact;
|
|
158
|
roomglow.active = propact;
|