|
1
|
if (coughcon < 0)
|
|
2
|
event_inherited();
|
|
3
|
if (coughcon == 0 && !d_ex())
|
|
4
|
{
|
|
5
|
coughcon = 1;
|
|
6
|
snd_play(snd_rudycough);
|
|
7
|
sprite_index = spr_rudy_cough;
|
|
8
|
image_speed = 0.25;
|
|
9
|
alarm[0] = 30; gml_Object_obj_npc_rudy_Alarm_0.gml
coughcon++;
|
|
10
|
}
|
|
11
|
if (coughcon == 2 && !d_ex())
|
|
12
|
{
|
|
13
|
coughcon = 3;
|
|
14
|
sprite_index = spr_rudy_d;
|
|
15
|
image_speed = 0;
|
|
16
|
var pickletalk = global.flag[308 seen_eggs_husband] == 1;
|
|
17
|
var sentenceEnd = pickletalk ? "/" : "/%";
|
|
18
|
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 == "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;
}
if (global.fighting == 1)
... ("rudy");
|
|
19
|
msgsetsubloc(0, "\\E0* 'Sides^1, your dad ain't much without his main man!~1", sentenceEnd, "obj_npc_rudy_slash_Step_0_gml_29_0");
|
|
20
|
if (pickletalk)
|
|
21
|
{
|
|
22
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("susie", "K");
|
|
23
|
msgnextloc(Face K* Yeah he...Delay 11 had to ask the store guy for free pickles.Wait for input"\\EK* Yeah he..^1. had to ask the store guy for free pickles./", "obj_npc_rudy_slash_Step_0_gml_33_0" );
|
|
24
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("rudy", 6);
|
|
25
|
msgnextloc(Face 6* Dammit man!Delay 11 You know I would give you free pickles!Wait for input"\\E6* Dammit man^1! You know I would give you free pickles!/", "obj_npc_rudy_slash_Step_0_gml_35_0" );
|
|
26
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("rudy", "7");
|
|
27
|
msgnextloc(Face 7* I'll kick that store guy's bony little ass!Wait for input"\\E7* I'll kick that store guy's bony little ass!/", "obj_npc_rudy_slash_Step_0_gml_37_0" );
|
|
28
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("susie", "5");
|
|
29
|
msgnextloc(Face 5* Yeah,Delay 11 me too!Wait for input"\\E5* Yeah^1, me too!/", "obj_npc_rudy_slash_Step_0_gml_39_0" );
|
|
30
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("rudy", "7");
|
|
31
|
msgnextloc(Face 7* We'll make him into a goddamn xylophone!Wait for inputClose Message"\\E7* We'll make him into a goddamn xylophone!/%", "obj_npc_rudy_slash_Step_0_gml_41_0" );
|
|
32
|
}
|
|
33
|
d_make();
|
|
34
|
}
|
|
35
|
if (coughcon == 3 && !d_ex())
|
|
36
|
{
|
|
37
|
coughcon = -1;
|
|
38
|
global.interact = 0;
|
|
39
|
myinteract = 0;
|
|
40
|
}
|