|
1
|
draw_set_color(c_white);
|
|
2
|
scr_setfontscr_setfont
var newfont = argument0;
if (global.language == "ja")
{
if (newfont == fnt_main)
newfont = fnt_ja_main;
if (newfont == fnt_maintext)
newfont = fnt_ja_maintext;
if (newfont == fnt_plain)
newfont = fnt_ja_plain;
}
draw_set_font(newfont); (fnt_maintext);
|
|
3
|
if (number == -1)
|
|
4
|
draw_sprite_ext(sprite_index, image_index, x, y, 1, 1, rot, c_white, 1);
|
|
5
|
if (number == 0)
|
|
6
|
{
|
|
7
|
draw_set_font(fnt_maintext);
|
|
8
|
scr_drawtext_centered_scaledscr_drawtext_centered_scaled
var xx = argument0;
var yy = argument1;
var text = argument2;
var xscale = argument3;
var yscale = argument4;
var display_scale = surface_get_width(application_surface) / view_wview[view_current];
var lineheight = round(string_height(" ") * yscale);
var eol = string_pos("#", text);
yy = round(yy * display_scale) / display_scale;
while (eol != 0)
{
var line = substr(text, 1, eol);
text = substr(text, eol + 1);
width = string_width(line) * xscale;
var line_x = round((xx - (width / 2)) * display_scale) / display_scale;
draw_text_transformed(line_x, yy, line, xscale, yscale, 0);
yy += lineheight;
eol = string_pos("#", text);
}
var width = string_width(text) * xscale;
draw_text_transformed(round(xx - (width / 2)), yy, text, xscale, yscale, 0); (160, 90, By Toby Foxscr_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; ("credits_short_160") , 2, 2);
|
|
9
|
scr_setfontscr_setfont
var newfont = argument0;
if (global.language == "ja")
{
if (newfont == fnt_main)
newfont = fnt_ja_main;
if (newfont == fnt_maintext)
newfont = fnt_ja_maintext;
if (newfont == fnt_plain)
newfont = fnt_ja_plain;
}
draw_set_font(newfont); (fnt_maintext);
|
|
10
|
}
|
|
11
|
if (number == 1)
|
|
12
|
{
|
|
13
|
draw_set_color(c_yellow);
|
|
14
|
draw_text(86, 30, Logo Design#Cutscene Artist#Overworld Artist+#Animator (Area 1,2,3)#Shop Artist (Area 2,3)#Tile Artist (Area 2)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; ("credits_short_165") );
|
|
15
|
draw_set_color(c_white);
|
|
16
|
var yy = 130;
|
|
17
|
if (global.language == "ja")
|
|
18
|
yy = 140;
|
|
19
|
draw_set_font(fnt_maintext);
|
|
20
|
draw_text_transformed(40, yy, Temmie Changscr_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; ("credits_short_167") , 2, 2, 0);
|
|
21
|
scr_setfontscr_setfont
var newfont = argument0;
if (global.language == "ja")
{
if (newfont == fnt_main)
newfont = fnt_ja_main;
if (newfont == fnt_maintext)
newfont = fnt_ja_maintext;
if (newfont == fnt_plain)
newfont = fnt_ja_plain;
}
draw_set_font(newfont); (fnt_maintext);
|
|
22
|
}
|
|
23
|
if (number == 2)
|
|
24
|
{
|
|
25
|
var xx = 60;
|
|
26
|
if (global.language == "ja")
|
|
27
|
xx = 32;
|
|
28
|
draw_set_color(c_yellow);
|
|
29
|
draw_text(xx, 22, Tile Artist (Area3+4)#And Hypertesterscr_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; ("credits_short_173") );
|
|
30
|
draw_set_color(c_white);
|
|
31
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, 58, Kenjuscr_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; ("credits_short_175") );
|
|
32
|
draw_set_color(c_yellow);
|
|
33
|
draw_text(xx, 88, Main BG Artistscr_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; ("credits_short_178") );
|
|
34
|
draw_set_color(c_white);
|
|
35
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, 106, Merrigoscr_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; ("credits_short_180") );
|
|
36
|
draw_set_color(c_yellow);
|
|
37
|
draw_text(xx, 136, Assistant Monster Designerscr_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; ("credits_short_183") );
|
|
38
|
draw_set_color(c_white);
|
|
39
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, 154, Magnolia Porterscr_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; ("credits_short_185") );
|
|
40
|
draw_set_color(c_yellow);
|
|
41
|
draw_text(xx, 184, Original Temmie Monster Design Sketchscr_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; ("credits_short_186") );
|
|
42
|
draw_set_color(c_white);
|
|
43
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, 202, Betty Kwongscr_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; ("credits_short_187") );
|
|
44
|
}
|
|
45
|
if (number == 3)
|
|
46
|
{
|
|
47
|
var xx = 60;
|
|
48
|
if (global.language == "ja")
|
|
49
|
xx = 32;
|
|
50
|
draw_set_color(c_yellow);
|
|
51
|
draw_text(xx, 24, Extra Art and Testingscr_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; ("credits_short_193") );
|
|
52
|
draw_set_color(c_white);
|
|
53
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, 44, Gigi DG#Chess#Clairevoirescr_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; ("credits_short_195") );
|
|
54
|
draw_set_color(c_yellow);
|
|
55
|
draw_text(xx, 104, Misc. Artscr_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; ("credits_short_199") );
|
|
56
|
draw_set_color(c_white);
|
|
57
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (-(xx + 30), 124, Easynam (Tile Area 1)#Guzusuru (Asgore Spear Reveal)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; ("credits_short_201") );
|
|
58
|
draw_set_color(c_yellow);
|
|
59
|
draw_text(xx, 164, Guest Monster Designsscr_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; ("credits_short_205") );
|
|
60
|
draw_set_color(c_white);
|
|
61
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, 184, "Muffet" - Michelle Czajkowski#"Woshua" - Inspired by OMOCATscr_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; ("credits_short_207") );
|
|
62
|
}
|
|
63
|
if (number == 4)
|
|
64
|
{
|
|
65
|
var xx = 60;
|
|
66
|
if (global.language == "ja")
|
|
67
|
xx = 32;
|
|
68
|
draw_set_color(c_yellow);
|
|
69
|
draw_text(xx, 20, Photoshop#Flowey Battle Co-designscr_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; ("credits_short_219") );
|
|
70
|
draw_set_color(c_white);
|
|
71
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, 55, Everdraedscr_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; ("credits_short_221") );
|
|
72
|
draw_set_color(c_yellow);
|
|
73
|
draw_text(xx, 95, Programming Helpscr_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; ("credits_short_224") );
|
|
74
|
draw_set_color(c_white);
|
|
75
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, 115, Flashygoodness#Leon Arnottscr_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; ("credits_short_226") );
|
|
76
|
draw_set_color(c_yellow);
|
|
77
|
draw_text(xx, 165, Other Monster Designsscr_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; ("credits_short_229") );
|
|
78
|
draw_set_color(c_white);
|
|
79
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, 185, Mike Reid#Samaelscr_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; ("credits_short_231") );
|
|
80
|
}
|
|
81
|
if (number == 5)
|
|
82
|
{
|
|
83
|
var xx = 60;
|
|
84
|
if (global.language == "ja")
|
|
85
|
xx = 32;
|
|
86
|
var yy = 24;
|
|
87
|
if (global.language == "ja")
|
|
88
|
yy = 14;
|
|
89
|
draw_set_color(c_yellow);
|
|
90
|
draw_text(xx, yy, Guest NPC Conceptsscr_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; ("credits_short_240") );
|
|
91
|
draw_set_color(c_white);
|
|
92
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, yy + 20, Mushroom "Ragel" - Alexander Sward#"Sam Byool" - Ahmed Almutawa#Bah! "Puzzle Guy" - Summer Wine#Stars..? "Loren" - Colin MacDougall#Comedian Dad - Braxton Harrisscr_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; ("credits_short_242") );
|
|
93
|
yy = 135;
|
|
94
|
if (global.language == "ja")
|
|
95
|
yy = 147;
|
|
96
|
draw_set_color(c_yellow);
|
|
97
|
draw_text(xx, yy, Guitarscr_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; ("credits_short_246") );
|
|
98
|
draw_set_color(c_white);
|
|
99
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, yy + 20, Stephanie MacIntirescr_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; ("credits_short_248") );
|
|
100
|
yy = 185;
|
|
101
|
if (global.language == "ja")
|
|
102
|
yy = 191;
|
|
103
|
draw_set_color(c_yellow);
|
|
104
|
draw_text(xx, yy, Bratty Catty Helpscr_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; ("credits_short_251") );
|
|
105
|
draw_set_color(c_white);
|
|
106
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, yy + 20, IPGDscr_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; ("credits_short_253") );
|
|
107
|
}
|
|
108
|
if (number == 6)
|
|
109
|
{
|
|
110
|
var xx = 60;
|
|
111
|
if (global.language == "ja")
|
|
112
|
xx = 32;
|
|
113
|
var yy = 30;
|
|
114
|
if (global.osflavor == 4 && global.language != "ja")
|
|
115
|
yy = 22;
|
|
116
|
draw_set_color(c_yellow);
|
|
117
|
if (global.osflavor == 4)
|
|
118
|
{
|
|
119
|
draw_text(xx, yy, Japanese Localization +#PS4Wait for inputVita Conversionsscr_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; ("credits_short_loc1_1_console") );
|
|
120
|
if (global.language == "ja")
|
|
121
|
yy += 18;
|
|
122
|
else
|
|
123
|
yy += 36;
|
|
124
|
}
|
|
125
|
else
|
|
126
|
{
|
|
127
|
draw_text(xx, yy, Japanese Localizationscr_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; ("credits_short_loc1_1") );
|
|
128
|
yy += 18;
|
|
129
|
}
|
|
130
|
draw_set_color(c_white);
|
|
131
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, yy, 8-4, Ltd.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; ("credits_short_loc1_1a") );
|
|
132
|
yy += 28;
|
|
133
|
draw_set_color(c_yellow);
|
|
134
|
draw_text(xx, yy, Producerscr_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; ("credits_short_loc1_2") );
|
|
135
|
yy += 18;
|
|
136
|
draw_set_color(c_white);
|
|
137
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, yy, John Ricciardiscr_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; ("credits_short_loc1_2a") );
|
|
138
|
yy += 28;
|
|
139
|
draw_set_color(c_yellow);
|
|
140
|
draw_text(xx, yy, Coordinatorscr_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; ("credits_short_loc1_3") );
|
|
141
|
yy += 18;
|
|
142
|
draw_set_color(c_white);
|
|
143
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, yy, Justin "JJ" Eppersonscr_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; ("credits_short_loc1_3a") );
|
|
144
|
yy += 28;
|
|
145
|
draw_set_color(c_yellow);
|
|
146
|
draw_text(xx, yy, Translatorscr_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; ("credits_short_loc1_4") );
|
|
147
|
yy += 18;
|
|
148
|
draw_set_color(c_white);
|
|
149
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, yy, Keiko Fukuichiscr_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; ("credits_short_loc1_4a") );
|
|
150
|
yy += 28;
|
|
151
|
}
|
|
152
|
if (number == 7)
|
|
153
|
{
|
|
154
|
var xx = 60;
|
|
155
|
if (global.language == "ja")
|
|
156
|
xx = 32;
|
|
157
|
var xx2 = 200;
|
|
158
|
if (global.language == "ja")
|
|
159
|
xx2 = 190;
|
|
160
|
var yy = 42;
|
|
161
|
if (global.osflavor == 4)
|
|
162
|
yy = 24;
|
|
163
|
draw_set_color(c_yellow);
|
|
164
|
draw_text(xx, yy, Localization Supportscr_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; ("credits_short_loc2_1") );
|
|
165
|
yy += 18;
|
|
166
|
draw_set_color(c_white);
|
|
167
|
if (global.osflavor == 4)
|
|
168
|
{
|
|
169
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, yy, Brian Grayscr_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; ("credits_short_loc2_1a") );
|
|
170
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx2, yy, D. Scott Millerscr_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; ("credits_short_loc2_1b") );
|
|
171
|
yy += 18;
|
|
172
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, yy, Nozomi Oshimascr_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; ("credits_short_loc2_1c") );
|
|
173
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx2, yy, 8-4 All Staffscr_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; ("credits_short_loc2_1d") );
|
|
174
|
yy += 18;
|
|
175
|
}
|
|
176
|
else
|
|
177
|
{
|
|
178
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, yy, Brian Grayscr_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; ("credits_short_loc2_1a") );
|
|
179
|
yy += 18;
|
|
180
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, yy, D. Scott Millerscr_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; ("credits_short_loc2_1b") );
|
|
181
|
yy += 18;
|
|
182
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, yy, Nozomi Oshimascr_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; ("credits_short_loc2_1c") );
|
|
183
|
yy += 18;
|
|
184
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, yy, 8-4 All Staffscr_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; ("credits_short_loc2_1d") );
|
|
185
|
yy += 18;
|
|
186
|
}
|
|
187
|
yy += 10;
|
|
188
|
draw_set_color(c_yellow);
|
|
189
|
draw_text(xx, yy, Japanese Graphicsscr_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; ("credits_short_loc2_2") );
|
|
190
|
yy += 18;
|
|
191
|
draw_set_color(c_white);
|
|
192
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, yy, 256graphscr_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; ("credits_short_loc2_2a") );
|
|
193
|
yy += 28;
|
|
194
|
if (global.osflavor == 4)
|
|
195
|
{
|
|
196
|
draw_set_color(c_yellow);
|
|
197
|
draw_text(xx, yy, Physical + Collector's Editionsscr_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; ("credits_short_loc2_3") );
|
|
198
|
yy += 18;
|
|
199
|
draw_set_color(c_white);
|
|
200
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, yy, Fangamerscr_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; ("credits_short_loc2_3a") );
|
|
201
|
yy += 28;
|
|
202
|
draw_set_color(c_yellow);
|
|
203
|
draw_text(xx, yy, Sepia + Area-Themed Bordersscr_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; ("credits_short_loc2_4") );
|
|
204
|
yy += 18;
|
|
205
|
draw_set_color(c_white);
|
|
206
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, yy, Temmie Changscr_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; ("credits_short_loc2_4a") );
|
|
207
|
yy += 28;
|
|
208
|
}
|
|
209
|
}
|
|
210
|
if (number == 7.5)
|
|
211
|
{
|
|
212
|
var xx = 60;
|
|
213
|
if (global.language == "ja")
|
|
214
|
xx = 32;
|
|
215
|
var yy = 24;
|
|
216
|
draw_set_color(c_yellow);
|
|
217
|
draw_text(xx, yy, Testersscr_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; ("credits_short_test_0") );
|
|
218
|
yy += 18;
|
|
219
|
draw_set_color(c_white);
|
|
220
|
draw_set_font(fnt_maintext);
|
|
221
|
for (var i = 0; i < 11; i++)
|
|
222
|
{
|
|
223
|
var name = 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; ("credits_short_test_" + string(i + 1));
|
|
224
|
draw_text(xx + 30, yy, name);
|
|
225
|
yy += 16;
|
|
226
|
}
|
|
227
|
scr_setfontscr_setfont
var newfont = argument0;
if (global.language == "ja")
{
if (newfont == fnt_main)
newfont = fnt_ja_main;
if (newfont == fnt_maintext)
newfont = fnt_ja_maintext;
if (newfont == fnt_plain)
newfont = fnt_ja_plain;
}
draw_set_font(newfont); (fnt_ja_maintext);
|
|
228
|
}
|
|
229
|
if (number == 8)
|
|
230
|
{
|
|
231
|
var xx = 60;
|
|
232
|
if (global.language == "ja")
|
|
233
|
xx = 32;
|
|
234
|
var xx2 = xx + 100;
|
|
235
|
var yy = 44;
|
|
236
|
if (global.osflavor == 4)
|
|
237
|
yy = 22;
|
|
238
|
draw_set_color(c_yellow);
|
|
239
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx, yy, Special Thanksscr_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; ("credits_short_thanks_0") );
|
|
240
|
yy += 18;
|
|
241
|
draw_set_color(c_white);
|
|
242
|
var limit, suffix;
|
|
243
|
if (global.osflavor == 4)
|
|
244
|
{
|
|
245
|
limit = 14;
|
|
246
|
suffix = "_console";
|
|
247
|
}
|
|
248
|
else
|
|
249
|
{
|
|
250
|
limit = 12;
|
|
251
|
suffix = "";
|
|
252
|
}
|
|
253
|
for (var i = 1; i <= limit; i++)
|
|
254
|
{
|
|
255
|
var this_x = xx;
|
|
256
|
if ((i % 2) == 0)
|
|
257
|
this_x = xx2;
|
|
258
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (this_x + 30, yy, 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; ("credits_short_thanks_" + string(i) + suffix));
|
|
259
|
if ((i % 2) == 0)
|
|
260
|
yy += 16;
|
|
261
|
}
|
|
262
|
for (var i = 1; i <= 2; i++)
|
|
263
|
{
|
|
264
|
scr_credits_short_draw_namescr_credits_short_draw_name
var xx = argument0;
var yy = argument1;
var s = argument2;
var specialcase = 0;
if (xx < 0)
{
specialcase = 1;
xx = -xx;
}
if (global.language != "ja")
{
draw_text(xx, yy, s);
exit;
}
var xx0 = xx;
while (strlen(s) > 0)
{
if (string_char_at(s, 1) == "#")
{
yy += 18;
xx = xx0;
s = substr(s, 2);
}
else
{
var is_ascii = string_char_at(s, 1) >= " " && string_char_at(s, 1) <= "~" && (!specialcase || (string_char_at(s, 1) != "(" && string_char_at(s, 1) != ")" && string_char_at(s, 1) != "1"));
var len = 1;
while (len < strlen(s) && string_char_at(s, 1 + len) != "#" && (string_char_at(s, 1 + len) >= " " && string_char_at(s, 1 + len) <= "~" && (!specialcase || (string_char_at(s, 1 + len) != "(" && string_char_at(s, 1 + len) != ")" && string_char_at(s, 1 + len) != "1"))) == is_ascii)
len++;
if (is_ascii)
draw_set_font(fnt_maintext);
else
draw_set_font(fnt_ja_maintext);
draw_text(xx, yy, substr(s, 1, len));
xx += round(string_width(substr(s, 1, len)));
s = substr(s, len + 1);
}
}
draw_set_font(fnt_ja_maintext); (xx + 30, yy, 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; ("credits_short_thanks_last_" + string(i)));
|
|
265
|
yy += 16;
|
|
266
|
}
|
|
267
|
}
|
|
268
|
if (won >= 1)
|
|
269
|
{
|
|
270
|
if (control_check(0))
|
|
271
|
{
|
|
272
|
if (alarm[5] > 20)
|
|
273
|
alarm[5] = 20; gml_Object_obj_credits_short_Alarm_5.gml
caster_play(ii, 1, 1);
if (global.osflavor == 4 && (number == 7 || number == 7.5))
number += 0.5;
else
number += 1;
if (number < 9)
alarm[5] = 130;
else
alarm[6] = 200;
|
|
274
|
}
|
|
275
|
}
|