Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_dw_cliff_kawkawdash_Step_0

related scripts: Create_0Draw_0Other_11Step_0 Step_1Step_2

(view raw script w/o annotations or w/e)
1
with (obj_sunshadows)
2
{
3
    if (instance_exists(obj_battlealphaer) && instance_exists(obj_mainchara_dash))
4
        subtract_highlights = obj_battlealphaer.battlealpha > 0;
5
    else
6
        subtract_highlights = true;
7
}
8
scr_populatechars
scr_populatechars

function
scr_populatechars()
{ if (!variable_instance_exists(id, "kris")) kris = 0; if (!variable_instance_exists(id, "ralsei")) ralsei = 0; if (!variable_instance_exists(id, "susie")) susie = 0; if (!variable_instance_exists(id, "noelle")) noelle = 0; if (kris == 0) { with (obj_mainchara) other.kris = id; } if (susie == 0) { with (obj_caterpillarchara) { if (name == "susie") other.susie = id; } } if (ralsei == 0) { with (obj_caterpillarchara) { if (name == "ralsei") other.ralsei = id; } } if (noelle == 0) { with (obj_caterpillarchara) { if (name == "noelle") other.noelle = id; } } }
();
9
if (!init)
10
{
11
    with (obj_torigate_dash)
12
        
scr_addtosunshadows
scr_addtosunshadows

function
scr_addtosunshadows(arg0, arg1 = draw_self, arg2 = false)
{ if (i_ex(obj_sunshadows)) { _shadowdraw_func = arg1; __cast_shadow = arg2; with (obj_sunshadows) array_push(inst_list, arg0); } }
(id, undefined, false);
13
    
14
    removebridge = function(arg0 = false)
15
    {
16
        with (obj_solidblocksized)
17
        {
18
            if (variable_instance_exists(id, "bridgesolid"))
19
                instance_destroy();
20
        }
21
        bridgesprite = scr_marker_fromasset(findsprite(spr_bridge_together, "NPCs"), bridgeswitch.depth);
22
        with (bridgesprite)
23
            image_index = 1;
24
    };
25
    
26
    init = 1;
27
    if (global.plot < sethaqua_plot)
28
    {
29
        npc_aqua = scr_makenpc_fromasset(findsprite(spr_aqua_grab_jump, "NPCs"));
30
        npc_seth = instance_create(0, 0, obj_marker);
31
        with (npc_seth)
32
        {
33
            sprite_index = spr_seth_carried;
34
            
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
35
            image_xscale = -2;
36
            
scr_addtosunshadows
scr_addtosunshadows

function
scr_addtosunshadows(arg0, arg1 = draw_self, arg2 = false)
{ if (i_ex(obj_sunshadows)) { _shadowdraw_func = arg1; __cast_shadow = arg2; with (obj_sunshadows) array_push(inst_list, arg0); } }
(id);
37
            
scr_depth
scr_depth

function
scr_depth(arg0 = id, arg1 = 0)
{ with (arg0) depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10)); }
(self, 1000);
38
        }
39
        with (npc_aqua)
40
        {
41
            marker.image_index = 0;
42
            con = -2;
43
            timer = 0;
44
            press_grass = true;
45
            jump_index = 0;
46
            jumper = -4;
47
            
scr_addtosunshadows
scr_addtosunshadows

function
scr_addtosunshadows(arg0, arg1 = draw_self, arg2 = false)
{ if (i_ex(obj_sunshadows)) { _shadowdraw_func = arg1; __cast_shadow = arg2; with (obj_sunshadows) array_push(inst_list, arg0); } }
(marker.id);
48
        }
49
    }
50
    if (global.plot >= starwalker_plot)
51
    {
52
        with (obj_plat_loopboundary)
53
            instance_destroy();
54
        with (obj_dynamicshadowmask)
55
            instance_destroy();
56
        with (obj_trigger)
57
        {
58
            if (extflag == "regrow_offscreen_grass")
59
                instance_destroy();
60
        }
61
        with (obj_overworld_dashbullet_spawner)
62
            instance_destroy();
63
        with (obj_bulletarea_neo)
64
            instance_destroy();
65
    }
66
}
67
if (global.plot < starwalker_plot && 
scr_trigcheck
scr_trigcheck

function
scr_trigcheck(arg0)
{ var ____trig = 0; if (is_string(arg0)) { with (obj_trigger) { if (extflag == arg0) { if (place_meeting(x, y, obj_mainchara)) ____trig++; } } } return ____trig; } function scr_trigcheck_ext(arg0, arg1 = id) { var ____trig = 0; if (is_string(arg0)) { with (obj_trigger) { if (extflag == arg0) { if (place_meeting(x, y, arg1)) ____trig++; } } } return ____trig; }
("starwalker_end"))
68
{
69
    global.plot = starwalker_plot;
70
    with (obj_dynamicshadowmask)
71
        instance_destroy();
72
}
73
if (
scr_trigcheck
scr_trigcheck

function
scr_trigcheck(arg0)
{ var ____trig = 0; if (is_string(arg0)) { with (obj_trigger) { if (extflag == arg0) { if (place_meeting(x, y, obj_mainchara)) ____trig++; } } } return ____trig; } function scr_trigcheck_ext(arg0, arg1 = id) { var ____trig = 0; if (is_string(arg0)) { with (obj_trigger) { if (extflag == arg0) { if (place_meeting(x, y, arg1)) ____trig++; } } } return ____trig; }
("aqua_start"))
74
{
75
    with (npc_aqua)
76
    {
77
        if (con == -2)
78
        {
79
            con = 0;
80
            timer = 31;
81
        }
82
    }
83
}
84
with (npc_aqua)
85
{
86
    if (con == -1)
87
    {
88
        jump_index++;
89
        marker.image_index = 0;
90
        var gm = scr_genmarker("aquajump_" + string(jump_index));
91
        with (marker)
92
            other.jumper = 
scr_jump_to_point
scr_jump_to_point

function
scr_jump_to_point(arg0, arg1, arg2, arg3, arg4 = 0)
{ var ___jump =
scr_jump_to_point_sprite(arg0, arg1, arg2, arg3, 0, 0);
with (___jump) { trackalpha = arg4; trackblend = arg4; trackindex = arg4; tracksprite = arg4; trackangle = arg4; } return ___jump; }
(gm.x, gm.y, 12, 30, true);
93
        marker.image_index = 1;
94
        press_grass = false;
95
        con = 0;
96
    }
97
    else if (con == 0)
98
    {
99
        timer += 1;
100
        
scr_depth
scr_depth

function
scr_depth(arg0 = id, arg1 = 0)
{ with (arg0) depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10)); }
(marker);
101
        other.depth = marker.depth - 1;
102
        if (instance_exists(jumper))
103
        {
104
            x = jumper.x;
105
            y = jumper.y;
106
        }
107
        if (timer == 30)
108
        {
109
            image_index = 0;
110
            press_grass = true;
111
        }
112
        if (timer >= 36)
113
        {
114
            con = -1;
115
            timer = 0;
116
            if (jump_index >= 4)
117
            {
118
                with (marker)
119
                    instance_destroy();
120
                with (other.npc_seth)
121
                    instance_destroy();
122
                instance_destroy();
123
                other.npc_aqua = -4;
124
                global.plot = max(global.plot, other.sethaqua_plot);
125
            }
126
        }
127
    }
128
}
129
if (bridgeinit == 0)
130
{
131
    if (bridgeswitched)
132
    {
133
        removebridge();
134
    }
135
    else
136
    {
137
        var sol = findspriteinfo(spr_bridge_together);
138
        with (instance_create(sol.x, sol.y, obj_solidblocksized))
139
        {
140
            sprite_index = sol.sprite_index;
141
            image_xscale = sol.image_xscale;
142
            image_yscale = sol.image_yscale;
143
            bridgesolid = true;
144
        }
145
    }
146
    bridgeinit = 1;
147
}
148
if (scr_trigcheck_ext("regrow_offscreen_grass", 1660))
149
{
150
    var grasslist = ds_list_create();
151
    var cx = camerax();
152
    var cy = cameray();
153
    var cw = camerawidth();
154
    var ch = cameraheight();
155
    collision_rectangle_list(cx - 50, cy, cx - 40, cy + ch, obj_dw_cliffs_tallgrass, false, true, grasslist, false);
156
    for (var i = 0; i < ds_list_size(grasslist); i++)
157
    {
158
        if (ds_list_find_value(grasslist, i).was_cut)
159
        {
160
            ds_list_find_value(grasslist, i).was_cut = false;
161
            ds_list_find_value(grasslist, i).sprite_index = choose(spr_dw_cliffs_tallgrass_lightbake, spr_dw_cliffs_tallgrass_lightbake2);
162
        }
163
    }
164
    ds_list_clear(grasslist);
165
    collision_rectangle_list(cx + cw + 20, cy, cx + cw + 600, cy + ch, obj_dw_cliffs_tallgrass, false, true, grasslist, false);
166
    for (var i = 0; i < ds_list_size(grasslist); i++)
167
    {
168
        if (ds_list_find_value(grasslist, i).was_cut)
169
        {
170
            ds_list_find_value(grasslist, i).was_cut = false;
171
            ds_list_find_value(grasslist, i).sprite_index = choose(spr_dw_cliffs_tallgrass_lightbake, spr_dw_cliffs_tallgrass_lightbake2);
172
        }
173
    }
174
    ds_list_destroy(grasslist);
175
}
176
if (instance_exists(obj_mainchara_dash))
177
{
178
    should_check_wheat = true;
179
}
180
else if (should_check_wheat)
181
{
182
    should_check_wheat = false;
183
    check_all_wheat_gone();
184
}
185
if (reminder_scene_con == 0 && 
scr_trigcheck
scr_trigcheck

function
scr_trigcheck(arg0)
{ var ____trig = 0; if (is_string(arg0)) { with (obj_trigger) { if (extflag == arg0) { if (place_meeting(x, y, obj_mainchara)) ____trig++; } } } return ____trig; } function scr_trigcheck_ext(arg0, arg1 = id) { var ____trig = 0; if (is_string(arg0)) { with (obj_trigger) { if (extflag == arg0) { if (place_meeting(x, y, arg1)) ____trig++; } } } return ____trig; }
("action_reminder"))
186
{
187
    if (global.flag[1888] == 0)
188
    {
189
        global.flag[1888] = 1;
190
        global.choicemsg[0] = stringsetloc(
I forgot
"I forgot", "obj_dw_cliff_kawkawdash_slash_Step_0_gml_183_0"
);
191
        global.choicemsg[1] = stringsetloc(
I just#like ACTing#with you more
"I just#like ACTing#with you more", "obj_dw_cliff_kawkawdash_slash_Step_0_gml_184_0"
);
192
        global.choicemsg[2] = stringset("");
193
        global.choicemsg[3] = stringset("");
194
        global.msc = -99;
195
        global.choice = -1;
196
        global.interact = 1;
197
        reminder_scene_con = 1;
198
        
scr_speaker
scr_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 == "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 (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("ralsei");
199
        msgsetloc(0, 
Face J* (Umm,Delay 11 Kris...? About S-Action and R-Action...)Wait for input
"\\EJ* (Umm^1, Kris...? About S-Action and R-Action...)/", "obj_dw_cliff_kawkawdash_slash_Step_0_gml_196_0"
);
200
        
scr_anyface_next
scr_anyface_next

function
scr_anyface_next(arg0, arg1)
{ global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
}
("susie", "A");
201
        msgnextloc(
Face A* Kris,Delay 11 you remember we can ACT alone too,Delay 11 right?Wait for input
"\\EA* Kris^1, you remember we can ACT alone too^1, right?/", "obj_dw_cliff_kawkawdash_slash_Step_0_gml_198_0"
);
202
        msgnext("\\C2");
203
        d_make(undefined, undefined, undefined, 1);
204
    }
205
    else
206
    {
207
        reminder_scene_con = -1;
208
    }
209
}
210
if (reminder_scene_con == 1 && global.choice >= 0)
211
{
212
    reminder_scene_con = 2;
213
    k_d(3);
214
    if (global.choice == 0)
215
    {
216
        
scr_speaker
scr_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 == "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 (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("susie");
217
        msgsetloc(0, 
Face 3* Okay,Delay 11 well,Delay 11 uh...Delay 11 remember.Wait for inputClose Message
"\\E3* Okay^1, well^1, uh..^1. remember./%", "obj_dw_cliff_kawkawdash_slash_Step_0_gml_213_0"
);
218
        d_make();
219
    }
220
    else
221
    {
222
        if (global.lang == "ja")
223
        {
224
            
scr_speaker
scr_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 == "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 (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("no_name");
225
            msgsetloc(0, 
Mini text 0 \Delay 11f1Wait for inputClose Message
"\\f0^1\\f1/%", "obj_dw_cliff_kawkawdash_slash_Step_0_gml_224_0"
);
226
            var sustr = stringsetloc(
忘れたんだな。
"忘れたんだな。", "obj_dw_cliff_kawkawdash_slash_Step_0_gml_225_0"
);
227
            var rastr = stringsetloc(
忘れたんだね。
"忘れたんだね。", "obj_dw_cliff_kawkawdash_slash_Step_0_gml_226_0"
);
228
            var sf = 
229
            {
230
                x: 77,
231
                y: 6
232
            };
233
            
scr_smallface
scr_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 == "ralsei" && global.flag[1311]) global.smsprite[arg0] = spr_face_r_dark; 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 == "flowery") global.smsprite[arg0] = spr_face_flowery; if (arg1 == "toriel") global.smsprite[arg0] = spr_face_t0; if (arg1 == "opuppet") { global.smsprite[arg0] = spr_miniface_orange; global.smcolor[arg0] = c_orange; global.smshake[arg0] = 1; } if (arg1 == "sans") global.smsprite[arg0] = asset_get_index("spr_face_sans" + string(arg2)); var flower_list = ["orange", "aqua", "green", "seth", "blue", "yellow"]; for (var i = 0; i < array_length(flower_list); i++) { if (arg1 != flower_list[i]) continue; global.smsprite[arg0] = spr_empty; break; } if (arg1 == "orange") global.smcolor[arg0] = #FFAC87; if (arg1 == "aqua") global.smcolor[arg0] = #84F9FF; if (arg1 == "green") global.smcolor[arg0] = #AEFFBC; if (arg1 == "seth") global.smcolor[arg0] = #E2A8FC; if (arg1 == "blue") global.smcolor[arg0] = #86A7FF; if (arg1 == "yellow") global.smcolor[arg0] = #FFF8A1; 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; } ...
(0, 143, 60, sf.x, sf.y, sustr);
234
            sf = 
235
            {
236
                x: 154,
237
                y: 51
238
            };
239
            
scr_smallface
scr_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 == "ralsei" && global.flag[1311]) global.smsprite[arg0] = spr_face_r_dark; 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 == "flowery") global.smsprite[arg0] = spr_face_flowery; if (arg1 == "toriel") global.smsprite[arg0] = spr_face_t0; if (arg1 == "opuppet") { global.smsprite[arg0] = spr_miniface_orange; global.smcolor[arg0] = c_orange; global.smshake[arg0] = 1; } if (arg1 == "sans") global.smsprite[arg0] = asset_get_index("spr_face_sans" + string(arg2)); var flower_list = ["orange", "aqua", "green", "seth", "blue", "yellow"]; for (var i = 0; i < array_length(flower_list); i++) { if (arg1 != flower_list[i]) continue; global.smsprite[arg0] = spr_empty; break; } if (arg1 == "orange") global.smcolor[arg0] = #FFAC87; if (arg1 == "aqua") global.smcolor[arg0] = #84F9FF; if (arg1 == "green") global.smcolor[arg0] = #AEFFBC; if (arg1 == "seth") global.smcolor[arg0] = #E2A8FC; if (arg1 == "blue") global.smcolor[arg0] = #86A7FF; if (arg1 == "yellow") global.smcolor[arg0] = #FFF8A1; 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; } ...
(1, 269, 20, sf.x, sf.y, rastr);
240
        }
241
        else
242
        {
243
            
scr_speaker
scr_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 == "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 (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("ralsei");
244
            global.typer = 79;
245
            global.fc = 1;
246
            msgsetloc(0, 
Face z* (They forgot.)Wait for inputClose Message
"\\Ez* (They forgot.)/%", "obj_dw_cliff_kawkawdash_slash_Step_0_gml_219_0"
);
247
            with (instance_create_depth(0, 0, -1, obj_object))
248
            {
249
                con = 0;
250
                
251
                draw_func = function()
252
                {
253
                    if (instance_exists(obj_face))
254
                    {
255
                        con = 1;
256
                        with (obj_face)
257
                            x = room_width * 4;
258
                        var cam = scr_getcam();
259
                        var _x = cam.x;
260
                        var _y = cam.y;
261
                        draw_sprite_ext(spr_face_r_nohat, 20, _x + 468, _y + 342, 2, 2, 0, c_white, 1);
262
                        draw_sprite_ext(spr_face_susie_alt, 60, _x + 69, _y + 350, 2, 2, 0, c_white, 1);
263
                    }
264
                    else if (con == 1)
265
                    {
266
                        con = 2;
267
                    }
268
                    if (con == 2 && !instance_exists(obj_writer))
269
                        instance_destroy();
270
                };
271
            }
272
        }
273
        d_make();
274
    }
275
}
276
if (reminder_scene_con == 2 && !d_ex())
277
{
278
    reminder_scene_con = -1;
279
    global.interact = 0;
280
}