|
1
|
if (global.mnfight == 3)
|
|
2
|
{
|
|
3
|
attacked = 0;
|
|
4
|
mypart1.stretchup = 0;
|
|
5
|
}
|
|
6
|
if (alarm[5] > 0)
|
|
7
|
{
|
|
8
|
if (global.monster[0] == 1)
|
|
9
|
{
|
|
10
|
if (global.monsterinstance[0].alarm[5] > alarm[5]) gml_Object_obj_reaperbird_Alarm_5.gml
with (blconwd)
instance_destroy();
with (obj_blconsm)
instance_destroy();
with (OBJ_WRITER)
instance_destroy();
with (blcon)
instance_destroy();
talked = 0;
global.mnfight = 2;
|
|
11
|
alarm[5] = global.monsterinstance[0].alarm[5]; gml_Object_obj_reaperbird_Alarm_5.gml
with (blconwd)
instance_destroy();
with (obj_blconsm)
instance_destroy();
with (OBJ_WRITER)
instance_destroy();
with (blcon)
instance_destroy();
talked = 0;
global.mnfight = 2;
|
|
12
|
}
|
|
13
|
if (global.monster[1] == 1)
|
|
14
|
{
|
|
15
|
if (global.monsterinstance[1].alarm[5] > alarm[5]) gml_Object_obj_reaperbird_Alarm_5.gml
with (blconwd)
instance_destroy();
with (obj_blconsm)
instance_destroy();
with (OBJ_WRITER)
instance_destroy();
with (blcon)
instance_destroy();
talked = 0;
global.mnfight = 2;
|
|
16
|
alarm[5] = global.monsterinstance[1].alarm[5]; gml_Object_obj_reaperbird_Alarm_5.gml
with (blconwd)
instance_destroy();
with (obj_blconsm)
instance_destroy();
with (OBJ_WRITER)
instance_destroy();
with (blcon)
instance_destroy();
talked = 0;
global.mnfight = 2;
|
|
17
|
}
|
|
18
|
if (global.monster[2] == 1)
|
|
19
|
{
|
|
20
|
if (global.monsterinstance[2].alarm[5] > alarm[5]) gml_Object_obj_reaperbird_Alarm_5.gml
with (blconwd)
instance_destroy();
with (obj_blconsm)
instance_destroy();
with (OBJ_WRITER)
instance_destroy();
with (blcon)
instance_destroy();
talked = 0;
global.mnfight = 2;
|
|
21
|
alarm[5] = global.monsterinstance[2].alarm[5]; gml_Object_obj_reaperbird_Alarm_5.gml
with (blconwd)
instance_destroy();
with (obj_blconsm)
instance_destroy();
with (OBJ_WRITER)
instance_destroy();
with (blcon)
instance_destroy();
talked = 0;
global.mnfight = 2;
|
|
22
|
}
|
|
23
|
}
|
|
24
|
if (global.mnfight == 1)
|
|
25
|
{
|
|
26
|
if (talked == 0)
|
|
27
|
{
|
|
28
|
alarm[5] = 110; gml_Object_obj_reaperbird_Alarm_5.gml
with (blconwd)
instance_destroy();
with (obj_blconsm)
instance_destroy();
with (OBJ_WRITER)
instance_destroy();
with (blcon)
instance_destroy();
talked = 0;
global.mnfight = 2;
|
|
29
|
alarm[6] = 1; gml_Object_obj_reaperbird_Alarm_6.gml
if (mercymod < 100)
{
blcon = instance_create(x + 140, y, obj_blconsm);
gg = floor(random(3));
mycommand = round(random(100));
with (OBJ_WRITER)
instance_destroy();
global.msg[1] = Close MessageClose MessageClose Message ;
global.typer = 2;
global.msg[0] = ;
if (mycommand < 75)
global.msg[0] = ;
if (mycommand < 50)
global.msg[0] = ;
if (mycommand < 25)
global.msg[0] = ;
blconwd = instance_create(blcon.x + 15, blcon.y + 10, OBJ_NOMSCWRITER);
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] = ;
blconwd = instance_create(blcon.x + 15, blcon.y + 10, OBJ_NOMSCWRITER);
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] = ;
blconwd = instance_create(blcon.x + 15, blcon.y + 10, OBJ_NOMSCWRITER);
}
else
{
blcon = instance_create(x + 140, y, obj_blconsm);
gg = floor(random(3));
mycommand = round(random(100));
with (OBJ_WRITER)
instance_destroy();
global.msg[1] = Close MessageClose MessageClose Message ;
global.typer = 2;
global.msg[0] = ;
blconwd = instance_create(blcon.x + 15, blcon.y + 10, OBJ_NOMSCWRITER);
blcon = instance_create(x + 140, y + 110, obj_blconsm);
gg = floor(random(3));
mycommand = round(random(100));
global.msg[1] = Close MessageClose MessageClose Message ;
global.typer = 2;
global.msg[0] = ;
blconwd = instance_create(blcon.x + 15, blcon.y + 10, OBJ_NOMSCWRITER);
mycommand = round(random(100));
blcon = instance_create(x + 250, y, obj_blconsm);
gg = floor(random(3));
mycommand = round(random(100));
global.msg[1] = Close MessageClose MessageClose Message ;
global.typer = 2;
global.msg[0] = ;
blconwd = instance_create(blcon.x + 15, blcon.y + 10, OBJ_NOMSCWRITER);
}
mypart1.stretchup = 1;
global.border = 5;
obj_heart.x = round((global.idealborder[0] + global.idealborder[1]) / 2) - 8;
obj_heart.y = round((global.idealborder[2] + global.idealborder[3]) / 2) - 8;
|
|
30
|
talked = 1;
|
|
31
|
global.heard = 0;
|
|
32
|
}
|
|
33
|
}
|
|
34
|
if (control_check_pressed(0))
|
|
35
|
{
|
|
36
|
if (alarm[5] > 5 && obj_lborder.x == global.idealborder[0] && alarm[6] < 0) gml_Object_obj_reaperbird_Alarm_6.gml
if (mercymod < 100)
{
blcon = instance_create(x + 140, y, obj_blconsm);
gg = floor(random(3));
mycommand = round(random(100));
with (OBJ_WRITER)
instance_destroy();
global.msg[1] = Close MessageClose MessageClose Message ;
global.typer = 2;
global.msg[0] = ;
if (mycommand < 75)
global.msg[0] = ;
if (mycommand < 50)
global.msg[0] = ;
if (mycommand < 25)
global.msg[0] = ;
blconwd = instance_create(blcon.x + 15, blcon.y + 10, OBJ_NOMSCWRITER);
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] = ;
blconwd = instance_create(blcon.x + 15, blcon.y + 10, OBJ_NOMSCWRITER);
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] = ;
blconwd = instance_create(blcon.x + 15, blcon.y + 10, OBJ_NOMSCWRITER);
}
else
{
blcon = instance_create(x + 140, y, obj_blconsm);
gg = floor(random(3));
mycommand = round(random(100));
with (OBJ_WRITER)
instance_destroy();
global.msg[1] = Close MessageClose MessageClose Message ;
global.typer = 2;
global.msg[0] = ;
blconwd = instance_create(blcon.x + 15, blcon.y + 10, OBJ_NOMSCWRITER);
blcon = instance_create(x + 140, y + 110, obj_blconsm);
gg = floor(random(3));
mycommand = round(random(100));
global.msg[1] = Close MessageClose MessageClose Message ;
global.typer = 2;
global.msg[0] = ;
blconwd = instance_create(blcon.x + 15, blcon.y + 10, OBJ_NOMSCWRITER);
mycommand = round(random(100));
blcon = instance_create(x + 250, y, obj_blconsm);
gg = floor(random(3));
mycommand = round(random(100));
global.msg[1] = Close MessageClose MessageClose Message ;
global.typer = 2;
global.msg[0] = ;
blconwd = instance_create(blcon.x + 15, blcon.y + 10, OBJ_NOMSCWRITER);
}
mypart1.stretchup = 1;
global.border = 5;
obj_heart.x = round((global.idealborder[0] + global.idealborder[1]) / 2) - 8;
obj_heart.y = round((global.idealborder[2] + global.idealborder[3]) / 2) - 8;
|
|
37
|
alarm[5] = 2; gml_Object_obj_reaperbird_Alarm_5.gml
with (blconwd)
instance_destroy();
with (obj_blconsm)
instance_destroy();
with (OBJ_WRITER)
instance_destroy();
with (blcon)
instance_destroy();
talked = 0;
global.mnfight = 2;
|
|
38
|
}
|
|
39
|
if (global.hurtanim[myself] == 1)
|
|
40
|
{
|
|
41
|
shudder = 8;
|
|
42
|
alarm[3] = global.damagetimer; gml_Object_obj_reaperbird_Alarm_3.gml
if (mypart1.pause != 1)
{
dmgwriter = instance_create((x + (sprite_width / 2)) - 48, y - 24, obj_dmgwriter);
global.damage = takedamage;
with (dmgwriter)
dmg = 0;
dmgwriter.special = 1;
mypart1.pause = 1;
snd_play(snd_damage);
alarm[8] = 11;
}
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;
|
|
43
|
global.hurtanim[myself] = 3;
|
|
44
|
}
|
|
45
|
if (global.hurtanim[myself] == 2)
|
|
46
|
{
|
|
47
|
global.monsterhp[myself] -= takedamage;
|
|
48
|
with (dmgwriter)
|
|
49
|
alarm[2]
|
|
50
|
if (global.monsterhp[myself] >= 1)
|
|
51
|
{
|
|
52
|
global.hurtanim[myself] = 0;
|
|
53
|
mypart1.pause = 0;
|
|
54
|
global.myfight = 0;
|
|
55
|
global.mnfight = 1;
|
|
56
|
}
|
|
57
|
else
|
|
58
|
{
|
|
59
|
global.myfight = 0;
|
|
60
|
global.mnfight = 1;
|
|
61
|
killed = 1;
|
|
62
|
instance_destroy();
|
|
63
|
}
|
|
64
|
}
|
|
65
|
if (global.hurtanim[myself] == 5)
|
|
66
|
{
|
|
67
|
global.damage = 0;
|
|
68
|
instance_create((x + (sprite_width / 2)) - 48, y - 24, obj_dmgwriter);
|
|
69
|
with (obj_dmgwriter)
|
|
70
|
alarm[2]
|
|
71
|
global.myfight = 0;
|
|
72
|
global.mnfight = 1;
|
|
73
|
global.hurtanim[myself] = 0;
|
|
74
|
}
|
|
75
|
if (global.mnfight == 2)
|
|
76
|
{
|
|
77
|
if (attacked == 0)
|
|
78
|
{
|
|
79
|
pop = scr_monstersumscr_monstersum
return global.monster[0] + global.monster[1] + global.monster[2]; ();
|
|
80
|
global.turntimer = 200;
|
|
81
|
global.firingrate = 10;
|
|
82
|
if (pop == 3)
|
|
83
|
global.firingrate = global.firingrate * 2.5;
|
|
84
|
if (pop == 2)
|
|
85
|
global.firingrate = global.firingrate * 1.8;
|
|
86
|
if (turns > 0)
|
|
87
|
{
|
|
88
|
if (turns == 1)
|
|
89
|
{
|
|
90
|
gen = instance_create(0, 0, obj_butterflyhead);
|
|
91
|
gen.dmg = global.monsteratk[myself];
|
|
92
|
turns = 2;
|
|
93
|
}
|
|
94
|
else
|
|
95
|
{
|
|
96
|
turns = 1;
|
|
97
|
gen = instance_create(0, 0, obj_strangeman_headloss);
|
|
98
|
gen.dmg = global.monsteratk[myself];
|
|
99
|
}
|
|
100
|
}
|
|
101
|
else
|
|
102
|
{
|
|
103
|
global.turntimer = 250;
|
|
104
|
gen = instance_create(0, 0, obj_strangeman_intro);
|
|
105
|
gen.dmg = global.monsteratk[myself];
|
|
106
|
turns = 1;
|
|
107
|
}
|
|
108
|
if (mycommand >= 0)
|
|
109
|
global.msg[0] = * ,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_reaperbird_446") ;
|
|
110
|
if (mycommand >= 25)
|
|
111
|
global.msg[0] = * ,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_reaperbird_447") ;
|
|
112
|
if (mycommand >= 50)
|
|
113
|
global.msg[0] = * ,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_reaperbird_448") ;
|
|
114
|
if (mycommand >= 75)
|
|
115
|
global.msg[0] = * ,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_reaperbird_449") ;
|
|
116
|
if (mycommand >= 98)
|
|
117
|
global.msg[0] = * Smells like a ,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_reaperbird_450") ;
|
|
118
|
if (mercymod > 100)
|
|
119
|
global.msg[0] = * Reaper Bird seems placated.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_reaperbird_451") ;
|
|
120
|
if (global.monsterhp[myself] <= (global.monstermaxhp[myself] / 4))
|
|
121
|
global.msg[0] = * Monster has low HP.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_reaperbird_452") ;
|
|
122
|
attacked = 1;
|
|
123
|
}
|
|
124
|
if (mercymod == 99999)
|
|
125
|
{
|
|
126
|
global.turntimer = -1;
|
|
127
|
global.mnfight = 3;
|
|
128
|
}
|
|
129
|
whatiheard = -1;
|
|
130
|
}
|
|
131
|
if (global.myfight == 2)
|
|
132
|
{
|
|
133
|
if (whatiheard != -1)
|
|
134
|
{
|
|
135
|
if (global.heard == 0)
|
|
136
|
{
|
|
137
|
if (whatiheard == 0)
|
|
138
|
{
|
|
139
|
if (mercymod < 100)
|
|
140
|
{
|
|
141
|
global.msc = 0;
|
|
142
|
OBJ_WRITER.halt = 3;
|
|
143
|
global.msg[0] = 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_reaperbird_488", string(global.monsteratk[myself]), string(global.monsterdef[myself]));
|
|
144
|
iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER);
|
|
145
|
with (iii)
|
|
146
|
halt = 0;
|
|
147
|
global.msg[0] = 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_reaperbird_492", string(global.monsteratk[myself]), string(global.monsterdef[myself]));
|
|
148
|
iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER);
|
|
149
|
with (iii)
|
|
150
|
halt = 0;
|
|
151
|
global.msg[0] = 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_reaperbird_496", string(global.monsteratk[myself]), string(global.monsterdef[myself]));
|
|
152
|
iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER);
|
|
153
|
with (iii)
|
|
154
|
halt = 0;
|
|
155
|
whatiheard = 9;
|
|
156
|
}
|
|
157
|
else
|
|
158
|
{
|
|
159
|
global.msc = 0;
|
|
160
|
OBJ_WRITER.halt = 3;
|
|
161
|
global.msg[0] = * REAPER BIRD - ATK ?? DEF ?? * This relentless future finally looks brighter and brighter.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_reaperbird_505") ;
|
|
162
|
iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER);
|
|
163
|
with (iii)
|
|
164
|
halt = 0;
|
|
165
|
}
|
|
166
|
}
|
|
167
|
if (whatiheard == 3)
|
|
168
|
{
|
|
169
|
global.msc = 0;
|
|
170
|
if (pickon == 0)
|
|
171
|
global.msg[0] = * You pick on , .Delay 11 * It seemed effective.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_reaperbird_514") ;
|
|
172
|
if (pickon == 1)
|
|
173
|
global.msg[0] = * But,Delay 11 it was already picked on.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_reaperbird_516") ;
|
|
174
|
pickon = 1;
|
|
175
|
if (pray == 1 && pickon == 1 && mystify == 1)
|
|
176
|
{
|
|
177
|
mercymod = 999999;
|
|
178
|
global.monstername[myself] = Reaper Birdscr_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; ("monstername_54b") ;
|
|
179
|
global.msg[0] = * You pick on Reaper Bird.Delay 11 * Reaper Bird seems to remember something.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_reaperbird_523") ;
|
|
180
|
}
|
|
181
|
OBJ_WRITER.halt = 3;
|
|
182
|
iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER);
|
|
183
|
with (iii)
|
|
184
|
halt = 0;
|
|
185
|
}
|
|
186
|
if (whatiheard == 1)
|
|
187
|
{
|
|
188
|
global.msc = 0;
|
|
189
|
if (mystify == 0)
|
|
190
|
global.msg[0] = * You did something mysterious. * , recognizes it has more to learn from this world.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_reaperbird_536") ;
|
|
191
|
if (mystify == 1)
|
|
192
|
global.msg[0] = * But,Delay 11 it was already mystified.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_reaperbird_538") ;
|
|
193
|
mystify = 1;
|
|
194
|
if (pray == 1 && pickon == 1 && mystify == 1)
|
|
195
|
{
|
|
196
|
mercymod = 999999;
|
|
197
|
global.monstername[myself] = Reaper Birdscr_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; ("monstername_54b") ;
|
|
198
|
global.msg[0] = * You did something mysterious.Delay 11 * Reaper Bird seems to remember something.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_reaperbird_545") ;
|
|
199
|
}
|
|
200
|
OBJ_WRITER.halt = 3;
|
|
201
|
iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER);
|
|
202
|
with (iii)
|
|
203
|
halt = 0;
|
|
204
|
}
|
|
205
|
if (whatiheard == 4)
|
|
206
|
{
|
|
207
|
global.msc = 0;
|
|
208
|
global.msg[0] = * You wash your hands.Delay 11 * Nothing happened.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_reaperbird_557") ;
|
|
209
|
if (xclean == 1)
|
|
210
|
global.msg[0] = * Your hands are clean enough to eat!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_reaperbird_559") ;
|
|
211
|
OBJ_WRITER.halt = 3;
|
|
212
|
xclean = 1;
|
|
213
|
iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER);
|
|
214
|
with (iii)
|
|
215
|
halt = 0;
|
|
216
|
}
|
|
217
|
if (whatiheard == 2)
|
|
218
|
{
|
|
219
|
global.msc = 0;
|
|
220
|
global.msg[0] = * You hum a familiar tune.Delay 11 * But no one heard you.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_reaperbird_569") ;
|
|
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
|
if (whatiheard == 5)
|
|
227
|
{
|
|
228
|
global.msc = 0;
|
|
229
|
if (pray == 0)
|
|
230
|
global.msg[0] = * You kneel and pray for safety.Delay 11 * , remembers its conscience.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_reaperbird_579") ;
|
|
231
|
if (pray == 1)
|
|
232
|
global.msg[0] = * But , already remembered its conscience.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_reaperbird_581") ;
|
|
233
|
pray = 1;
|
|
234
|
if (pray == 1 && pickon == 1 && mystify == 1)
|
|
235
|
{
|
|
236
|
mercymod = 999999;
|
|
237
|
global.monstername[myself] = Reaper Birdscr_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; ("monstername_54b") ;
|
|
238
|
global.msg[0] = * You kneel and pray for safety.Delay 11 * Reaper Bird seems to remember something.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_reaperbird_588") ;
|
|
239
|
}
|
|
240
|
OBJ_WRITER.halt = 3;
|
|
241
|
iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER);
|
|
242
|
with (iii)
|
|
243
|
halt = 0;
|
|
244
|
}
|
|
245
|
global.heard = 1;
|
|
246
|
}
|
|
247
|
}
|
|
248
|
}
|
|
249
|
if (global.myfight == 4)
|
|
250
|
{
|
|
251
|
if (global.mercyuse == 0)
|
|
252
|
{
|
|
253
|
script_execute(scr_mercystandard);
|
|
254
|
if (mercy < 0)
|
|
255
|
instance_destroy();
|
|
256
|
}
|
|
257
|
}
|
|
258
|
if (mercymod == 222 && instance_exists(OBJ_WRITER) == 0)
|
|
259
|
{
|
|
260
|
script_execute(scr_mercystandard);
|
|
261
|
if (mercy < 0)
|
|
262
|
instance_destroy();
|
|
263
|
}
|