|
1
|
function scr_itemusescr_itemuse
function scr_itemuse(arg0)
{
w = arg0;
usable = 0;
replaceable = 0;
if (global.charselect < 3)
_gc = global.char[global.charselect];
suspos = -1;
ralpos = -1;
noepos = -1;
for (i = 0; i < 3; i += 1)
{
if (global.char[i] == 2)
suspos = i;
if (global.char[i] == 3)
ralpos = i;
if (global.char[i] == 4)
noepos = i;
}
switch (arg0)
{
case 0:
itemnameb = " ";
itemdescb = "---";
break;
case 1:
scr_healitem(global.charselect, 40);
usable = 1;
if (_gc == 2)
scr_itemcomment(global.charselect, stringsetloc(Yeahh!! That's good!"Yeahh!! That's good!", "scr_itemuse_slash_scr_itemuse_gml_31_0" ));
if (_gc == 3)
{
if (scr_havechar(2))
scr_itemcomment(suspos, stringsetloc(Hey, feed ME!!!"Hey, feed ME!!!", "scr_itemuse_slash_scr_itemuse_gml_36_0" ));
scr_itemcomment(global.charselect, stringsetloc(Yummy!!! Marshmallows!!"Yummy!!! Marshmallows!!", "scr_itemuse_slash_scr_itemuse_gml_38_0" ));
}
if (_gc == 4)
scr_itemcomment(global.charselect, stringsetloc(Oh, it's... sticky?"Oh, it's... sticky?", "scr_itemuse_slash_scr_itemuse_gml_42_0" ));
break;
case 2:
reviveamt = ceil(global.maxhp[global.char[global.charselect]] / 2);
scr_healitem(global.charselect, reviveamt);
usable = 1;
if (_gc == 2)
{
if (scr_havechar("susie"))
scr_itemcomment(suspos, stringsetloc(I'm ALIVE!!!"I'm ALIVE!!!", "scr_itemuse_slash_scr_itemuse_gml_54_0" ));
if (scr_havechar("ralsei"))
scr_itemcomment(ralpos, stringsetloc((You weren't dead)"(You weren't dead)", "scr_itemuse_slash_scr_itemuse_gml_55_0" ));
}
if (_gc == 3)
{
if (scr_havechar("susie"))
scr_itemcomment(suspos, stringsetloc((Don't look it)"(Don't look it)", "scr_itemuse_slash_scr_itemuse_gml_60_0" ));
if (scr_havechar("ralsei"))
scr_itemcomment(ralpos, stringsetloc(Ah, I'm refreshed!"Ah, I'm refreshed!", "scr_itemuse_slash_scr_itemuse_gml_61_0" ));
}
if (_gc == 4)
scr_itemcomment(global.charselect, stringsetloc(Mints? I love mints!"Mints? I love mints!", "scr_itemuse_slash_scr_itemuse_gml_65_0" ));
break;
case 4:
global.interact = 6;
with (obj_darkcontroller)
charcon = 0;
global.menuno = -1;
charcon = 0;
global.fc = 0;
global.fe = 0;
global.typer = 6;
global.msg[0] = stringsetloc(* (You tried to read the manual,Delay 11 but it was so dense it made your head spin...)Wait for inputClose Message"* (You tried to read the manual^1, but it was so dense it made your head spin...)/%", "scr_itemuse_slash_scr_itemuse_gml_82_0" );
instance_create(0, 0, obj_dialoguer);
break;
case 5:
scr_healitem(global.charselect, 20);
usable = 1;
break;
case 6:
scr_healitem_all(160);
if (scr_havechar(2))
scr_itemcomment(suspos, stringsetloc(Mmm, seconds!"Mmm, seconds!", "scr_itemuse_slash_scr_itemuse_gml_94_0" ));
if (scr_havechar(3))
scr_itemcomment(ralpos, stringsetloc(Whoops."Whoops.", "scr_itemuse_slash_scr_itemuse_gml_95_0" ));
if (scr_havechar(4))
scr_itemcomment(noepos, stringsetloc(Happy birthday! Haha!"Happy birthday! Haha!", "scr_itemuse_slash_scr_itemuse_gml_96_0" ));
usable = 1;
break;
case 7:
if (global.chapter == 1)
scr_healitem_all(80);
if (global.chapter == 2)
scr_healitem_all(140);
if (scr_havechar(2))
scr_itemcomment(suspos, stringsetloc(I'm dizzy."I'm dizzy.", "scr_itemuse_slash_scr_itemuse_gml_110_0" ));
if (scr_havechar(3))
scr_itemcomment(ralpos, stringsetloc(Mmm, thank you!"Mmm, thank you!", "scr_itemuse_slash_scr_itemuse_gml_111_0" ));
if (scr_havechar(4))
scr_itemcomment(noepos, stringsetloc(My eyes are spinning..."My eyes are spinning...", "scr_itemuse_slash_scr_itemuse_gml_112_0" ));
usable = 1;
break;
case 8:
_healchoice = 70;
... (arg0)
|
|
2
|
{
|
|
3
|
w = arg0;
|
|
4
|
usable = 0;
|
|
5
|
replaceable = 0;
|
|
6
|
if (global.charselect < 3)
|
|
7
|
_gc = global.char[global.charselect];
|
|
8
|
suspos = -1;
|
|
9
|
ralpos = -1;
|
|
10
|
noepos = -1;
|
|
11
|
for (i = 0; i < 3; i += 1)
|
|
12
|
{
|
|
13
|
if (global.char[i] == 2)
|
|
14
|
suspos = i;
|
|
15
|
if (global.char[i] == 3)
|
|
16
|
ralpos = i;
|
|
17
|
if (global.char[i] == 4)
|
|
18
|
noepos = i;
|
|
19
|
}
|
|
20
|
switch (arg0)
|
|
21
|
{
|
|
22
|
case 0:
|
|
23
|
itemnameb = " ";
|
|
24
|
itemdescb = "---";
|
|
25
|
break;
|
|
26
|
case 1:
|
|
27
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, 40);
|
|
28
|
usable = 1;
|
|
29
|
if (_gc == 2)
|
|
30
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Yeahh!! That's good!"Yeahh!! That's good!", "scr_itemuse_slash_scr_itemuse_gml_31_0" ));
|
|
31
|
if (_gc == 3)
|
|
32
|
{
|
|
33
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (2))
|
|
34
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (suspos, stringsetloc(Hey, feed ME!!!"Hey, feed ME!!!", "scr_itemuse_slash_scr_itemuse_gml_36_0" ));
|
|
35
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Yummy!!! Marshmallows!!"Yummy!!! Marshmallows!!", "scr_itemuse_slash_scr_itemuse_gml_38_0" ));
|
|
36
|
}
|
|
37
|
if (_gc == 4)
|
|
38
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Oh, it's... sticky?"Oh, it's... sticky?", "scr_itemuse_slash_scr_itemuse_gml_42_0" ));
|
|
39
|
break;
|
|
40
|
case 2:
|
|
41
|
reviveamt = ceil(global.maxhp[global.char[global.charselect]] / 2);
|
|
42
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, reviveamt);
|
|
43
|
usable = 1;
|
|
44
|
if (_gc == 2)
|
|
45
|
{
|
|
46
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} ("susie"))
|
|
47
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (suspos, stringsetloc(I'm ALIVE!!!"I'm ALIVE!!!", "scr_itemuse_slash_scr_itemuse_gml_54_0" ));
|
|
48
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} ("ralsei"))
|
|
49
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (ralpos, stringsetloc((You weren't dead)"(You weren't dead)", "scr_itemuse_slash_scr_itemuse_gml_55_0" ));
|
|
50
|
}
|
|
51
|
if (_gc == 3)
|
|
52
|
{
|
|
53
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} ("susie"))
|
|
54
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (suspos, stringsetloc((Don't look it)"(Don't look it)", "scr_itemuse_slash_scr_itemuse_gml_60_0" ));
|
|
55
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} ("ralsei"))
|
|
56
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (ralpos, stringsetloc(Ah, I'm refreshed!"Ah, I'm refreshed!", "scr_itemuse_slash_scr_itemuse_gml_61_0" ));
|
|
57
|
}
|
|
58
|
if (_gc == 4)
|
|
59
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Mints? I love mints!"Mints? I love mints!", "scr_itemuse_slash_scr_itemuse_gml_65_0" ));
|
|
60
|
break;
|
|
61
|
case 4:
|
|
62
|
global.interact = 6;
|
|
63
|
with (obj_darkcontroller)
|
|
64
|
charcon = 0;
|
|
65
|
global.menuno = -1;
|
|
66
|
charcon = 0;
|
|
67
|
global.fc = 0;
|
|
68
|
global.fe = 0;
|
|
69
|
global.typer = 6;
|
|
70
|
global.msg[0] = stringsetloc(* (You tried to read the manual,Delay 11 but it was so dense it made your head spin...)Wait for inputClose Message"* (You tried to read the manual^1, but it was so dense it made your head spin...)/%", "scr_itemuse_slash_scr_itemuse_gml_82_0" );
|
|
71
|
instance_create(0, 0, obj_dialoguer);
|
|
72
|
break;
|
|
73
|
case 5:
|
|
74
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, 20);
|
|
75
|
usable = 1;
|
|
76
|
break;
|
|
77
|
case 6:
|
|
78
|
scr_healitem_allscr_healitem_all
function scr_healitem_all(arg0)
{
scr_healall(arg0);
for (i = 0; i < chartotal; i += 1)
{
healx = scr_charbox_x(i);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg0;
}
} (160);
|
|
79
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (2))
|
|
80
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (suspos, stringsetloc(Mmm, seconds!"Mmm, seconds!", "scr_itemuse_slash_scr_itemuse_gml_94_0" ));
|
|
81
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (3))
|
|
82
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (ralpos, stringsetloc(Whoops."Whoops.", "scr_itemuse_slash_scr_itemuse_gml_95_0" ));
|
|
83
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (4))
|
|
84
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (noepos, stringsetloc(Happy birthday! Haha!"Happy birthday! Haha!", "scr_itemuse_slash_scr_itemuse_gml_96_0" ));
|
|
85
|
usable = 1;
|
|
86
|
break;
|
|
87
|
case 7:
|
|
88
|
if (global.chapter == 1)
|
|
89
|
scr_healitem_allscr_healitem_all
function scr_healitem_all(arg0)
{
scr_healall(arg0);
for (i = 0; i < chartotal; i += 1)
{
healx = scr_charbox_x(i);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg0;
}
} (80);
|
|
90
|
if (global.chapter == 2)
|
|
91
|
scr_healitem_allscr_healitem_all
function scr_healitem_all(arg0)
{
scr_healall(arg0);
for (i = 0; i < chartotal; i += 1)
{
healx = scr_charbox_x(i);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg0;
}
} (140);
|
|
92
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (2))
|
|
93
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (suspos, stringsetloc(I'm dizzy."I'm dizzy.", "scr_itemuse_slash_scr_itemuse_gml_110_0" ));
|
|
94
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (3))
|
|
95
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (ralpos, stringsetloc(Mmm, thank you!"Mmm, thank you!", "scr_itemuse_slash_scr_itemuse_gml_111_0" ));
|
|
96
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (4))
|
|
97
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (noepos, stringsetloc(My eyes are spinning..."My eyes are spinning...", "scr_itemuse_slash_scr_itemuse_gml_112_0" ));
|
|
98
|
usable = 1;
|
|
99
|
break;
|
|
100
|
case 8:
|
|
101
|
_healchoice = 70;
|
|
102
|
usable = 1;
|
|
103
|
if (global.char[global.charselect] == 2)
|
|
104
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Cooked to perfection!"Cooked to perfection!", "scr_itemuse_slash_scr_itemuse_gml_123_0" ));
|
|
105
|
if (global.char[global.charselect] == 3)
|
|
106
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(A bit burnt...?"A bit burnt...?", "scr_itemuse_slash_scr_itemuse_gml_127_0" ));
|
|
107
|
if (global.char[global.charselect] == 4)
|
|
108
|
{
|
|
109
|
_healchoice = 20;
|
|
110
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(I-is this real meat...?"I-is this real meat...?", "scr_itemuse_slash_scr_itemuse_gml_132_0" ));
|
|
111
|
}
|
|
112
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, _healchoice);
|
|
113
|
break;
|
|
114
|
case 9:
|
|
115
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, 1);
|
|
116
|
usable = 1;
|
|
117
|
if (global.char[global.charselect] == 2)
|
|
118
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Mmm... face"Mmm... face", "scr_itemuse_slash_scr_itemuse_gml_143_0" ));
|
|
119
|
if (global.char[global.charselect] == 3)
|
|
120
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc((uncomfortable)"(uncomfortable)", "scr_itemuse_slash_scr_itemuse_gml_147_0" ));
|
|
121
|
if (global.char[global.charselect] == 4)
|
|
122
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Umm, what is this? It's cute..."Umm, what is this? It's cute...", "scr_itemuse_slash_scr_itemuse_gml_151_0" ));
|
|
123
|
break;
|
|
124
|
case 10:
|
|
125
|
_healchoice = 4;
|
|
126
|
usable = 1;
|
|
127
|
if (global.char[global.charselect] == 2)
|
|
128
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Why this!?"Why this!?", "scr_itemuse_slash_scr_itemuse_gml_161_0" ));
|
|
129
|
if (global.char[global.charselect] == 3)
|
|
130
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Let's be healthy!"Let's be healthy!", "scr_itemuse_slash_scr_itemuse_gml_165_0" ));
|
|
131
|
if (global.char[global.charselect] == 4)
|
|
132
|
{
|
|
133
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Something to graze on!"Something to graze on!", "scr_itemuse_slash_scr_itemuse_gml_169_0" ));
|
|
134
|
_healchoice = 90;
|
|
135
|
}
|
|
136
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, _healchoice);
|
|
137
|
break;
|
|
138
|
case 11:
|
|
139
|
scr_healitem_allscr_healitem_all
function scr_healitem_all(arg0)
{
scr_healall(arg0);
for (i = 0; i < chartotal; i += 1)
{
healx = scr_charbox_x(i);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg0;
}
} (70);
|
|
140
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (2))
|
|
141
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (suspos, stringsetloc(Quit hogging!"Quit hogging!", "scr_itemuse_slash_scr_itemuse_gml_177_0" ));
|
|
142
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (3))
|
|
143
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (ralpos, stringsetloc((It's cut evenly...)"(It's cut evenly...)", "scr_itemuse_slash_scr_itemuse_gml_178_0" ));
|
|
144
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (4))
|
|
145
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (noepos, stringsetloc((Kris took two thirds of it...)"(Kris took two thirds of it...)", "scr_itemuse_slash_scr_itemuse_gml_179_0" ));
|
|
146
|
usable = 1;
|
|
147
|
break;
|
|
148
|
case 12:
|
|
149
|
usable = 1;
|
|
150
|
if (global.char[global.charselect] == 1)
|
|
151
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, 20);
|
|
152
|
if (global.char[global.charselect] == 2)
|
|
153
|
{
|
|
154
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, 80);
|
|
155
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Mmm, blood!"Mmm, blood!", "scr_itemuse_slash_scr_itemuse_gml_193_0" ));
|
|
156
|
}
|
|
157
|
if (global.char[global.charselect] == 3)
|
|
158
|
{
|
|
159
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, 50);
|
|
160
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Aah, sticky..."Aah, sticky...", "scr_itemuse_slash_scr_itemuse_gml_198_0" ));
|
|
161
|
}
|
|
162
|
if (global.char[global.charselect] == 4)
|
|
163
|
{
|
|
164
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, 30);
|
|
165
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Mmm... what!? It's blood!?"Mmm... what!? It's blood!?", "scr_itemuse_slash_scr_itemuse_gml_203_0" ));
|
|
166
|
}
|
|
167
|
break;
|
|
168
|
case 13:
|
|
169
|
usable = 1;
|
|
170
|
if (global.char[global.charselect] == 1)
|
|
171
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, 80);
|
|
172
|
if (global.char[global.charselect] == 2)
|
|
173
|
{
|
|
174
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, 20);
|
|
175
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(THAT'S it?"THAT'S it?", "scr_itemuse_slash_scr_itemuse_gml_217_0" ));
|
|
176
|
}
|
|
177
|
if (global.char[global.charselect] == 3)
|
|
178
|
{
|
|
179
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, 50);
|
|
180
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Aww, thanks, Kris!"Aww, thanks, Kris!", "scr_itemuse_slash_scr_itemuse_gml_222_0" ));
|
|
181
|
}
|
|
182
|
if (global.char[global.charselect] == 4)
|
|
183
|
{
|
|
184
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (0, 35);
|
|
185
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, 35);
|
|
186
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Umm, it's ok, Kris, I'll share..."Umm, it's ok, Kris, I'll share...", "scr_itemuse_slash_scr_itemuse_gml_229_0" ));
|
|
187
|
}
|
|
188
|
break;
|
|
189
|
case 14:
|
|
190
|
usable = 1;
|
|
191
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, 500);
|
|
192
|
if (global.char[global.charselect] == 2)
|
|
193
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc((It's SO good!)"(It's SO good!)", "scr_itemuse_slash_scr_itemuse_gml_239_0" ));
|
|
194
|
if (global.char[global.charselect] == 3)
|
|
195
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(K-Kris!? I..."K-Kris!? I...", "scr_itemuse_slash_scr_itemuse_gml_243_0" ));
|
|
196
|
if (global.char[global.charselect] == 4)
|
|
197
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc((Huh? I didn't know Kris liked this flavor.)"(Huh? I didn't know Kris liked this flavor.)", "scr_itemuse_slash_scr_itemuse_gml_247_0" ));
|
|
198
|
break;
|
|
199
|
case 15:
|
|
200
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, 50);
|
|
201
|
usable = 1;
|
|
202
|
if (global.char[global.charselect] == 2)
|
|
203
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Cool, it's wriggling."Cool, it's wriggling.", "scr_itemuse_slash_scr_itemuse_gml_257_0" ));
|
|
204
|
if (global.char[global.charselect] == 3)
|
|
205
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Yum, is this spaghetti?"Yum, is this spaghetti?", "scr_itemuse_slash_scr_itemuse_gml_261_0" ));
|
|
206
|
if (global.char[global.charselect] == 4)
|
|
207
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Tastes like... jumprope?"Tastes like... jumprope?", "scr_itemuse_slash_scr_itemuse_gml_265_0" ));
|
|
208
|
break;
|
|
209
|
case 16:
|
|
210
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, 80);
|
|
211
|
usable = 1;
|
|
212
|
if (_gc == 1)
|
|
213
|
snd_play(snd_cd_bagel_kris);
|
|
214
|
if (_gc == 2)
|
|
215
|
{
|
|
216
|
snd_play(snd_cd_bagel_susie);
|
|
217
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(It's got crunch."It's got crunch.", "scr_itemuse_slash_scr_itemuse_gml_275_0" ));
|
|
218
|
}
|
|
219
|
if (_gc == 3)
|
|
220
|
{
|
|
221
|
snd_play(snd_cd_bagel_ralsei);
|
|
222
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(How elegant!"How elegant!", "scr_itemuse_slash_scr_itemuse_gml_279_0" ));
|
|
223
|
}
|
|
224
|
if (_gc == 4)
|
|
225
|
{
|
|
226
|
snd_play(snd_cd_bagel_noelle);
|
|
227
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(What a nice song..."What a nice song...", "scr_itemuse_slash_scr_itemuse_gml_283_0" ));
|
|
228
|
}
|
|
229
|
break;
|
|
230
|
case 17:
|
|
231
|
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)
... ("noone");
|
|
232
|
msgsetloc(0, * (The clothes are stuck to the doll...)Wait for input"* (The clothes are stuck to the doll...)/", "scr_itemuse_slash_scr_itemuse_gml_290_0" );
|
|
233
|
msgnextloc(* (There's no way you can use this.)Wait for inputClose Message"* (There's no way you can use this.)/%", "scr_itemuse_slash_scr_itemuse_gml_291_0" );
|
|
234
|
scr_itemdialoguerscr_itemdialoguer
function scr_itemdialoguer()
{
global.interact = 6;
with (obj_darkcontroller)
charcon = 0;
global.menuno = -1;
charcon = 0;
d_make();
} ();
|
|
235
|
break;
|
|
236
|
case 18:
|
|
237
|
usable = 1;
|
|
238
|
_healamount = scr_teaamountscr_teaamount
function scr_teaamount(arg0, arg1)
{
var __healamt = 10;
if (arg0 == 1)
{
if (arg1 == 1)
__healamt = 10;
if (arg1 == 2)
__healamt = 120;
if (arg1 == 3)
__healamt = 120;
if (arg1 == 4)
__healamt = 70;
}
if (arg0 == 2)
{
if (arg1 == 1)
__healamt = 120;
if (arg1 == 2)
__healamt = 10;
if (arg1 == 3)
__healamt = 120;
if (arg1 == 4)
__healamt = 400;
}
if (arg0 == 3)
{
if (arg1 == 1)
__healamt = 60;
if (arg1 == 2)
__healamt = 120;
if (arg1 == 3)
__healamt = 10;
if (arg1 == 4)
__healamt = 50;
}
if (arg0 == 4)
{
if (arg1 == 1)
__healamt = 70;
if (arg1 == 2)
__healamt = 120;
if (arg1 == 3)
__healamt = 50;
if (arg1 == 4)
__healamt = 10;
}
if (global.fighting == 1 && __healamt < 40)
__healamt = 40;
if (global.chapter == 2)
{
if (i_ex(o_boxingcontroller))
__healamt = 100;
}
return __healamt;
} (1, global.char[global.charselect]);
|
|
239
|
if (global.char[global.charselect] == 1)
|
|
240
|
{
|
|
241
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (2))
|
|
242
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (suspos, stringsetloc((No reaction?)"(No reaction?)", "scr_itemuse_slash_scr_itemuse_gml_303_0" ));
|
|
243
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (4))
|
|
244
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (noepos, stringsetloc((... no reaction?)"(... no reaction?)", "scr_itemuse_slash_scr_itemuse_gml_304_0" ));
|
|
245
|
}
|
|
246
|
if (global.char[global.charselect] == 2)
|
|
247
|
{
|
|
248
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Hell yeah, apple juice!!"Hell yeah, apple juice!!", "scr_itemuse_slash_scr_itemuse_gml_309_0" ));
|
|
249
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (3))
|
|
250
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (ralpos, stringsetloc(Don't drink so fast!!"Don't drink so fast!!", "scr_itemuse_slash_scr_itemuse_gml_310_0" ));
|
|
251
|
}
|
|
252
|
if (global.char[global.charselect] == 3)
|
|
253
|
{
|
|
254
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Tastes like blueberries!"Tastes like blueberries!", "scr_itemuse_slash_scr_itemuse_gml_315_0" ));
|
|
255
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (2))
|
|
256
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (suspos, stringsetloc(Huh? Really?"Huh? Really?", "scr_itemuse_slash_scr_itemuse_gml_316_0" ));
|
|
257
|
}
|
|
258
|
if (global.char[global.charselect] == 4)
|
|
259
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Tastes like cinnamon! (What is this aftertaste...?)"Tastes like cinnamon! (What is this aftertaste...?)", "scr_itemuse_slash_scr_itemuse_gml_320_0" ));
|
|
260
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, _healamount);
|
|
261
|
break;
|
|
262
|
case 19:
|
|
263
|
usable = 1;
|
|
264
|
_healamount = scr_teaamountscr_teaamount
function scr_teaamount(arg0, arg1)
{
var __healamt = 10;
if (arg0 == 1)
{
if (arg1 == 1)
__healamt = 10;
if (arg1 == 2)
__healamt = 120;
if (arg1 == 3)
__healamt = 120;
if (arg1 == 4)
__healamt = 70;
}
if (arg0 == 2)
{
if (arg1 == 1)
__healamt = 120;
if (arg1 == 2)
__healamt = 10;
if (arg1 == 3)
__healamt = 120;
if (arg1 == 4)
__healamt = 400;
}
if (arg0 == 3)
{
if (arg1 == 1)
__healamt = 60;
if (arg1 == 2)
__healamt = 120;
if (arg1 == 3)
__healamt = 10;
if (arg1 == 4)
__healamt = 50;
}
if (arg0 == 4)
{
if (arg1 == 1)
__healamt = 70;
if (arg1 == 2)
__healamt = 120;
if (arg1 == 3)
__healamt = 50;
if (arg1 == 4)
__healamt = 10;
}
if (global.fighting == 1 && __healamt < 40)
__healamt = 40;
if (global.chapter == 2)
{
if (i_ex(o_boxingcontroller))
__healamt = 100;
}
return __healamt;
} (4, global.char[global.charselect]);
|
|
265
|
if (global.char[global.charselect] == 1)
|
|
266
|
{
|
|
267
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (2))
|
|
268
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (suspos, stringsetloc((... do they like it?)"(... do they like it?)", "scr_itemuse_slash_scr_itemuse_gml_332_0" ));
|
|
269
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (3))
|
|
270
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (ralpos, stringsetloc((They're drinking it...)"(They're drinking it...)", "scr_itemuse_slash_scr_itemuse_gml_333_0" ));
|
|
271
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (4))
|
|
272
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (noepos, stringsetloc((Umm, do they like it or not...?)"(Umm, do they like it or not...?)", "scr_itemuse_slash_scr_itemuse_gml_334_0" ));
|
|
273
|
}
|
|
274
|
if (global.char[global.charselect] == 2)
|
|
275
|
{
|
|
276
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Hell yeah, eggnog!!"Hell yeah, eggnog!!", "scr_itemuse_slash_scr_itemuse_gml_339_0" ));
|
|
277
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (3))
|
|
278
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (ralpos, stringsetloc(D-don't drink so fast!"D-don't drink so fast!", "scr_itemuse_slash_scr_itemuse_gml_340_0" ));
|
|
279
|
}
|
|
280
|
if (global.char[global.charselect] == 3)
|
|
281
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(It's soft and sweet."It's soft and sweet.", "scr_itemuse_slash_scr_itemuse_gml_345_0" ));
|
|
282
|
if (global.char[global.charselect] == 4)
|
|
283
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(... this is just water! You're pranking me, right?!"... this is just water! You're pranking me, right?!", "scr_itemuse_slash_scr_itemuse_gml_349_0" ));
|
|
284
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, _healamount);
|
|
285
|
break;
|
|
286
|
case 20:
|
|
287
|
usable = 1;
|
|
288
|
_healamount = scr_teaamountscr_teaamount
function scr_teaamount(arg0, arg1)
{
var __healamt = 10;
if (arg0 == 1)
{
if (arg1 == 1)
__healamt = 10;
if (arg1 == 2)
__healamt = 120;
if (arg1 == 3)
__healamt = 120;
if (arg1 == 4)
__healamt = 70;
}
if (arg0 == 2)
{
if (arg1 == 1)
__healamt = 120;
if (arg1 == 2)
__healamt = 10;
if (arg1 == 3)
__healamt = 120;
if (arg1 == 4)
__healamt = 400;
}
if (arg0 == 3)
{
if (arg1 == 1)
__healamt = 60;
if (arg1 == 2)
__healamt = 120;
if (arg1 == 3)
__healamt = 10;
if (arg1 == 4)
__healamt = 50;
}
if (arg0 == 4)
{
if (arg1 == 1)
__healamt = 70;
if (arg1 == 2)
__healamt = 120;
if (arg1 == 3)
__healamt = 50;
if (arg1 == 4)
__healamt = 10;
}
if (global.fighting == 1 && __healamt < 40)
__healamt = 40;
if (global.chapter == 2)
{
if (i_ex(o_boxingcontroller))
__healamt = 100;
}
return __healamt;
} (3, global.char[global.charselect]);
|
|
289
|
if (global.char[global.charselect] == 1)
|
|
290
|
{
|
|
291
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (2))
|
|
292
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (suspos, stringsetloc((No reaction?)"(No reaction?)", "scr_itemuse_slash_scr_itemuse_gml_361_0" ));
|
|
293
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (3))
|
|
294
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (ralpos, stringsetloc((I'm happy!)"(I'm happy!)", "scr_itemuse_slash_scr_itemuse_gml_362_0" ));
|
|
295
|
}
|
|
296
|
if (global.char[global.charselect] == 2)
|
|
297
|
{
|
|
298
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Hey, it's like marshmallows!!"Hey, it's like marshmallows!!", "scr_itemuse_slash_scr_itemuse_gml_367_0" ));
|
|
299
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (3))
|
|
300
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (ralpos, stringsetloc(D-don't drink so fast!"D-don't drink so fast!", "scr_itemuse_slash_scr_itemuse_gml_368_0" ));
|
|
301
|
}
|
|
302
|
if (global.char[global.charselect] == 3)
|
|
303
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Um... isn't this water?"Um... isn't this water?", "scr_itemuse_slash_scr_itemuse_gml_373_0" ));
|
|
304
|
if (global.char[global.charselect] == 4)
|
|
305
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(There's nothing in here!"There's nothing in here!", "scr_itemuse_slash_scr_itemuse_gml_377_0" ));
|
|
306
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, _healamount);
|
|
307
|
break;
|
|
308
|
case 21:
|
|
309
|
usable = 1;
|
|
310
|
_healamount = scr_teaamountscr_teaamount
function scr_teaamount(arg0, arg1)
{
var __healamt = 10;
if (arg0 == 1)
{
if (arg1 == 1)
__healamt = 10;
if (arg1 == 2)
__healamt = 120;
if (arg1 == 3)
__healamt = 120;
if (arg1 == 4)
__healamt = 70;
}
if (arg0 == 2)
{
if (arg1 == 1)
__healamt = 120;
if (arg1 == 2)
__healamt = 10;
if (arg1 == 3)
__healamt = 120;
if (arg1 == 4)
__healamt = 400;
}
if (arg0 == 3)
{
if (arg1 == 1)
__healamt = 60;
if (arg1 == 2)
__healamt = 120;
if (arg1 == 3)
__healamt = 10;
if (arg1 == 4)
__healamt = 50;
}
if (arg0 == 4)
{
if (arg1 == 1)
__healamt = 70;
if (arg1 == 2)
__healamt = 120;
if (arg1 == 3)
__healamt = 50;
if (arg1 == 4)
__healamt = 10;
}
if (global.fighting == 1 && __healamt < 40)
__healamt = 40;
if (global.chapter == 2)
{
if (i_ex(o_boxingcontroller))
__healamt = 100;
}
return __healamt;
} (2, global.char[global.charselect]);
|
|
311
|
if (global.char[global.charselect] == 1)
|
|
312
|
{
|
|
313
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} ("susie"))
|
|
314
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (suspos, stringsetloc(STOP LOOKING AT ME!"STOP LOOKING AT ME!", "scr_itemuse_slash_scr_itemuse_gml_389_0" ));
|
|
315
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} ("ralsei"))
|
|
316
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (ralpos, stringsetloc((They seem into it)"(They seem into it)", "scr_itemuse_slash_scr_itemuse_gml_390_0" ));
|
|
317
|
}
|
|
318
|
if (global.char[global.charselect] == 2)
|
|
319
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(... this is tea?"... this is tea?", "scr_itemuse_slash_scr_itemuse_gml_395_0" ));
|
|
320
|
if (global.char[global.charselect] == 3)
|
|
321
|
{
|
|
322
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(It's grape juice!"It's grape juice!", "scr_itemuse_slash_scr_itemuse_gml_400_0" ));
|
|
323
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} ("susie"))
|
|
324
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (suspos, stringsetloc(Huh, really?"Huh, really?", "scr_itemuse_slash_scr_itemuse_gml_401_0" ));
|
|
325
|
}
|
|
326
|
if (global.char[global.charselect] == 4)
|
|
327
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc((Wonder if they sell this in gallons?)"(Wonder if they sell this in gallons?)", "scr_itemuse_slash_scr_itemuse_gml_405_0" ));
|
|
328
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, _healamount);
|
|
329
|
break;
|
|
330
|
case 22:
|
|
331
|
_healchoice = 60;
|
|
332
|
usable = 1;
|
|
333
|
replaceable = 8;
|
|
334
|
if (global.char[global.charselect] == 2)
|
|
335
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(C'mon, gimme the rest!"C'mon, gimme the rest!", "scr_itemuse_slash_scr_itemuse_gml_418_0" ));
|
|
336
|
if (global.char[global.charselect] == 3)
|
|
337
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(M-maybe give Susie the rest?"M-maybe give Susie the rest?", "scr_itemuse_slash_scr_itemuse_gml_422_0" ));
|
|
338
|
if (global.char[global.charselect] == 4)
|
|
339
|
{
|
|
340
|
_healchoice = 20;
|
|
341
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Th... there's MORE!?"Th... there's MORE!?", "scr_itemuse_slash_scr_itemuse_gml_427_0" ));
|
|
342
|
}
|
|
343
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, _healchoice);
|
|
344
|
break;
|
|
345
|
case 23:
|
|
346
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, 120);
|
|
347
|
usable = 1;
|
|
348
|
if (global.char[global.charselect] == 2)
|
|
349
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Hey, this rules!"Hey, this rules!", "scr_itemuse_slash_scr_itemuse_gml_438_0" ));
|
|
350
|
if (global.char[global.charselect] == 3)
|
|
351
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Nice and chalky."Nice and chalky.", "scr_itemuse_slash_scr_itemuse_gml_442_0" ));
|
|
352
|
if (global.char[global.charselect] == 4)
|
|
353
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc((I-isn't this the chalk I gave her?)"(I-isn't this the chalk I gave her?)", "scr_itemuse_slash_scr_itemuse_gml_446_0" ));
|
|
354
|
break;
|
|
355
|
case 24:
|
|
356
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, 100);
|
|
357
|
usable = 1;
|
|
358
|
if (global.char[global.charselect] == 2)
|
|
359
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Hell'd you call this!?"Hell'd you call this!?", "scr_itemuse_slash_scr_itemuse_gml_456_0" ));
|
|
360
|
if (global.char[global.charselect] == 3)
|
|
361
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(I made this."I made this.", "scr_itemuse_slash_scr_itemuse_gml_460_0" ));
|
|
362
|
if (global.char[global.charselect] == 4)
|
|
363
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(B-Brainfreeze! ... kidding!"B-Brainfreeze! ... kidding!", "scr_itemuse_slash_scr_itemuse_gml_464_0" ));
|
|
364
|
break;
|
|
365
|
case 25:
|
|
366
|
scr_healitem_allscr_healitem_all
function scr_healitem_all(arg0)
{
scr_healall(arg0);
for (i = 0; i < chartotal; i += 1)
{
healx = scr_charbox_x(i);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg0;
}
} (30);
|
|
367
|
usable = 1;
|
|
368
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (2))
|
|
369
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (suspos, stringsetloc(I'm NOT wearing it."I'm NOT wearing it.", "scr_itemuse_slash_scr_itemuse_gml_472_0" ));
|
|
370
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (3))
|
|
371
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (ralpos, stringsetloc(How sweet!"How sweet!", "scr_itemuse_slash_scr_itemuse_gml_473_0" ));
|
|
372
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (4))
|
|
373
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (noepos, stringsetloc(Reminds me of one of my sweaters."Reminds me of one of my sweaters.", "scr_itemuse_slash_scr_itemuse_gml_474_0" ));
|
|
374
|
break;
|
|
375
|
case 26:
|
|
376
|
usable = 1;
|
|
377
|
var heal_amount = 90;
|
|
378
|
if (global.char[global.charselect] == 1)
|
|
379
|
heal_amount = 100;
|
|
380
|
if (global.char[global.charselect] == 2)
|
|
381
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(It says GUTS!"It says GUTS!", "scr_itemuse_slash_scr_itemuse_gml_487_0" ));
|
|
382
|
if (global.char[global.charselect] == 3)
|
|
383
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(It says Fluffy..."It says Fluffy...", "scr_itemuse_slash_scr_itemuse_gml_491_0" ));
|
|
384
|
if (global.char[global.charselect] == 4)
|
|
385
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(I... I can't read these symbols..."I... I can't read these symbols...", "scr_itemuse_slash_scr_itemuse_gml_495_0" ));
|
|
386
|
scr_healitemscr_healitem
function scr_healitem(arg0, arg1)
{
scr_heal(arg0, arg1);
healx = scr_charbox_x(arg0);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg1;
} (global.charselect, heal_amount);
|
|
387
|
break;
|
|
388
|
case 27:
|
|
389
|
usable = 0;
|
|
390
|
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)
... ("noone");
|
|
391
|
global.msg[0] = stringsetloc(* (You felt tense.)Wait for input"* (You felt tense.)/", "scr_itemuse_slash_scr_itemuse_gml_504_0" );
|
|
392
|
global.msg[1] = stringsetloc(* (... try using it in battle.)Wait for inputClose Message"* (... try using it in battle.)/%", "scr_itemuse_slash_scr_itemuse_gml_505_0" );
|
|
393
|
scr_itemdialoguerscr_itemdialoguer
function scr_itemdialoguer()
{
global.interact = 6;
with (obj_darkcontroller)
charcon = 0;
global.menuno = -1;
charcon = 0;
d_make();
} ();
|
|
394
|
break;
|
|
395
|
case 28:
|
|
396
|
usable = 0;
|
|
397
|
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)
... ("noone");
|
|
398
|
global.msg[0] = stringsetloc(* (You felt tense.)Wait for input"* (You felt tense.)/", "scr_itemuse_slash_scr_itemuse_gml_512_0" );
|
|
399
|
global.msg[1] = stringsetloc(* (... try using it in battle.)Wait for inputClose Message"* (... try using it in battle.)/%", "scr_itemuse_slash_scr_itemuse_gml_513_0" );
|
|
400
|
scr_itemdialoguerscr_itemdialoguer
function scr_itemdialoguer()
{
global.interact = 6;
with (obj_darkcontroller)
charcon = 0;
global.menuno = -1;
charcon = 0;
d_make();
} ();
|
|
401
|
break;
|
|
402
|
case 29:
|
|
403
|
usable = 0;
|
|
404
|
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)
... ("noone");
|
|
405
|
global.msg[0] = stringsetloc(* (You felt tense.)Wait for input"* (You felt tense.)/", "scr_itemuse_slash_scr_itemuse_gml_520_0" );
|
|
406
|
global.msg[1] = stringsetloc(* (... try using it in battle.)Wait for inputClose Message"* (... try using it in battle.)/%", "scr_itemuse_slash_scr_itemuse_gml_521_0" );
|
|
407
|
scr_itemdialoguerscr_itemdialoguer
function scr_itemdialoguer()
{
global.interact = 6;
with (obj_darkcontroller)
charcon = 0;
global.menuno = -1;
charcon = 0;
d_make();
} ();
|
|
408
|
break;
|
|
409
|
case 30:
|
|
410
|
usable = 1;
|
|
411
|
scr_healitem_allscr_healitem_all
function scr_healitem_all(arg0)
{
scr_healall(arg0);
for (i = 0; i < chartotal; i += 1)
{
healx = scr_charbox_x(i);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg0;
}
} (10);
|
|
412
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (2))
|
|
413
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (suspos, stringsetloc(Don't throw dust at me!"Don't throw dust at me!", "scr_itemuse_slash_scr_itemuse_gml_529_0" ));
|
|
414
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (3))
|
|
415
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (ralpos, stringsetloc(It's minty!"It's minty!", "scr_itemuse_slash_scr_itemuse_gml_530_0" ));
|
|
416
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (4))
|
|
417
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (noepos, stringsetloc(What are you sprinkling?"What are you sprinkling?", "scr_itemuse_slash_scr_itemuse_gml_531_0" ));
|
|
418
|
break;
|
|
419
|
case 31:
|
|
420
|
usable = 1;
|
|
421
|
scr_healitem_allscr_healitem_all
function scr_healitem_all(arg0)
{
scr_healall(arg0);
for (i = 0; i < chartotal; i += 1)
{
healx = scr_charbox_x(i);
healtext = instance_create(healx + 70 + xx, yy + 430, obj_healwriter);
healtext.healamt = arg0;
}
} (50);
|
|
422
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (2))
|
|
423
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (suspos, stringsetloc(Don't throw mints at me!"Don't throw mints at me!", "scr_itemuse_slash_scr_itemuse_gml_538_0" ));
|
|
424
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (3))
|
|
425
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (ralpos, stringsetloc(It's minty!"It's minty!", "scr_itemuse_slash_scr_itemuse_gml_539_0" ));
|
|
426
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (4))
|
|
427
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (noepos, stringsetloc(What are you throwing?"What are you throwing?", "scr_itemuse_slash_scr_itemuse_gml_540_0" ));
|
|
428
|
break;
|
|
429
|
case 32:
|
|
430
|
if (global.char[global.charselect] != 4)
|
|
431
|
{
|
|
432
|
global.hp[_gc] = max(global.hp[_gc] - 20, 1);
|
|
433
|
snd_play(snd_hurt1);
|
|
434
|
}
|
|
435
|
usable = 1;
|
|
436
|
if (global.char[global.charselect] == 2)
|
|
437
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Ugh! ...tastes good?"Ugh! ...tastes good?", "scr_itemuse_slash_scr_itemuse_gml_553_0" ));
|
|
438
|
if (global.char[global.charselect] == 3)
|
|
439
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc(Ow... er, thanks, Kris!"Ow... er, thanks, Kris!", "scr_itemuse_slash_scr_itemuse_gml_557_0" ));
|
|
440
|
if (global.char[global.charselect] == 4)
|
|
441
|
scr_itemcommentscr_itemcomment
function scr_itemcomment(arg0, arg1)
{
talkx = scr_charbox_x(arg0);
itemcomment = instance_create(talkx + xx, yy + 460, obj_menuwriter);
itemcomment.msg = arg1;
itemcomment.who = arg0;
if (global.flag[32 hide_equip_comments] == 1)
{
with (itemcomment)
instance_destroy();
}
} (global.charselect, stringsetloc((I'll... just pretend to drink it...)"(I'll... just pretend to drink it...)", "scr_itemuse_slash_scr_itemuse_gml_561_0" ));
|
|
442
|
break;
|
|
443
|
case 33:
|
|
444
|
usable = 0;
|
|
445
|
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)
... ("noone");
|
|
446
|
global.msg[0] = stringsetloc(* (Where'd this come from?)Wait for inputClose Message"* (Where'd this come from?)/%", "scr_itemuse_slash_scr_itemuse_gml_575_0" );
|
|
447
|
scr_itemdialoguerscr_itemdialoguer
function scr_itemdialoguer()
{
global.interact = 6;
with (obj_darkcontroller)
charcon = 0;
global.menuno = -1;
charcon = 0;
d_make();
} ();
|
|
448
|
break;
|
|
449
|
case 300:
|
|
450
|
break;
|
|
451
|
case 301:
|
|
452
|
with (obj_darkcontroller)
|
|
453
|
charcon = 0;
|
|
454
|
global.menuno = -1;
|
|
455
|
charcon = 0;
|
|
456
|
global.fc = 0;
|
|
457
|
global.fe = 0;
|
|
458
|
global.typer = 6;
|
|
459
|
snd_play_x(snd_phone, 0.7, 1);
|
|
460
|
global.msg[0] = stringsetloc(* (You tried to call on the Cell Phone.)"* (You tried to call on the Cell Phone.)", "scr_itemuse_slash_scr_itemuse_gml_426_0" );
|
|
461
|
instance_create(0, 0, obj_dialoguer);
|
|
462
|
instance_create(0, 0, obj_darkphone_event);
|
|
463
|
global.interact = 1;
|
|
464
|
break;
|
|
465
|
case 302:
|
|
466
|
snd_play(snd_egg);
|
|
467
|
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)
... ("noone");
|
|
468
|
global.msg[0] = stringsetloc(* (You used the Egg.)Wait for inputClose Message"* (You used the Egg.)/%", "scr_itemuse_slash_scr_itemuse_gml_441_0" );
|
|
469
|
scr_itemdialoguerscr_itemdialoguer
function scr_itemdialoguer()
{
global.interact = 6;
with (obj_darkcontroller)
charcon = 0;
global.menuno = -1;
charcon = 0;
d_make();
} ();
|
|
470
|
break;
|
|
471
|
case 308:
|
|
472
|
if (room == room_dw_mansion_krisroom)
|
|
473
|
{
|
|
474
|
if (instance_exists(obj_ch2_scene17b))
|
|
475
|
{
|
|
476
|
with (obj_darkcontroller)
|
|
477
|
charcon = 0;
|
|
478
|
global.menuno = -1;
|
|
479
|
with (obj_ch2_scene17b)
|
|
480
|
con = 10;
|
|
481
|
}
|
|
482
|
}
|
|
483
|
else if (scr_sideb_get_phasescr_sideb_get_phase
function scr_sideb_get_phase()
{
var phase = 0;
if (global.flag[916 snowgrave_fail] == 0)
{
if (global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4)
phase = 1;
if (global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7)
phase = 2;
if (global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20)
phase = 3;
if (global.flag[915 snowgrave_plot] >= 20)
phase = 4;
}
return phase;
} () < 3 || global.plot >= 200)
|
|
484
|
{
|
|
485
|
if (global.plot >= 90 && global.plot < 99)
|
|
486
|
{
|
|
487
|
with (obj_lancer_mixtape)
|
|
488
|
instance_destroy();
|
|
489
|
instance_create(0, 0, obj_lancer_mixtape);
|
|
490
|
}
|
|
491
|
else
|
|
492
|
{
|
|
493
|
snd_stop(snd_splat);
|
|
494
|
snd_play(snd_splat);
|
|
495
|
}
|
|
496
|
}
|
|
497
|
else
|
|
498
|
{
|
|
499
|
snd_stop(snd_petrify);
|
|
500
|
snd_play(snd_petrify);
|
|
501
|
}
|
|
502
|
break;
|
|
503
|
case 313:
|
|
504
|
if (room >= room_dw_cyber_intro_1 && global.flag[952 shadow_lab] == 0)
|
|
505
|
{
|
|
506
|
global.flag[952 shadow_lab] = 1;
|
|
507
|
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)
... ("no_name");
|
|
508
|
msgsetloc(0, * You held the crystal up to your eye.Wait for input"* You held the crystal up to your eye./", "scr_itemuse_slash_scr_itemuse_gml_616_0" );
|
|
509
|
msgnextloc(* For some strange reason,Delay 11 for just a brief moment...Wait for input"* For some strange reason^1, for just a brief moment.../", "scr_itemuse_slash_scr_itemuse_gml_617_0" );
|
|
510
|
msgnextloc(* You thought you saw the computer lab.Wait for input"* You thought you saw the computer lab./", "scr_itemuse_slash_scr_itemuse_gml_618_0" );
|
|
511
|
msgnextloc(* ...but,Delay 11 it must've just been your imagination.Wait for inputClose Message"* ...but^1, it must've just been your imagination./%", "scr_itemuse_slash_scr_itemuse_gml_619_0" );
|
|
512
|
}
|
|
513
|
else if (global.flag[950 shadow_failed_ch2] == 0)
|
|
514
|
{
|
|
515
|
global.flag[950 shadow_failed_ch2] = 1;
|
|
516
|
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)
... ("no_name");
|
|
517
|
msgsetloc(0, * You held the crystal up to your eye.Wait for input"* You held the crystal up to your eye./", "scr_itemuse_slash_scr_itemuse_gml_624_0" );
|
|
518
|
msgnextloc(* ...Delay 11 but nothing happened.Wait for inputClose Message"* ..^1. but nothing happened./%", "scr_itemuse_slash_scr_itemuse_gml_625_0" );
|
|
519
|
}
|
|
520
|
else
|
|
521
|
{
|
|
522
|
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)
... ("no_name");
|
|
523
|
msgsetloc(0, * It doesn't seem very useful.Wait for inputClose Message"* It doesn't seem very useful./%", "scr_itemuse_slash_scr_itemuse_gml_629_0" );
|
|
524
|
}
|
|
525
|
scr_itemdialoguerscr_itemdialoguer
function scr_itemdialoguer()
{
global.interact = 6;
with (obj_darkcontroller)
charcon = 0;
global.menuno = -1;
charcon = 0;
d_make();
} ();
|
|
526
|
break;
|
|
527
|
}
|
|
528
|
}
|