|
1
|
function scr_itemusescr_itemuse
function scr_itemuse(arg0)
{
w = arg0;
usable = 0;
if (global.charselect < 3)
_gc = global.char[global.charselect];
suspos = -1;
ralpos = -1;
for (i = 0; i < 3; i += 1)
{
if (global.char[i] == 2)
suspos = i;
if (global.char[i] == 3)
ralpos = i;
}
switch (arg0)
{
case 0:
itemnameb = " ";
itemdescb = "---";
break;
case 1:
scr_healitem(global.charselect, 40);
usable = 1;
if (_gc == 2)
scr_itemcomment(global.charselect, );
if (_gc == 3)
{
if (suspos >= 0)
scr_itemcomment(suspos, );
scr_itemcomment(global.charselect, );
}
break;
case 2:
reviveamt = ceil(global.maxhp[global.char[global.charselect]] / 2);
scr_healitem(global.charselect, reviveamt);
usable = 1;
if (_gc == 2)
{
scr_itemcomment(suspos, );
if (scr_havechar(3))
scr_itemcomment(ralpos, );
}
if (_gc == 3)
{
if (suspos >= 0)
scr_itemcomment(suspos, );
scr_itemcomment(ralpos, );
}
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] = * (You tried to read the manual,Delay 11 but it was so dense it made your head spin...)Wait for inputClose Message ;
instance_create(0, 0, obj_dialoguer);
break;
case 5:
scr_healitem(global.charselect, 20);
usable = 1;
break;
case 6:
scr_healitem_all(160);
if (suspos >= 0)
scr_itemcomment(suspos, );
if (ralpos >= 0)
scr_itemcomment(ralpos, );
usable = 1;
break;
case 7:
scr_healitem_all(80);
if (suspos >= 0)
scr_itemcomment(suspos, );
if (ralpos >= 0)
scr_itemcomment(ralpos, );
usable = 1;
break;
case 8:
scr_healitem(global.charselect, 70);
usable = 1;
if (global.char[global.charselect] == 2)
scr_itemcomment(global.charselect, );
if (global.char[global.charselect] == 3)
scr_itemcomment(global.charselect, );
break;
case 9:
scr_healitem(global.charselect, 4);
usable = 1;
if (global.char[global.charselect] == 2)
scr_itemcomment(global.charselect, );
if (global.char[global.charselect] == 3)
scr_itemcomment(global.charselect, );
break;
case 10:
scr_healitem(global.charselect, 4);
usable = 1;
... (arg0)
|
|
2
|
{
|
|
3
|
w = arg0;
|
|
4
|
usable = 0;
|
|
5
|
if (global.charselect < 3)
|
|
6
|
_gc = global.char[global.charselect];
|
|
7
|
suspos = -1;
|
|
8
|
ralpos = -1;
|
|
9
|
for (i = 0; i < 3; i += 1)
|
|
10
|
{
|
|
11
|
if (global.char[i] == 2)
|
|
12
|
suspos = i;
|
|
13
|
if (global.char[i] == 3)
|
|
14
|
ralpos = i;
|
|
15
|
}
|
|
16
|
switch (arg0)
|
|
17
|
{
|
|
18
|
case 0:
|
|
19
|
itemnameb = " ";
|
|
20
|
itemdescb = "---";
|
|
21
|
break;
|
|
22
|
case 1:
|
|
23
|
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);
|
|
24
|
usable = 1;
|
|
25
|
if (_gc == 2)
|
|
26
|
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, );
|
|
27
|
if (_gc == 3)
|
|
28
|
{
|
|
29
|
if (suspos >= 0)
|
|
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();
}
} (suspos, );
|
|
31
|
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, );
|
|
32
|
}
|
|
33
|
break;
|
|
34
|
case 2:
|
|
35
|
reviveamt = ceil(global.maxhp[global.char[global.charselect]] / 2);
|
|
36
|
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);
|
|
37
|
usable = 1;
|
|
38
|
if (_gc == 2)
|
|
39
|
{
|
|
40
|
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, );
|
|
41
|
if (scr_havecharscr_havechar
function scr_havechar(arg0)
{
_rreturn = 0;
if (global.char[0] == arg0)
_rreturn = 1;
if (global.char[1] == arg0)
_rreturn = 1;
if (global.char[2] == arg0)
_rreturn = 1;
return _rreturn;
} (3))
|
|
42
|
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, );
|
|
43
|
}
|
|
44
|
if (_gc == 3)
|
|
45
|
{
|
|
46
|
if (suspos >= 0)
|
|
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, );
|
|
48
|
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, );
|
|
49
|
}
|
|
50
|
break;
|
|
51
|
case 4:
|
|
52
|
global.interact = 6;
|
|
53
|
with (obj_darkcontroller)
|
|
54
|
charcon = 0;
|
|
55
|
global.menuno = -1;
|
|
56
|
charcon = 0;
|
|
57
|
global.fc = 0;
|
|
58
|
global.fe = 0;
|
|
59
|
global.typer = 6;
|
|
60
|
global.msg[0] = * (You tried to read the manual,Delay 11 but it was so dense it made your head spin...)Wait for inputClose Message ;
|
|
61
|
instance_create(0, 0, obj_dialoguer);
|
|
62
|
break;
|
|
63
|
case 5:
|
|
64
|
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);
|
|
65
|
usable = 1;
|
|
66
|
break;
|
|
67
|
case 6:
|
|
68
|
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);
|
|
69
|
if (suspos >= 0)
|
|
70
|
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, );
|
|
71
|
if (ralpos >= 0)
|
|
72
|
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, );
|
|
73
|
usable = 1;
|
|
74
|
break;
|
|
75
|
case 7:
|
|
76
|
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);
|
|
77
|
if (suspos >= 0)
|
|
78
|
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, );
|
|
79
|
if (ralpos >= 0)
|
|
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();
}
} (ralpos, );
|
|
81
|
usable = 1;
|
|
82
|
break;
|
|
83
|
case 8:
|
|
84
|
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, 70);
|
|
85
|
usable = 1;
|
|
86
|
if (global.char[global.charselect] == 2)
|
|
87
|
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, );
|
|
88
|
if (global.char[global.charselect] == 3)
|
|
89
|
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, );
|
|
90
|
break;
|
|
91
|
case 9:
|
|
92
|
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, 4);
|
|
93
|
usable = 1;
|
|
94
|
if (global.char[global.charselect] == 2)
|
|
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();
}
} (global.charselect, );
|
|
96
|
if (global.char[global.charselect] == 3)
|
|
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();
}
} (global.charselect, );
|
|
98
|
break;
|
|
99
|
case 10:
|
|
100
|
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, 4);
|
|
101
|
usable = 1;
|
|
102
|
if (global.char[global.charselect] == 2)
|
|
103
|
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, );
|
|
104
|
if (global.char[global.charselect] == 3)
|
|
105
|
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, );
|
|
106
|
break;
|
|
107
|
case 11:
|
|
108
|
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);
|
|
109
|
if (suspos >= 0)
|
|
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();
}
} (suspos, );
|
|
111
|
if (ralpos >= 0)
|
|
112
|
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, );
|
|
113
|
usable = 1;
|
|
114
|
break;
|
|
115
|
case 12:
|
|
116
|
usable = 1;
|
|
117
|
if (global.char[global.charselect] == 1)
|
|
118
|
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);
|
|
119
|
if (global.char[global.charselect] == 2)
|
|
120
|
{
|
|
121
|
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);
|
|
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, );
|
|
123
|
}
|
|
124
|
if (global.char[global.charselect] == 3)
|
|
125
|
{
|
|
126
|
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);
|
|
127
|
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, );
|
|
128
|
}
|
|
129
|
break;
|
|
130
|
case 13:
|
|
131
|
usable = 1;
|
|
132
|
if (global.char[global.charselect] == 1)
|
|
133
|
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);
|
|
134
|
if (global.char[global.charselect] == 2)
|
|
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, 20);
|
|
137
|
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, );
|
|
138
|
}
|
|
139
|
if (global.char[global.charselect] == 3)
|
|
140
|
{
|
|
141
|
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);
|
|
142
|
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, );
|
|
143
|
}
|
|
144
|
break;
|
|
145
|
case 14:
|
|
146
|
usable = 1;
|
|
147
|
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);
|
|
148
|
if (global.char[global.charselect] == 2)
|
|
149
|
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, );
|
|
150
|
if (global.char[global.charselect] == 3)
|
|
151
|
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, );
|
|
152
|
break;
|
|
153
|
case 15:
|
|
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, 50);
|
|
155
|
usable = 1;
|
|
156
|
if (global.char[global.charselect] == 2)
|
|
157
|
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, );
|
|
158
|
if (global.char[global.charselect] == 3)
|
|
159
|
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, );
|
|
160
|
break;
|
|
161
|
case 300:
|
|
162
|
break;
|
|
163
|
case 301:
|
|
164
|
with (obj_darkcontroller)
|
|
165
|
charcon = 0;
|
|
166
|
global.menuno = -1;
|
|
167
|
charcon = 0;
|
|
168
|
global.fc = 0;
|
|
169
|
global.fe = 0;
|
|
170
|
global.typer = 6;
|
|
171
|
snd_play(snd_phone);
|
|
172
|
global.msg[0] = * (You tried to call on the Cell Phone.) ;
|
|
173
|
instance_create(0, 0, obj_dialoguer);
|
|
174
|
instance_create(0, 0, obj_darkphone_event);
|
|
175
|
global.interact = 1;
|
|
176
|
break;
|
|
177
|
case 302:
|
|
178
|
global.interact = 6;
|
|
179
|
with (obj_darkcontroller)
|
|
180
|
charcon = 0;
|
|
181
|
global.menuno = -1;
|
|
182
|
charcon = 0;
|
|
183
|
snd_play(snd_egg);
|
|
184
|
global.fc = 0;
|
|
185
|
global.fe = 0;
|
|
186
|
global.typer = 6;
|
|
187
|
global.msg[0] = * (You used the Egg.)Wait for inputClose Message ;
|
|
188
|
instance_create(0, 0, obj_dialoguer);
|
|
189
|
break;
|
|
190
|
case 313:
|
|
191
|
global.interact = 6;
|
|
192
|
with (obj_darkcontroller)
|
|
193
|
charcon = 0;
|
|
194
|
global.menuno = -1;
|
|
195
|
charcon = 0;
|
|
196
|
global.fc = 0;
|
|
197
|
global.fe = 0;
|
|
198
|
global.typer = 6;
|
|
199
|
if (global.flag[280 used_shadow_ch1] == 0)
|
|
200
|
{
|
|
201
|
global.flag[280 used_shadow_ch1] = 1;
|
|
202
|
global.msg[0] = * You held the crystal up to your eye.Wait for input ;
|
|
203
|
global.msg[1] = * For some strange reason,Delay 11 for just a brief moment...Wait for input ;
|
|
204
|
global.msg[2] = * You thought you saw toys strewn on the floor.Wait for input ;
|
|
205
|
global.msg[3] = * ...but,Delay 11 it must've just been your imagination.Wait for inputClose Message ;
|
|
206
|
}
|
|
207
|
else if (global.flag[280 used_shadow_ch1] == 1)
|
|
208
|
{
|
|
209
|
global.flag[280 used_shadow_ch1] = 2;
|
|
210
|
global.msg[0] = * You held the crystal up to your eye.Wait for input ;
|
|
211
|
global.msg[1] = * ...Delay 11 but nothing happened.Wait for inputClose Message ;
|
|
212
|
}
|
|
213
|
else
|
|
214
|
{
|
|
215
|
global.msg[0] = * It doesn't seem very useful.Wait for inputClose Message ;
|
|
216
|
}
|
|
217
|
instance_create(0, 0, obj_dialoguer);
|
|
218
|
break;
|
|
219
|
}
|
|
220
|
}
|