|
1
|
var dside = 1;
|
|
2
|
if (con == 0)
|
|
3
|
{
|
|
4
|
if (timer == 1)
|
|
5
|
global.interact = 1;
|
|
6
|
if (timer == 172)
|
|
7
|
{
|
|
8
|
global.flag[1050 beat_mantle] = 1;
|
|
9
|
global.currentsong[0] = snd_init("nightmare_nes.ogg");
|
|
10
|
global.currentsong[1] = mus_loop(global.currentsong[0]);
|
|
11
|
}
|
|
12
|
if (timer == 242)
|
|
13
|
{
|
|
14
|
con++;
|
|
15
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "tenna")
{
global.typer = 80;
if (global.fighting == 1)
global.typer = 81;
}
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
... ("no_name");
|
|
16
|
msgsetloc(0, There!Delay 11 That's what I wanted to see!Wait for input"There^1! That's what I wanted to see!/", "obj_shadow_mantle_enemy_outro_slash_Step_0_gml_21_0" );
|
|
17
|
msgnextloc(Flickering red,Delay 11 like pretty little flames...Wait for input"Flickering red^1, like pretty little flames.../", "obj_shadow_mantle_enemy_outro_slash_Step_0_gml_22_0" );
|
|
18
|
msgnextloc(Your eyes can't hide it,Delay 11 Kris. Without play...Wait for input"Your eyes can't hide it^1, Kris. Without play.../", "obj_shadow_mantle_enemy_outro_slash_Step_0_gml_23_0" );
|
|
19
|
msgnextloc(The knife grows dull.Wait for input"The knife grows dull./", "obj_shadow_mantle_enemy_outro_slash_Step_0_gml_24_0" );
|
|
20
|
msgnextloc(Haha...Delay 11 well,Delay 11 enough of that!Delay 11 We both have work to do!Wait for inputClose Message"Haha..^1. well^1, enough of that^1! We both have work to do!/%", "obj_shadow_mantle_enemy_outro_slash_Step_0_gml_25_0" );
|
|
21
|
var d = bw_make();
|
|
22
|
d.side = dside;
|
|
23
|
}
|
|
24
|
}
|
|
25
|
if (con == 1 && !bw_ex())
|
|
26
|
{
|
|
27
|
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, board_tilex(1.5), 15, 2, "out");
|
|
28
|
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, board_tiley(1.5), 15, 2, "out");
|
|
29
|
con = -999;
|
|
30
|
scr_delay_var("con", 2, 15);
|
|
31
|
}
|
|
32
|
if (con == 2)
|
|
33
|
{
|
|
34
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "tenna")
{
global.typer = 80;
if (global.fighting == 1)
global.typer = 81;
}
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
... ("no_name");
|
|
35
|
msgsetloc(0, So if you want this MANTLE,Delay 11 hurry up and take it...Wait for inputClose Message"So if you want this MANTLE^1, hurry up and take it.../%", "obj_shadow_mantle_enemy_outro_slash_Step_0_gml_42_0" );
|
|
36
|
var d = bw_make();
|
|
37
|
d.side = dside;
|
|
38
|
d.stay = 30;
|
|
39
|
con = 3;
|
|
40
|
}
|
|
41
|
if (con == 3 && !bw_ex())
|
|
42
|
{
|
|
43
|
scr_var_delayscr_var_delay
function scr_var_delay(arg0, arg1, arg2)
{
scr_script_delayed(scr_var, arg2, arg0, arg1);
}
function scr_var_delayed(arg0, arg1, arg2)
{
scr_script_delayed(scr_var, arg2, arg0, arg1);
}
function scr_delay_var(arg0, arg1, arg2)
{
scr_script_delayed(scr_var, arg2, arg0, arg1);
} ("gravity", -2, 30);
|
|
44
|
for (var i = 0; i < 10; i++)
|
|
45
|
scr_var_delayscr_var_delay
function scr_var_delay(arg0, arg1, arg2)
{
scr_script_delayed(scr_var, arg2, arg0, arg1);
}
function scr_var_delayed(arg0, arg1, arg2)
{
scr_script_delayed(scr_var, arg2, arg0, arg1);
}
function scr_delay_var(arg0, arg1, arg2)
{
scr_script_delayed(scr_var, arg2, arg0, arg1);
} ("afterimage", 1, 30 + (5 * i));
|
|
46
|
var warpsnd = 107;
|
|
47
|
snd_play_delay(warpsnd, 30);
|
|
48
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "tenna")
{
global.typer = 80;
if (global.fighting == 1)
global.typer = 81;
}
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
... ("no_name");
|
|
49
|
msgsetloc(0, If you can reach it!Wait for inputClose Message"If you can reach it!/%", "obj_shadow_mantle_enemy_outro_slash_Step_0_gml_60_0" );
|
|
50
|
var d = bw_make();
|
|
51
|
d.side = dside;
|
|
52
|
con = 4;
|
|
53
|
global.flag[1055 sword_route_progress] = 6;
|
|
54
|
}
|
|
55
|
if (con == 4 && !bw_ex())
|
|
56
|
{
|
|
57
|
if (y < -32)
|
|
58
|
{
|
|
59
|
con = 5;
|
|
60
|
kris = 544;
|
|
61
|
global.interact = 0;
|
|
62
|
snd_stop(snd_board_door_close);
|
|
63
|
snd_play_pitch(snd_board_door_close, 1.2);
|
|
64
|
scr_board_instawarpscr_board_instawarp
function scr_board_instawarp(arg0, arg1, arg2, arg3, arg4)
{
with (obj_board_camera)
{
instawarp = true;
if (argument_count == 6)
{
instawarproomgoto = argument5;
camsavex = arg0;
camsavey = arg1;
}
if (arg4 == "left" || arg4 == "right")
scr_quickwarp(arg0, arg1, arg2, arg3 + (obj_board_controller.kris_object.y - 144));
else if (arg4 == "up" || arg4 == "down")
scr_quickwarp(arg0, arg1, arg2 + (obj_board_controller.kris_object.x - 288), arg3);
else
scr_quickwarp(arg0, arg1, arg2, arg3);
}
} (128, 320, kris.x, kris.y + 224 + 32, "none", 119);
|
|
65
|
mus_fade(global.currentsong[1], 30);
|
|
66
|
instance_destroy();
|
|
67
|
}
|
|
68
|
}
|
|
69
|
if (afterimage == 1)
|
|
70
|
{
|
|
71
|
afterimage = 0;
|
|
72
|
scr_board_afterimagescr_board_afterimage
function scr_board_afterimage()
{
var afterimage = instance_create(x, y, obj_board_afterimage);
afterimage.depth = depth;
afterimage.sprite_index = sprite_index;
afterimage.image_index = image_index;
afterimage.image_speed = image_speed;
afterimage.image_xscale = image_xscale;
afterimage.image_yscale = image_yscale;
afterimage.image_angle = image_angle;
if (argument_count >= 1)
afterimage.type = argument0;
if (argument_count >= 2)
afterimage.length = argument1;
if (argument_count >= 3)
afterimage.flickerrate = argument2;
return afterimage;
} (0, 10);
|
|
73
|
}
|
|
74
|
scr_depth_boardscr_depth_board
function scr_depth_board()
{
depth = 1000000 - ((y * 10) + ((sprite_height - sprite_yoffset) * 10));
}
function scr_board_depth()
{
scr_depth_board();
} ();
|