|
1
|
if (con == 0 && !d_ex() && global.interact == 0)
|
|
2
|
{
|
|
3
|
con = 1;
|
|
4
|
alarm[0] = 1; gml_Object_obj_ch4_PDC10A_Alarm_0.gml
con++;
|
|
5
|
global.interact = 1;
|
|
6
|
with (sparkle_marker)
|
|
7
|
instance_destroy();
|
|
8
|
}
|
|
9
|
if (con == 2)
|
|
10
|
{
|
|
11
|
con = 3;
|
|
12
|
global.facing = 3;
|
|
13
|
cutscene_master = scr_cutscene_makescr_cutscene_make
function scr_cutscene_make()
{
_cutscene_master = instance_create(0, 0, obj_cutscene_master);
_cutscene_master.master_object = id;
return _cutscene_master;
} ();
|
|
14
|
scr_maincharacters_actorsscr_maincharacters_actors
function scr_maincharacters_actors()
{
actor_count = 0;
kr = 0;
kr_actor = instance_create(obj_mainchara.x, obj_mainchara.y, obj_actor);
scr_actor_setup(kr, kr_actor, "kris");
kr_actor.sprite_index = obj_mainchara.sprite_index;
kr_actor.depth = obj_mainchara.depth;
with (obj_mainchara)
visible = 0;
for (__jj = 0; __jj < array_length_1d(global.cinstance); __jj++)
{
if (i_ex(global.cinstance[__jj]))
{
if (global.cinstance[__jj].name == "susie")
{
actor_count++;
su = __jj + 1;
su_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(su, su_actor, "susie");
su_actor.sprite_index = global.cinstance[__jj].sprite_index;
su_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
if (global.cinstance[__jj].name == "ralsei")
{
actor_count++;
ra = __jj + 1;
ra_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(ra, ra_actor, "ralsei");
ra_actor.sprite_index = global.cinstance[__jj].sprite_index;
ra_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
if (global.cinstance[__jj].name == "noelle")
{
actor_count++;
no = __jj + 1;
no_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(no, no_actor, "noelle");
no_actor.sprite_index = global.cinstance[__jj].sprite_index;
no_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
}
}
} ();
|
|
15
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
16
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
17
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.25);
|
|
18
|
c_walkdirect_waitc_walkdirect_wait
function c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
} (205, 95, 10);
|
|
19
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
20
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (1);
|
|
21
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_kris_remove_soul_extended);
|
|
22
|
c_addxyc_addxy
function c_addxy(arg0, arg1)
{
c_cmd("addxy", arg0, arg1, 0, 0);
} (-12, 0);
|
|
23
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
24
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
25
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (3);
|
|
26
|
c_shakeobjc_shakeobj
function c_shakeobj()
{
c_cmd("shakeobj", 0, 0, 0, 0);
} ();
|
|
27
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (2);
|
|
28
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0);
|
|
29
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (60);
|
|
30
|
c_delaycmdc_delaycmd
function c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
} (88, "imagespeed", 0.1);
|
|
31
|
c_delaycmdc_delaycmd
function c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
} (158, "imagespeed", 0);
|
|
32
|
c_waitcustomc_waitcustom
function c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
} ();
|
|
33
|
}
|
|
34
|
if (con == 3 && customcon == 1)
|
|
35
|
{
|
|
36
|
con = 4;
|
|
37
|
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");
|
|
38
|
msgsetloc(0, * (You leaned down to look inside the guitar.)Wait for inputClose Message"* (You leaned down to look inside the guitar.)/%", "obj_ch4_PDC10A_slash_Step_0_gml_58_0" );
|
|
39
|
var d = d_make();
|
|
40
|
d.skippable = false;
|
|
41
|
d.stay = 5;
|
|
42
|
}
|
|
43
|
if (con == 4 && !d_ex())
|
|
44
|
{
|
|
45
|
con = 5;
|
|
46
|
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");
|
|
47
|
msgsetloc(0, * (You began to read the numbers in the pass code...Delay 11 Delay 331 Delay 552 Delay 772 Close MessageClose Message"* (You began to read the numbers in the pass code..^1. ^3 1 ^5 2 ^7 2 %%", "obj_ch4_PDC10A_slash_Step_0_gml_70_0" );
|
|
48
|
var d = d_make();
|
|
49
|
d.skippable = false;
|
|
50
|
scr_delay_var("border_hide", true, 70);
|
|
51
|
}
|
|
52
|
if (border_hide)
|
|
53
|
{
|
|
54
|
border_hide = false;
|
|
55
|
with (obj_border_controller)
|
|
56
|
hide_border(0.015);
|
|
57
|
}
|
|
58
|
if (con == 5 && i_ex(obj_writer))
|
|
59
|
{
|
|
60
|
con = 6;
|
|
61
|
mus_volume(global.currentsong[1], 0, 100);
|
|
62
|
}
|
|
63
|
if (con == 6 && !d_ex())
|
|
64
|
{
|
|
65
|
con = 7;
|
|
66
|
c_waitcustom_endc_waitcustom_end
function c_waitcustom_end()
{
with (obj_cutscene_master)
{
cs_wait_custom = 0;
waiting = 0;
}
} ();
|
|
67
|
c_musc_mus
function c_mus(arg0)
{
c_cmd("mus", arg0, 0, 0, 0);
} ("free_all");
|
|
68
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.5);
|
|
69
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
70
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (13);
|
|
71
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.25);
|
|
72
|
c_shakec_shake
function c_shake()
{
c_cmd("shake", 0, 0, 0, 0);
} ();
|
|
73
|
c_soundplayc_soundplay
function c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
function c_sndplay(arg0)
{
c_soundplay(arg0);
}
function c_snd_play(arg0)
{
c_soundplay(arg0);
}
function c_sound_play(arg0)
{
c_soundplay(arg0);
} (snd_damage);
|
|
74
|
c_soundplayc_soundplay
function c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
function c_sndplay(arg0)
{
c_soundplay(arg0);
}
function c_snd_play(arg0)
{
c_soundplay(arg0);
}
function c_sound_play(arg0)
{
c_soundplay(arg0);
} (snd_hurt1);
|
|
75
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (31);
|
|
76
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0);
|
|
77
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (20);
|
|
78
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (10);
|
|
79
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.5);
|
|
80
|
c_soundplayc_soundplay
function c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
function c_sndplay(arg0)
{
c_soundplay(arg0);
}
function c_snd_play(arg0)
{
c_soundplay(arg0);
}
function c_sound_play(arg0)
{
c_soundplay(arg0);
} (snd_hurt1);
|
|
81
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (16);
|
|
82
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (10);
|
|
83
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0);
|
|
84
|
c_instancec_instance
function c_instance(arg0, arg1, arg2)
{
c_cmd("instancecreate", arg0, arg1, arg2, 0);
} (204, 116, 1273);
|
|
85
|
c_soundplayc_soundplay
function c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
function c_sndplay(arg0)
{
c_soundplay(arg0);
}
function c_snd_play(arg0)
{
c_soundplay(arg0);
}
function c_sound_play(arg0)
{
c_soundplay(arg0);
} (snd_break1);
|
|
86
|
c_soundplayc_soundplay
function c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
function c_sndplay(arg0)
{
c_soundplay(arg0);
}
function c_snd_play(arg0)
{
c_soundplay(arg0);
}
function c_sound_play(arg0)
{
c_soundplay(arg0);
} (snd_grab);
|
|
87
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (38);
|
|
88
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (3);
|
|
89
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (36);
|
|
90
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (1);
|
|
91
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (35);
|
|
92
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (60);
|
|
93
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (42);
|
|
94
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (10);
|
|
95
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (43);
|
|
96
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (10);
|
|
97
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (44);
|
|
98
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
99
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_dkris_dl_soul_walk);
|
|
100
|
c_addxyc_addxy
function c_addxy(arg0, arg1)
{
c_cmd("addxy", arg0, arg1, 0, 0);
} (4, 3);
|
|
101
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
102
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (60);
|
|
103
|
c_script_instancec_script_instance
function c_script_instance()
{
if (argument_count == 3)
c_cmd_x("script", argument[0], argument[1], argument[2], -3.14, -3.14, -3.14);
if (argument_count == 4)
c_cmd_x("script", argument[0], argument[1], argument[2], argument[3], -3.14, -3.14);
if (argument_count == 5)
c_cmd_x("script", argument[0], argument[1], argument[2], argument[3], argument[4], -3.14);
if (argument_count == 6)
c_cmd_x("script", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
} (id, snd_play, 15, snd_step1);
|
|
104
|
c_script_instancec_script_instance
function c_script_instance()
{
if (argument_count == 3)
c_cmd_x("script", argument[0], argument[1], argument[2], -3.14, -3.14, -3.14);
if (argument_count == 4)
c_cmd_x("script", argument[0], argument[1], argument[2], argument[3], -3.14, -3.14);
if (argument_count == 5)
c_cmd_x("script", argument[0], argument[1], argument[2], argument[3], argument[4], -3.14);
if (argument_count == 6)
c_cmd_x("script", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
} (id, snd_play, 30, snd_step2);
|
|
105
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.2);
|
|
106
|
c_walkdirect_waitc_walkdirect_wait
function c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
} (135, 160, 110);
|
|
107
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (135, 240, 50);
|
|
108
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
109
|
c_var_lerp_instancec_var_lerp_instance
function c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
}
function c_lerp_var_instance()
{
if (argument_count >= 6)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4);
}
function c_lerpvar_instance()
{
if (argument_count >= 6)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4);
} (blackall, "image_alpha", 0, 1, 30);
|
|
110
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (20);
|
|
111
|
c_snd_play(snd_dooropen);
|
|
112
|
c_script_instance_stopc_script_instance_stop
function c_script_instance_stop(arg0, arg1)
{
c_cmd_x("script", arg0, arg1, -10, 0, 0, 0);
} (id, snd_play);
|
|
113
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
114
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
115
|
c_actortocaterpillarc_actortocaterpillar
function c_actortocaterpillar()
{
c_cmd("actortocaterpillar", 0, 0, 0, 0);
} ();
|
|
116
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
117
|
}
|
|
118
|
if (con == 7 && !i_ex(obj_cutscene_master))
|
|
119
|
{
|
|
120
|
global.interact = 3;
|
|
121
|
global.entrance = 3;
|
|
122
|
instance_create(0, 0, obj_persistentfadein);
|
|
123
|
global.plot = 61;
|
|
124
|
room_goto(room_lw_noellehouse_main);
|
|
125
|
con = 99;
|
|
126
|
}
|