Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_room_man_Step_0

related scripts: Create_0Draw_0Other_5Step_0

(view raw script w/o annotations or w/e)
1
var havealleggs = false;
2
if (global.flag[911 got_ch1_egg] && global.flag[918 got_ch2_egg] && global.flag[930 got_ch3_egg] && global.flag[931])
3
    havealleggs = true;
4
with (check1)
5
{
6
    noman = stringsetloc(
* (Well,Delay 11 there is not a man here.)Wait for inputClose Message
"* (Well^1, there is not a man here.)/%", "obj_room_man_slash_Step_0_gml_16_0"
);
7
    if (myinteract == 3)
8
    {
9
        gone = true;
10
        global.interact = 1;
11
        myinteract = 99;
12
        if (talked == 0)
13
        {
14
            
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");
15
            msgsetloc(0, 
* (Well,Delay 11 there is a man here.)Wait for input
"* (Well^1, there is a man here.)/", "obj_room_man_slash_Step_0_gml_26_0"
);
16
            msgnextloc(
* (He offers you something.)Wait for input
"* (He offers you something.)/", "obj_room_man_slash_Step_0_gml_27_0"
);
17
            var opt1 = stringsetloc(
Yes
"Yes", "obj_room_man_slash_Step_0_gml_28_0"
);
18
            var opt2 = stringsetloc(
No
"No", "obj_room_man_slash_Step_0_gml_29_0"
);
19
            
scr_readychoicer
scr_readychoicer

function
scr_readychoicer(arg0 = "", arg1 = "", arg2 = "", arg3 = "", arg4 = -1, arg5 = -1)
{ global.msc = -99; global.choice = -1; global.choicemsg = [arg0, arg1, arg2, arg3]; var count = 2; if (arg2 != "") count++; if (arg3 != "") count++; var chooseString = "\\C" + string(count); if (arg4 == -1 && instance_exists(obj_cutscene_master)) arg4 = true; if (arg5) { if (arg4)
c_msgset(0, chooseString);
else msgset(0, chooseString); } else if (arg4) {
c_msgnext(chooseString);
} else { msgnext(chooseString); } }
(opt1, opt2);
20
            myinteract = 4;
21
        }
22
        else if (talked == 1)
23
        {
24
            if (havealleggs || gotegg)
25
            {
26
                
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");
27
                msgsetloc(0, 
* (Well,Delay 11 there is not a man here.)Wait for input
"* (Well^1, there is not a man here.)/", "obj_room_man_slash_Step_0_gml_38_0"
);
28
                msgnextloc(
* (...Delay 11 but,Delay 11 on Kris's shoulder,Delay 11 a weight remained.)Wait for input
"* (..^1. but^1, on Kris's shoulder^1, a weight remained.)/", "obj_room_man_slash_Step_0_gml_39_0"
);
29
                msgnextloc(
* (A weight that carried far,Delay 11 far,Delay 11 into the distance...)Wait for inputClose Message
"* (A weight that carried far^1, far^1, into the distance...)/%", "obj_room_man_slash_Step_0_gml_40_0"
);
30
            }
31
            else
32
            {
33
                
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");
34
                msgset(0, noman);
35
            }
36
        }
37
        else
38
        {
39
            
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");
40
            msgsetloc(0, 
* (...)Wait for inputClose Message
"* (...)/%", "obj_room_man_slash_Step_0_gml_51_0"
);
41
        }
42
        d_make();
43
        talked++;
44
    }
45
    if (myinteract == 4 && global.choice != -1)
46
    {
47
        k_d(3);
48
        if (global.choice == 0)
49
        {
50
            gotegg = true;
51
            global.flag[941] = 1;
52
            
scr_keyitemget
scr_keyitemget

function
scr_keyitemget(arg0)
{ i = 0; loop = 0; noroom = 1; global.item[12] = 999; for (i = 0; i < 12; i++) { if (global.keyitem[i] == 0) { global.keyitem[i] = arg0; noroom = 0; break; } } script_execute(scr_keyiteminfo_all); }
(2);
53
            
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");
54
            msgsetloc(0, 
* (You received the "Egg".)Wait for input
"* (You received the \"Egg\".)/", "obj_room_man_slash_Step_0_gml_68_0"
);
55
            var opt1 = stringsetloc(
Ask for more
"Ask for more", "obj_room_man_slash_Step_0_gml_69_0"
);
56
            var opt2 = stringsetloc(
Do Not
"Do Not", "obj_room_man_slash_Step_0_gml_70_0"
);
57
            
scr_readychoicer
scr_readychoicer

function
scr_readychoicer(arg0 = "", arg1 = "", arg2 = "", arg3 = "", arg4 = -1, arg5 = -1)
{ global.msc = -99; global.choice = -1; global.choicemsg = [arg0, arg1, arg2, arg3]; var count = 2; if (arg2 != "") count++; if (arg3 != "") count++; var chooseString = "\\C" + string(count); if (arg4 == -1 && instance_exists(obj_cutscene_master)) arg4 = true; if (arg5) { if (arg4)
c_msgset(0, chooseString);
else msgset(0, chooseString); } else if (arg4) {
c_msgnext(chooseString);
} else { msgnext(chooseString); } }
(opt1, opt2);
58
            d_make();
59
            myinteract = 5;
60
        }
61
        if (global.choice == 1)
62
        {
63
            
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");
64
            msgset(0, noman);
65
            d_make();
66
            myinteract = 99;
67
        }
68
    }
69
    if (myinteract == 5 && d_ex())
70
    {
71
        with (obj_writer)
72
        {
73
            if (halt && !variable_instance_exists(id, "eggsound"))
74
            {
75
                eggsound = true;
76
                snd_play(snd_egg);
77
            }
78
        }
79
    }
80
    if (myinteract == 5 && global.choice != -1)
81
    {
82
        if (havealleggs)
83
        {
84
            
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");
85
            msgsetloc(0, 
* (Well,Delay 11 the man put his hand softly on your shoulder.)Wait for input
"* (Well^1, the man put his hand softly on your shoulder.)/", "obj_room_man_slash_Step_0_gml_100_0"
);
86
            msgnextloc(
* (And,Delay 11 showing you his empty palm...)Wait for input
"* (And^1, showing you his empty palm...)/", "obj_room_man_slash_Step_0_gml_101_0"
);
87
            if (global.choice == 0)
88
                msgnextloc(
* (He put his finger to his mouth,Delay 11 smiled,Delay 11 and shook his head.)Wait for input
"* (He put his finger to his mouth^1, smiled^1, and shook his head.)/", "obj_room_man_slash_Step_0_gml_104_0"
);
89
            else
90
                msgnextloc(
* (He put his finger to his mouth,Delay 11 smiled,Delay 11 and nodded his head.)Wait for input
"* (He put his finger to his mouth^1, smiled^1, and nodded his head.)/", "obj_room_man_slash_Step_0_gml_108_0"
);
91
            msgnextloc(
* (It seems you have everything.)Wait for input
"* (It seems you have everything.)/", "obj_room_man_slash_Step_0_gml_110_0"
);
92
            msgnextloc(
* (...)Wait for input
"* (...)/", "obj_room_man_slash_Step_0_gml_111_0"
);
93
            msgnextloc(
* (He waved goodbye,Delay 11 looking away slightly after a moment.)Wait for input
"* (He waved goodbye^1, looking away slightly after a moment.)/", "obj_room_man_slash_Step_0_gml_112_0"
);
94
            msgnextloc(
* (...)Wait for input
"* (...)/", "obj_room_man_slash_Step_0_gml_113_0"
);
95
            msgnextloc(
* (Kris felt a strange melancholy.)Wait for input
"* (Kris felt a strange melancholy.)/", "obj_room_man_slash_Step_0_gml_114_0"
);
96
            msgnextloc(
* (It was a feeling that they should not look for the man anymore.)Wait for input
"* (It was a feeling that they should not look for the man anymore.)/", "obj_room_man_slash_Step_0_gml_115_0"
);
97
            msgnextloc(
* (...Delay 11 even though they had never done such a thing in the first place.)Wait for inputClose Message
"* (..^1. even though they had never done such a thing in the first place.)/%", "obj_room_man_slash_Step_0_gml_116_0"
);
98
        }
99
        else
100
        {
101
            
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");
102
            msgsetloc(0, 
* (The man nodded vigorously.)Wait for input
"* (The man nodded vigorously.)/", "obj_room_man_slash_Step_0_gml_122_0"
);
103
            msgnextloc(
* (He pointed into the distance.)Wait for input
"* (He pointed into the distance.)/", "obj_room_man_slash_Step_0_gml_123_0"
);
104
            msgnextloc(
* (Over there,Delay 11 was another tree.)Wait for input
"* (Over there^1, was another tree.)/", "obj_room_man_slash_Step_0_gml_124_0"
);
105
            msgnextloc(
* (In fact,Delay 11 it seemed very much like this tree.)Wait for input
"* (In fact^1, it seemed very much like this tree.)/", "obj_room_man_slash_Step_0_gml_125_0"
);
106
            msgnextloc(
* (Craning your head,Delay 11 you noticed that there was another tree after that.)Wait for input
"* (Craning your head^1, you noticed that there was another tree after that.)/", "obj_room_man_slash_Step_0_gml_126_0"
);
107
            msgnextloc(
* (It felt a little bit like looking into series of mirrors...)Wait for input
"* (It felt a little bit like looking into series of mirrors...)/", "obj_room_man_slash_Step_0_gml_127_0"
);
108
            msgnextloc(
* (Your head began to spin.)Wait for input
"* (Your head began to spin.)/", "obj_room_man_slash_Step_0_gml_128_0"
);
109
            msgnextloc(
* (...Delay 11 the man saw this and looked concerned.)Wait for input
"* (..^1. the man saw this and looked concerned.)/", "obj_room_man_slash_Step_0_gml_129_0"
);
110
            msgnextloc(
* (He seemed like he wanted to speak,Delay 11 but...)Wait for input
"* (He seemed like he wanted to speak^1, but...)/", "obj_room_man_slash_Step_0_gml_130_0"
);
111
            msgnextloc(
* (...)Wait for input
"* (...)/", "obj_room_man_slash_Step_0_gml_131_0"
);
112
            msgnextloc(
* (Well,Delay 11 the man smiled.)Wait for input
"* (Well^1, the man smiled.)/", "obj_room_man_slash_Step_0_gml_132_0"
);
113
            msgnextloc(
* (And he waved goodbye,Delay 11 for now.)Wait for inputClose Message
"* (And he waved goodbye^1, for now.)/%", "obj_room_man_slash_Step_0_gml_133_0"
);
114
        }
115
        k_d(3);
116
        d_make();
117
        myinteract = 99;
118
    }
119
    if (myinteract == 99 && !d_ex())
120
    {
121
        issolid = false;
122
        with (mysolid)
123
            instance_destroy();
124
        myinteract = 0;
125
        global.interact = 0;
126
    }
127
}
128
with (check2)
129
{
130
    if (myinteract == 3)
131
    {
132
        global.interact = 1;
133
        
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");
134
        msgsetloc(0, 
* (He is behind the tree.)Wait for inputClose Message
"* (He is behind the tree.)/%", "obj_room_man_slash_Step_0_gml_158_0"
);
135
        if (other.check1.gone)
136
            msgsetloc(0, 
* (It is a tree.)Wait for inputClose Message
"* (It is a tree.)/%", "obj_room_man_slash_Step_0_gml_161_0"
);
137
        d_make();
138
        myinteract = 4;
139
    }
140
    if (myinteract == 4 && !d_ex())
141
    {
142
        myinteract = 0;
143
        global.interact = 0;
144
    }
145
}