|
1
|
if (con == 1 && !d_ex() && global.interact == 0)
|
|
2
|
{
|
|
3
|
con = 3;
|
|
4
|
global.interact = 1;
|
|
5
|
facing_temp = global.facing;
|
|
6
|
actor_talker = instance_create(0, 0, obj_actor_talk);
|
|
7
|
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;
} ();
|
|
8
|
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;
}
}
}
} ();
|
|
9
|
}
|
|
10
|
if (con == 3)
|
|
11
|
{
|
|
12
|
con = 5;
|
|
13
|
to = actor_count + 1;
|
|
14
|
to_actor = instance_create(toriel_npc.x, toriel_npc.y, obj_actor);
|
|
15
|
scr_actor_setupscr_actor_setup
function scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (to, to_actor, "toriel");
|
|
16
|
to_actor.sprite_index = toriel_npc.sprite_index;
|
|
17
|
ru = actor_count + 2;
|
|
18
|
ru_actor = instance_create(rudy_npc.x, rudy_npc.y, obj_actor);
|
|
19
|
scr_actor_setupscr_actor_setup
function scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (ru, ru_actor, "rudy");
|
|
20
|
ru_actor.sprite_index = rudy_npc.sprite_index;
|
|
21
|
no = actor_count + 3;
|
|
22
|
no_actor = instance_create(noelle_npc.x, noelle_npc.y, obj_actor);
|
|
23
|
scr_actor_setupscr_actor_setup
function scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (no, no_actor, "noelle");
|
|
24
|
no_actor.sprite_index = noelle_npc.sprite_index;
|
|
25
|
no_actor.image_speed = noelle_npc.image_speed;
|
|
26
|
no_actor.image_index = noelle_npc.image_index;
|
|
27
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (no);
|
|
28
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
29
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (actor_talker, "talking_actor", to_actor);
|
|
30
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (actor_talker, "paused", true);
|
|
31
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (id, "disable_npcs", true);
|
|
32
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (1);
|
|
33
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ru);
|
|
34
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_rudy_juice_walk_left);
|
|
35
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (actor_talker, "paused", false);
|
|
36
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (to);
|
|
37
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
38
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_toriel_juice_talk_right);
|
|
39
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("toriel");
|
|
40
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face 2* I am grateful for your wife's...Wait for input"\\E2* I am grateful for your wife's.../", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_58_0" );
|
|
41
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("rudy", 0);
|
|
42
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 0* Carol's.Wait for input"\\E0* Carol's./", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_60_0" );
|
|
43
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("toriel", 1);
|
|
44
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 1* Your wife's...Delay 11 financial support to him.Wait for input"\\E1* Your wife's..^1. financial support to him./", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_62_0" );
|
|
45
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 6* I just wish she did not support his,Delay 11 er...Wait for input"\\E6* I just wish she did not support his^1, er.../", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_63_0" );
|
|
46
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 7* His...Delay 11 you know what.Wait for input"\\E7* His..^1. you know what./", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_64_0" );
|
|
47
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("rudy", 7);
|
|
48
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 7* His "you know what?"Wait for input"\\E7* His \"you know what?\"/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_66_0" );
|
|
49
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("toriel", 5);
|
|
50
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 5* One more word and you're soaked,Delay 11 Mr. Holiday.Wait for input"\\E5* One more word and you're soaked^1, Mr. Holiday./", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_68_0" );
|
|
51
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("rudy", 2);
|
|
52
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 2* "One more word!"Wait for inputClose Message"\\E2* \"One more word!\"/%", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_70_0" );
|
|
53
|
c_talkc_talk
function c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
} ();
|
|
54
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (2);
|
|
55
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (4);
|
|
56
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (5);
|
|
57
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (to);
|
|
58
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_toriel_juice_talk_right_unhappy);
|
|
59
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (8);
|
|
60
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (to);
|
|
61
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
62
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (10);
|
|
63
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (to);
|
|
64
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_toriel_juice_talk_mad);
|
|
65
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (12);
|
|
66
|
c_wait_talkc_wait_talk
function c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
} ();
|
|
67
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (actor_talker, "paused", true);
|
|
68
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (to);
|
|
69
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_toriel_juice_splash);
|
|
70
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
71
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
72
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (1);
|
|
73
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
74
|
c_snd_play(snd_wing);
|
|
75
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (2);
|
|
76
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
77
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (3);
|
|
78
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ru);
|
|
79
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
80
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_rudy_juice_wreckt);
|
|
81
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (0);
|
|
82
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (no);
|
|
83
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_noelle_juice_shock);
|
|
84
|
c_shakeobjc_shakeobj
function c_shakeobj()
{
c_cmd("shakeobj", 0, 0, 0, 0);
} ();
|
|
85
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
86
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ru);
|
|
87
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (1);
|
|
88
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
89
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (2);
|
|
90
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
91
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (no);
|
|
92
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (noelle_npc.sprite_index);
|
|
93
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (noelle_npc.image_index);
|
|
94
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ru);
|
|
95
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_rudy_juice_laugh);
|
|
96
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.2);
|
|
97
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (60);
|
|
98
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ru);
|
|
99
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
100
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("rudy");
|
|
101
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face 3* Fahaha,Delay 11 what was I supposed to say,Delay 11 sweetheart?Wait for inputClose Message"\\E3* Fahaha^1, what was I supposed to say^1, sweetheart?/%", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_143_0" );
|
|
102
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
103
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (actor_talker, "paused", true);
|
|
104
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (to);
|
|
105
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
106
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_toriel_juice_talk_right);
|
|
107
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (id, "enable_npcs", true);
|
|
108
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
109
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
110
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
111
|
}
|
|
112
|
if (con == 10 && !d_ex() && global.interact == 0)
|
|
113
|
{
|
|
114
|
con = 12;
|
|
115
|
global.interact = 1;
|
|
116
|
facing_temp = global.facing;
|
|
117
|
actor_talker = instance_create(0, 0, obj_actor_talk);
|
|
118
|
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;
} ();
|
|
119
|
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;
}
}
}
} ();
|
|
120
|
}
|
|
121
|
if (con == 12)
|
|
122
|
{
|
|
123
|
con = 5;
|
|
124
|
to = actor_count + 1;
|
|
125
|
to_actor = instance_create(toriel_npc.x, toriel_npc.y, obj_actor);
|
|
126
|
scr_actor_setupscr_actor_setup
function scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (to, to_actor, "toriel");
|
|
127
|
to_actor.sprite_index = toriel_npc.sprite_index;
|
|
128
|
ru = actor_count + 2;
|
|
129
|
ru_actor = instance_create(rudy_npc.x, rudy_npc.y, obj_actor);
|
|
130
|
scr_actor_setupscr_actor_setup
function scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (ru, ru_actor, "rudy");
|
|
131
|
ru_actor.sprite_index = rudy_npc.sprite_index;
|
|
132
|
no = actor_count + 3;
|
|
133
|
no_actor = instance_create(noelle_npc.x, noelle_npc.y, obj_actor);
|
|
134
|
scr_actor_setupscr_actor_setup
function scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (no, no_actor, "noelle");
|
|
135
|
no_actor.sprite_index = noelle_npc.sprite_index;
|
|
136
|
no_actor.image_speed = noelle_npc.image_speed;
|
|
137
|
no_actor.image_index = noelle_npc.image_index;
|
|
138
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (no);
|
|
139
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
140
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (actor_talker, "talking_actor", to_actor);
|
|
141
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (actor_talker, "paused", true);
|
|
142
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (id, "disable_npcs", true);
|
|
143
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (1);
|
|
144
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ru);
|
|
145
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_rudy_juice_walk_right);
|
|
146
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (actor_talker, "paused", false);
|
|
147
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (to);
|
|
148
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
149
|
var small_talk_a = stringsetloc((Kris will sing swears.)"(Kris will sing swears.)", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_214_0" );
|
|
150
|
var small_talk_b = stringsetloc((Kris will sing swears.)"(Kris will sing swears.)", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_215_0" );
|
|
151
|
var small_talk_c = stringsetloc((Kris will sing swears.)"(Kris will sing swears.)", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_216_0" );
|
|
152
|
var loc1 = [71, 168];
|
|
153
|
var loc2 = [221, 208];
|
|
154
|
var loc3 = [371, 248];
|
|
155
|
if (global.lang == "ja")
|
|
156
|
{
|
|
157
|
loc1 = [83, 166];
|
|
158
|
loc2 = [177, 208];
|
|
159
|
loc3 = [271, 250];
|
|
160
|
}
|
|
161
|
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, "rudy", 4, loc1[0], loc1[1], small_talk_a);
|
|
162
|
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, "noelle", 17, loc2[0], loc2[1], small_talk_b);
|
|
163
|
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)
... (2, "toriel", 5, loc3[0], loc3[1], small_talk_c);
|
|
164
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (no);
|
|
165
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_noelle_juice_shock);
|
|
166
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
167
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("toriel");
|
|
168
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face 9* Noelle,Delay 11 your singing has gotten so lovely...Wait for input"\\E9* Noelle^1, your singing has gotten so lovely.../", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_223_0" );
|
|
169
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 4* You,Delay 11 Kris,Delay 11 and Asriel should perform sometime!Wait for input"\\E4* You^1, Kris^1, and Asriel should perform sometime!/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_224_0" );
|
|
170
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("noelle", "3");
|
|
171
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 3* Huh? Umm,Delay 11 it would be nice to go caroling together...Wait for input"\\E3* Huh? Umm^1, it would be nice to go caroling together.../", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_226_0" );
|
|
172
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("no_name", 0);
|
|
173
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Mini text 0 \Delay 22f1\Delay 22f2Wait for inputClose Message"\\f0^2\\f1^2\\f2/%", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_228_0" );
|
|
174
|
c_talkc_talk
function c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
} ();
|
|
175
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (3);
|
|
176
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (to);
|
|
177
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
178
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (no);
|
|
179
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_noelle_juice_drinking);
|
|
180
|
c_wait_talkc_wait_talk
function c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
} ();
|
|
181
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ru);
|
|
182
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_rudy_juice_walk_left);
|
|
183
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (id, "enable_npcs", true);
|
|
184
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (1);
|
|
185
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
186
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
187
|
}
|
|
188
|
if (con == 20 && !d_ex() && global.interact == 0)
|
|
189
|
{
|
|
190
|
con = 22;
|
|
191
|
global.interact = 1;
|
|
192
|
facing_temp = global.facing;
|
|
193
|
actor_talker = instance_create(0, 0, obj_actor_talk);
|
|
194
|
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;
} ();
|
|
195
|
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;
}
}
}
} ();
|
|
196
|
}
|
|
197
|
if (con == 22)
|
|
198
|
{
|
|
199
|
con = 5;
|
|
200
|
to = actor_count + 1;
|
|
201
|
to_actor = instance_create(toriel_npc.x, toriel_npc.y, obj_actor);
|
|
202
|
scr_actor_setupscr_actor_setup
function scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (to, to_actor, "toriel");
|
|
203
|
to_actor.sprite_index = toriel_npc.sprite_index;
|
|
204
|
ru = actor_count + 2;
|
|
205
|
ru_actor = instance_create(rudy_npc.x, rudy_npc.y, obj_actor);
|
|
206
|
scr_actor_setupscr_actor_setup
function scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (ru, ru_actor, "rudy");
|
|
207
|
ru_actor.sprite_index = rudy_npc.sprite_index;
|
|
208
|
no = actor_count + 3;
|
|
209
|
no_actor = instance_create(noelle_npc.x, noelle_npc.y, obj_actor);
|
|
210
|
scr_actor_setupscr_actor_setup
function scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (no, no_actor, "noelle");
|
|
211
|
no_actor.sprite_index = noelle_npc.sprite_index;
|
|
212
|
no_actor.image_speed = noelle_npc.image_speed;
|
|
213
|
no_actor.image_index = noelle_npc.image_index;
|
|
214
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (no);
|
|
215
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
216
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (actor_talker, "talking_actor", to_actor);
|
|
217
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (actor_talker, "paused", false);
|
|
218
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (id, "disable_npcs", true);
|
|
219
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (1);
|
|
220
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (to);
|
|
221
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
222
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_toriel_juice_talk_right_unhappy);
|
|
223
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("rudy");
|
|
224
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face 2* Key-lime-pie? Boy,Delay 11 do I have some memories of that.Wait for input"\\E2* Key-lime-pie? Boy^1, do I have some memories of that./", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_301_0" );
|
|
225
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("toriel", 3);
|
|
226
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 3* Not here,Delay 11 Rudy. This is a holy place.Wait for inputClose Message"\\E3* Not here^1, Rudy. This is a holy place./%", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_303_0" );
|
|
227
|
c_talkc_talk
function c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
} ();
|
|
228
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (2);
|
|
229
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (to);
|
|
230
|
c_wait_talkc_wait_talk
function c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
} ();
|
|
231
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (to);
|
|
232
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ru);
|
|
233
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_rudy_juice_walk_left);
|
|
234
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (id, "enable_npcs", true);
|
|
235
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (1);
|
|
236
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
237
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
238
|
}
|
|
239
|
if (con == 30 && !d_ex())
|
|
240
|
{
|
|
241
|
con = 32;
|
|
242
|
noelle_sing_talk++;
|
|
243
|
global.interact = 1;
|
|
244
|
facing_temp = global.facing;
|
|
245
|
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;
} ();
|
|
246
|
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;
}
}
}
} ();
|
|
247
|
}
|
|
248
|
if (con == 32)
|
|
249
|
{
|
|
250
|
con = 5;
|
|
251
|
to = actor_count + 1;
|
|
252
|
to_actor = instance_create(toriel_npc.x, toriel_npc.y, obj_actor);
|
|
253
|
scr_actor_setupscr_actor_setup
function scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (to, to_actor, "toriel");
|
|
254
|
to_actor.sprite_index = toriel_npc.sprite_index;
|
|
255
|
ru = actor_count + 2;
|
|
256
|
ru_actor = instance_create(rudy_npc.x, rudy_npc.y, obj_actor);
|
|
257
|
scr_actor_setupscr_actor_setup
function scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (ru, ru_actor, "rudy");
|
|
258
|
ru_actor.sprite_index = rudy_npc.sprite_index;
|
|
259
|
no = actor_count + 3;
|
|
260
|
no_actor = instance_create(noelle_npc.x, noelle_npc.y, obj_actor);
|
|
261
|
scr_actor_setupscr_actor_setup
function scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (no, no_actor, "noelle");
|
|
262
|
no_actor.sprite_index = noelle_npc.sprite_index;
|
|
263
|
no_actor.image_speed = noelle_npc.image_speed;
|
|
264
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (no);
|
|
265
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
266
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (id, "disable_npcs", true);
|
|
267
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (1);
|
|
268
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (no);
|
|
269
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
270
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
271
|
if (noelle_sing_talk == 1)
|
|
272
|
{
|
|
273
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("noelle");
|
|
274
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face 3* H...Delay 11 huh? Thanks!Delay 11 Where'd that come from?Wait for input"\\E3* H..^1. huh? Thanks^1! Where'd that come from?/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_373_0" );
|
|
275
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 8* I don't think you've ever...Delay 11 complimented me,Delay 11 before. Fahaha.Wait for input"\\E8* I don't think you've ever..^1. complimented me^1, before. Fahaha./", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_374_0" );
|
|
276
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 3* You know,Delay 11 if you wanted to join the choir,Delay 11 you could...Wait for input"\\E3* You know^1, if you wanted to join the choir^1, you could.../", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_375_0" );
|
|
277
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 9* I always missed,Delay 11 um...Delay 11 liked hearing you play the piano.Wait for inputClose Message"\\E9* I always missed^1, um..^1. liked hearing you play the piano./%", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_376_0" );
|
|
278
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
279
|
}
|
|
280
|
else
|
|
281
|
{
|
|
282
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("noelle");
|
|
283
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face 9* ...Delay 11 I mean,Delay 11 sometimes I miss...Wait for input"\\E9* ..^1. I mean^1, sometimes I miss.../", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_381_0" );
|
|
284
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 4* I mean,Delay 11 I always liked hearing you play the piano.Wait for inputClose Message"\\E4* I mean^1, I always liked hearing you play the piano./%", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_382_0" );
|
|
285
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
286
|
}
|
|
287
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (id, "enable_npcs", true);
|
|
288
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (1);
|
|
289
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
290
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
291
|
}
|
|
292
|
if (con == 40 && !d_ex())
|
|
293
|
{
|
|
294
|
con = 42;
|
|
295
|
global.interact = 1;
|
|
296
|
facing_temp = global.facing;
|
|
297
|
noelle_key_talk++;
|
|
298
|
actor_talker = instance_create(0, 0, obj_actor_talk);
|
|
299
|
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;
} ();
|
|
300
|
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;
}
}
}
} ();
|
|
301
|
}
|
|
302
|
if (con == 42)
|
|
303
|
{
|
|
304
|
con = 5;
|
|
305
|
to = actor_count + 1;
|
|
306
|
to_actor = instance_create(toriel_npc.x, toriel_npc.y, obj_actor);
|
|
307
|
scr_actor_setupscr_actor_setup
function scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (to, to_actor, "toriel");
|
|
308
|
to_actor.sprite_index = toriel_npc.sprite_index;
|
|
309
|
ru = actor_count + 2;
|
|
310
|
ru_actor = instance_create(rudy_npc.x, rudy_npc.y, obj_actor);
|
|
311
|
scr_actor_setupscr_actor_setup
function scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (ru, ru_actor, "rudy");
|
|
312
|
ru_actor.sprite_index = rudy_npc.sprite_index;
|
|
313
|
no = actor_count + 3;
|
|
314
|
no_actor = instance_create(noelle_npc.x, noelle_npc.y, obj_actor);
|
|
315
|
scr_actor_setupscr_actor_setup
function scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (no, no_actor, "noelle");
|
|
316
|
no_actor.sprite_index = noelle_npc.sprite_index;
|
|
317
|
no_actor.image_speed = noelle_npc.image_speed;
|
|
318
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (no);
|
|
319
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
320
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (actor_talker, "talking_actor", to_actor);
|
|
321
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (id, "disable_npcs", true);
|
|
322
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (1);
|
|
323
|
if (noelle_key_talk == 1)
|
|
324
|
{
|
|
325
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (no);
|
|
326
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
327
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
328
|
var small_talk_a = stringsetloc(D-dad!"D-dad!", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_447_0" );
|
|
329
|
var small_talk_b = stringsetloc(T... Toriel!"T... Toriel!", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_448_0_b" );
|
|
330
|
var loc_a = [400, 220];
|
|
331
|
var loc_b = [400, 220];
|
|
332
|
var __no = "noelle";
|
|
333
|
if (global.lang == "ja")
|
|
334
|
{
|
|
335
|
__no = "noelle_cropped";
|
|
336
|
loc_a = [470, 234];
|
|
337
|
loc_b = [360, 234];
|
|
338
|
}
|
|
339
|
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, __no, 14, loc_a[0], loc_a[1], small_talk_a);
|
|
340
|
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, __no, 14, loc_b[0], loc_b[1], small_talk_b);
|
|
341
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("noelle");
|
|
342
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face B* Huh? K...Delay 11 Key? You don't mean...Wait for input"\\EB* Huh? K..^1. Key? You don't mean.../", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_448_0" );
|
|
343
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face H* You don't mean I was singing off-key?Wait for input"\\EH* You don't mean I was singing off-key?/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_449_0" );
|
|
344
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("toriel", 5);
|
|
345
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 5* Kris,Delay 11 don't tease Noelle.Wait for input"\\E5* Kris^1, don't tease Noelle./", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_451_0" );
|
|
346
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("rudy", "3");
|
|
347
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 3* Yeah,Delay 11 or I'll kick your ass!Mini text 0 Wait for input"\\E3* Yeah^1, or I'll kick your ass!\\f0/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_453_0" );
|
|
348
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("toriel", 5);
|
|
349
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 5* Rudy!Wait for input"\\E5* Rudy!/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_455_0" );
|
|
350
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 4* ...Delay 11 but he's right,Delay 11 Kris.Mini text 1 Wait for inputClose Message"\\E4* ..^1. but he's right^1, Kris.\\f1/%", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_456_0" );
|
|
351
|
c_talkc_talk
function c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
} ();
|
|
352
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (1);
|
|
353
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ru);
|
|
354
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_rudy_juice_walk_right);
|
|
355
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (to);
|
|
356
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
357
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_toriel_juice_talk_right_unhappy);
|
|
358
|
c_wait_talkc_wait_talk
function c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
} ();
|
|
359
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ru);
|
|
360
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_rudy_juice_walk_left);
|
|
361
|
}
|
|
362
|
else
|
|
363
|
{
|
|
364
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("noelle");
|
|
365
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face 2* Kris,Delay 11 I'm getting better at singing,Delay 11 you know.Wait for input"\\E2* Kris^1, I'm getting better at singing^1, you know./", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_490_0" );
|
|
366
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 3* The times of you covering your ears while I scream Jingle Bells...Wait for input"\\E3* The times of you covering your ears while I scream Jingle Bells.../", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_491_0" );
|
|
367
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 8* Those are...Delay 11 over,Delay 11 y'know?Wait for inputClose Message"\\E8* Those are..^1. over^1, y'know?/%", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_492_0" );
|
|
368
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
369
|
}
|
|
370
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (id, "enable_npcs", true);
|
|
371
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (1);
|
|
372
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
373
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
374
|
}
|
|
375
|
if (con == 50 && !d_ex())
|
|
376
|
{
|
|
377
|
con = 5;
|
|
378
|
global.interact = 1;
|
|
379
|
facing_temp = global.facing;
|
|
380
|
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;
} ();
|
|
381
|
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;
}
}
}
} ();
|
|
382
|
no = actor_count + 1;
|
|
383
|
no_actor = instance_create(noelle_npc.x, noelle_npc.y, obj_actor);
|
|
384
|
scr_actor_setupscr_actor_setup
function scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (no, no_actor, "noelle");
|
|
385
|
no_actor.sprite_index = noelle_npc.sprite_index;
|
|
386
|
no_actor.image_speed = noelle_npc.image_speed;
|
|
387
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
}
function scr_flag_name_get(arg0)
{
if (!global.is_console)
{
var v = global.flagname[arg0];
return is_undefined(v) ? "*unknown flag*" : v;
}
else
{
return "";
}
}
function scr_getflag(arg0)
{
return scr_flag_get(arg0);
} (1620) == 0)
|
|
388
|
{
|
|
389
|
scr_flag_setscr_flag_set
function scr_flag_set(arg0, arg1)
{
global.flag[arg0] = arg1;
if (scr_debug())
show_debug_message("*** flag [" + string(arg0) + "] updated: " + string(arg1) + " | " + scr_flag_name_get(arg0));
}
function scr_setflag(arg0, arg1)
{
scr_flag_set(arg0, arg1);
} (1620, 1);
|
|
390
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("noelle");
|
|
391
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face 3* Huh...? You mean,Delay 11 um...Delay 11 how I...Delay 11 got locked out of my house?Wait for input"\\E3* Huh...? You mean^1, um..^1. how I..^1. got locked out of my house?/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_529_0" );
|
|
392
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 4* That's why I...Delay 11 well,Delay 11 I used to end up at your place sometimes.Wait for input"\\E4* That's why I..^1. well^1, I used to end up at your place sometimes./", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_530_0" );
|
|
393
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 8* Y'know,Delay 11 you'd help me...Delay 11 faha,Delay 11 break into my own room.Wait for input"\\E8* Y'know^1, you'd help me..^1. faha^1, break into my own room./", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_531_0" );
|
|
394
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 3* Even then,Delay 11 my mom...Delay 11 never gave your family a spare key.Wait for input"\\E3* Even then^1, my mom..^1. never gave your family a spare key./", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_532_0" );
|
|
395
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 4* She never even kept anything at City Hall,Delay 11 either.Wait for input"\\E4* She never even kept anything at City Hall^1, either./", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_533_0" );
|
|
396
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 8* No keys,Delay 11 no documents,Delay 11 no...Delay 11 handmade gifts,Delay 11 anything.Wait for input"\\E8* No keys^1, no documents^1, no..^1. handmade gifts^1, anything./", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_534_0" );
|
|
397
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 3* Everything important...Delay 11 she always...Wait for input"\\E3* Everything important..^1. she always.../", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_535_0" );
|
|
398
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 9* ...Delay 11 keeps locked down at home.Wait for input"\\E9* ..^1. keeps locked down at home./", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_536_0" );
|
|
399
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
}
function scr_flag_name_get(arg0)
{
if (!global.is_console)
{
var v = global.flagname[arg0];
return is_undefined(v) ? "*unknown flag*" : v;
}
else
{
return "";
}
}
function scr_getflag(arg0)
{
return scr_flag_get(arg0);
} (1619) == 0)
|
|
400
|
{
|
|
401
|
scr_flag_setscr_flag_set
function scr_flag_set(arg0, arg1)
{
global.flag[arg0] = arg1;
if (scr_debug())
show_debug_message("*** flag [" + string(arg0) + "] updated: " + string(arg1) + " | " + scr_flag_name_get(arg0));
}
function scr_setflag(arg0, arg1)
{
scr_flag_set(arg0, arg1);
} (1619, 1);
|
|
402
|
with (obj_ch4_PDC04)
|
|
403
|
found_clue();
|
|
404
|
global.writersnd[0] = snd_item;
|
|
405
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("no_name", 0);
|
|
406
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (\S0* (Felt like useful information.)Wait for inputClose Message"\\S0* (Felt like useful information.)/%", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_547_0" );
|
|
407
|
}
|
|
408
|
else if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
}
function scr_flag_name_get(arg0)
{
if (!global.is_console)
{
var v = global.flagname[arg0];
return is_undefined(v) ? "*unknown flag*" : v;
}
else
{
return "";
}
}
function scr_getflag(arg0)
{
return scr_flag_get(arg0);
} (1621) == 1)
|
|
409
|
{
|
|
410
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
}
function scr_flag_name_get(arg0)
{
if (!global.is_console)
{
var v = global.flagname[arg0];
return is_undefined(v) ? "*unknown flag*" : v;
}
else
{
return "";
}
}
function scr_getflag(arg0)
{
return scr_flag_get(arg0);
} (1619) == 1)
|
|
411
|
{
|
|
412
|
scr_flag_setscr_flag_set
function scr_flag_set(arg0, arg1)
{
global.flag[arg0] = arg1;
if (scr_debug())
show_debug_message("*** flag [" + string(arg0) + "] updated: " + string(arg1) + " | " + scr_flag_name_get(arg0));
}
function scr_setflag(arg0, arg1)
{
scr_flag_set(arg0, arg1);
} (1619, 2);
|
|
413
|
susie_ready = true;
|
|
414
|
}
|
|
415
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("no_name", 0);
|
|
416
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (* (...Delay 11 Felt like you gathered enough clues to tell Susie.)Wait for inputClose Message"* (..^1. Felt like you gathered enough clues to tell Susie.)/%", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_558_0" );
|
|
417
|
}
|
|
418
|
}
|
|
419
|
else
|
|
420
|
{
|
|
421
|
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;
... ("noelle");
|
|
422
|
msgsetloc(0, Face 4* Oh,Delay 11 I see!Delay 11 That,Delay 11 wasn't a question,Delay 11 at all!Wait for input"\\E4* Oh^1, I see^1! That^1, wasn't a question^1, at all!/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_563_0" );
|
|
423
|
msgnextloc(Face 8* You're just,Delay 11 repeating the same words,Delay 11 like a parrot!Wait for input"\\E8* You're just^1, repeating the same words^1, like a parrot!/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_564_0" );
|
|
424
|
msgnextloc(Face H* (I shouldn't have answered so seriously.)Wait for inputClose Message"\\EH* (I shouldn't have answered so seriously.)/%", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_565_0" );
|
|
425
|
}
|
|
426
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
427
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
428
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
429
|
}
|
|
430
|
if (con == 60 && !d_ex() && global.interact == 0)
|
|
431
|
{
|
|
432
|
con = 61;
|
|
433
|
global.interact = 1;
|
|
434
|
facing_temp = global.facing;
|
|
435
|
if (global.facing == 2)
|
|
436
|
noelle_npc.sprite_index = spr_noelle_juice_walk_down;
|
|
437
|
else if (global.facing == 3)
|
|
438
|
noelle_npc.sprite_index = spr_noelle_juice_walk_right;
|
|
439
|
else
|
|
440
|
noelle_npc.sprite_index = spr_noelle_juice_walk_left;
|
|
441
|
noelle_npc.image_index = 0;
|
|
442
|
noelle_npc.image_speed = 0;
|
|
443
|
var side_b = scr_sideb_active();
|
|
444
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
}
function scr_flag_name_get(arg0)
{
if (!global.is_console)
{
var v = global.flagname[arg0];
return is_undefined(v) ? "*unknown flag*" : v;
}
else
{
return "";
}
}
function scr_getflag(arg0)
{
return scr_flag_get(arg0);
} (1619) < 2)
|
|
445
|
{
|
|
446
|
if (!side_b)
|
|
447
|
{
|
|
448
|
con = 99;
|
|
449
|
global.msc = 1327;
|
|
450
|
scr_textscr_text
function scr_text(arg0)
{
switch (arg0)
{
case 0:
break;
case 10:
global.choicemsg[0] = stringsetloc(#Yes"#Yes", "scr_text_slash_scr_text_gml_8_0" );
global.choicemsg[1] = stringsetloc(#No"#No", "scr_text_slash_scr_text_gml_9_0" );
global.choicemsg[2] = stringsetloc( " ", "scr_text_slash_scr_text_gml_12_0_b" );
global.choicemsg[3] = stringsetloc( " ", "scr_text_slash_scr_text_gml_13_0_b" );
global.msg[0] = stringsetloc(* You really didn't want to throw it away.Wait for input"* You really didn't want to throw it away./", "scr_text_slash_scr_text_gml_12_0" );
global.msg[1] = stringsetloc(* Throw it away anyway?Wait for input"* Throw it away anyway?/", "scr_text_slash_scr_text_gml_13_0" );
global.msg[2] = stringsetloc(Choice type 2 "\\C2 ", "scr_text_slash_scr_text_gml_14_0" );
if (global.chapter >= 2)
msgsetloc(0, * You took it from your pocket.Delay 11 * You have a very,Delay 11 very,Delay 11 bad feeling about throwing it away.Wait for input"* You took it from your pocket^1.&* You have a \\cYvery^1, very^1, bad feeling\\c0 about throwing it away./", "scr_text_slash_scr_text_gml_19_0" );
break;
case 11:
if (global.choice == 0)
{
global.flag[466 junkball_dropped] = 1;
snd_play(snd_bageldefeat);
global.msg[0] = stringsetloc(* Hand shaking,Delay 11 you dropped the ball of junk on the ground.Wait for input"* Hand shaking^1, you dropped the ball of junk on the ground./", "scr_text_slash_scr_text_gml_20_0" );
global.msg[1] = stringsetloc(* It broke into pieces.Wait for input"* It broke into pieces./", "scr_text_slash_scr_text_gml_21_0" );
global.msg[2] = stringsetloc(* You felt bitter.Wait for inputClose Message"* You felt bitter./%", "scr_text_slash_scr_text_gml_22_0" );
script_execute(scr_litemshift, global.menucoord[1], 0);
for (var i = 0; i < 12; i += 1)
global.item[i] = 0;
for (var i = 0; i < 48; i += 1)
{
global.armor[i] = 0;
global.weapon[i] = 0;
}
}
else
{
global.msg[0] = stringsetloc(* You felt a feeling of relief.Wait for inputClose Message"* You felt a feeling of relief./%", "scr_text_slash_scr_text_gml_34_0" );
}
break;
case 100:
global.msg[0] = stringsetloc(* Hey, Kris!Delay 11 What's up?Delay 11 * Didja lose your pencil again?Wait for input"* Hey, Kris^1! What's up^1?&* Didja lose your pencil again?/", "scr_text_slash_scr_text_gml_39_0" );
global.msg[1] = stringsetloc(Face 4* Here,Delay 11 you want the candy-cane one or the one with lights on it?Wait for input"\\E4* Here^1, you want the candy-cane one or the one with lights on it?/", "scr_text_slash_scr_text_gml_40_0" );
global.msg[2] = stringsetloc(Face 1* Huh?Delay 11 * You want to be partners?Wait for input"\\E1* Huh^1?&* You want to be partners?/", "scr_text_slash_scr_text_gml_41_0" );
global.msg[3] = stringsetloc(Face 4* Ummm...Delay 11 Sorry...Delay 11 * Berdly already asked me...Wait for input"\\E4* Ummm..^1. Sorry..^1.&* Berdly already asked me.../", "scr_text_slash_scr_text_gml_42_0" );
global.msg[4] = stringsetloc(Face 0* But I could ask Ms. Alphys if we could make a group of 3!Wait for input"\\E0* But I could ask Ms. Alphys if we could make a group of 3!/", "scr_text_slash_scr_text_gml_43_0" );
global.msg[5] = stringsetloc(Face 4* I'll ask if you're sure!
Not yet Yes. Ask.Choice type 1 "\\E4* I'll ask if you're sure!& &Not yet Yes. Ask.\\C1 ", "scr_text_slash_scr_text_gml_44_0" );
global.msg[6] = stringsetloc( " ", "scr_text_slash_scr_text_gml_47_0" );
break;
case 101:
if (global.choice == 1)
{
global.msg[0] = stringsetloc(Face 0* OK,Delay 11 I'll ask!Wait for input"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_51_0" );
global.msg[1] = stringsetloc(* Miss Alphys!Delay 11 * Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_52_0" );
with (obj_classscene)
con = 20;
}
if (global.choice == 0)
global.msg[0] = stringsetloc(Face 4* Yeah,Delay 11 I'm sure there's someone else you can ask!Wait for inputClose Message"\\E4* Yeah^1, I'm sure there's someone else you can ask!/%", "scr_text_slash_scr_text_gml_57_0" );
break;
case 102:
global.msg[0] = stringsetloc(Face 0* Do you wanna be partners? Not yet YesChoice type 1 "\\E0* Do you wanna be partners?&Not yet Yes\\C1 ", "scr_text_slash_scr_text_gml_62_0" );
global.msg[1] = stringsetloc( " ", "scr_text_slash_scr_text_gml_65_0" );
break;
case 103:
if (global.choice == 1)
{
global.msg[0] = stringsetloc(Face 0* OK,Delay 11 I'll ask!Wait for input"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_69_0" );
global.msg[1] = stringsetloc(* Miss Alphys!Delay 11 * Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_70_0" );
with (obj_classscene)
con = 20;
}
if (global.choice == 0)
global.msg[0] = stringsetloc(Face 4* Umm,Delay 11 OK.Delay 11 * You just keep doing your thing,Delay 11 Kris.Wait for inputClose Message"\\E4* Umm^1, OK^1.&* You just keep doing your thing^1, Kris./%", "scr_text_slash_scr_text_gml_75_0" );
break;
case 104:
global.msg[0] = stringsetloc(Face 0* Alright.Delay 11 * Let's get this over with.Wait for input"\\E0* Alright^1.&* Let's get this over with./", "scr_text_slash_scr_text_gml_80_0" );
global.msg[1] = stringsetloc(* We'll get more chalk.Delay 11 * Mosey back to class.Delay 11 * And then,Delay 11 Kris...Wait for input"* We'll get more chalk^1.&* Mosey back to class^1.&* And then^1, Kris.../", "scr_text_slash_scr_text_gml_81_0" );
global.msg[2] = stringsetloc(Face 2* YOU'LL do our project.Wait for input"\\E2* YOU'LL do our project./", "scr_text_slash_scr_text_gml_82_0" );
global.msg[3] = stringsetloc(* How's that sound?
Good BadChoice type 1 "* How's that sound?& &Good Bad\\C1 ", "scr_text_slash_scr_text_gml_83_0" );
global.msg[4] = stringsetloc( " ", "scr_text_slash_scr_text_gml_86_0" );
break;
case 105:
global.msg[0] = stringsetloc( Close MessageClose Message" %%", "scr_text_slash_scr_text_gml_90_0" );
break;
case 110:
global.choicemsg[0] = stringsetloc(#Yes"#Yes", "scr_text_slash_scr_text_gml_92_0" );
global.choicemsg[1] = stringsetloc(#No"#No", "scr_text_slash_scr_text_gml_93_0" );
global.choicemsg[2] = stringsetloc( " ", "scr_text_slash_scr_text_gml_96_0" );
global.choicemsg[3] = stringsetloc( " ", "scr_text_slash_scr_text_gml_97_0" );
if (global.flag[100 got_glowshard] == 0)
{
global.msg[0] = stringsetloc(* (There's something glowing inside.)Wait for input"* (There's something glowing inside.)/", "scr_text_slash_scr_text_gml_98_0" );
global.msg[1] = stringsetloc(* (Take it?)Wait for input "* (Take it?)/ ", "scr_text_slash_scr_text_gml_99_0" );
global.msg[2] = stringsetloc( Choice type 2" \\C2", "scr_text_slash_scr_text_gml_100_0" );
}
else
{
global.msg[0] = stringsetloc(* (It's dark inside.)Wait for inputClose Message"* (It's dark inside.)/%", "scr_text_slash_scr_text_gml_104_0" );
}
break;
case 111:
... (global.msc);
|
|
451
|
}
|
|
452
|
else if (noelle_talked == 0)
|
|
453
|
{
|
|
454
|
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;
... ("noelle");
|
|
455
|
msgsetloc(0, Face 2* ...Delay 11 Kris? You came over to...Delay 11 check on me?Wait for input"\\E2* ..^1. Kris? You came over to..^1. check on me?/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_610_0" );
|
|
456
|
msgnextloc(Face 3* That's really nice of you,Delay 11 I...Wait for input"\\E3* That's really nice of you^1, I.../", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_611_0" );
|
|
457
|
msgnextloc(Face 4* ...Delay 11 Do you...Delay 11 think I could talk you later?Wait for inputClose Message"\\E4* ..^1. Do you..^1. think I could talk you later?/%", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_612_0" );
|
|
458
|
}
|
|
459
|
else
|
|
460
|
{
|
|
461
|
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;
... ("noelle");
|
|
462
|
msgsetloc(0, Face 4* Key? Umm,Delay 11 yeah,Delay 11 I think I was singing a bit off-key...Wait for input"\\E4* Key? Umm^1, yeah^1, I think I was singing a bit off-key.../", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_616_0" );
|
|
463
|
msgnextloc(Face 8* Fahaha,Delay 11 can you blame me for being distracted?Wait for inputClose Message"\\E8* Fahaha^1, can you blame me for being distracted?/%", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_617_0" );
|
|
464
|
}
|
|
465
|
}
|
|
466
|
else
|
|
467
|
{
|
|
468
|
var sentenceEnd = side_b ? "/%" : "/";
|
|
469
|
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");
|
|
470
|
msgsetsubloc(0, "* (Clues acquired.)&* (Now you can report the hint to Susie.)~1", sentenceEnd, "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_625_0");
|
|
471
|
if (!side_b)
|
|
472
|
{
|
|
473
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("noelle", 8);
|
|
474
|
msgnextloc(Face 8* ...Delay 11 hello? Earth to Kris? Personal space?Wait for inputClose Message"\\E8* ..^1. hello? Earth to Kris? Personal space?/%", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_630_0" );
|
|
475
|
}
|
|
476
|
}
|
|
477
|
d_make();
|
|
478
|
noelle_talked++;
|
|
479
|
}
|
|
480
|
if (con == 61 && !d_ex())
|
|
481
|
{
|
|
482
|
con = 99;
|
|
483
|
global.interact = 0;
|
|
484
|
global.facing = facing_temp;
|
|
485
|
}
|
|
486
|
if (con == 5 && !i_ex(obj_cutscene_master))
|
|
487
|
{
|
|
488
|
con = 99;
|
|
489
|
if (susie_ready)
|
|
490
|
{
|
|
491
|
susie_ready = false;
|
|
492
|
with (obj_ch4_PDC04)
|
|
493
|
susie_ready();
|
|
494
|
}
|
|
495
|
global.interact = 0;
|
|
496
|
global.facing = facing_temp;
|
|
497
|
with (actor_talker)
|
|
498
|
instance_destroy();
|
|
499
|
}
|
|
500
|
if (con == 80 && !d_ex())
|
|
501
|
{
|
|
502
|
con = 85;
|
|
503
|
global.interact = 1;
|
|
504
|
facing_temp = global.facing;
|
|
505
|
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;
} ();
|
|
506
|
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;
}
}
}
} ();
|
|
507
|
ru = actor_count + 1;
|
|
508
|
ru_actor = instance_create(rudy_npc.x, rudy_npc.y, obj_actor);
|
|
509
|
scr_actor_setupscr_actor_setup
function scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (ru, ru_actor, "rudy");
|
|
510
|
ru_actor.sprite_index = rudy_npc.sprite_index;
|
|
511
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
}
function scr_flag_name_get(arg0)
{
if (!global.is_console)
{
var v = global.flagname[arg0];
return is_undefined(v) ? "*unknown flag*" : v;
}
else
{
return "";
}
}
function scr_getflag(arg0)
{
return scr_flag_get(arg0);
} (1657) == 0)
|
|
512
|
{
|
|
513
|
scr_flag_setscr_flag_set
function scr_flag_set(arg0, arg1)
{
global.flag[arg0] = arg1;
if (scr_debug())
show_debug_message("*** flag [" + string(arg0) + "] updated: " + string(arg1) + " | " + scr_flag_name_get(arg0));
}
function scr_setflag(arg0, arg1)
{
scr_flag_set(arg0, arg1);
} (1657, 1);
|
|
514
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("rudy");
|
|
515
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face 2* Krismeister,Delay 11 hey!Delay 11 What's the deal,Delay 11 snowmobile?Wait for input"\\E2* Krismeister^1, hey^1! What's the deal^1, snowmobile?/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_693_0" );
|
|
516
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 1* ...Delay 11 huh? "Locked out...?"Wait for input"\\E1* ..^1. huh? \"Locked out...?\"/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_694_0" );
|
|
517
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 5* (Noelle...Delay 11 wasn't stuck outside the gate again,Delay 11 was she,Delay 11 Kris...?)Wait for input"\\E5* (Noelle..^1. wasn't stuck outside the gate again^1, was she^1, Kris...?)/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_695_0" );
|
|
518
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 6* (...Delay 11 Carol...Delay 11 damn,Delay 11 I keep telling her to keep a key at City Hall...)Wait for input"\\E6* (..^1. Carol..^1. damn^1, I keep telling her to keep a key at City Hall...)/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_696_0" );
|
|
519
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 5* (But she insists on keeping everything important at home.)Wait for input"\\E5* (But she insists on keeping everything important at home.)/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_697_0" );
|
|
520
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 2* (Like,Delay 11 when Noelle was a kid...)Wait for input"\\E2* (Like^1, when Noelle was a kid...)/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_698_0" );
|
|
521
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 0* (She made paper snowflakes,Delay 11 for Carol to hang up at work...)Wait for input"\\E0* (She made paper snowflakes^1, for Carol to hang up at work...)/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_699_0" );
|
|
522
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 5* (But Carol just...Delay 11 wouldn't take 'em there.)Wait for input"\\E5* (But Carol just..^1. wouldn't take 'em there.)/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_700_0" );
|
|
523
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 6* (Because she wanted to keep the damn things safe.)Wait for input"\\E6* (Because she wanted to keep the damn things safe.)/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_701_0" );
|
|
524
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 5* (She preserved 'em,Delay 11 and stuck 'em up on the wall at home...)Wait for input"\\E5* (She preserved 'em^1, and stuck 'em up on the wall at home...)/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_702_0" );
|
|
525
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 4* (...Delay 11 course,Delay 11 you know Noelle,Delay 11 she had to cry over that.)Wait for input"\\E4* (..^1. course^1, you know Noelle^1, she had to cry over that.)/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_703_0" );
|
|
526
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 2* (Until she went and made snow angels with you guys...)Wait for input"\\E2* (Until she went and made snow angels with you guys...)/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_704_0" );
|
|
527
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 4* (...Delay 11 After that,Delay 11 she forgot she was sad at all.)Wait for input"\\E4* (..^1. After that^1, she forgot she was sad at all.)/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_705_0" );
|
|
528
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 2* (...Delay 11 Anyway,Delay 11 what was I saying?)Wait for input"\\E2* (..^1. Anyway^1, what was I saying?)/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_706_0" );
|
|
529
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
}
function scr_flag_name_get(arg0)
{
if (!global.is_console)
{
var v = global.flagname[arg0];
return is_undefined(v) ? "*unknown flag*" : v;
}
else
{
return "";
}
}
function scr_getflag(arg0)
{
return scr_flag_get(arg0);
} (1619) == 0)
|
|
530
|
{
|
|
531
|
scr_flag_setscr_flag_set
function scr_flag_set(arg0, arg1)
{
global.flag[arg0] = arg1;
if (scr_debug())
show_debug_message("*** flag [" + string(arg0) + "] updated: " + string(arg1) + " | " + scr_flag_name_get(arg0));
}
function scr_setflag(arg0, arg1)
{
scr_flag_set(arg0, arg1);
} (1619, 1);
|
|
532
|
with (obj_ch4_PDC04)
|
|
533
|
found_clue();
|
|
534
|
global.writersnd[0] = snd_item;
|
|
535
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("no_name", 0);
|
|
536
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (\S0* (Felt like useful information.)Wait for inputClose Message"\\S0* (Felt like useful information.)/%", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_717_0" );
|
|
537
|
}
|
|
538
|
else if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
}
function scr_flag_name_get(arg0)
{
if (!global.is_console)
{
var v = global.flagname[arg0];
return is_undefined(v) ? "*unknown flag*" : v;
}
else
{
return "";
}
}
function scr_getflag(arg0)
{
return scr_flag_get(arg0);
} (1621) == 1)
|
|
539
|
{
|
|
540
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
}
function scr_flag_name_get(arg0)
{
if (!global.is_console)
{
var v = global.flagname[arg0];
return is_undefined(v) ? "*unknown flag*" : v;
}
else
{
return "";
}
}
function scr_getflag(arg0)
{
return scr_flag_get(arg0);
} (1619) == 1)
|
|
541
|
{
|
|
542
|
scr_flag_setscr_flag_set
function scr_flag_set(arg0, arg1)
{
global.flag[arg0] = arg1;
if (scr_debug())
show_debug_message("*** flag [" + string(arg0) + "] updated: " + string(arg1) + " | " + scr_flag_name_get(arg0));
}
function scr_setflag(arg0, arg1)
{
scr_flag_set(arg0, arg1);
} (1619, 2);
|
|
543
|
susie_ready = true;
|
|
544
|
}
|
|
545
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("no_name", 0);
|
|
546
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (* (...Delay 11 Felt like you gathered enough clues to tell Susie.)Wait for inputClose Message"* (..^1. Felt like you gathered enough clues to tell Susie.)/%", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_728_0" );
|
|
547
|
}
|
|
548
|
}
|
|
549
|
else
|
|
550
|
{
|
|
551
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("rudy");
|
|
552
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face 5* (Y'know,Delay 11 this morning,Delay 11 Noelle was saying...)Wait for input"\\E5* (Y'know^1, this morning^1, Noelle was saying...)/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_733_0" );
|
|
553
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 2* ("I wonder...Delay 11 if Kris is going tomorrow,Delay 11 too.")Wait for input"\\E2* (\"I wonder..^1. if Kris is going tomorrow^1, too.\")/", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_734_0" );
|
|
554
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 3* (Just...Delay 11 make sure she has fun,Delay 11 all right?)Wait for inputClose Message"\\E3* (Just..^1. make sure she has fun^1, all right?)/%", "obj_ch4_PDC03A_rudy_toriel_slash_Step_0_gml_735_0" );
|
|
555
|
}
|
|
556
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
557
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
558
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
559
|
}
|
|
560
|
if (con == 85 && !i_ex(obj_cutscene_master))
|
|
561
|
{
|
|
562
|
con = 99;
|
|
563
|
if (susie_ready)
|
|
564
|
{
|
|
565
|
susie_ready = false;
|
|
566
|
with (obj_ch4_PDC04)
|
|
567
|
susie_ready();
|
|
568
|
}
|
|
569
|
global.interact = 0;
|
|
570
|
global.facing = facing_temp;
|
|
571
|
enable_npcs = true;
|
|
572
|
}
|
|
573
|
if (disable_npcs)
|
|
574
|
{
|
|
575
|
disable_npcs = false;
|
|
576
|
toriel_npc.visible = 0;
|
|
577
|
with (rudy_npc)
|
|
578
|
{
|
|
579
|
visible = 0;
|
|
580
|
x = -100;
|
|
581
|
y = -100;
|
|
582
|
}
|
|
583
|
with (toriel_npc)
|
|
584
|
{
|
|
585
|
visible = 0;
|
|
586
|
x = -100;
|
|
587
|
y = -100;
|
|
588
|
}
|
|
589
|
with (noelle_npc)
|
|
590
|
{
|
|
591
|
visible = 0;
|
|
592
|
x = -100;
|
|
593
|
y = -100;
|
|
594
|
}
|
|
595
|
}
|
|
596
|
if (enable_npcs)
|
|
597
|
{
|
|
598
|
enable_npcs = false;
|
|
599
|
toriel_npc.visible = 1;
|
|
600
|
with (rudy_npc)
|
|
601
|
{
|
|
602
|
x = xstart;
|
|
603
|
y = ystart;
|
|
604
|
visible = 1;
|
|
605
|
}
|
|
606
|
with (toriel_npc)
|
|
607
|
{
|
|
608
|
x = xstart;
|
|
609
|
y = ystart;
|
|
610
|
visible = 1;
|
|
611
|
}
|
|
612
|
if (i_ex(no_actor))
|
|
613
|
no_actor.visible = false;
|
|
614
|
with (noelle_npc)
|
|
615
|
{
|
|
616
|
x = xstart;
|
|
617
|
y = ystart;
|
|
618
|
visible = 1;
|
|
619
|
}
|
|
620
|
rudy_npc.sprite_index = spr_rudy_juice_walk_left;
|
|
621
|
}
|
|
622
|
if (rudy_turn_con == 1 && !d_ex())
|
|
623
|
{
|
|
624
|
rudy_turn_con = 0;
|
|
625
|
rudy_npc.sprite_index = spr_rudy_juice_walk_left;
|
|
626
|
}
|