| 1 | 
        var namescale = 3;  | 
    
    
    
        | 2 | 
        var infoscale = 2;  | 
    
    
    
        | 3 | 
        var info_yofs = 0;  | 
    
    
    
        | 4 | 
        if (global.language == "ja")  | 
    
    
    
        | 5 | 
        { | 
    
    
    
        | 6 | 
            namescale = 2;  | 
    
    
    
        | 7 | 
            infoscale = 1.5;  | 
    
    
    
        | 8 | 
            info_yofs = 10;  | 
    
    
    
        | 9 | 
        }  | 
    
    
    
        | 10 | 
        if (global.cast_type == 0)  | 
    
    
    
        | 11 | 
        { | 
    
    
    
        | 12 | 
            timer += 1;  | 
    
    
    
        | 13 | 
            if (timer > 3)  | 
    
    
    
        | 14 | 
            { | 
    
    
    
        | 15 | 
                draw_set_color(c_white);  | 
    
    
    
        | 16 | 
                scr_setfontscr_setfontvar 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);  | 
    
    
    
        | 17 | 
                draw_sprite_ext(spr_undertaletitle, 0, 0, -100, 2, 2, 0, c_white, 1);  | 
    
    
    
        | 18 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (320, 280, (( CAST ))scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_title")   , 3, 3);  | 
    
    
    
        | 19 | 
            }  | 
    
    
    
        | 20 | 
            if (timer > 244)  | 
    
    
    
        | 21 | 
                active = 1;  | 
    
    
    
        | 22 | 
        }  | 
    
    
    
        | 23 | 
        if (active == 1)  | 
    
    
    
        | 24 | 
            view_yview[0] += 2;  | 
    
    
    
        | 25 | 
        if (active == 1)  | 
    
    
    
        | 26 | 
        { | 
    
    
    
        | 27 | 
            if (global.cast_type == 0)  | 
    
    
    
        | 28 | 
            { | 
    
    
    
        | 29 | 
                g = 0;  | 
    
    
    
        | 30 | 
                scr_setfontscr_setfontvar 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);  | 
    
    
    
        | 31 | 
                draw_set_color(c_white);  | 
    
    
    
        | 32 | 
                mon = froggit;  | 
    
    
    
        | 33 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y - 70, FROGGITscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_froggit")   , namescale, namescale);  | 
    
    
    
        | 34 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y - 30, by Tobyscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_toby")   , 1, 1);  | 
    
    
    
        | 35 | 
                if (global.flag[130 spared_froggit] == 0)  | 
    
    
    
        | 36 | 
                { | 
    
    
    
        | 37 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 38 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y + 110 + info_yofs, Pondering#Lifescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_froggit")   , infoscale, infoscale);  | 
    
    
    
        | 39 | 
                }  | 
    
    
    
        | 40 | 
                else  | 
    
    
    
        | 41 | 
                { | 
    
    
    
        | 42 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 43 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y + 110 + info_yofs, Professional#Frogscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_froggit")   , infoscale, infoscale);  | 
    
    
    
        | 44 | 
                }  | 
    
    
    
        | 45 | 
                draw_set_color(c_white);  | 
    
    
    
        | 46 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, 530, WHIMSUNscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_whimsun")   , namescale, namescale);  | 
    
    
    
        | 47 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, 570, by Tobyscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_toby")   , 1, 1);  | 
    
    
    
        | 48 | 
                if (global.flag[131 spared_whimsun] == 0)  | 
    
    
    
        | 49 | 
                { | 
    
    
    
        | 50 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 51 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, 710 + info_yofs, Still A Bit#Guiltyscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_whimsun")   , infoscale, infoscale);  | 
    
    
    
        | 52 | 
                }  | 
    
    
    
        | 53 | 
                else  | 
    
    
    
        | 54 | 
                { | 
    
    
    
        | 55 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 56 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, 710 + info_yofs, Braver Every#Day scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_whimsun")   , infoscale, infoscale);  | 
    
    
    
        | 57 | 
                }  | 
    
    
    
        | 58 | 
                draw_set_color(c_white);  | 
    
    
    
        | 59 | 
                mon = moldsmal;  | 
    
    
    
        | 60 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y - 70, MOLDSMALscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_moldsmal")   , namescale, namescale);  | 
    
    
    
        | 61 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y - 30, by Tobyscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_toby")   , 1, 1);  | 
    
    
    
        | 62 | 
                if (global.flag[132 spared_moldsmal] == 0)  | 
    
    
    
        | 63 | 
                { | 
    
    
    
        | 64 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 65 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y + 110 + info_yofs, Found a New#Cavescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_moldsmal")   , infoscale, infoscale);  | 
    
    
    
        | 66 | 
                }  | 
    
    
    
        | 67 | 
                else  | 
    
    
    
        | 68 | 
                { | 
    
    
    
        | 69 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 70 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y + 110 + info_yofs, Backup Dancerscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_moldsmal")   , infoscale, infoscale);  | 
    
    
    
        | 71 | 
                }  | 
    
    
    
        | 72 | 
                draw_set_color(c_white);  | 
    
    
    
        | 73 | 
                mon = loox;  | 
    
    
    
        | 74 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y - 70, LOOXscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_loox")   , namescale, namescale);  | 
    
    
    
        | 75 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y - 30, by Temmiescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_temmie")   , 1, 1);  | 
    
    
    
        | 76 | 
                if (global.flag[133 spared_loox] == 0)  | 
    
    
    
        | 77 | 
                { | 
    
    
    
        | 78 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 79 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y + 110 + info_yofs, Slightly#Bully-likescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_loox")   , infoscale, infoscale);  | 
    
    
    
        | 80 | 
                }  | 
    
    
    
        | 81 | 
                else  | 
    
    
    
        | 82 | 
                { | 
    
    
    
        | 83 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 84 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y + 110 + info_yofs, Reformed#Bullyscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_loox")   , infoscale, infoscale);  | 
    
    
    
        | 85 | 
                }  | 
    
    
    
        | 86 | 
                draw_set_color(c_white);  | 
    
    
    
        | 87 | 
                mon = vegetoid;  | 
    
    
    
        | 88 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y - 70, VEGETOIDscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_vegetoid")   , namescale, namescale);  | 
    
    
    
        | 89 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y - 30, by Toby  Temmiescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_toby_and_temmie")   , 1, 1);  | 
    
    
    
        | 90 | 
                if (global.flag[134 spared_vegetoid] == 0)  | 
    
    
    
        | 91 | 
                { | 
    
    
    
        | 92 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 93 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y + 110 + info_yofs, Pushy Grocerscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_vegetoid")   , infoscale, infoscale);  | 
    
    
    
        | 94 | 
                }  | 
    
    
    
        | 95 | 
                else  | 
    
    
    
        | 96 | 
                { | 
    
    
    
        | 97 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 98 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y + 110 + info_yofs, Popular#Nutritionistscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_vegetoid")   , infoscale, infoscale);  | 
    
    
    
        | 99 | 
                }  | 
    
    
    
        | 100 | 
                draw_set_color(c_white);  | 
    
    
    
        | 101 | 
                mon = migosp;  | 
    
    
    
        | 102 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y - 70, MIGOSPscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_migosp")   , namescale, namescale);  | 
    
    
    
        | 103 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y - 30, by Tobyscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_toby")   , 1, 1);  | 
    
    
    
        | 104 | 
                if (global.flag[135 spared_migosp] == 0)  | 
    
    
    
        | 105 | 
                { | 
    
    
    
        | 106 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 107 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y + 110 + info_yofs, Dedicated#Yesmanscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_migosp")   , infoscale, infoscale);  | 
    
    
    
        | 108 | 
                }  | 
    
    
    
        | 109 | 
                else  | 
    
    
    
        | 110 | 
                { | 
    
    
    
        | 111 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 112 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y + 110 + info_yofs, Casually#Enjoys Lifescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_migosp")   , infoscale, infoscale);  | 
    
    
    
        | 113 | 
                }  | 
    
    
    
        | 114 | 
                draw_set_color(c_white);  | 
    
    
    
        | 115 | 
                mon = napstablook;  | 
    
    
    
        | 116 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (330, mon.y - 70, NAPSTABLOOKscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_napstablook")   , namescale, namescale);  | 
    
    
    
        | 117 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (330, mon.y - 30, by Tobyscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_toby")   , 1, 1);  | 
    
    
    
        | 118 | 
                if (global.flag[36 spared_napstablook] == 0)  | 
    
    
    
        | 119 | 
                { | 
    
    
    
        | 120 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 121 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (330, mon.y + 210 + info_yofs, Zzzzzzz...scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_napstablook")   , infoscale, infoscale);  | 
    
    
    
        | 122 | 
                }  | 
    
    
    
        | 123 | 
                else  | 
    
    
    
        | 124 | 
                { | 
    
    
    
        | 125 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 126 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (330, mon.y + 210 + info_yofs, Spooky DJscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_napstablook")   , infoscale, infoscale);  | 
    
    
    
        | 127 | 
                }  | 
    
    
    
        | 128 | 
                if (view_yview[0] > 1520 && view_yview[0] < 1540)  | 
    
    
    
        | 129 | 
                    exper = 0;  | 
    
    
    
        | 130 | 
                if (view_yview[0] > 1540)  | 
    
    
    
        | 131 | 
                { | 
    
    
    
        | 132 | 
                    exper += 0.2;  | 
    
    
    
        | 133 | 
                    view_yview[0] += exper;  | 
    
    
    
        | 134 | 
                    if (view_yview[0] > (napstablook.y + 305))  | 
    
    
    
        | 135 | 
                    { | 
    
    
    
        | 136 | 
                        do_room_goto = true;  | 
    
    
    
        | 137 | 
                        do_room_goto_target = room_end_highway;  | 
    
    
    
        | 138 | 
                    }  | 
    
    
    
        | 139 | 
                }  | 
    
    
    
        | 140 | 
            }  | 
    
    
    
        | 141 | 
            if (global.cast_type == 1)  | 
    
    
    
        | 142 | 
            { | 
    
    
    
        | 143 | 
                g = 0;  | 
    
    
    
        | 144 | 
                draw_set_alpha(1);  | 
    
    
    
        | 145 | 
                scr_setfontscr_setfontvar 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);  | 
    
    
    
        | 146 | 
                draw_set_color(c_white);  | 
    
    
    
        | 147 | 
                draw_set_color(c_white);  | 
    
    
    
        | 148 | 
                mon = snowdrake;  | 
    
    
    
        | 149 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y - 70, SNOWDRAKEscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_snowdrake")   , namescale, namescale);  | 
    
    
    
        | 150 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y - 30, by Magnolia Porterscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_magnolia_porter")   , 1, 1);  | 
    
    
    
        | 151 | 
                if (global.flag[136 spared_snowdrake] == 0)  | 
    
    
    
        | 152 | 
                { | 
    
    
    
        | 153 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 154 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y + 210 + info_yofs, Still Looking#For Laughsscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_snowdrake")   , infoscale, infoscale);  | 
    
    
    
        | 155 | 
                }  | 
    
    
    
        | 156 | 
                else  | 
    
    
    
        | 157 | 
                { | 
    
    
    
        | 158 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 159 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y + 210 + info_yofs, Semi-successful#Comedianscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_snowdrake")   , infoscale, infoscale);  | 
    
    
    
        | 160 | 
                }  | 
    
    
    
        | 161 | 
                draw_set_color(c_white);  | 
    
    
    
        | 162 | 
                mon = icecap;  | 
    
    
    
        | 163 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y - 70, ICECAPscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_icecap")   , namescale, namescale);  | 
    
    
    
        | 164 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y - 30, by Magnolia Porterscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_magnolia_porter")   , 1, 1);  | 
    
    
    
        | 165 | 
                if (global.flag[137 spared_icecap] == 0)  | 
    
    
    
        | 166 | 
                { | 
    
    
    
        | 167 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 168 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y + 210 + info_yofs, Thinking#About Its Hatscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_icecap")   , infoscale, infoscale);  | 
    
    
    
        | 169 | 
                }  | 
    
    
    
        | 170 | 
                else  | 
    
    
    
        | 171 | 
                { | 
    
    
    
        | 172 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 173 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y + 210 + info_yofs, Fashion#Designerscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_icecap")   , infoscale, infoscale);  | 
    
    
    
        | 174 | 
                }  | 
    
    
    
        | 175 | 
                draw_set_color(c_white);  | 
    
    
    
        | 176 | 
                mon = gyftrot;  | 
    
    
    
        | 177 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y - 70, GYFTROTscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_gyftrot")   , namescale, namescale);  | 
    
    
    
        | 178 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y - 30, by Magnolia Porter (and Toby???)scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_magnolia_porter_and_toby")   , 1, 1);  | 
    
    
    
        | 179 | 
                if (global.flag[138 spared_gyftrot] == 0)  | 
    
    
    
        | 180 | 
                { | 
    
    
    
        | 181 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 182 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y + 210 + info_yofs, Finding Peace#And Quietscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_gyftrot")   , infoscale, infoscale);  | 
    
    
    
        | 183 | 
                }  | 
    
    
    
        | 184 | 
                else  | 
    
    
    
        | 185 | 
                { | 
    
    
    
        | 186 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 187 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y + 210 + info_yofs, Christmas#Displayscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_gyftrot")   , infoscale, infoscale);  | 
    
    
    
        | 188 | 
                }  | 
    
    
    
        | 189 | 
                draw_set_color(c_white);  | 
    
    
    
        | 190 | 
                mon = doggo;  | 
    
    
    
        | 191 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y - 70, DOGGOscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_doggo")   , namescale, namescale);  | 
    
    
    
        | 192 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y - 30, by Tobyscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_toby")   , 1, 1);  | 
    
    
    
        | 193 | 
                if (global.flag[139 spared_doggo] == 0)  | 
    
    
    
        | 194 | 
                { | 
    
    
    
        | 195 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 196 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y + 210 + info_yofs, Believes In The#Almighty Stickscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_doggo")   , infoscale, infoscale);  | 
    
    
    
        | 197 | 
                }  | 
    
    
    
        | 198 | 
                else  | 
    
    
    
        | 199 | 
                { | 
    
    
    
        | 200 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 201 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y + 210 + info_yofs, Has His Own#Seeing Eye Dogscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_doggo")   , infoscale, infoscale);  | 
    
    
    
        | 202 | 
                }  | 
    
    
    
        | 203 | 
                draw_set_color(c_white);  | 
    
    
    
        | 204 | 
                mon = dogamy;  | 
    
    
    
        | 205 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (320, mon.y - 70, DOGAMY  DOGARESSAscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_dogamy")   , namescale, namescale);  | 
    
    
    
        | 206 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (320, mon.y - 30, by Toby...?scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_toby_2")   , 1, 1);  | 
    
    
    
        | 207 | 
                if (global.flag[140 spared_nuzzle_champs] == 0)  | 
    
    
    
        | 208 | 
                { | 
    
    
    
        | 209 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 210 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (320, mon.y + 210 + info_yofs, Still Thinking#About That Stickscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_dogamy")   , infoscale, infoscale);  | 
    
    
    
        | 211 | 
                }  | 
    
    
    
        | 212 | 
                else  | 
    
    
    
        | 213 | 
                { | 
    
    
    
        | 214 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 215 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (320, mon.y + 210 + info_yofs, Finally No. 1 Nose#Nuzzle Championsscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_dogamy")   , infoscale, infoscale);  | 
    
    
    
        | 216 | 
                }  | 
    
    
    
        | 217 | 
                draw_set_color(c_white);  | 
    
    
    
        | 218 | 
                mon = lesserdog;  | 
    
    
    
        | 219 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x - 20, mon.y - 70, LESSER DOGscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_lesserdog")   , namescale, namescale);  | 
    
    
    
        | 220 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x - 20, mon.y - 30, by Temmie  Tobyscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_temmie_and_toby")   , 1, 1);  | 
    
    
    
        | 221 | 
                if (global.flag[141 spared_lesserdog] == 0)  | 
    
    
    
        | 222 | 
                { | 
    
    
    
        | 223 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 224 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x - 20, mon.y + 210 + info_yofs, Searching For#Affectionscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_lesserdog")   , infoscale, infoscale);  | 
    
    
    
        | 225 | 
                }  | 
    
    
    
        | 226 | 
                else  | 
    
    
    
        | 227 | 
                { | 
    
    
    
        | 228 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 229 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x - 20, mon.y + 210 + info_yofs, Found A Loving#Ownerscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_lesserdog")   , infoscale, infoscale);  | 
    
    
    
        | 230 | 
                }  | 
    
    
    
        | 231 | 
                draw_set_color(c_white);  | 
    
    
    
        | 232 | 
                mon = greaterdog;  | 
    
    
    
        | 233 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x + 20, mon.y - 70, GREATER DOGscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_greaterdog")   , namescale, namescale);  | 
    
    
    
        | 234 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x + 20, mon.y - 30, by Toby  Temmiescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_toby_and_temmie")   , 1, 1);  | 
    
    
    
        | 235 | 
                if (global.flag[142 spared_greatdog] == 0)  | 
    
    
    
        | 236 | 
                { | 
    
    
    
        | 237 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 238 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x + 20, mon.y + 210 + info_yofs, Unaware of Life's#Changesscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_greaterdog")   , infoscale, infoscale);  | 
    
    
    
        | 239 | 
                }  | 
    
    
    
        | 240 | 
                else  | 
    
    
    
        | 241 | 
                { | 
    
    
    
        | 242 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 243 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x + 20, mon.y + 210 + info_yofs, Excited by Life's#Changesscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_greaterdog")   , infoscale, infoscale);  | 
    
    
    
        | 244 | 
                }  | 
    
    
    
        | 245 | 
                if (view_yview[0] > 1920 && view_yview[0] < 1940)  | 
    
    
    
        | 246 | 
                    exper = 0;  | 
    
    
    
        | 247 | 
                if (view_yview[0] > 1940)  | 
    
    
    
        | 248 | 
                { | 
    
    
    
        | 249 | 
                    vol -= 0.02;  | 
    
    
    
        | 250 | 
                    caster_set_volume(all, vol);  | 
    
    
    
        | 251 | 
                    exper += 0.5;  | 
    
    
    
        | 252 | 
                    view_xview[0] -= exper;  | 
    
    
    
        | 253 | 
                    if (view_xview[0] < -600)  | 
    
    
    
        | 254 | 
                    { | 
    
    
    
        | 255 | 
                        do_room_goto = true;  | 
    
    
    
        | 256 | 
                        do_room_goto_target = room_end_beach;  | 
    
    
    
        | 257 | 
                    }  | 
    
    
    
        | 258 | 
                }  | 
    
    
    
        | 259 | 
            }  | 
    
    
    
        | 260 | 
            if (global.cast_type == 2)  | 
    
    
    
        | 261 | 
            { | 
    
    
    
        | 262 | 
                g = 0;  | 
    
    
    
        | 263 | 
                draw_set_alpha(1);  | 
    
    
    
        | 264 | 
                scr_setfontscr_setfontvar 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);  | 
    
    
    
        | 265 | 
                draw_set_color(c_white);  | 
    
    
    
        | 266 | 
                draw_set_color(c_white);  | 
    
    
    
        | 267 | 
                mon = aaron;  | 
    
    
    
        | 268 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y - 70, AARONscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_aaron")   , namescale, namescale);  | 
    
    
    
        | 269 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y - 30, by Temmie (reluctantly)scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_temmie_2")   , 1, 1);  | 
    
    
    
        | 270 | 
                if (global.flag[95 aaron_woshua_event] == 0)  | 
    
    
    
        | 271 | 
                { | 
    
    
    
        | 272 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 273 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y + 210 + info_yofs, Still Flexingscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_aaron")   , infoscale, infoscale);  | 
    
    
    
        | 274 | 
                }  | 
    
    
    
        | 275 | 
                else  | 
    
    
    
        | 276 | 
                { | 
    
    
    
        | 277 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 278 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y + 210 + info_yofs, Paranormal#Investigatorscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_aaron")   , infoscale, infoscale);  | 
    
    
    
        | 279 | 
                }  | 
    
    
    
        | 280 | 
                draw_set_color(c_white);  | 
    
    
    
        | 281 | 
                mon = moldbygg;  | 
    
    
    
        | 282 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y - 70, MOLDBYGGscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_moldbygg")   , namescale, namescale);  | 
    
    
    
        | 283 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y - 30, by Tobyscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_toby")   , 1, 1);  | 
    
    
    
        | 284 | 
                if (global.flag[144 spared_moldsmalx] == 0)  | 
    
    
    
        | 285 | 
                { | 
    
    
    
        | 286 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 287 | 
                    var moldbygg_w_infoscale_x = 1.5;  | 
    
    
    
        | 288 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y + 210 + info_yofs, Wistfully Adjusting#to City Lifescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_moldbygg")   , moldbygg_w_infoscale_x, infoscale);  | 
    
    
    
        | 289 | 
                }  | 
    
    
    
        | 290 | 
                else  | 
    
    
    
        | 291 | 
                { | 
    
    
    
        | 292 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 293 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y + 210 + info_yofs, Idyllic Life#on the Beachscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_moldbygg")   , infoscale, infoscale);  | 
    
    
    
        | 294 | 
                }  | 
    
    
    
        | 295 | 
                draw_set_color(c_white);  | 
    
    
    
        | 296 | 
                mon = woshua;  | 
    
    
    
        | 297 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y - 70, WOSHUAscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_woshua")   , namescale, namescale);  | 
    
    
    
        | 298 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y - 30, Inspired by OMOCATscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_extra_woshua")   , 1, 1);  | 
    
    
    
        | 299 | 
                if (global.flag[145 spared_woshua] == 0)  | 
    
    
    
        | 300 | 
                { | 
    
    
    
        | 301 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 302 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y + 110 + info_yofs, Normal#Janitorscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_woshua")   , infoscale, infoscale);  | 
    
    
    
        | 303 | 
                }  | 
    
    
    
        | 304 | 
                else  | 
    
    
    
        | 305 | 
                { | 
    
    
    
        | 306 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 307 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y + 110 + info_yofs, Legendary#Janitorscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_woshua")   , infoscale, infoscale);  | 
    
    
    
        | 308 | 
                }  | 
    
    
    
        | 309 | 
                draw_set_color(c_white);  | 
    
    
    
        | 310 | 
                mon = temmie;  | 
    
    
    
        | 311 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y - 70, TEMMIEscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_temmie")   , namescale, namescale);  | 
    
    
    
        | 312 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y - 30, Temmiescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_extra_temmie")   , 1, 1);  | 
    
    
    
        | 313 | 
                if (global.flag[146 spared_temmie] == 0)  | 
    
    
    
        | 314 | 
                { | 
    
    
    
        | 315 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 316 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y + 110 + info_yofs, Temmiescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_temmie")   , infoscale, infoscale);  | 
    
    
    
        | 317 | 
                }  | 
    
    
    
        | 318 | 
                else  | 
    
    
    
        | 319 | 
                { | 
    
    
    
        | 320 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 321 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y + 110 + info_yofs, Temmiescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_temmie")   , infoscale, infoscale);  | 
    
    
    
        | 322 | 
                }  | 
    
    
    
        | 323 | 
                draw_set_color(c_white);  | 
    
    
    
        | 324 | 
                mon = maddummy;  | 
    
    
    
        | 325 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y - 70, MAD DUMMYscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_maddummy")   , namescale, namescale);  | 
    
    
    
        | 326 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y - 30, by Tobyscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_toby")   , 1, 1);  | 
    
    
    
        | 327 | 
                if (global.flag[147 spared_maddummy] == 0)  | 
    
    
    
        | 328 | 
                { | 
    
    
    
        | 329 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 330 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y + 210 + info_yofs, Changed Name to#Angry Dummyscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_maddummy")   , infoscale, infoscale);  | 
    
    
    
        | 331 | 
                }  | 
    
    
    
        | 332 | 
                else  | 
    
    
    
        | 333 | 
                { | 
    
    
    
        | 334 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 335 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y + 210 + info_yofs, Calmed Down...#Just a Bitscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_maddummy")   , infoscale, infoscale);  | 
    
    
    
        | 336 | 
                }  | 
    
    
    
        | 337 | 
                draw_set_color(c_white);  | 
    
    
    
        | 338 | 
                mon = shyren;  | 
    
    
    
        | 339 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y - 70, SHYRENscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_shyren")   , namescale, namescale);  | 
    
    
    
        | 340 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y - 30, by Tobyscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_toby")   , 1, 1);  | 
    
    
    
        | 341 | 
                if (global.flag[81 status_shyren] != 2)  | 
    
    
    
        | 342 | 
                { | 
    
    
    
        | 343 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 344 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y + 210 + info_yofs, Taking Piano#Lessons Againscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_shyren")   , infoscale, infoscale);  | 
    
    
    
        | 345 | 
                }  | 
    
    
    
        | 346 | 
                else  | 
    
    
    
        | 347 | 
                { | 
    
    
    
        | 348 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 349 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y + 210, Released Her First Hit Single,#"When You Say Goodbye#It's Like Magical Bullets#Are Slowly Flying Out of#Your Mouth And Hitting Me"scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_shyren")   , 1, 1);  | 
    
    
    
        | 350 | 
                }  | 
    
    
    
        | 351 | 
                if (view_yview[0] > 1220 && view_yview[0] < 1240)  | 
    
    
    
        | 352 | 
                    exper = 0;  | 
    
    
    
        | 353 | 
                if (view_yview[0] > 1240)  | 
    
    
    
        | 354 | 
                { | 
    
    
    
        | 355 | 
                    vol -= 0.02;  | 
    
    
    
        | 356 | 
                    caster_set_volume(all, vol);  | 
    
    
    
        | 357 | 
                    exper += 0.2;  | 
    
    
    
        | 358 | 
                    view_yview[0] += exper;  | 
    
    
    
        | 359 | 
                    if (view_yview[0] > (shyren.y + 300))  | 
    
    
    
        | 360 | 
                    { | 
    
    
    
        | 361 | 
                        do_room_goto = true;  | 
    
    
    
        | 362 | 
                        do_room_goto_target = room_end_metta;  | 
    
    
    
        | 363 | 
                    }  | 
    
    
    
        | 364 | 
                }  | 
    
    
    
        | 365 | 
            }  | 
    
    
    
        | 366 | 
            if (global.cast_type == 3)  | 
    
    
    
        | 367 | 
            { | 
    
    
    
        | 368 | 
                g = 0;  | 
    
    
    
        | 369 | 
                draw_set_alpha(1);  | 
    
    
    
        | 370 | 
                scr_setfontscr_setfontvar 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);  | 
    
    
    
        | 371 | 
                draw_set_color(c_white);  | 
    
    
    
        | 372 | 
                mon = vulkin;  | 
    
    
    
        | 373 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y - 70 - 100, VULKINscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_vulkin")   , namescale, namescale);  | 
    
    
    
        | 374 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y - 30 - 100, by Magnolia Porterscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_magnolia_porter")   , 1, 1);  | 
    
    
    
        | 375 | 
                if (global.flag[148 spared_vulkin] == 0)  | 
    
    
    
        | 376 | 
                { | 
    
    
    
        | 377 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 378 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, ((mon.y + 210) - 100) + info_yofs, Strolling#Happilyscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_vulkin")   , infoscale, infoscale);  | 
    
    
    
        | 379 | 
                }  | 
    
    
    
        | 380 | 
                else  | 
    
    
    
        | 381 | 
                { | 
    
    
    
        | 382 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 383 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, ((mon.y + 210) - 100) + info_yofs, Encouraging#Space Heaterscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_vulkin")   , infoscale, infoscale);  | 
    
    
    
        | 384 | 
                }  | 
    
    
    
        | 385 | 
                draw_set_color(c_white);  | 
    
    
    
        | 386 | 
                mon = tsunderplane;  | 
    
    
    
        | 387 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y - 70, TSUNDERPLANEscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_tsunderplane")   , namescale, namescale);  | 
    
    
    
        | 388 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y - 30, by Tobyscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_toby")   , 1, 1);  | 
    
    
    
        | 389 | 
                if (global.flag[149 spared_tsunderplane] == 0)  | 
    
    
    
        | 390 | 
                { | 
    
    
    
        | 391 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 392 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y + 210 + info_yofs, New Student#At Schoolscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_tsunderplane")   , infoscale, infoscale);  | 
    
    
    
        | 393 | 
                }  | 
    
    
    
        | 394 | 
                else  | 
    
    
    
        | 395 | 
                { | 
    
    
    
        | 396 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 397 | 
                    var tsunderplane_y_infoscale_x = 1.5;  | 
    
    
    
        | 398 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y + 210 + info_yofs, Finally Confesses#(What!? I don't!!)scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_tsunderplane")   , tsunderplane_y_infoscale_x, infoscale);  | 
    
    
    
        | 399 | 
                }  | 
    
    
    
        | 400 | 
                draw_set_color(c_white);  | 
    
    
    
        | 401 | 
                mon = pyrope;  | 
    
    
    
        | 402 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y - 70, PYROPEscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_pyrope")   , namescale, namescale);  | 
    
    
    
        | 403 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y - 30, by Tobyscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_toby")   , 1, 1);  | 
    
    
    
        | 404 | 
                if (global.flag[150 spared_pyrope] == 0)  | 
    
    
    
        | 405 | 
                { | 
    
    
    
        | 406 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 407 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y + 210 + info_yofs, Continually#In Troublescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_pyrope")   , infoscale, infoscale);  | 
    
    
    
        | 408 | 
                }  | 
    
    
    
        | 409 | 
                else  | 
    
    
    
        | 410 | 
                { | 
    
    
    
        | 411 | 
                    var pyrope_y_infoscale_x = 1.5;  | 
    
    
    
        | 412 | 
                    var pyrope_y_infoscale_y = 1.5;  | 
    
    
    
        | 413 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 414 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y + 210 + info_yofs, Candle In The#World's Largest#Birthday Cakescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_pyrope")   , pyrope_y_infoscale_x, pyrope_y_infoscale_y);  | 
    
    
    
        | 415 | 
                }  | 
    
    
    
        | 416 | 
                draw_set_color(c_white);  | 
    
    
    
        | 417 | 
                mon = muffet;  | 
    
    
    
        | 418 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y - 70, MUFFETscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_muffet")   , namescale, namescale);  | 
    
    
    
        | 419 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y - 30, by Michellescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_michelle")   , 1, 1);  | 
    
    
    
        | 420 | 
                draw_set_color(c_yellow);  | 
    
    
    
        | 421 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y + 210 + info_yofs, Spider Success#With a New Bakeryscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_muffet")   , infoscale, infoscale);  | 
    
    
    
        | 422 | 
                draw_set_color(c_white);  | 
    
    
    
        | 423 | 
                mon = knighta;  | 
    
    
    
        | 424 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (320, mon.y - 70, ROYAL GUARDSscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_royalguards")   , namescale, namescale);  | 
    
    
    
        | 425 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (320, mon.y - 30, by Tobyscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_toby")   , 1, 1);  | 
    
    
    
        | 426 | 
                draw_set_color(c_yellow);  | 
    
    
    
        | 427 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (320, mon.y + 210 + info_yofs, Use Your#Imaginationscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_royalguards")   , infoscale, infoscale);  | 
    
    
    
        | 428 | 
                draw_set_color(c_white);  | 
    
    
    
        | 429 | 
                mon = finalfroggit;  | 
    
    
    
        | 430 | 
                var ff_namescale_x = 2;  | 
    
    
    
        | 431 | 
                if (global.language == "ja")  | 
    
    
    
        | 432 | 
                    ff_namescale_x = 2;  | 
    
    
    
        | 433 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y - 90, FINAL FROGGITscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_finalfroggit")   , ff_namescale_x, namescale);  | 
    
    
    
        | 434 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y - 50, by Tobyscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_toby")   , 1, 1);  | 
    
    
    
        | 435 | 
                if (global.flag[151 spared_finalfroggit] == 0)  | 
    
    
    
        | 436 | 
                { | 
    
    
    
        | 437 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 438 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y + 110 + info_yofs, Searching For#Life's Meaningscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_finalfroggit")   , infoscale, infoscale);  | 
    
    
    
        | 439 | 
                }  | 
    
    
    
        | 440 | 
                else  | 
    
    
    
        | 441 | 
                { | 
    
    
    
        | 442 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 443 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y + 110 + info_yofs, Giving Life#Its Own Meaningscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_finalfroggit")   , infoscale, infoscale);  | 
    
    
    
        | 444 | 
                }  | 
    
    
    
        | 445 | 
                draw_set_color(c_white);  | 
    
    
    
        | 446 | 
                mon = whimsalot;  | 
    
    
    
        | 447 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y - 90, WHIMSALOTscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_whimsalot")   , namescale, namescale);  | 
    
    
    
        | 448 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y - 50, by Tobyscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_toby")   , 1, 1);  | 
    
    
    
        | 449 | 
                if (global.flag[152 spared_whimsalot] == 0)  | 
    
    
    
        | 450 | 
                { | 
    
    
    
        | 451 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 452 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y + 110 + info_yofs, Fighting For#The Futurescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_whimsalot")   , infoscale, infoscale);  | 
    
    
    
        | 453 | 
                }  | 
    
    
    
        | 454 | 
                else  | 
    
    
    
        | 455 | 
                { | 
    
    
    
        | 456 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 457 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col2_x, mon.y + 110 + info_yofs, The Long Battle#Finally Ending...scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_whimsalot")   , infoscale, infoscale);  | 
    
    
    
        | 458 | 
                }  | 
    
    
    
        | 459 | 
                draw_set_color(c_white);  | 
    
    
    
        | 460 | 
                mon = astigmatism;  | 
    
    
    
        | 461 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (320, mon.y - 70, ASTIGMATISMscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_astigmatism")   , namescale, namescale);  | 
    
    
    
        | 462 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (320, mon.y - 30, by Tobyscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_toby")   , 1, 1);  | 
    
    
    
        | 463 | 
                if (global.flag[153 spared_astigmatism] == 0)  | 
    
    
    
        | 464 | 
                { | 
    
    
    
        | 465 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 466 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (320, mon.y + 110 + info_yofs, Still A Big#Bullyscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_astigmatism")   , infoscale, infoscale);  | 
    
    
    
        | 467 | 
                }  | 
    
    
    
        | 468 | 
                else  | 
    
    
    
        | 469 | 
                { | 
    
    
    
        | 470 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 471 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (320, mon.y + 110 + info_yofs, Domineering#Glasses Sellerscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_astigmatism")   , infoscale, infoscale);  | 
    
    
    
        | 472 | 
                }  | 
    
    
    
        | 473 | 
                draw_set_color(c_white);  | 
    
    
    
        | 474 | 
                mon = madjick;  | 
    
    
    
        | 475 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y - 70, MADJICKscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_madjick")   , namescale, namescale);  | 
    
    
    
        | 476 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y - 30, by Tobyscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_toby")   , 1, 1);  | 
    
    
    
        | 477 | 
                if (global.flag[154 spared_madjick] == 0)  | 
    
    
    
        | 478 | 
                { | 
    
    
    
        | 479 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 480 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y + 210 + info_yofs, Learning#Bowlingscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_madjick")   , infoscale, infoscale);  | 
    
    
    
        | 481 | 
                }  | 
    
    
    
        | 482 | 
                else  | 
    
    
    
        | 483 | 
                { | 
    
    
    
        | 484 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 485 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (col1_x, mon.y + 210 + info_yofs, Street#Magicianscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_madjick")   , infoscale, infoscale);  | 
    
    
    
        | 486 | 
                }  | 
    
    
    
        | 487 | 
                draw_set_color(c_white);  | 
    
    
    
        | 488 | 
                mon = knightknight;  | 
    
    
    
        | 489 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (460, mon.y - 70, KNIGHT KNIGHTscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_knightknight")   , namescale, namescale);  | 
    
    
    
        | 490 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (460, mon.y - 30, by Tobyscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_by_toby")   , 1, 1);  | 
    
    
    
        | 491 | 
                if (global.flag[155 spared_finalknight] == 0)  | 
    
    
    
        | 492 | 
                { | 
    
    
    
        | 493 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 494 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (460, mon.y + 210 + info_yofs, Retail Jobscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_knightknight")   , infoscale, infoscale);  | 
    
    
    
        | 495 | 
                }  | 
    
    
    
        | 496 | 
                else  | 
    
    
    
        | 497 | 
                { | 
    
    
    
        | 498 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 499 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (460, mon.y + 210 + info_yofs, Taking a Well-#Deserved Napscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_knightknight")   , infoscale, infoscale);  | 
    
    
    
        | 500 | 
                }  | 
    
    
    
        | 501 | 
                draw_set_color(c_white);  | 
    
    
    
        | 502 | 
                mon = amalgamate1;  | 
    
    
    
        | 503 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (320, mon.y - 70, AMALGAMATESscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_name_amalgamates")   , namescale, namescale);  | 
    
    
    
        | 504 | 
                scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (320, mon.y - 30, ??????scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_extra_amalgamates")   , 1, 1);  | 
    
    
    
        | 505 | 
                if (global.flag[156 spared_endogeny] == 0)  | 
    
    
    
        | 506 | 
                { | 
    
    
    
        | 507 | 
                    draw_set_color(c_white);  | 
    
    
    
        | 508 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (320, mon.y + 210 + info_yofs, Living With#Their Families,#Thinking About#Sticksscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_white_amalgamates")   , infoscale, infoscale);  | 
    
    
    
        | 509 | 
                }  | 
    
    
    
        | 510 | 
                else  | 
    
    
    
        | 511 | 
                { | 
    
    
    
        | 512 | 
                    draw_set_color(c_yellow);  | 
    
    
    
        | 513 | 
                    scr_drawtext_centered_scaledscr_drawtext_centered_scaledvar 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);  (320, mon.y + 210 + info_yofs, Living With#Their Familiesscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
    text = "";
if (global.language == "ja")
{
    var loc_text = ds_map_find_value(global.text_data_ja, text_id);
    if (!is_undefined(loc_text))
        text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
    if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
    {
        var sel = string_char_at(text, i + 2);
        var replace;
        if (sel == "C")
            replace = global.charname;
        else if (sel == "G")
            replace = string(global.gold);
        else if (sel == "I")
            replace = global.itemname[global.menucoord[1]];
        else if (sel == "1" && argument_count > 1)
            replace = argument[1];
        else if (sel == "2" && argument_count > 2)
            replace = argument[2];
        else if (sel == "3" && argument_count > 3)
            replace = argument[3];
        else if (sel == "4" && argument_count > 4)
            replace = argument[4];
        else if (sel == "5" && argument_count > 5)
            replace = argument[5];
        else if (sel == "6" && argument_count > 6)
            replace = argument[6];
        else if (sel == "7" && argument_count > 7)
            replace = argument[7];
        else if (sel == "8" && argument_count > 8)
            replace = argument[8];
        else if (sel == "9" && argument_count > 9)
            replace = argument[9];
        else
            replace = "";
        var before = string_copy(text, 1, i - 1);
        var after = string_copy(text, i + 4, string_length(text));
        text = before + replace + after;
        i += (string_length(replace) - 1);
    }
}
return text;  ("castroll_yellow_amalgamates")   , infoscale, infoscale);  | 
    
    
    
        | 514 | 
                }  | 
    
    
    
        | 515 | 
                if (view_yview[0] > 3000 && view_yview[0] < 3040)  | 
    
    
    
        | 516 | 
                    exper = 0;  | 
    
    
    
        | 517 | 
                if (view_yview[0] > 3040)  | 
    
    
    
        | 518 | 
                { | 
    
    
    
        | 519 | 
                    exper += 0.5;  | 
    
    
    
        | 520 | 
                    view_xview[0] += exper;  | 
    
    
    
        | 521 | 
                    vol -= 0.02;  | 
    
    
    
        | 522 | 
                    caster_set_volume(all, vol);  | 
    
    
    
        | 523 | 
                    if (view_xview[0] > 640)  | 
    
    
    
        | 524 | 
                    { | 
    
    
    
        | 525 | 
                        do_room_goto = true;  | 
    
    
    
        | 526 | 
                        do_room_goto_target = room_end_school;  | 
    
    
    
        | 527 | 
                    }  | 
    
    
    
        | 528 | 
                }  | 
    
    
    
        | 529 | 
            }  | 
    
    
    
        | 530 | 
        }  |