1 |
global.msc = 0; |
2 |
global.typer = 5; |
3 |
if (global.darkzone == 1) |
4 |
global.typer = 6; |
5 |
global.fc = 0; |
6 |
global.fe = 0; |
7 |
global.interact = 1; |
8 |
nodialogue = 1; |
9 |
if (room == room_dark1a) |
10 |
{ |
11 |
nodialogue = 0; |
12 |
global.msg[0] = * At times,Delay 11 you see it flickering.Delay 11 * The light only you can see.Wait for input ; |
13 |
global.msg[1] = * By second nature,Delay 11 you reach out,Delay 11 and...Wait for inputClose Message ; |
14 |
} |
15 |
if (room == room_dark_eyepuzzle) |
16 |
{ |
17 |
nodialogue = 0; |
18 |
if (global.hp[1] < global.maxhp[1]) |
19 |
{ |
20 |
global.msg[0] = * You bathed your body in the light.Wait for input ; |
21 |
global.msg[1] = * A power shines within you,Delay 11 breaking through the darkness.Wait for input ; |
22 |
global.msg[2] = * The pain you had melted away...Delay 11 * (HP fully restored.)Wait for inputClose Message ; |
23 |
} |
24 |
if (global.hp[1] < 30) |
25 |
{ |
26 |
global.msg[0] = * For some reason,Delay 11 you punished yourself with the spores.Wait for input ; |
27 |
global.msg[1] = * The light relieves you...Delay 11 * (HP fully restored.)Wait for inputClose Message ; |
28 |
} |
29 |
if (global.hp[1] == global.maxhp[1]) |
30 |
{ |
31 |
global.msg[0] = * You bathed your body in the light.Wait for input ; |
32 |
global.msg[1] = * A power shines within you,Delay 11 breaking through the darkness.Wait for input ; |
33 |
global.msg[2] = * Any pain you may have had melted away...Delay 11 * (HP fully restored.)Wait for inputClose Message ; |
34 |
} |
35 |
if (talked >= 1) |
36 |
nodialogue = 1; |
37 |
} |
38 |
if (room == room_castle_town) |
39 |
{ |
40 |
nodialogue = 0; |
41 |
global.msg[0] = * In front of you,Delay 11 a castle looms beneath the empty town.Wait for input ; |
42 |
global.msg[1] = * A black geyser emerges from it,Delay 11 piercing endlessly into the sky.Wait for input ; |
43 |
global.msg[2] = * The power of this place shines within you.Wait for inputClose Message ; |
44 |
if (scr_havecharscr_havecharfunction 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)) |
45 |
{ |
46 |
global.msg[0] = * Ralsei,Delay 11 the lonely prince,Delay 11 is now your ally.Wait for input ; |
47 |
global.msg[1] = * The power of fluffy boys shines within you.Wait for inputClose Message ; |
48 |
} |
49 |
} |
50 |
if (room == room_field_start) |
51 |
{ |
52 |
nodialogue = 0; |
53 |
global.msg[0] = * With the door closed behind you,Delay 11 your adventure will truly begin...Wait for input ; |
54 |
global.msg[1] = * The power of adventure shines within you.Wait for inputClose Message ; |
55 |
if (global.plot >= 37) |
56 |
{ |
57 |
global.msg[0] = * The door is still closed.Wait for input ; |
58 |
global.msg[1] = * The power of backtracking shines within you.Wait for inputClose Message ; |
59 |
} |
60 |
} |
61 |
if (room == room_field_shop1) |
62 |
{ |
63 |
nodialogue = 0; |
64 |
global.msg[0] = * Susie,Delay 11 the violet tormentor,Delay 11 is now your ally.Wait for input ; |
65 |
global.msg[1] = * The power of mean girls shines within you.Wait for inputClose Message ; |
66 |
if (scr_havecharscr_havecharfunction 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;
} (2) == 0) |
67 |
{ |
68 |
global.msg[0] = * Susie,Delay 11 the violet tormentor,Delay 11 left your party immediately.Wait for input ; |
69 |
global.msg[1] = * The power of mean girls does not shine within you.Wait for inputClose Message ; |
70 |
} |
71 |
} |
72 |
if (room == room_field_checkers3) |
73 |
{ |
74 |
nodialogue = 0; |
75 |
tname = failing to name your team ; |
76 |
if (global.flag[214 team_name] == 1) |
77 |
tname = ; |
78 |
if (global.flag[214 team_name] == 2) |
79 |
tname = ; |
80 |
if (global.flag[214 team_name] == 3) |
81 |
tname = ; |
82 |
global.msg[0] = scr_84_get_subst_stringscr_84_get_subst_stringfunction scr_84_get_subst_string()
{
var str = argument[0];
var sub_id = 1;
length = string_length(str);
pos = 0;
while (sub_id < argument_count)
{
var sub = "~" + string(sub_id);
str = string_replace_all(str, sub, argument[sub_id]);
sub_id = sub_id + 1;
}
return str;
} (* The power of ~1 shines within you.Wait for inputClose Message , tname); |
83 |
} |
84 |
if (room == room_forest_savepoint1) |
85 |
{ |
86 |
nodialogue = 0; |
87 |
global.msg[0] = * The blocky foliage grows thick above your head...Wait for input ; |
88 |
global.msg[1] = * The power of the forest shines within you.Wait for inputClose Message ; |
89 |
} |
90 |
if (room == room_forest_savepoint2) |
91 |
{ |
92 |
nodialogue = 0; |
93 |
global.msg[0] = * In the heart of the woods,Delay 11 a bake sale stands quietly.Wait for input ; |
94 |
global.msg[1] = * The power of reoccurring bake sales shines within you.Wait for inputClose Message ; |
95 |
} |
96 |
myinteract = 3; |
97 |
if (nodialogue == 0) |
98 |
mydialoguer = instance_create(0, 0, obj_dialoguer); |
99 |
talked += 1; |
100 |
snd_play(snd_power); |
101 |
for (i = 0; i < 4; i += 1) |
102 |
{ |
103 |
if (global.hp[i] < global.maxhp[i]) |
104 |
global.hp[i] = global.maxhp[i]; |
105 |
} |