|
1
|
if (!init)
|
|
2
|
init = 1;
|
|
3
|
if (global.plot >= 242)
|
|
4
|
{
|
|
5
|
with (organik)
|
|
6
|
{
|
|
7
|
if (myinteract == 3)
|
|
8
|
{
|
|
9
|
global.interact = 1;
|
|
10
|
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");
|
|
11
|
msgsetloc(0, * You can't go in. Too crowded. There is a line just to get out.Wait for input"* You can't go in. Too crowded. There is a line just to get out./", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_18_0" );
|
|
12
|
msgnextloc(* Meanwhile,Delay 11 I'm in the line to get in.Wait for input"* Meanwhile^1, I'm in the line to get in./", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_19_0" );
|
|
13
|
msgnextloc(* ...Delay 11 Between us,Delay 11 it is a deadlock.Wait for inputClose Message"* ..^1. Between us^1, it is a deadlock./%", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_20_0" );
|
|
14
|
if (talked)
|
|
15
|
{
|
|
16
|
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");
|
|
17
|
msgsetloc(0, * Oh,Delay 11 standing still in a line. It's so exhilarating.Wait for input"* Oh^1, standing still in a line. It's so exhilarating./", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_25_0" );
|
|
18
|
msgnextloc(* Even if I'm in a line by myself.Wait for inputClose Message"* Even if I'm in a line by myself./%", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_26_0" );
|
|
19
|
}
|
|
20
|
d_make();
|
|
21
|
myinteract = 999;
|
|
22
|
talked++;
|
|
23
|
}
|
|
24
|
if (myinteract > 3 && d_ex())
|
|
25
|
{
|
|
26
|
var trig = 0;
|
|
27
|
if (!i_ex(obj_writer))
|
|
28
|
trig = 1;
|
|
29
|
with (obj_writer)
|
|
30
|
{
|
|
31
|
if (halt)
|
|
32
|
trig = 1;
|
|
33
|
}
|
|
34
|
if (!trig)
|
|
35
|
marker.image_index += 0.25;
|
|
36
|
}
|
|
37
|
if (myinteract == 999 && !d_ex())
|
|
38
|
{
|
|
39
|
myinteract = 0;
|
|
40
|
marker.image_index = 0;
|
|
41
|
global.interact = 0;
|
|
42
|
}
|
|
43
|
}
|
|
44
|
}
|
|
45
|
with (sparkle)
|
|
46
|
{
|
|
47
|
siner++;
|
|
48
|
marker.image_index += 0.125;
|
|
49
|
marker.image_alpha = (sin(siner / 15) * 0.5) + 0.75;
|
|
50
|
mask_index = spr_heart_centered;
|
|
51
|
if (myinteract == 3)
|
|
52
|
{
|
|
53
|
if (myinteract == 3)
|
|
54
|
global.interact = 1;
|
|
55
|
global.msc = -99;
|
|
56
|
global.choice = -1;
|
|
57
|
global.choicemsg[0] = stringsetloc(#Hug the wall"#Hug the wall", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_69_0" );
|
|
58
|
global.choicemsg[1] = stringsetloc(#Don't"#Don't", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_70_0" );
|
|
59
|
global.choicemsg[2] = stringset("");
|
|
60
|
global.choicemsg[3] = stringset("");
|
|
61
|
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");
|
|
62
|
msgsetloc(0, * (It's a wall...Delay 11 It looks solid.)Wait for input"* (It's a wall..^1. It looks solid.)/", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_75_0" );
|
|
63
|
msgnext("\\C2 ");
|
|
64
|
d_make();
|
|
65
|
myinteract = 4;
|
|
66
|
marker.visible = false;
|
|
67
|
}
|
|
68
|
if (myinteract == 4 && global.choice != -1)
|
|
69
|
{
|
|
70
|
k_d(1);
|
|
71
|
if (global.choice == 0)
|
|
72
|
{
|
|
73
|
x += room_width;
|
|
74
|
with (obj_mainchara)
|
|
75
|
{
|
|
76
|
snd_play(snd_bump);
|
|
77
|
fun = 1;
|
|
78
|
sprite_index = spr_kris_piano_loop_1;
|
|
79
|
image_index = 1;
|
|
80
|
image_speed = 0;
|
|
81
|
}
|
|
82
|
var small_text_a = stringsetloc(Kris?"Kris?", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_97_0" );
|
|
83
|
var small_text_b = stringsetloc(Kris?"Kris?", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_98_0_b" );
|
|
84
|
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");
|
|
85
|
msgsetloc(0, * (You hug the wall...)Mini text 0 Mini text 1 Wait for inputClose Message"* (You hug the wall...)\\f0\\f1 /%", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_98_0" );
|
|
86
|
scr_smallfacescr_smallface
function scr_smallface(arg0, arg1, arg2, arg3, arg4, arg5)
{
scr_smallface_reset(arg0);
global.smsprite[arg0] = spr_face_susie_alt;
if (is_string(arg1))
{
if (arg1 == "susie")
global.smsprite[arg0] = spr_face_susie_alt;
if (arg1 == "ralsei")
global.smsprite[arg0] = spr_face_r_nohat;
if (arg1 == "lancer")
global.smsprite[arg0] = spr_face_l0;
if (arg1 == "noelle")
global.smsprite[arg0] = spr_face_n_matome;
if (arg1 == "noelle_cropped")
global.smsprite[arg0] = spr_face_n_matome_cropped;
if (arg1 == "queen")
global.smsprite[arg0] = scr_84_get_sprite("spr_face_queen");
if (arg1 == "rouxls")
global.smsprite[arg0] = spr_face_rurus;
if (arg1 == "berdly")
global.smsprite[arg0] = spr_face_berdly_dark;
if (arg1 == "rudy")
global.smsprite[arg0] = spr_face_rudy;
if (arg1 == "toriel")
global.smsprite[arg0] = asset_get_index("spr_face_t" + string(arg2));
if (arg1 == "none" || arg1 == "empty")
global.smsprite[arg0] = spr_empty;
}
else
{
global.smsprite[arg0] = arg1;
if (arg1 == 0)
global.smsprite[arg0] = spr_empty;
}
global.smimage[arg0] = arg2;
if (is_string(arg3))
{
if (global.fighting == 1)
{
if (arg3 == "left")
global.smxx[arg0] = 60;
if (arg3 == "leftmid")
global.smxx[arg0] = 160;
if (arg3 == "mid" || arg3 == "middle")
global.smxx[arg0] = 260;
if (arg3 == "rightmid")
global.smxx[arg0] = 360;
if (arg3 == "right")
global.smxx[arg0] = 460;
}
else
{
if (arg3 == "left")
global.smxx[arg0] = 70;
if (arg3 == "leftmid")
global.smxx[arg0] = 160;
if (arg3 == "mid" || arg3 == "middle")
global.smxx[arg0] = 260;
if (arg3 == "rightmid")
global.smxx[arg0] = 360;
if (arg3 == "right")
global.smxx[arg0] = 400;
}
}
else
{
global.smxx[arg0] = arg3;
}
if (is_string(arg4))
{
if (global.fighting == 1)
{
if (arg4 == "top")
global.smyy[arg0] = -10;
if (arg4 == "mid" || arg4 == "middle")
global.smyy[arg0] = 30;
if (arg4 == "bottommid")
global.smyy[arg0] = 45;
if (arg4 == "bottom")
global.smyy[arg0] = 56;
if (arg4 == "bottom" || arg4 == "bottommid")
{
global.smdir[arg0] = 90;
global.smspeed[arg0] = 4;
global.smalarm[arg0] = 10;
global.smyy[arg0] += 40;
global.smxx[arg0] -= 40;
}
}
else
{
if (arg4 == "top")
global.smyy[arg0] = -10;
if (arg4 == "mid" || arg4 == "middle")
global.smyy[arg0] = 30;
if (arg4 == "bottommid")
global.smyy[arg0] = 50;
if (arg4 == "bottom")
global.smyy[arg0] = 68;
if (global.darkzone == 0)
... (0, "ralsei", 13, "mid", "bottom", small_text_a);
|
|
87
|
scr_smallfacescr_smallface
function scr_smallface(arg0, arg1, arg2, arg3, arg4, arg5)
{
scr_smallface_reset(arg0);
global.smsprite[arg0] = spr_face_susie_alt;
if (is_string(arg1))
{
if (arg1 == "susie")
global.smsprite[arg0] = spr_face_susie_alt;
if (arg1 == "ralsei")
global.smsprite[arg0] = spr_face_r_nohat;
if (arg1 == "lancer")
global.smsprite[arg0] = spr_face_l0;
if (arg1 == "noelle")
global.smsprite[arg0] = spr_face_n_matome;
if (arg1 == "noelle_cropped")
global.smsprite[arg0] = spr_face_n_matome_cropped;
if (arg1 == "queen")
global.smsprite[arg0] = scr_84_get_sprite("spr_face_queen");
if (arg1 == "rouxls")
global.smsprite[arg0] = spr_face_rurus;
if (arg1 == "berdly")
global.smsprite[arg0] = spr_face_berdly_dark;
if (arg1 == "rudy")
global.smsprite[arg0] = spr_face_rudy;
if (arg1 == "toriel")
global.smsprite[arg0] = asset_get_index("spr_face_t" + string(arg2));
if (arg1 == "none" || arg1 == "empty")
global.smsprite[arg0] = spr_empty;
}
else
{
global.smsprite[arg0] = arg1;
if (arg1 == 0)
global.smsprite[arg0] = spr_empty;
}
global.smimage[arg0] = arg2;
if (is_string(arg3))
{
if (global.fighting == 1)
{
if (arg3 == "left")
global.smxx[arg0] = 60;
if (arg3 == "leftmid")
global.smxx[arg0] = 160;
if (arg3 == "mid" || arg3 == "middle")
global.smxx[arg0] = 260;
if (arg3 == "rightmid")
global.smxx[arg0] = 360;
if (arg3 == "right")
global.smxx[arg0] = 460;
}
else
{
if (arg3 == "left")
global.smxx[arg0] = 70;
if (arg3 == "leftmid")
global.smxx[arg0] = 160;
if (arg3 == "mid" || arg3 == "middle")
global.smxx[arg0] = 260;
if (arg3 == "rightmid")
global.smxx[arg0] = 360;
if (arg3 == "right")
global.smxx[arg0] = 400;
}
}
else
{
global.smxx[arg0] = arg3;
}
if (is_string(arg4))
{
if (global.fighting == 1)
{
if (arg4 == "top")
global.smyy[arg0] = -10;
if (arg4 == "mid" || arg4 == "middle")
global.smyy[arg0] = 30;
if (arg4 == "bottommid")
global.smyy[arg0] = 45;
if (arg4 == "bottom")
global.smyy[arg0] = 56;
if (arg4 == "bottom" || arg4 == "bottommid")
{
global.smdir[arg0] = 90;
global.smspeed[arg0] = 4;
global.smalarm[arg0] = 10;
global.smyy[arg0] += 40;
global.smxx[arg0] -= 40;
}
}
else
{
if (arg4 == "top")
global.smyy[arg0] = -10;
if (arg4 == "mid" || arg4 == "middle")
global.smyy[arg0] = 30;
if (arg4 == "bottommid")
global.smyy[arg0] = 50;
if (arg4 == "bottom")
global.smyy[arg0] = 68;
if (global.darkzone == 0)
... (1, "susie", 12, "right", "bottom", small_text_b);
|
|
88
|
}
|
|
89
|
if (global.choice == 1)
|
|
90
|
{
|
|
91
|
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");
|
|
92
|
msgsetloc(0, * (Too solid.)Wait for inputClose Message"* (Too solid.)/%", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_105_0" );
|
|
93
|
}
|
|
94
|
d_make();
|
|
95
|
myinteract = 5;
|
|
96
|
}
|
|
97
|
if (myinteract == 5 && !d_ex())
|
|
98
|
{
|
|
99
|
marker.visible = true;
|
|
100
|
obj_mainchara.fun = false;
|
|
101
|
myinteract = 0;
|
|
102
|
global.interact = 0;
|
|
103
|
}
|
|
104
|
}
|
|
105
|
with (turtle)
|
|
106
|
{
|
|
107
|
if (myinteract == 3)
|
|
108
|
{
|
|
109
|
myinteract = 4;
|
|
110
|
timer = 0;
|
|
111
|
pink = 0;
|
|
112
|
global.interact = 1;
|
|
113
|
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");
|
|
114
|
msgsetloc(0, * R e l a x...Wait for inputClose Message"* R e l a x.../%", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_130_0" );
|
|
115
|
d_make();
|
|
116
|
talked++;
|
|
117
|
if (talked > 1)
|
|
118
|
myinteract = 99;
|
|
119
|
}
|
|
120
|
if (myinteract == 4 && !d_ex())
|
|
121
|
{
|
|
122
|
var fadeintime = 15;
|
|
123
|
var pausetime = 10;
|
|
124
|
var col = 8019622;
|
|
125
|
pink = scr_marker_extscr_marker_ext
function scr_marker_ext(arg0, arg1, arg2, arg3 = 1, arg4 = 1, arg5 = 0, arg6 = 0, arg7 = 16777215, arg8 = depth, arg9 = false, arg10 = -1, arg11 = 1)
{
var thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
depth = arg8;
sprite_index = arg2;
image_speed = arg5;
image_xscale = arg3;
image_yscale = arg4;
image_index = arg6;
image_blend = arg7;
image_alpha = arg11;
if (arg9)
scr_depth_alt();
}
if (arg10 > 0)
scr_doom(thismarker, arg10);
return thismarker;
}
function scr_marker_fromasset(arg0, arg1 = depth, arg2 = false)
{
if (is_undefined(arg0))
{
debug_message("Warning: scr_marker_fromasset() sprite_instance didn't exist");
return -4;
}
var sprite = layer_sprite_get_sprite(arg0);
var index = layer_sprite_get_index(arg0);
var imagespeed = layer_sprite_get_speed(arg0);
var xscale = layer_sprite_get_xscale(arg0);
var yscale = layer_sprite_get_yscale(arg0);
var angle = layer_sprite_get_angle(arg0);
var blend = layer_sprite_get_blend(arg0);
var alpha = layer_sprite_get_alpha(arg0);
var xloc = layer_sprite_get_x(arg0);
var yloc = layer_sprite_get_y(arg0);
var thismarker = instance_create_depth(xloc, yloc, arg1, obj_marker);
with (thismarker)
{
sprite_index = sprite;
image_index = index;
image_speed = imagespeed;
image_xscale = xscale;
image_yscale = yscale;
image_angle = angle;
image_blend = blend;
image_alpha = alpha;
if (arg2)
scr_depth_alt(id, arg2);
}
return thismarker;
}
function scr_assetgetinfo(arg0)
{
var sprite = layer_sprite_get_sprite(arg0);
var index = layer_sprite_get_index(arg0);
var xloc = layer_sprite_get_x(arg0);
var yloc = layer_sprite_get_y(arg0);
var xscale = layer_sprite_get_xscale(arg0);
var yscale = layer_sprite_get_yscale(arg0);
var angle = layer_sprite_get_angle(arg0);
var blend = layer_sprite_get_blend(arg0);
var alpha = layer_sprite_get_alpha(arg0);
var imagespeed = layer_sprite_get_speed(arg0);
return [sprite, index, xloc, yloc, xscale, yscale, angle, blend, alpha, imagespeed];
} (camerax() - 10, cameray() - 10, spr_pxwhite, 660, 500, undefined, undefined, col, 0, undefined, undefined, 0);
|
|
126
|
with (pink)
|
|
127
|
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", 0, 1, fadeintime, 2, "out");
|
|
128
|
snd_play_delay(snd_power, fadeintime);
|
|
129
|
myinteract = 4.1;
|
|
130
|
scr_delay_var("myinteract", 5, fadeintime + pausetime);
|
|
131
|
}
|
|
132
|
if (myinteract == 5)
|
|
133
|
{
|
|
134
|
myinteract = -1;
|
|
135
|
var fadetime = 60;
|
|
136
|
var delaytime = 15;
|
|
137
|
with (scr_marker_extscr_marker_ext
function scr_marker_ext(arg0, arg1, arg2, arg3 = 1, arg4 = 1, arg5 = 0, arg6 = 0, arg7 = 16777215, arg8 = depth, arg9 = false, arg10 = -1, arg11 = 1)
{
var thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
depth = arg8;
sprite_index = arg2;
image_speed = arg5;
image_xscale = arg3;
image_yscale = arg4;
image_index = arg6;
image_blend = arg7;
image_alpha = arg11;
if (arg9)
scr_depth_alt();
}
if (arg10 > 0)
scr_doom(thismarker, arg10);
return thismarker;
}
function scr_marker_fromasset(arg0, arg1 = depth, arg2 = false)
{
if (is_undefined(arg0))
{
debug_message("Warning: scr_marker_fromasset() sprite_instance didn't exist");
return -4;
}
var sprite = layer_sprite_get_sprite(arg0);
var index = layer_sprite_get_index(arg0);
var imagespeed = layer_sprite_get_speed(arg0);
var xscale = layer_sprite_get_xscale(arg0);
var yscale = layer_sprite_get_yscale(arg0);
var angle = layer_sprite_get_angle(arg0);
var blend = layer_sprite_get_blend(arg0);
var alpha = layer_sprite_get_alpha(arg0);
var xloc = layer_sprite_get_x(arg0);
var yloc = layer_sprite_get_y(arg0);
var thismarker = instance_create_depth(xloc, yloc, arg1, obj_marker);
with (thismarker)
{
sprite_index = sprite;
image_index = index;
image_speed = imagespeed;
image_xscale = xscale;
image_yscale = yscale;
image_angle = angle;
image_blend = blend;
image_alpha = alpha;
if (arg2)
scr_depth_alt(id, arg2);
}
return thismarker;
}
function scr_assetgetinfo(arg0)
{
var sprite = layer_sprite_get_sprite(arg0);
var index = layer_sprite_get_index(arg0);
var xloc = layer_sprite_get_x(arg0);
var yloc = layer_sprite_get_y(arg0);
var xscale = layer_sprite_get_xscale(arg0);
var yscale = layer_sprite_get_yscale(arg0);
var angle = layer_sprite_get_angle(arg0);
var blend = layer_sprite_get_blend(arg0);
var alpha = layer_sprite_get_alpha(arg0);
var imagespeed = layer_sprite_get_speed(arg0);
return [sprite, index, xloc, yloc, xscale, yscale, angle, blend, alpha, imagespeed];
} (camerax() - 10, cameray() - 10, spr_pxwhite, 660, 500, undefined, undefined, c_white, 5, undefined, undefined, 1))
|
|
138
|
{
|
|
139
|
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, fadetime, 2, "out");
|
|
140
|
scr_doomscr_doom
function scr_doom(arg0 = id, arg1)
{
with (instance_create_depth(0, 0, 0, obj_doom))
{
alarm[0]
target = arg0;
persistent = arg0.persistent;
}
} (id, fadetime + 1);
|
|
141
|
}
|
|
142
|
with (pink)
|
|
143
|
{
|
|
144
|
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, round(fadetime * 0.9), 2, "in");
|
|
145
|
scr_doomscr_doom
function scr_doom(arg0 = id, arg1)
{
with (instance_create_depth(0, 0, 0, obj_doom))
{
alarm[0]
target = arg0;
persistent = arg0.persistent;
}
} (id, fadetime + 1);
|
|
146
|
}
|
|
147
|
scr_delay_var("myinteract", 6, fadetime + delaytime);
|
|
148
|
}
|
|
149
|
if (myinteract == 6)
|
|
150
|
{
|
|
151
|
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");
|
|
152
|
msgsetloc(0, * (Your TP was recovered!)Wait for input"* (Your TP was recovered!)/", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_171_0" );
|
|
153
|
msgnextloc(* (...Delay 11 But,Delay 11 because you're out of battle,Delay 11 it doesn't matter.)Wait for inputClose Message"* (..^1. But^1, because you're out of battle^1, it doesn't matter.)/%", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_172_0" );
|
|
154
|
d_make();
|
|
155
|
myinteract = 99;
|
|
156
|
}
|
|
157
|
if (myinteract == 99 && !d_ex())
|
|
158
|
{
|
|
159
|
myinteract = 0;
|
|
160
|
global.interact = 0;
|
|
161
|
}
|
|
162
|
}
|
|
163
|
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;
}
}
} ();
|
|
164
|
if (lightint.myinteract == 3)
|
|
165
|
{
|
|
166
|
lightint.myinteract = 4;
|
|
167
|
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");
|
|
168
|
msgsetloc(0, * (It appears to be a light switch.)Wait for input"* (It appears to be a light switch.)/", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_192_0" );
|
|
169
|
msgnextloc(* (...Delay 11 It won't budge!)Wait for input"* (..^1. It won't budge!)/", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_193_0" );
|
|
170
|
msgnextloc(* (Seems it's actually a heavy switch.)Wait for inputClose Message"* (Seems it's actually a heavy switch.)/%", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_194_0" );
|
|
171
|
if (lightint.talked)
|
|
172
|
{
|
|
173
|
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");
|
|
174
|
msgsetloc(0, * (It's a heavy light switch.)Wait for inputClose Message"* (It's a heavy light switch.)/%", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_199_0" );
|
|
175
|
}
|
|
176
|
if (scr_is_switch_os())
|
|
177
|
{
|
|
178
|
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");
|
|
179
|
msgsetloc(0, * (It appears to be a light switch.)Wait for input"* (It appears to be a light switch.)/", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_205_0" );
|
|
180
|
msgnextloc(* (...Delay 11 huh? There's a small red cup waving at you from atop the switch.)Wait for input"* (..^1. huh? There's a small red cup waving at you from atop the switch.)/", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_206_0" );
|
|
181
|
msgnextloc(* (...Delay 11 This must be what they mean by "switch-exclusive content".)Wait for inputClose Message"* (..^1. This must be what they mean by \"switch-exclusive content\".)/%", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_207_0" );
|
|
182
|
if (lightint.talked)
|
|
183
|
{
|
|
184
|
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");
|
|
185
|
msgsetloc(0, * (The cup bakes nine tense doughs. Exclusively on the switch.)Wait for inputClose Message"* (The cup bakes nine tense doughs. Exclusively on the switch.)/%", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_212_0" );
|
|
186
|
}
|
|
187
|
}
|
|
188
|
lightint.talked++;
|
|
189
|
d_make();
|
|
190
|
global.interact = 1;
|
|
191
|
}
|
|
192
|
if (lightint.myinteract == 4 && !d_ex())
|
|
193
|
{
|
|
194
|
global.interact = 0;
|
|
195
|
lightint.myinteract = 0;
|
|
196
|
}
|
|
197
|
if (global.plot >= 141)
|
|
198
|
exit;
|
|
199
|
with (obj_doorAny)
|
|
200
|
{
|
|
201
|
if (touched)
|
|
202
|
{
|
|
203
|
if (global.plot < 141)
|
|
204
|
global.plot = 141;
|
|
205
|
}
|
|
206
|
}
|
|
207
|
if (gercon < 99)
|
|
208
|
{
|
|
209
|
gerint.x = gerson.x;
|
|
210
|
gerint.y = gerson.y + 46;
|
|
211
|
if (gerint.myinteract == 3)
|
|
212
|
{
|
|
213
|
memspeed = gerson.image_speed;
|
|
214
|
gerson.image_speed = 0;
|
|
215
|
gerson.image_index = 0;
|
|
216
|
var skip = false;
|
|
217
|
if (gercon == 0)
|
|
218
|
{
|
|
219
|
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;
... ("gerson");
|
|
220
|
msgsetloc(0, * Don't let me slow ya down!Wait for inputClose Message"* Don't let me slow ya down!/%", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_252_0" );
|
|
221
|
if (gerint.talked)
|
|
222
|
msgsetloc(0, * I'll be right behind ya!Wait for inputClose Message"* I'll be right behind ya!/%", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_255_0" );
|
|
223
|
}
|
|
224
|
if (gercon < 99 && gercon > 0)
|
|
225
|
{
|
|
226
|
gerint.myinteract = 10;
|
|
227
|
skip = true;
|
|
228
|
}
|
|
229
|
if (scr_checklocationscr_checklocation
function scr_checklocation(arg0 = id, arg1, arg2, arg3 = 0)
{
if (!i_ex(arg0))
{
debug_message("target instance does not exist");
return false;
}
if (abs(arg0.x - arg1) <= arg3 && abs(arg0.y - arg2) <= arg3)
return true;
else
return false;
} (gerson, 1480, 1214))
|
|
230
|
{
|
|
231
|
gercon = 999;
|
|
232
|
con = 42;
|
|
233
|
timer = 0;
|
|
234
|
global.interact = 1;
|
|
235
|
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;
... ("gerson");
|
|
236
|
msgsetloc(0, * Are y'all okay? You're moving kinda slow!Wait for inputClose Message"* Are y'all okay? You're moving kinda slow!/%", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_272_0" );
|
|
237
|
skip = false;
|
|
238
|
gerint.myinteract = 99;
|
|
239
|
}
|
|
240
|
if (!skip)
|
|
241
|
{
|
|
242
|
d_make();
|
|
243
|
gerint.talked++;
|
|
244
|
global.interact = 1;
|
|
245
|
gerint.myinteract++;
|
|
246
|
}
|
|
247
|
}
|
|
248
|
if (gerint.myinteract == 4 && !d_ex())
|
|
249
|
{
|
|
250
|
global.interact = 0;
|
|
251
|
gerint.myinteract = 0;
|
|
252
|
gerson.image_speed = memspeed;
|
|
253
|
}
|
|
254
|
if (gerint.myinteract == 10)
|
|
255
|
{
|
|
256
|
global.interact = 1;
|
|
257
|
global.msc = -99;
|
|
258
|
global.choice = -1;
|
|
259
|
gerint.myinteract = 11;
|
|
260
|
global.choicemsg[0] = stringsetloc(All#good"All#good", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_299_0" );
|
|
261
|
global.choicemsg[1] = stringsetloc(Speed#it up"Speed#it up", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_300_0" );
|
|
262
|
global.choicemsg[2] = stringset("");
|
|
263
|
global.choicemsg[3] = stringset("");
|
|
264
|
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;
... ("gerson");
|
|
265
|
msgsetloc(0, * Did you need somethin'?Wait for input"* Did you need somethin'?/", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_304_0" );
|
|
266
|
msgnext("\\C2 ");
|
|
267
|
d_make();
|
|
268
|
}
|
|
269
|
if (gerint.myinteract == 11 && global.choice != -1)
|
|
270
|
{
|
|
271
|
k_d(1);
|
|
272
|
if (global.choice == 0)
|
|
273
|
{
|
|
274
|
gerint.myinteract = 0;
|
|
275
|
global.interact = 0;
|
|
276
|
gerson.image_speed = memspeed;
|
|
277
|
}
|
|
278
|
if (global.choice == 1)
|
|
279
|
{
|
|
280
|
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;
... ("gerson");
|
|
281
|
msgsetloc(0, * Can do!Wait for inputClose Message"* Can do!/%", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_321_0" );
|
|
282
|
gerint.myinteract = 12;
|
|
283
|
}
|
|
284
|
}
|
|
285
|
if (gerint.myinteract == 12 && !d_ex())
|
|
286
|
{
|
|
287
|
memspeed = clamp(memspeed + 0.05, 0, 0.5);
|
|
288
|
gerson.image_speed = memspeed;
|
|
289
|
gerint.myinteract = 0;
|
|
290
|
global.interact = 0;
|
|
291
|
}
|
|
292
|
}
|
|
293
|
if (con == 0)
|
|
294
|
{
|
|
295
|
var trig = 0;
|
|
296
|
with (obj_trigger)
|
|
297
|
{
|
|
298
|
if (extflag == "cs1")
|
|
299
|
{
|
|
300
|
if (place_meeting(x, y, obj_mainchara))
|
|
301
|
trig = 1;
|
|
302
|
}
|
|
303
|
}
|
|
304
|
if (trig == 1)
|
|
305
|
{
|
|
306
|
gercon = 1;
|
|
307
|
gerint.talked = 0;
|
|
308
|
con = 1;
|
|
309
|
timer = 0;
|
|
310
|
}
|
|
311
|
}
|
|
312
|
var gersononscreen = false;
|
|
313
|
if (i_ex(gerson))
|
|
314
|
{
|
|
315
|
if (gerson.x > (camerax() - 40) && gerson.x < ((camerax() + 640) - 40))
|
|
316
|
gersononscreen = true;
|
|
317
|
}
|
|
318
|
if (con == 1)
|
|
319
|
{
|
|
320
|
var killthis = false;
|
|
321
|
var mygerson = gerson;
|
|
322
|
with (obj_trigger)
|
|
323
|
{
|
|
324
|
if (extflag == "nogers")
|
|
325
|
{
|
|
326
|
if (place_meeting(x, y, mygerson))
|
|
327
|
killthis = true;
|
|
328
|
}
|
|
329
|
}
|
|
330
|
if (killthis)
|
|
331
|
{
|
|
332
|
debug_print("we're skipping susie's first thing");
|
|
333
|
gertimer = -999;
|
|
334
|
con = 999;
|
|
335
|
}
|
|
336
|
if (global.interact == 0 && gersononscreen)
|
|
337
|
gertimer++;
|
|
338
|
var gersecs = 10;
|
|
339
|
if (gertimer >= (30 * gersecs))
|
|
340
|
{
|
|
341
|
gertimer = 0;
|
|
342
|
global.interact = 1;
|
|
343
|
memspeed = gerson.image_speed;
|
|
344
|
if (i_ex(susie))
|
|
345
|
{
|
|
346
|
var sudir = point_direction(susie.x, susie.bbox_bottom, gerson.x, gerson.bbox_bottom);
|
|
347
|
var _sufacing = scr_get_cardinal_directionscr_get_cardinal_direction
function scr_get_cardinal_direction(arg0)
{
_mycardinal = "n";
_mydegree = arg0;
while (_mydegree > 360 || _mydegree < 0)
{
if (_mydegree > 360)
_mydegree -= 360;
if (_mydegree < 0)
_mydegree += 360;
}
if (_mydegree >= 315 || _mydegree <= 45)
_mycardinal = "r";
if (_mydegree >= 45 && _mydegree <= 135)
_mycardinal = "u";
if (_mydegree >= 135 && _mydegree <= 225)
_mycardinal = "l";
if (_mydegree >= 225 && _mydegree <= 315)
_mycardinal = "d";
return _mycardinal;
} (sudir);
|
|
348
|
scr_caterpillar_facing_singlescr_caterpillar_facing_single
function scr_caterpillar_facing_single(arg0, arg1)
{
with (obj_caterpillarchara)
{
if (name == arg0)
{
for (i = 0; i < 25; i += 1)
facing[i] = scr_facing_letter_to_number(arg1);
}
}
} ("susie", _sufacing);
|
|
349
|
}
|
|
350
|
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;
... ("susie");
|
|
351
|
msgsetloc(0, Face K* Hey,Delay 11 if we're gonna have to watch you...Wait for input"\\EK* Hey^1, if we're gonna have to watch you.../", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_395_0" );
|
|
352
|
msgnextloc(Face H* ...Delay 11 Can you walk ANY FASTER!?Wait for inputClose Message"\\EH* ..^1. Can you walk ANY FASTER!?/%", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_396_0" );
|
|
353
|
with (d_make())
|
|
354
|
stay = 2;
|
|
355
|
con = 1.08;
|
|
356
|
}
|
|
357
|
}
|
|
358
|
if (con == 1.08 && !d_ex())
|
|
359
|
{
|
|
360
|
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;
... ("gerson");
|
|
361
|
msgsetloc(0, * Of course,Delay 11 miss!Wait for inputClose Message"* Of course^1, miss!/%", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_405_0" );
|
|
362
|
d_make();
|
|
363
|
con = 2;
|
|
364
|
}
|
|
365
|
if (con == 2 && !d_ex())
|
|
366
|
{
|
|
367
|
global.interact = 0;
|
|
368
|
gerson.image_speed = memspeed * 2;
|
|
369
|
with (susie)
|
|
370
|
{
|
|
371
|
var _newfacing = scr_facing_letter_to_numberscr_facing_letter_to_number
function scr_facing_letter_to_number(arg0)
{
if (arg0 == "d")
return 0;
if (arg0 == "r")
return 1;
if (arg0 == "l")
return 3;
if (arg0 == "u")
return 2;
} (scr_get_cardinal_directionscr_get_cardinal_direction
function scr_get_cardinal_direction(arg0)
{
_mycardinal = "n";
_mydegree = arg0;
while (_mydegree > 360 || _mydegree < 0)
{
if (_mydegree > 360)
_mydegree -= 360;
if (_mydegree < 0)
_mydegree += 360;
}
if (_mydegree >= 315 || _mydegree <= 45)
_mycardinal = "r";
if (_mydegree >= 45 && _mydegree <= 135)
_mycardinal = "u";
if (_mydegree >= 135 && _mydegree <= 225)
_mycardinal = "l";
if (_mydegree >= 225 && _mydegree <= 315)
_mycardinal = "d";
return _mycardinal;
} (point_direction(x, y, obj_mainchara.x, obj_mainchara.y)));
|
|
372
|
facing[0] = _newfacing;
|
|
373
|
for (_iaia = target; _iaia > 0; _iaia -= 1)
|
|
374
|
facing[_iaia] = _newfacing;
|
|
375
|
}
|
|
376
|
con = 3;
|
|
377
|
}
|
|
378
|
if (con == 3)
|
|
379
|
{
|
|
380
|
var killthis = false;
|
|
381
|
var mygerson = gerson;
|
|
382
|
with (obj_trigger)
|
|
383
|
{
|
|
384
|
if (extflag == "nogers")
|
|
385
|
{
|
|
386
|
if (place_meeting(x, y, mygerson))
|
|
387
|
killthis = true;
|
|
388
|
}
|
|
389
|
}
|
|
390
|
if (killthis)
|
|
391
|
{
|
|
392
|
gertimer = -999;
|
|
393
|
con = 999;
|
|
394
|
}
|
|
395
|
if (global.interact == 0 && gersononscreen)
|
|
396
|
gertimer++;
|
|
397
|
if (gertimer >= 90)
|
|
398
|
{
|
|
399
|
gerson.image_speed = 0;
|
|
400
|
gerson.image_index = 0;
|
|
401
|
gercon = 999;
|
|
402
|
with (obj_lerpvar)
|
|
403
|
{
|
|
404
|
debug_print("killed!!");
|
|
405
|
instance_destroy();
|
|
406
|
}
|
|
407
|
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;
... ("susie");
|
|
408
|
msgsetloc(0, Face 0* ...Delay 11 know what?Wait for input"\\E0* ..^1. know what?/", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_463_0" );
|
|
409
|
msgnextloc(Face 1* YOU GUYS handle the old man. I'm gone.Wait for inputClose Message"\\E1* YOU GUYS handle the old man. I'm gone./%", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_464_0" );
|
|
410
|
d_make(1);
|
|
411
|
con = 4.01;
|
|
412
|
global.interact = 1;
|
|
413
|
gertimer = 0;
|
|
414
|
}
|
|
415
|
}
|
|
416
|
if (con == 4.01 && !d_ex())
|
|
417
|
{
|
|
418
|
var walkspeed = 8;
|
|
419
|
var usprite = spr_susie_walk_up_dw;
|
|
420
|
var lsprite = spr_susie_walk_left_dw_unhappy;
|
|
421
|
var dsprite = spr_susie_walk_down_dw_unhappy;
|
|
422
|
var rsprite = spr_susie_walk_right_dw_unhappy;
|
|
423
|
if (sucon == 0)
|
|
424
|
{
|
|
425
|
suposlist = [];
|
|
426
|
for (var i = 0; i < 5; i++)
|
|
427
|
{
|
|
428
|
var supos = 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;
} ("susie", "subail" + string(i + 1));
|
|
429
|
array_push(suposlist, supos);
|
|
430
|
}
|
|
431
|
debug_message(suposlist);
|
|
432
|
debug_message(string(array_length(suposlist)));
|
|
433
|
sucon = 1;
|
|
434
|
susie.fun = 1;
|
|
435
|
susie.image_speed = 0.25;
|
|
436
|
}
|
|
437
|
if (sucon < 6)
|
|
438
|
{
|
|
439
|
if (susie.x < (camerax() - 60))
|
|
440
|
{
|
|
441
|
sucon = 6;
|
|
442
|
with (obj_script_delayed)
|
|
443
|
{
|
|
444
|
debug_message("kild");
|
|
445
|
instance_destroy();
|
|
446
|
}
|
|
447
|
}
|
|
448
|
}
|
|
449
|
if (sucon == 1)
|
|
450
|
{
|
|
451
|
var targx = suposlist[sucon - 1][0];
|
|
452
|
var targy = suposlist[sucon - 1][1];
|
|
453
|
if (susie.x > targx)
|
|
454
|
{
|
|
455
|
var dist = max(round(abs(targx - susie.x) / walkspeed), 1);
|
|
456
|
with (susie)
|
|
457
|
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, targx, dist);
|
|
458
|
scr_delay_var("sucon", sucon + 1, dist);
|
|
459
|
sucon = -1;
|
|
460
|
susie.sprite_index = lsprite;
|
|
461
|
}
|
|
462
|
else
|
|
463
|
{
|
|
464
|
sucon++;
|
|
465
|
}
|
|
466
|
}
|
|
467
|
if (sucon == 2)
|
|
468
|
{
|
|
469
|
var targx = suposlist[sucon - 1][0];
|
|
470
|
var targy = suposlist[sucon - 1][1];
|
|
471
|
if (susie.y < targy)
|
|
472
|
{
|
|
473
|
var dist = max(round(abs(targy - susie.y) / walkspeed), 1);
|
|
474
|
with (susie)
|
|
475
|
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, targy, dist);
|
|
476
|
scr_delay_var("sucon", sucon + 1, dist);
|
|
477
|
susie.sprite_index = dsprite;
|
|
478
|
sucon = -1;
|
|
479
|
}
|
|
480
|
else
|
|
481
|
{
|
|
482
|
sucon++;
|
|
483
|
}
|
|
484
|
}
|
|
485
|
if (sucon == 3)
|
|
486
|
{
|
|
487
|
var targx = suposlist[sucon - 1][0];
|
|
488
|
var targy = suposlist[sucon - 1][1];
|
|
489
|
if (susie.x > targx)
|
|
490
|
{
|
|
491
|
var dist = max(round(abs(targx - susie.x) / walkspeed), 1);
|
|
492
|
with (susie)
|
|
493
|
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, targx, dist);
|
|
494
|
scr_delay_var("sucon", sucon + 1, dist);
|
|
495
|
susie.sprite_index = lsprite;
|
|
496
|
sucon = -1;
|
|
497
|
}
|
|
498
|
else
|
|
499
|
{
|
|
500
|
sucon++;
|
|
501
|
}
|
|
502
|
}
|
|
503
|
if (sucon == 4)
|
|
504
|
{
|
|
505
|
var targx = suposlist[sucon - 1][0];
|
|
506
|
var targy = suposlist[sucon - 1][1];
|
|
507
|
if (susie.y > targy)
|
|
508
|
{
|
|
509
|
var dist = max(round(abs(targy - susie.y) / walkspeed), 1);
|
|
510
|
with (susie)
|
|
511
|
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, targy, dist);
|
|
512
|
scr_delay_var("sucon", sucon + 1, dist);
|
|
513
|
susie.sprite_index = usprite;
|
|
514
|
sucon = -1;
|
|
515
|
}
|
|
516
|
else
|
|
517
|
{
|
|
518
|
sucon++;
|
|
519
|
}
|
|
520
|
}
|
|
521
|
if (sucon == 5)
|
|
522
|
{
|
|
523
|
var targx = suposlist[sucon - 1][0];
|
|
524
|
var targy = suposlist[sucon - 1][1];
|
|
525
|
if (susie.x > targx)
|
|
526
|
{
|
|
527
|
var dist = max(round(abs(targx - susie.x) / walkspeed), 1);
|
|
528
|
with (susie)
|
|
529
|
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, targx, dist);
|
|
530
|
scr_delay_var("sucon", sucon + 1, dist);
|
|
531
|
susie.sprite_index = lsprite;
|
|
532
|
sucon = -1;
|
|
533
|
}
|
|
534
|
else
|
|
535
|
{
|
|
536
|
sucon++;
|
|
537
|
}
|
|
538
|
}
|
|
539
|
if (sucon == 6)
|
|
540
|
{
|
|
541
|
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;
... ("ralsei");
|
|
542
|
msgsetloc(0, Face Q* I,Delay 11 um...Delay 11 should go follow her...Wait for inputClose Message"\\EQ* I^1, um..^1. should go follow her.../%", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_610_0" );
|
|
543
|
d_make(1);
|
|
544
|
sucon = 0;
|
|
545
|
con = 4.02;
|
|
546
|
}
|
|
547
|
}
|
|
548
|
if (con == 4.02 && !d_ex())
|
|
549
|
{
|
|
550
|
var walkspeed = 8;
|
|
551
|
var usprite = spr_ralsei_walk_up;
|
|
552
|
var lsprite = spr_ralsei_walk_left_unhappy;
|
|
553
|
var dsprite = spr_ralsei_walk_down_unhappy;
|
|
554
|
var rsprite = spr_ralsei_walk_right_unhappy;
|
|
555
|
if (sucon == 0)
|
|
556
|
{
|
|
557
|
for (var i = 0; i < 5; i++)
|
|
558
|
{
|
|
559
|
suposlist[i][0] += 4;
|
|
560
|
suposlist[i][1] += 4;
|
|
561
|
}
|
|
562
|
debug_message("ralsei list");
|
|
563
|
debug_message(suposlist);
|
|
564
|
debug_message(string(array_length(suposlist)));
|
|
565
|
sucon = 1;
|
|
566
|
ralsei.fun = 1;
|
|
567
|
ralsei.image_speed = 0.25;
|
|
568
|
}
|
|
569
|
if (sucon < 6)
|
|
570
|
{
|
|
571
|
if (ralsei.x < (camerax() - 60))
|
|
572
|
{
|
|
573
|
sucon = 6;
|
|
574
|
with (obj_script_delayed)
|
|
575
|
{
|
|
576
|
debug_message("kild");
|
|
577
|
instance_destroy();
|
|
578
|
}
|
|
579
|
}
|
|
580
|
}
|
|
581
|
if (sucon == 1)
|
|
582
|
{
|
|
583
|
var targx = suposlist[sucon - 1][0];
|
|
584
|
var targy = suposlist[sucon - 1][1];
|
|
585
|
if (ralsei.x > targx)
|
|
586
|
{
|
|
587
|
var dist = max(round(abs(targx - ralsei.x) / walkspeed), 1);
|
|
588
|
with (ralsei)
|
|
589
|
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, targx, dist);
|
|
590
|
scr_delay_var("sucon", sucon + 1, dist);
|
|
591
|
sucon = -1;
|
|
592
|
ralsei.sprite_index = lsprite;
|
|
593
|
}
|
|
594
|
else
|
|
595
|
{
|
|
596
|
sucon++;
|
|
597
|
}
|
|
598
|
}
|
|
599
|
if (sucon == 2)
|
|
600
|
{
|
|
601
|
var targx = suposlist[sucon - 1][0];
|
|
602
|
var targy = suposlist[sucon - 1][1];
|
|
603
|
if (ralsei.y < targy)
|
|
604
|
{
|
|
605
|
var dist = max(round(abs(targy - ralsei.y) / walkspeed), 1);
|
|
606
|
with (ralsei)
|
|
607
|
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, targy, dist);
|
|
608
|
scr_delay_var("sucon", sucon + 1, dist);
|
|
609
|
ralsei.sprite_index = dsprite;
|
|
610
|
sucon = -1;
|
|
611
|
}
|
|
612
|
else
|
|
613
|
{
|
|
614
|
sucon++;
|
|
615
|
}
|
|
616
|
}
|
|
617
|
if (sucon == 3)
|
|
618
|
{
|
|
619
|
var targx = suposlist[sucon - 1][0];
|
|
620
|
var targy = suposlist[sucon - 1][1];
|
|
621
|
if (ralsei.x > targx)
|
|
622
|
{
|
|
623
|
var dist = max(round(abs(targx - ralsei.x) / walkspeed), 1);
|
|
624
|
with (ralsei)
|
|
625
|
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, targx, dist);
|
|
626
|
scr_delay_var("sucon", sucon + 1, dist);
|
|
627
|
ralsei.sprite_index = lsprite;
|
|
628
|
sucon = -1;
|
|
629
|
}
|
|
630
|
else
|
|
631
|
{
|
|
632
|
sucon++;
|
|
633
|
}
|
|
634
|
}
|
|
635
|
if (sucon == 4)
|
|
636
|
{
|
|
637
|
var targx = suposlist[sucon - 1][0];
|
|
638
|
var targy = suposlist[sucon - 1][1];
|
|
639
|
if (ralsei.y > targy)
|
|
640
|
{
|
|
641
|
var dist = max(round(abs(targy - ralsei.y) / walkspeed), 1);
|
|
642
|
with (ralsei)
|
|
643
|
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, targy, dist);
|
|
644
|
scr_delay_var("sucon", sucon + 1, dist);
|
|
645
|
ralsei.sprite_index = usprite;
|
|
646
|
sucon = -1;
|
|
647
|
}
|
|
648
|
else
|
|
649
|
{
|
|
650
|
sucon++;
|
|
651
|
}
|
|
652
|
}
|
|
653
|
if (sucon == 5)
|
|
654
|
{
|
|
655
|
var targx = suposlist[sucon - 1][0];
|
|
656
|
var targy = suposlist[sucon - 1][1];
|
|
657
|
if (ralsei.x > targx)
|
|
658
|
{
|
|
659
|
var dist = max(round(abs(targx - ralsei.x) / walkspeed), 1);
|
|
660
|
with (ralsei)
|
|
661
|
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, targx, dist);
|
|
662
|
scr_delay_var("sucon", sucon + 1, dist);
|
|
663
|
ralsei.sprite_index = lsprite;
|
|
664
|
sucon = -1;
|
|
665
|
}
|
|
666
|
else
|
|
667
|
{
|
|
668
|
sucon++;
|
|
669
|
}
|
|
670
|
}
|
|
671
|
if (sucon == 6)
|
|
672
|
{
|
|
673
|
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;
... ("gerson");
|
|
674
|
msgsetloc(0, * ...Delay 11 Gee,Delay 11 guess I better catch up,Delay 11 too.Wait for inputClose Message"* ..^1. Gee^1, guess I better catch up^1, too./%", "obj_dw_church_ripplepuzzle_postgers_slash_Step_0_gml_746_0" );
|
|
675
|
d_make(1);
|
|
676
|
sucon = 0;
|
|
677
|
con = 4.03;
|
|
678
|
scr_setpartyscr_setparty
function scr_setparty(arg0 = false, arg1 = false, arg2 = false)
{
var kris = obj_mainchara;
var slot = 0;
var __make = true;
if (!i_ex(kris))
__make = false;
scr_losechar();
safe_delete(obj_caterpillarchara);
if (arg0 == true)
{
scr_getchar(2);
if (__make)
{
with (scr_makecaterpillar(kris.x, kris.y, 2, slot))
{
halign = (global.darkzone == 0) ? 3 : 6;
valign = (global.darkzone == 0) ? 6 : 16;
x -= halign;
y -= valign;
}
}
slot++;
}
if (arg1 == true)
{
scr_getchar(3);
if (__make)
{
with (scr_makecaterpillar(kris.x, kris.y, 3, slot))
{
halign = 2;
valign = 12;
x -= halign;
y -= valign;
}
}
slot++;
}
if (arg2 == true)
{
scr_getchar(4);
if (__make)
{
with (scr_makecaterpillar(kris.x, kris.y, 4, slot))
{
halign = (global.darkzone == 0) ? 2 : 4;
valign = (global.darkzone == 0) ? 9 : 18;
x -= halign;
y -= valign;
}
}
slot++;
}
} (0);
|
|
679
|
}
|
|
680
|
}
|
|
681
|
if (con == 4.03 && !d_ex())
|
|
682
|
{
|
|
683
|
var walkspeed = 12;
|
|
684
|
var usprite = spr_gerson_outfit_walk_up;
|
|
685
|
var lsprite = spr_gerson_outfit_walk_cane;
|
|
686
|
var dsprite = spr_gerson_outfit_walk_cane;
|
|
687
|
var rsprite = spr_gerson_outfit_walk_cane_right;
|
|
688
|
if (sucon == 0)
|
|
689
|
{
|
|
690
|
for (var i = 0; i < 5; i++)
|
|
691
|
{
|
|
692
|
suposlist[i][0] += -12;
|
|
693
|
suposlist[i][1] += 6;
|
|
694
|
}
|
|
695
|
debug_message("gerson list");
|
|
696
|
debug_message(suposlist);
|
|
697
|
debug_message(string(array_length(suposlist)));
|
|
698
|
sucon = 1;
|
|
699
|
gerson.fun = 1;
|
|
700
|
gerson.image_speed = 0.25;
|
|
701
|
}
|
|
702
|
if (sucon < 6)
|
|
703
|
{
|
|
704
|
if (gerson.x < (camerax() - 120))
|
|
705
|
{
|
|
706
|
sucon = 6;
|
|
707
|
with (obj_script_delayed)
|
|
708
|
{
|
|
709
|
debug_message("kild");
|
|
710
|
instance_destroy();
|
|
711
|
}
|
|
712
|
}
|
|
713
|
}
|
|
714
|
if (sucon == 1)
|
|
715
|
{
|
|
716
|
var targx = suposlist[sucon - 1][0];
|
|
717
|
var targy = suposlist[sucon - 1][1];
|
|
718
|
if (gerson.x > targx)
|
|
719
|
{
|
|
720
|
var dist = max(round(abs(targx - gerson.x) / walkspeed), 1);
|
|
721
|
with (gerson)
|
|
722
|
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, targx, dist);
|
|
723
|
scr_delay_var("sucon", sucon + 1, dist);
|
|
724
|
sucon = -1;
|
|
725
|
gerson.sprite_index = lsprite;
|
|
726
|
}
|
|
727
|
else
|
|
728
|
{
|
|
729
|
sucon++;
|
|
730
|
}
|
|
731
|
}
|
|
732
|
if (sucon == 2)
|
|
733
|
{
|
|
734
|
var targx = suposlist[sucon - 1][0];
|
|
735
|
var targy = suposlist[sucon - 1][1];
|
|
736
|
if (gerson.y < targy)
|
|
737
|
{
|
|
738
|
var dist = max(round(abs(targy - gerson.y) / walkspeed), 1);
|
|
739
|
with (gerson)
|
|
740
|
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, targy, dist);
|
|
741
|
scr_delay_var("sucon", sucon + 1, dist);
|
|
742
|
gerson.sprite_index = dsprite;
|
|
743
|
sucon = -1;
|
|
744
|
}
|
|
745
|
else
|
|
746
|
{
|
|
747
|
sucon++;
|
|
748
|
}
|
|
749
|
}
|
|
750
|
if (sucon == 3)
|
|
751
|
{
|
|
752
|
var targx = suposlist[sucon - 1][0];
|
|
753
|
var targy = suposlist[sucon - 1][1];
|
|
754
|
if (gerson.x > targx)
|
|
755
|
{
|
|
756
|
var dist = max(round(abs(targx - gerson.x) / walkspeed), 1);
|
|
757
|
with (gerson)
|
|
758
|
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, targx, dist);
|
|
759
|
scr_delay_var("sucon", sucon + 1, dist);
|
|
760
|
gerson.sprite_index = lsprite;
|
|
761
|
sucon = -1;
|
|
762
|
}
|
|
763
|
else
|
|
764
|
{
|
|
765
|
sucon++;
|
|
766
|
}
|
|
767
|
}
|
|
768
|
if (sucon == 4)
|
|
769
|
{
|
|
770
|
var targx = suposlist[sucon - 1][0];
|
|
771
|
var targy = suposlist[sucon - 1][1];
|
|
772
|
if (gerson.y > targy)
|
|
773
|
{
|
|
774
|
var dist = max(round(abs(targy - gerson.y) / walkspeed), 1);
|
|
775
|
with (gerson)
|
|
776
|
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, targy, dist);
|
|
777
|
scr_delay_var("sucon", sucon + 1, dist);
|
|
778
|
gerson.sprite_index = usprite;
|
|
779
|
sucon = -1;
|
|
780
|
}
|
|
781
|
else
|
|
782
|
{
|
|
783
|
sucon++;
|
|
784
|
}
|
|
785
|
}
|
|
786
|
if (sucon == 5)
|
|
787
|
{
|
|
788
|
var targx = suposlist[sucon - 1][0];
|
|
789
|
var targy = suposlist[sucon - 1][1];
|
|
790
|
if (gerson.x > targx)
|
|
791
|
{
|
|
792
|
var dist = max(round(abs(targx - gerson.x) / walkspeed), 1);
|
|
793
|
with (gerson)
|
|
794
|
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, targx, dist);
|
|
795
|
scr_delay_var("sucon", sucon + 1, dist);
|
|
796
|
gerson.sprite_index = lsprite;
|
|
797
|
sucon = -1;
|
|
798
|
}
|
|
799
|
else
|
|
800
|
{
|
|
801
|
sucon++;
|
|
802
|
}
|
|
803
|
}
|
|
804
|
if (sucon == 6)
|
|
805
|
{
|
|
806
|
global.interact = 0;
|
|
807
|
global.facing = 0;
|
|
808
|
with (obj_caterpillarchara)
|
|
809
|
visible = false;
|
|
810
|
with (gerson)
|
|
811
|
visible = false;
|
|
812
|
if (global.plot < 141)
|
|
813
|
global.plot = 141;
|
|
814
|
sucon = 0;
|
|
815
|
con = 10;
|
|
816
|
}
|
|
817
|
}
|
|
818
|
if (con == 42 && !d_ex())
|
|
819
|
{
|
|
820
|
timer++;
|
|
821
|
if (timer == 1)
|
|
822
|
{
|
|
823
|
gerson.image_speed = 0.16666666666666666;
|
|
824
|
gerson.hspeed = -8;
|
|
825
|
}
|
|
826
|
if (timer > 1 && gerson.x < ralsei.x)
|
|
827
|
{
|
|
828
|
ralsei.fun = 1;
|
|
829
|
ralsei.sprite_index = spr_ralsei_surprised_left;
|
|
830
|
}
|
|
831
|
if (timer > 1 && gerson.x < susie.x)
|
|
832
|
{
|
|
833
|
susie.fun = 1;
|
|
834
|
susie.sprite_index = spr_susie_surprised_left;
|
|
835
|
}
|
|
836
|
if (gerson.x < kris.x)
|
|
837
|
global.facing = 3;
|
|
838
|
if (gerson.x < (camerax() - 80))
|
|
839
|
{
|
|
840
|
con = 43;
|
|
841
|
timer = 0;
|
|
842
|
}
|
|
843
|
}
|
|
844
|
if (con == 43)
|
|
845
|
{
|
|
846
|
timer++;
|
|
847
|
if (timer == 15)
|
|
848
|
{
|
|
849
|
with (obj_caterpillarchara)
|
|
850
|
{
|
|
851
|
fun = 0;
|
|
852
|
scr_caterpillar_interpolatescr_caterpillar_interpolate
function scr_caterpillar_interpolate(arg0 = "none")
{
if (arg0 == "all")
{
with (obj_caterpillarchara)
scr_caterpillar_interpolate_old();
}
else if (arg0 == "none")
{
if (object_index == obj_caterpillarchara)
scr_caterpillar_interpolate_old();
}
else
{
with (obj_caterpillarchara)
{
if (name == arg0)
scr_caterpillar_interpolate_old();
}
}
}
function scr_caterinterp(arg0 = "none")
{
scr_caterpillar_interpolate(arg0);
}
function scr_caterpillar_interpolate_old()
{
_newfacing = scr_facing_letter_to_number(scr_get_cardinal_direction(point_direction(x, y, obj_mainchara.x, obj_mainchara.y)));
remx[0] = obj_mainchara.x;
remy[0] = obj_mainchara.y;
facing[0] = _newfacing;
for (_iaia = target; _iaia > 0; _iaia -= 1)
{
remx[_iaia] = lerp(obj_mainchara.x, x, _iaia / target);
if (global.darkzone == 1)
remy[_iaia] = lerp(obj_mainchara.y, y + 16, _iaia / target);
else
remy[_iaia] = lerp(obj_mainchara.y, y + 6, _iaia / target);
facing[_iaia] = _newfacing;
}
} ();
|
|
853
|
}
|
|
854
|
global.facing = 0;
|
|
855
|
global.flag[1604] = 1;
|
|
856
|
global.plot = 141;
|
|
857
|
global.interact = 0;
|
|
858
|
}
|
|
859
|
}
|
|
860
|
if (gercon == 1)
|
|
861
|
{
|
|
862
|
if (global.interact == 0)
|
|
863
|
timer++;
|
|
864
|
var pointa_x = 2680;
|
|
865
|
var pointa_y = 1117;
|
|
866
|
var pointb_x = 2200;
|
|
867
|
var pointb_y = 1114;
|
|
868
|
var dist = point_distance(pointa_x, pointa_y, pointb_x, pointb_y) / 1;
|
|
869
|
if (timer == 1)
|
|
870
|
{
|
|
871
|
with (gerson)
|
|
872
|
{
|
|
873
|
sprite_index = spr_gerson_outfit_walk_cane;
|
|
874
|
if (image_speed == 0)
|
|
875
|
image_speed = 0.1;
|
|
876
|
image_index = 1;
|
|
877
|
scr_lerpvar_respect("x", pointa_x, pointb_x, dist);
|
|
878
|
scr_lerpvar_respect("y", pointa_y, pointb_y, dist);
|
|
879
|
}
|
|
880
|
}
|
|
881
|
if (timer >= (1 + dist))
|
|
882
|
{
|
|
883
|
timer = 0;
|
|
884
|
gercon = 2;
|
|
885
|
}
|
|
886
|
}
|
|
887
|
if (gercon == 2)
|
|
888
|
{
|
|
889
|
if (global.interact == 0)
|
|
890
|
timer++;
|
|
891
|
var pointa_x = 2200;
|
|
892
|
var pointa_y = 1114;
|
|
893
|
var pointb_x = 2200;
|
|
894
|
var pointb_y = 1294;
|
|
895
|
var dist = point_distance(pointa_x, pointa_y, pointb_x, pointb_y) / 1;
|
|
896
|
var pausetime = 16;
|
|
897
|
if (timer < pausetime)
|
|
898
|
gerson.image_index = 0;
|
|
899
|
if (timer == pausetime)
|
|
900
|
{
|
|
901
|
with (gerson)
|
|
902
|
{
|
|
903
|
image_index = 1;
|
|
904
|
scr_lerpvar_respect("x", pointa_x, pointb_x, dist);
|
|
905
|
scr_lerpvar_respect("y", pointa_y, pointb_y, dist);
|
|
906
|
}
|
|
907
|
}
|
|
908
|
if (timer == (pausetime + dist))
|
|
909
|
{
|
|
910
|
timer = 0;
|
|
911
|
gercon++;
|
|
912
|
}
|
|
913
|
}
|
|
914
|
if (gercon == 3)
|
|
915
|
{
|
|
916
|
if (global.interact == 0)
|
|
917
|
timer++;
|
|
918
|
var pointa_x = 2200;
|
|
919
|
var pointa_y = 1294;
|
|
920
|
var pointb_x = 1808;
|
|
921
|
var pointb_y = 1294;
|
|
922
|
var dist = point_distance(pointa_x, pointa_y, pointb_x, pointb_y) / 1;
|
|
923
|
var pausetime = 16;
|
|
924
|
if (timer < pausetime)
|
|
925
|
gerson.image_index = 0;
|
|
926
|
if (timer == pausetime)
|
|
927
|
{
|
|
928
|
with (gerson)
|
|
929
|
{
|
|
930
|
image_index = 1;
|
|
931
|
scr_lerpvar_respect("x", pointa_x, pointb_x, dist);
|
|
932
|
scr_lerpvar_respect("y", pointa_y, pointb_y, dist);
|
|
933
|
}
|
|
934
|
}
|
|
935
|
if (timer == (pausetime + dist))
|
|
936
|
{
|
|
937
|
timer = 0;
|
|
938
|
gercon++;
|
|
939
|
}
|
|
940
|
}
|
|
941
|
if (gercon == 4)
|
|
942
|
{
|
|
943
|
if (global.interact == 0)
|
|
944
|
timer++;
|
|
945
|
var pointa_x = 1808;
|
|
946
|
var pointa_y = 1294;
|
|
947
|
var pointb_x = 1808;
|
|
948
|
var pointb_y = 1214;
|
|
949
|
var dist = point_distance(pointa_x, pointa_y, pointb_x, pointb_y) / 1;
|
|
950
|
var pausetime = 16;
|
|
951
|
if (timer < pausetime)
|
|
952
|
gerson.image_index = 0;
|
|
953
|
if (timer == pausetime)
|
|
954
|
{
|
|
955
|
with (gerson)
|
|
956
|
{
|
|
957
|
image_index = 1;
|
|
958
|
scr_lerpvar_respect("x", pointa_x, pointb_x, dist);
|
|
959
|
scr_lerpvar_respect("y", pointa_y, pointb_y, dist);
|
|
960
|
}
|
|
961
|
}
|
|
962
|
if (timer == (pausetime + dist))
|
|
963
|
{
|
|
964
|
timer = 0;
|
|
965
|
gercon++;
|
|
966
|
}
|
|
967
|
}
|
|
968
|
if (gercon == 5)
|
|
969
|
{
|
|
970
|
if (global.interact == 0)
|
|
971
|
timer++;
|
|
972
|
var pointa_x = 1808;
|
|
973
|
var pointa_y = 1214;
|
|
974
|
var pointb_x = 1480;
|
|
975
|
var pointb_y = 1214;
|
|
976
|
var dist = point_distance(pointa_x, pointa_y, pointb_x, pointb_y) / 1;
|
|
977
|
var pausetime = 16;
|
|
978
|
if (timer < pausetime)
|
|
979
|
gerson.image_index = 0;
|
|
980
|
if (timer == pausetime)
|
|
981
|
{
|
|
982
|
with (gerson)
|
|
983
|
{
|
|
984
|
image_index = 1;
|
|
985
|
scr_lerpvar_respect("x", pointa_x, pointb_x, dist);
|
|
986
|
scr_lerpvar_respect("y", pointa_y, pointb_y, dist);
|
|
987
|
}
|
|
988
|
}
|
|
989
|
if (timer == (pausetime + dist))
|
|
990
|
{
|
|
991
|
timer = 0;
|
|
992
|
gercon++;
|
|
993
|
gerson.image_speed = 0;
|
|
994
|
gerson.image_index = 0;
|
|
995
|
}
|
|
996
|
}
|
|
997
|
with (gerson)
|
|
998
|
{
|
|
999
|
if (global.interact != 0 && other.gercon < 999)
|
|
1000
|
image_index = 0;
|
|
1001
|
scr_depthscr_depth
function scr_depth(arg0 = id, arg1 = 0)
{
with (arg0)
depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10));
} ();
|
|
1002
|
}
|