|
1
|
if (global.mnfight == 3)
|
|
2
|
{
|
|
3
|
attacked = 0;
|
|
4
|
with (mypart1)
|
|
5
|
{
|
|
6
|
sh_timer = 0;
|
|
7
|
sh = 0;
|
|
8
|
alarm[1]
|
|
9
|
attackmode = 0;
|
|
10
|
}
|
|
11
|
}
|
|
12
|
if (alarm[5] > 0)
|
|
13
|
{
|
|
14
|
if (global.monster[0] == 1)
|
|
15
|
{
|
|
16
|
if (global.monsterinstance[0].alarm[5] > alarm[5]) gml_Object_obj_glydeb_Alarm_5.gml
with (blconwd)
instance_destroy();
with (blcon)
instance_destroy();
talked = 0;
global.mnfight = 2;
global.border = 3;
|
|
17
|
alarm[5] = global.monsterinstance[0].alarm[5]; gml_Object_obj_glydeb_Alarm_5.gml
with (blconwd)
instance_destroy();
with (blcon)
instance_destroy();
talked = 0;
global.mnfight = 2;
global.border = 3;
|
|
18
|
}
|
|
19
|
if (global.monster[1] == 1)
|
|
20
|
{
|
|
21
|
if (global.monsterinstance[1].alarm[5] > alarm[5]) gml_Object_obj_glydeb_Alarm_5.gml
with (blconwd)
instance_destroy();
with (blcon)
instance_destroy();
talked = 0;
global.mnfight = 2;
global.border = 3;
|
|
22
|
alarm[5] = global.monsterinstance[1].alarm[5]; gml_Object_obj_glydeb_Alarm_5.gml
with (blconwd)
instance_destroy();
with (blcon)
instance_destroy();
talked = 0;
global.mnfight = 2;
global.border = 3;
|
|
23
|
}
|
|
24
|
if (global.monster[2] == 1)
|
|
25
|
{
|
|
26
|
if (global.monsterinstance[2].alarm[5] > alarm[5]) gml_Object_obj_glydeb_Alarm_5.gml
with (blconwd)
instance_destroy();
with (blcon)
instance_destroy();
talked = 0;
global.mnfight = 2;
global.border = 3;
|
|
27
|
alarm[5] = global.monsterinstance[2].alarm[5]; gml_Object_obj_glydeb_Alarm_5.gml
with (blconwd)
instance_destroy();
with (blcon)
instance_destroy();
talked = 0;
global.mnfight = 2;
global.border = 3;
|
|
28
|
}
|
|
29
|
}
|
|
30
|
if (global.mnfight == 1)
|
|
31
|
{
|
|
32
|
if (talked == 0)
|
|
33
|
{
|
|
34
|
alarm[5] = 110; gml_Object_obj_glydeb_Alarm_5.gml
with (blconwd)
instance_destroy();
with (blcon)
instance_destroy();
talked = 0;
global.mnfight = 2;
global.border = 3;
|
|
35
|
alarm[6] = 1; gml_Object_obj_glydeb_Alarm_6.gml
blcon = instance_create(x + 220, y, obj_blconsm);
gg = floor(random(3));
mycommand = round(random(100));
global.msg[0] = ;
if (mycommand < 75)
global.msg[0] = ;
if (mycommand < 50)
global.msg[0] = ;
if (mycommand < 25)
global.msg[0] = Sorry... for NOTHING *ollies* ;
if (whatiheard == 1)
{
if (boo >= 2)
global.msg[0] = ;
else
global.msg[0] = ;
}
if (whatiheard == 3)
{
global.msg[0] = ;
if (applaud >= 2)
global.msg[0] = What else do you have to say!? ;
}
if (whatiheard == 4)
{
global.msg[0] = ;
if (nothing == 1)
global.msg[0] = ;
if (nothing == 2)
global.msg[0] = ;
}
global.msg[1] = Close MessageClose MessageClose Message ;
global.typer = 2;
blconwd = instance_create(blcon.x + 15, blcon.y + 10, OBJ_NOMSCWRITER);
global.border = 3;
obj_heart.x = round((global.idealborder[0] + global.idealborder[1]) / 2) - 8;
obj_heart.y = round((global.idealborder[2] + global.idealborder[3]) / 2) - 8;
|
|
36
|
talked = 1;
|
|
37
|
global.heard = 0;
|
|
38
|
}
|
|
39
|
}
|
|
40
|
if (control_check_pressed(0))
|
|
41
|
{
|
|
42
|
if (alarm[5] > 5 && obj_lborder.x == global.idealborder[0] && alarm[6] < 0) gml_Object_obj_glydeb_Alarm_6.gml
blcon = instance_create(x + 220, y, obj_blconsm);
gg = floor(random(3));
mycommand = round(random(100));
global.msg[0] = ;
if (mycommand < 75)
global.msg[0] = ;
if (mycommand < 50)
global.msg[0] = ;
if (mycommand < 25)
global.msg[0] = Sorry... for NOTHING *ollies* ;
if (whatiheard == 1)
{
if (boo >= 2)
global.msg[0] = ;
else
global.msg[0] = ;
}
if (whatiheard == 3)
{
global.msg[0] = ;
if (applaud >= 2)
global.msg[0] = What else do you have to say!? ;
}
if (whatiheard == 4)
{
global.msg[0] = ;
if (nothing == 1)
global.msg[0] = ;
if (nothing == 2)
global.msg[0] = ;
}
global.msg[1] = Close MessageClose MessageClose Message ;
global.typer = 2;
blconwd = instance_create(blcon.x + 15, blcon.y + 10, OBJ_NOMSCWRITER);
global.border = 3;
obj_heart.x = round((global.idealborder[0] + global.idealborder[1]) / 2) - 8;
obj_heart.y = round((global.idealborder[2] + global.idealborder[3]) / 2) - 8;
|
|
43
|
alarm[5] = 2; gml_Object_obj_glydeb_Alarm_5.gml
with (blconwd)
instance_destroy();
with (blcon)
instance_destroy();
talked = 0;
global.mnfight = 2;
global.border = 3;
|
|
44
|
}
|
|
45
|
if (global.hurtanim[myself] == 1)
|
|
46
|
{
|
|
47
|
shudder = 8;
|
|
48
|
alarm[3] = global.damagetimer; gml_Object_obj_glydeb_Alarm_3.gml
if (mypart1.pause != 1)
{
dmgwriter = instance_create(x + 10, y + ht, obj_dmgwriter);
takedamage = ceil(takedamage / 3);
global.damage = takedamage;
with (dmgwriter)
dmg = global.damage;
mypart1.pause = 1;
snd_play(snd_damage);
alarm[8] = 11;
shker = instance_create(0, 0, obj_objshake);
shker.obj = mypart1;
}
if (sha == 0)
sha = x;
x = sha + shudder;
if (shudder < 0)
shudder = -(shudder + 1);
else
shudder = -shudder;
if (shudder == 0)
{
sha = 0;
global.hurtanim[myself] = 2;
exit;
}
alarm[3] = 2;
|
|
49
|
global.hurtanim[myself] = 3;
|
|
50
|
}
|
|
51
|
if (global.hurtanim[myself] == 2)
|
|
52
|
{
|
|
53
|
global.monsterhp[myself] -= takedamage;
|
|
54
|
with (dmgwriter)
|
|
55
|
alarm[2]
|
|
56
|
if (global.monsterhp[myself] >= 1)
|
|
57
|
{
|
|
58
|
global.hurtanim[myself] = 0;
|
|
59
|
mypart1.pause = 0;
|
|
60
|
global.myfight = 0;
|
|
61
|
global.mnfight = 1;
|
|
62
|
}
|
|
63
|
else
|
|
64
|
{
|
|
65
|
global.myfight = 0;
|
|
66
|
global.mnfight = 1;
|
|
67
|
killed = 1;
|
|
68
|
instance_destroy();
|
|
69
|
}
|
|
70
|
}
|
|
71
|
if (global.hurtanim[myself] == 5)
|
|
72
|
{
|
|
73
|
global.damage = 0;
|
|
74
|
instance_create((x + (sprite_width / 2)) - 48, y - 24, obj_dmgwriter);
|
|
75
|
with (obj_dmgwriter)
|
|
76
|
alarm[2]
|
|
77
|
global.myfight = 0;
|
|
78
|
global.mnfight = 1;
|
|
79
|
global.hurtanim[myself] = 0;
|
|
80
|
}
|
|
81
|
if (global.mnfight == 2)
|
|
82
|
{
|
|
83
|
if (attacked == 0)
|
|
84
|
{
|
|
85
|
pop = scr_monstersumscr_monstersum
return global.monster[0] + global.monster[1] + global.monster[2]; ();
|
|
86
|
global.turntimer = 180;
|
|
87
|
global.firingrate = 10;
|
|
88
|
if (pop == 3)
|
|
89
|
global.firingrate = global.firingrate * 2.5;
|
|
90
|
if (pop == 2)
|
|
91
|
global.firingrate = global.firingrate * 1.8;
|
|
92
|
if (mycommand < 40)
|
|
93
|
{
|
|
94
|
with (mypart1)
|
|
95
|
{
|
|
96
|
sh = 1;
|
|
97
|
attackmode = 1;
|
|
98
|
sh_speed = 1;
|
|
99
|
diff = 5;
|
|
100
|
}
|
|
101
|
}
|
|
102
|
if (mycommand >= 40 && mycommand < 70)
|
|
103
|
{
|
|
104
|
with (mypart1)
|
|
105
|
{
|
|
106
|
sh = 1;
|
|
107
|
attackmode = 1;
|
|
108
|
sh_speed = 2;
|
|
109
|
diff = 3;
|
|
110
|
}
|
|
111
|
}
|
|
112
|
if (mycommand > 70)
|
|
113
|
{
|
|
114
|
with (mypart1)
|
|
115
|
{
|
|
116
|
attackmode = 1;
|
|
117
|
alarm[1]
|
|
118
|
}
|
|
119
|
}
|
|
120
|
if (mycommand >= 0)
|
|
121
|
global.msg[0] = * Glyde does fancy flips.scr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_glydeb_414") ;
|
|
122
|
if (mycommand >= 25)
|
|
123
|
global.msg[0] = * Glyde is giving itself a high five.Delay 11 * ... somehow.scr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_glydeb_415") ;
|
|
124
|
if (mycommand >= 50)
|
|
125
|
global.msg[0] = * Glyde sees its reflection and gets jealous.scr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_glydeb_416") ;
|
|
126
|
if (mycommand >= 75)
|
|
127
|
global.msg[0] = * Glyde is thinking of new slang for the word "cool." * Like "freakadacious."scr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_glydeb_417") ;
|
|
128
|
if (mycommand >= 90)
|
|
129
|
global.msg[0] = * An arrogant-smelling wind blows through.scr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_glydeb_418") ;
|
|
130
|
if (nothing == 2)
|
|
131
|
global.msg[0] = * Glyde is doing tons of flips to get your attention.scr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_glydeb_420") ;
|
|
132
|
if (mercymod > 100)
|
|
133
|
global.msg[0] = * Glyde seems satisfied.scr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_glydeb_421") ;
|
|
134
|
if (global.monsterhp[myself] <= (global.monstermaxhp[myself] / 4))
|
|
135
|
global.msg[0] = * Glyde is dying,Delay 11 but in a cool way.scr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_glydeb_422") ;
|
|
136
|
attacked = 1;
|
|
137
|
}
|
|
138
|
if (mercymod == 999999)
|
|
139
|
{
|
|
140
|
global.turntimer = -1;
|
|
141
|
global.mnfight = 3;
|
|
142
|
}
|
|
143
|
whatiheard = -1;
|
|
144
|
}
|
|
145
|
if (global.myfight == 2)
|
|
146
|
{
|
|
147
|
if (whatiheard != -1)
|
|
148
|
{
|
|
149
|
if (global.heard == 0)
|
|
150
|
{
|
|
151
|
if (whatiheard == 0)
|
|
152
|
{
|
|
153
|
global.msc = 0;
|
|
154
|
global.msg[0] = * GLYDE - ATK HIGH DEF HIGH * Refuses to give more details about its statistics.Wait for input^scr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_glydeb_455") ;
|
|
155
|
OBJ_WRITER.halt = 3;
|
|
156
|
iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER);
|
|
157
|
with (iii)
|
|
158
|
halt = 0;
|
|
159
|
whatiheard = 9;
|
|
160
|
}
|
|
161
|
if (whatiheard == 3)
|
|
162
|
{
|
|
163
|
global.msc = 0;
|
|
164
|
if (applaud == 0)
|
|
165
|
{
|
|
166
|
global.msg[0] = * You clap really sloppily.Delay 11 * Glyde sucks up your praise like a vacuum cleaner.Wait for input^scr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_glydeb_466") ;
|
|
167
|
applaud = 1;
|
|
168
|
}
|
|
169
|
else
|
|
170
|
{
|
|
171
|
global.msg[0] = * You clap like a gorilla.Delay 11 * Glyde is becoming addicted to your praise.Wait for input^scr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_glydeb_471") ;
|
|
172
|
if (applaud == 1)
|
|
173
|
applaud = 2;
|
|
174
|
}
|
|
175
|
OBJ_WRITER.halt = 3;
|
|
176
|
iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER);
|
|
177
|
with (iii)
|
|
178
|
halt = 0;
|
|
179
|
}
|
|
180
|
if (whatiheard == 1)
|
|
181
|
{
|
|
182
|
global.msc = 0;
|
|
183
|
global.msg[0] = * You boo...Delay 11 but haters only make Glyde stronger.Delay 11 * Glyde ATTACK UP+DEFENSE DOWN.Wait for input^scr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_glydeb_486") ;
|
|
184
|
global.monsteratk[myself] += 2;
|
|
185
|
global.monsterdef[myself] -= 10;
|
|
186
|
if (nothing == 2)
|
|
187
|
{
|
|
188
|
global.msg[0] = * You boo loudly.Delay 11 * Glyde leaves to look elsewhere for praise.Wait for input^scr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_glydeb_492") ;
|
|
189
|
nothing = 3;
|
|
190
|
mercymod = 222;
|
|
191
|
}
|
|
192
|
OBJ_WRITER.halt = 3;
|
|
193
|
iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER);
|
|
194
|
with (iii)
|
|
195
|
halt = 0;
|
|
196
|
boo += 1;
|
|
197
|
}
|
|
198
|
if (whatiheard == 4)
|
|
199
|
{
|
|
200
|
global.msc = 0;
|
|
201
|
global.msg[0] = * You do nothing.Delay 11 * No effect.Wait for input^scr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_glydeb_506") ;
|
|
202
|
if (applaud >= 2)
|
|
203
|
{
|
|
204
|
if (nothing == 2)
|
|
205
|
{
|
|
206
|
global.msg[0] = * You do nothing.Delay 11 * Glyde leaves to look elsewhere for praise.Wait for input^scr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_glydeb_511") ;
|
|
207
|
nothing = 3;
|
|
208
|
mercymod = 222;
|
|
209
|
}
|
|
210
|
if (nothing == 1)
|
|
211
|
{
|
|
212
|
global.msg[0] = * You do nothing.Delay 11 * Glyde looks desperate for attention.Wait for input^scr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_glydeb_519") ;
|
|
213
|
nothing = 2;
|
|
214
|
}
|
|
215
|
if (nothing == 0)
|
|
216
|
{
|
|
217
|
global.msg[0] = * You do nothing.Delay 11 * Glyde looks disappointed you aren't paying attention.Wait for input^scr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_glydeb_525") ;
|
|
218
|
nothing = 1;
|
|
219
|
}
|
|
220
|
}
|
|
221
|
OBJ_WRITER.halt = 3;
|
|
222
|
iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER);
|
|
223
|
with (iii)
|
|
224
|
halt = 0;
|
|
225
|
}
|
|
226
|
global.heard = 1;
|
|
227
|
}
|
|
228
|
}
|
|
229
|
}
|
|
230
|
if (global.myfight == 4)
|
|
231
|
{
|
|
232
|
if (global.mercyuse == 0)
|
|
233
|
{
|
|
234
|
script_execute(scr_mercystandard);
|
|
235
|
if (mercy < 0)
|
|
236
|
instance_destroy();
|
|
237
|
}
|
|
238
|
}
|
|
239
|
if (mercymod == 222 && instance_exists(OBJ_WRITER) == 0)
|
|
240
|
{
|
|
241
|
script_execute(scr_mercystandard);
|
|
242
|
if (mercy < 0)
|
|
243
|
instance_destroy();
|
|
244
|
}
|
|
245
|
if (global.turntimer < 2 && global.mnfight == 2)
|
|
246
|
global.mnfight = 3;
|