1 |
if (con > 0) |
2 |
{ |
3 |
if (con == 1) |
4 |
{ |
5 |
if (instance_exists(OBJ_WRITER)) |
6 |
{ |
7 |
with (OBJ_WRITER) |
8 |
instance_destroy(); |
9 |
} |
10 |
global.myfight = 2; |
11 |
global.mnfight = 9; |
12 |
} |
13 |
if (con == 2) |
14 |
{ |
15 |
bull = 1; |
16 |
obj_aaronbody.bull = 1; |
17 |
obj_aaronbody.sprite_index = spr_aaronbody_bull; |
18 |
aaron = 290; |
19 |
con = 3; |
20 |
alarm[4] = 45; |
21 |
} |
22 |
if (con == 4) |
23 |
{ |
24 |
global.typer = 33; |
25 |
global.msc = 0; |
26 |
global.msg[0] = ... what the HECK is that music?Wait for inputClose MessageClose Messagescr_gettextscr_gettextvar 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_woshbody_221") ; |
27 |
scr_blconscr_blconwriter = instance_create(argument0 + 30, argument1 + 10, OBJ_WRITER);
blcon = instance_create(writer.x - 30, writer.y - 10, obj_blconwideslave);
blcon.parent = writer;
if (argument2 == 1)
blcon.sprite_index = spr_blconwdshrt_l;
if (argument2 == 2)
{
blcon.sprite_index = spr_blconabove;
writer.writingy -= 20;
writer.writingx -= 20;
}
if (argument2 == 3)
{
blcon.sprite_index = spr_blconwdshrt;
writer.writingy -= 20;
}
if (argument2 == 4)
{
blcon.sprite_index = spr_blconbelow;
writer.writingx -= 10;
} (x + 80, y, 0); |
28 |
con = 5; |
29 |
} |
30 |
if (con == 5 && instance_exists(OBJ_WRITER) == 0) |
31 |
{ |
32 |
global.msg[0] = I-I DUNNO,Delay 11 DUDE BUT IT'S SPOOKIN ME OUT ; )Wait for inputClose MessageClose Messagescr_gettextscr_gettextvar 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_woshbody_228") ; |
33 |
with (aaron) |
34 |
scr_blconscr_blconwriter = instance_create(argument0 + 30, argument1 + 10, OBJ_WRITER);
blcon = instance_create(writer.x - 30, writer.y - 10, obj_blconwideslave);
blcon.parent = writer;
if (argument2 == 1)
blcon.sprite_index = spr_blconwdshrt_l;
if (argument2 == 2)
{
blcon.sprite_index = spr_blconabove;
writer.writingy -= 20;
writer.writingx -= 20;
}
if (argument2 == 3)
{
blcon.sprite_index = spr_blconwdshrt;
writer.writingy -= 20;
}
if (argument2 == 4)
{
blcon.sprite_index = spr_blconbelow;
writer.writingx -= 10;
} (x + 80, y, 0); |
35 |
obj_aaronbody.shake = 2; |
36 |
con = 6; |
37 |
} |
38 |
if (con == 6 && instance_exists(OBJ_WRITER) == 0) |
39 |
{ |
40 |
global.msg[0] = ... this is worse than Shyren.Wait for inputClose MessageClose Messagescr_gettextscr_gettextvar 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_woshbody_236") ; |
41 |
scr_blconscr_blconwriter = instance_create(argument0 + 30, argument1 + 10, OBJ_WRITER);
blcon = instance_create(writer.x - 30, writer.y - 10, obj_blconwideslave);
blcon.parent = writer;
if (argument2 == 1)
blcon.sprite_index = spr_blconwdshrt_l;
if (argument2 == 2)
{
blcon.sprite_index = spr_blconabove;
writer.writingy -= 20;
writer.writingx -= 20;
}
if (argument2 == 3)
{
blcon.sprite_index = spr_blconwdshrt;
writer.writingy -= 20;
}
if (argument2 == 4)
{
blcon.sprite_index = spr_blconbelow;
writer.writingx -= 10;
} (x + 80, y, 0); |
42 |
con = 7; |
43 |
} |
44 |
if (con == 7 && instance_exists(OBJ_WRITER) == 0) |
45 |
{ |
46 |
global.msg[0] = No way,Delay 11 Shyren is way less scary ; )Wait for inputClose MessageClose Messagescr_gettextscr_gettextvar 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_woshbody_243") ; |
47 |
with (aaron) |
48 |
scr_blconscr_blconwriter = instance_create(argument0 + 30, argument1 + 10, OBJ_WRITER);
blcon = instance_create(writer.x - 30, writer.y - 10, obj_blconwideslave);
blcon.parent = writer;
if (argument2 == 1)
blcon.sprite_index = spr_blconwdshrt_l;
if (argument2 == 2)
{
blcon.sprite_index = spr_blconabove;
writer.writingy -= 20;
writer.writingx -= 20;
}
if (argument2 == 3)
{
blcon.sprite_index = spr_blconwdshrt;
writer.writingy -= 20;
}
if (argument2 == 4)
{
blcon.sprite_index = spr_blconbelow;
writer.writingx -= 10;
} (x + 80, y, 0); |
49 |
obj_aaronbody.shake = 2; |
50 |
con = 8; |
51 |
} |
52 |
if (con == 8 && instance_exists(OBJ_WRITER) == 0) |
53 |
{ |
54 |
global.msg[0] = ... if you're so scared,Delay 11 why do you keep winking?Wait for inputClose MessageClose Messagescr_gettextscr_gettextvar 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_woshbody_251") ; |
55 |
scr_blconscr_blconwriter = instance_create(argument0 + 30, argument1 + 10, OBJ_WRITER);
blcon = instance_create(writer.x - 30, writer.y - 10, obj_blconwideslave);
blcon.parent = writer;
if (argument2 == 1)
blcon.sprite_index = spr_blconwdshrt_l;
if (argument2 == 2)
{
blcon.sprite_index = spr_blconabove;
writer.writingy -= 20;
writer.writingx -= 20;
}
if (argument2 == 3)
{
blcon.sprite_index = spr_blconwdshrt;
writer.writingy -= 20;
}
if (argument2 == 4)
{
blcon.sprite_index = spr_blconbelow;
writer.writingx -= 10;
} (x + 80, y, 0); |
56 |
con = 9; |
57 |
} |
58 |
if (con == 9 && instance_exists(OBJ_WRITER) == 0) |
59 |
{ |
60 |
global.msg[0] = THESE ARE WINKS OF FEAR ; )Wait for inputClose MessageClose Messagescr_gettextscr_gettextvar 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_woshbody_258") ; |
61 |
with (aaron) |
62 |
scr_blconscr_blconwriter = instance_create(argument0 + 30, argument1 + 10, OBJ_WRITER);
blcon = instance_create(writer.x - 30, writer.y - 10, obj_blconwideslave);
blcon.parent = writer;
if (argument2 == 1)
blcon.sprite_index = spr_blconwdshrt_l;
if (argument2 == 2)
{
blcon.sprite_index = spr_blconabove;
writer.writingy -= 20;
writer.writingx -= 20;
}
if (argument2 == 3)
{
blcon.sprite_index = spr_blconwdshrt;
writer.writingy -= 20;
}
if (argument2 == 4)
{
blcon.sprite_index = spr_blconbelow;
writer.writingx -= 10;
} (x + 100, y, 0); |
63 |
obj_aaronbody.shake = 3; |
64 |
con = 10; |
65 |
} |
66 |
if (con == 10 && instance_exists(OBJ_WRITER) == 0) |
67 |
{ |
68 |
global.msg[0] = Forget it.Delay 11 This beat is too...Wait for inputscr_gettextscr_gettextvar 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_woshbody_266") ; |
69 |
global.msg[1] = ... filthy.Wait for inputClose MessageClose Messagescr_gettextscr_gettextvar 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_woshbody_267") ; |
70 |
scr_blconscr_blconwriter = instance_create(argument0 + 30, argument1 + 10, OBJ_WRITER);
blcon = instance_create(writer.x - 30, writer.y - 10, obj_blconwideslave);
blcon.parent = writer;
if (argument2 == 1)
blcon.sprite_index = spr_blconwdshrt_l;
if (argument2 == 2)
{
blcon.sprite_index = spr_blconabove;
writer.writingy -= 20;
writer.writingx -= 20;
}
if (argument2 == 3)
{
blcon.sprite_index = spr_blconwdshrt;
writer.writingy -= 20;
}
if (argument2 == 4)
{
blcon.sprite_index = spr_blconbelow;
writer.writingx -= 10;
} (x + 80, y, 0); |
71 |
con = 11; |
72 |
} |
73 |
if (con == 11 && instance_exists(OBJ_WRITER) == 0) |
74 |
{ |
75 |
hspeed = 4; |
76 |
global.msg[0] = Wosh!Delay 11 Wait!Delay 11 Don't leave me ; )Wait for inputscr_gettextscr_gettextvar 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_woshbody_275") ; |
77 |
global.msg[1] = Is this creepy music my punishment for being creepy? ; )Wait for inputscr_gettextscr_gettextvar 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_woshbody_276") ; |
78 |
global.msg[2] = Please...Delay 11 stop...Delay 11 I'll never creep again ; )Wait for inputClose MessageClose Messagescr_gettextscr_gettextvar 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_woshbody_277") ; |
79 |
obj_aaronbody.shake = 3; |
80 |
with (aaron) |
81 |
scr_blconscr_blconwriter = instance_create(argument0 + 30, argument1 + 10, OBJ_WRITER);
blcon = instance_create(writer.x - 30, writer.y - 10, obj_blconwideslave);
blcon.parent = writer;
if (argument2 == 1)
blcon.sprite_index = spr_blconwdshrt_l;
if (argument2 == 2)
{
blcon.sprite_index = spr_blconabove;
writer.writingy -= 20;
writer.writingx -= 20;
}
if (argument2 == 3)
{
blcon.sprite_index = spr_blconwdshrt;
writer.writingy -= 20;
}
if (argument2 == 4)
{
blcon.sprite_index = spr_blconbelow;
writer.writingx -= 10;
} (x + 80, y, 0); |
82 |
con = 13; |
83 |
} |
84 |
if (con == 13 && instance_exists(OBJ_WRITER) == 0) |
85 |
{ |
86 |
obj_aaronbody.vspeed = -8; |
87 |
global.msg[0] = Wahhhhh!!!!! ; ) Delay 33Close MessageClose Messagescr_gettextscr_gettextvar 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_woshbody_286") ; |
88 |
obj_aaronbody.shake = 0; |
89 |
with (aaron) |
90 |
scr_blconscr_blconwriter = instance_create(argument0 + 30, argument1 + 10, OBJ_WRITER);
blcon = instance_create(writer.x - 30, writer.y - 10, obj_blconwideslave);
blcon.parent = writer;
if (argument2 == 1)
blcon.sprite_index = spr_blconwdshrt_l;
if (argument2 == 2)
{
blcon.sprite_index = spr_blconabove;
writer.writingy -= 20;
writer.writingx -= 20;
}
if (argument2 == 3)
{
blcon.sprite_index = spr_blconwdshrt;
writer.writingy -= 20;
}
if (argument2 == 4)
{
blcon.sprite_index = spr_blconbelow;
writer.writingx -= 10;
} (x + 80, y, 0); |
91 |
con = 14; |
92 |
alarm[4] = 90; |
93 |
} |
94 |
if (con == 15) |
95 |
{ |
96 |
global.flag[95 aaron_woshua_event] = 1; |
97 |
instance_create(0, 0, obj_unfader); |
98 |
con = 16; |
99 |
alarm[4] = 8; |
100 |
} |
101 |
if (con == 17) |
102 |
room_goto(global.currentroom); |
103 |
} |