Deltarune (Chapter 1) script viewer

← back to main script listing

gml_GlobalScript_scr_texttype

(view raw script w/o annotations or w/e)
1
function 
scr_texttype
scr_texttype

function
scr_texttype()
{ textscale = 1; var extra_ja_vspace = 0; if (!variable_global_exists("chemg_typer")) global.chemg_typer = -1; if (global.chemg_typer != global.typer) global.chemg_typer = global.typer; var font_set = true; switch (global.typer) { case 0: font_set = false; break; case 1:
scr_textsetup(
scr_84_get_font("main"), c_white, x, y, 33, 0, 1, snd_text, 8, 18, 0);
break; case 2:
scr_textsetup(
scr_84_get_font("main"), c_white, x, y, 33, 0, 2, snd_nosound, 8, 18, 0);
break; case 3:
scr_textsetup(
scr_84_get_font("main"), c_white, x, y, 33, 0, 2, snd_text, 8, 18, 1);
break; case 4:
scr_textsetup(
scr_84_get_font("mainbig"), c_white, x, y, 33, 0, 1, snd_text, 16, 28, 1);
extra_ja_vspace = 2; break; case 5:
scr_textsetup(
scr_84_get_font("main"), c_white, x, y, 33, 0, 1, snd_text, 8, 18, 0);
break; case 6:
scr_textsetup(
scr_84_get_font("mainbig"), c_white, x, y, 33, 0, 1, snd_text, 16, 36, 1);
break; case 7:
scr_textsetup(
scr_84_get_font("main"), c_white, x, y, 33, 0, 1, snd_txttor, 8, 18, 0);
break; case 8:
scr_textsetup(
scr_84_get_font("main"), c_white, x, y, 33, 0, 2, snd_txttor, 8, 18, 0);
break; case 10:
scr_textsetup(
scr_84_get_font("main"), c_white, x, y, 33, 0, 1, snd_txtsus, 8, 18, 0);
break; case 11:
scr_textsetup(
scr_84_get_font("main"), c_white, x, y, 33, 0, 1, snd_txtsus, 8, 18, 0);
break; case 12:
scr_textsetup(
scr_84_get_font("main"), c_white, x, y, 33, 0, 1, snd_txtnoe, 8, 18, 0);
break; case 13:
scr_textsetup(
scr_84_get_font("main"), c_white, x, y, 33, 0, 1, snd_txtber, 8, 18, 0);
break; case 14:
scr_textsetup(
scr_84_get_font("comicsans"), c_white, x, y, 33, 0, 1, snd_txtsans, 8, 18, 0);
break; case 15:
scr_textsetup(
scr_84_get_font("main"), c_white, x, y, 33, 0, 1, snd_text, 8, 18, 0);
break; case 16: font_set = false; break; case 17:
scr_textsetup(
scr_84_get_font("main"), c_white, x, y, 33, 0, 1, snd_txtund, 8, 18, 0);
break; case 18:
scr_textsetup(
scr_84_get_font("main"), c_white, x, y, 33, 0, 1, snd_txtasg, 8, 18, 0);
break; case 19:
scr_textsetup(
scr_84_get_font("main"), c_white, x, y, 33, 0, 1, snd_text, 8, 18, 0);
break; case 20:
scr_textsetup(
scr_84_get_font("main"), c_white, x, y, 33, 0, 1, snd_txtal, 8, 18, 0);
break; case 21:
scr_textsetup(
scr_84_get_font("main"), c_white, x, y, 33, 0, 1, snd_txtal, 8, 18, 0);
break; case 22:
scr_textsetup(
scr_84_get_font("tinynoelle"), c_white, x, y + 7, 33, 0, 1, snd_txtal, 6, 18, 0);
break; case 23:
scr_textsetup(
scr_84_get_font("tinynoelle"), c_white, x, y + 7, 33, 0, 1, snd_txtnoe, 6, 18, 0);
break; case 30:
scr_textsetup(
scr_84_get_font("mainbig"), c_white, x, y, 33, 0, 1, snd_txtsus, 16, 36, 1);
break; case 31:
scr_textsetup(
scr_84_get_font("mainbig"), c_white, x, y, 33, 0, 1, snd_txtral, 16, 36, 1);
break; case 32:
scr_textsetup(
scr_84_get_font("mainbig"), c_white, x, y, 33, 0, 1, snd_txtlan, 16, 36, 1);
break; case 33:
scr_textsetup(
scr_84_get_font("mainbig"), c_white, x, y, 33, 0, 1, snd_dadtxt, 16, 36, 1);
break; case 35:
scr_textsetup(
scr_84_get_font("mainbig"), c_white, x, y, 33, 0, 1, snd_txtjok, 16, 36, 1);
break; case 36:
scr_textsetup(
scr_84_get_font("mainbig"), c_white, x, y, 33, 0, 1, snd_nosound, 16, 36, 1);
break; case 37:
scr_textsetup(
scr_84_get_font("mainbig"), c_white, x, y, 33, 0, 3, snd_txtsus, 18, 36, 1);
...
()
2
{
3
    textscale = 1;
4
    var extra_ja_vspace = 0;
5
    if (!variable_global_exists("chemg_typer"))
6
        global.chemg_typer = -1;
7
    if (global.chemg_typer != global.typer)
8
        global.chemg_typer = global.typer;
9
    var font_set = true;
10
    switch (global.typer)
11
    {
12
        case 0:
13
            font_set = false;
14
            break;
15
        case 1:
16
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("main"), c_white, x, y, 33, 0, 1, snd_text, 8, 18, 0);
17
            break;
18
        case 2:
19
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("main"), c_white, x, y, 33, 0, 2, snd_nosound, 8, 18, 0);
20
            break;
21
        case 3:
22
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("main"), c_white, x, y, 33, 0, 2, snd_text, 8, 18, 1);
23
            break;
24
        case 4:
25
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("mainbig"), c_white, x, y, 33, 0, 1, snd_text, 16, 28, 1);
26
            extra_ja_vspace = 2;
27
            break;
28
        case 5:
29
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("main"), c_white, x, y, 33, 0, 1, snd_text, 8, 18, 0);
30
            break;
31
        case 6:
32
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("mainbig"), c_white, x, y, 33, 0, 1, snd_text, 16, 36, 1);
33
            break;
34
        case 7:
35
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("main"), c_white, x, y, 33, 0, 1, snd_txttor, 8, 18, 0);
36
            break;
37
        case 8:
38
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("main"), c_white, x, y, 33, 0, 2, snd_txttor, 8, 18, 0);
39
            break;
40
        case 10:
41
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("main"), c_white, x, y, 33, 0, 1, snd_txtsus, 8, 18, 0);
42
            break;
43
        case 11:
44
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("main"), c_white, x, y, 33, 0, 1, snd_txtsus, 8, 18, 0);
45
            break;
46
        case 12:
47
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("main"), c_white, x, y, 33, 0, 1, snd_txtnoe, 8, 18, 0);
48
            break;
49
        case 13:
50
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("main"), c_white, x, y, 33, 0, 1, snd_txtber, 8, 18, 0);
51
            break;
52
        case 14:
53
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("comicsans"), c_white, x, y, 33, 0, 1, snd_txtsans, 8, 18, 0);
54
            break;
55
        case 15:
56
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("main"), c_white, x, y, 33, 0, 1, snd_text, 8, 18, 0);
57
            break;
58
        case 16:
59
            font_set = false;
60
            break;
61
        case 17:
62
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("main"), c_white, x, y, 33, 0, 1, snd_txtund, 8, 18, 0);
63
            break;
64
        case 18:
65
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("main"), c_white, x, y, 33, 0, 1, snd_txtasg, 8, 18, 0);
66
            break;
67
        case 19:
68
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("main"), c_white, x, y, 33, 0, 1, snd_text, 8, 18, 0);
69
            break;
70
        case 20:
71
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("main"), c_white, x, y, 33, 0, 1, snd_txtal, 8, 18, 0);
72
            break;
73
        case 21:
74
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("main"), c_white, x, y, 33, 0, 1, snd_txtal, 8, 18, 0);
75
            break;
76
        case 22:
77
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("tinynoelle"), c_white, x, y + 7, 33, 0, 1, snd_txtal, 6, 18, 0);
78
            break;
79
        case 23:
80
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("tinynoelle"), c_white, x, y + 7, 33, 0, 1, snd_txtnoe, 6, 18, 0);
81
            break;
82
        case 30:
83
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("mainbig"), c_white, x, y, 33, 0, 1, snd_txtsus, 16, 36, 1);
84
            break;
85
        case 31:
86
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("mainbig"), c_white, x, y, 33, 0, 1, snd_txtral, 16, 36, 1);
87
            break;
88
        case 32:
89
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("mainbig"), c_white, x, y, 33, 0, 1, snd_txtlan, 16, 36, 1);
90
            break;
91
        case 33:
92
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("mainbig"), c_white, x, y, 33, 0, 1, snd_dadtxt, 16, 36, 1);
93
            break;
94
        case 35:
95
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("mainbig"), c_white, x, y, 33, 0, 1, snd_txtjok, 16, 36, 1);
96
            break;
97
        case 36:
98
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("mainbig"), c_white, x, y, 33, 0, 1, snd_nosound, 16, 36, 1);
99
            break;
100
        case 37:
101
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("mainbig"), c_white, x, y, 33, 0, 3, snd_txtsus, 18, 36, 1);
102
            break;
103
        case 40:
104
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("main"), c_white, x, y, 33, 0, 2, snd_nosound, 8, 18, 0);
105
            break;
106
        case 41:
107
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("main"), c_white, x, y, 33, 0, 3, snd_nosound, 8, 18, 0);
108
            break;
109
        case 42:
110
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("mainbig"), c_white, x, y, 33, 0, 2, snd_nosound, 16, 36, 1);
111
            break;
112
        case 45:
113
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("mainbig"), c_white, x, y, 33, 0, 1, snd_txtral, 16, 28, 1);
114
            extra_ja_vspace = 2;
115
            break;
116
        case 46:
117
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("mainbig"), c_white, x, y, 33, 0, 1, snd_txtlan, 16, 28, 1);
118
            extra_ja_vspace = 2;
119
            break;
120
        case 47:
121
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("mainbig"), c_white, x, y, 33, 0, 1, snd_txtsus, 16, 28, 1);
122
            extra_ja_vspace = 2;
123
            break;
124
        case 48:
125
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("mainbig"), c_white, x, y, 33, 0, 1, snd_dadtxt, 16, 28, 1);
126
            extra_ja_vspace = 2;
127
            break;
128
        case 50:
129
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("dotumche"), c_black, x, y, 33, 0, 1, snd_text, 9, 20, 0);
130
            break;
131
        case 51:
132
            if (global.lang == "ja")
133
                
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("mainbig"), c_white, x, y, 33, 0, 14, snd_text, 16, 36, 1);
134
            else
135
                
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("mainbig"), c_white, x, y, 33, 0, 10, snd_text, 16, 36, 1);
136
            break;
137
        case 52:
138
            if (global.lang == "ja")
139
                
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("mainbig"), c_white, x, y, 33, 0, 6, snd_text, 16, 36, 1);
140
            else
141
                
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("mainbig"), c_white, x, y, 33, 0, 4, snd_text, 16, 36, 1);
142
            break;
143
        case 53:
144
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("dotumche"), c_black, x, y, 33, 0, 1, snd_txtsus, 9, 20, 0);
145
            break;
146
        case 54:
147
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("dotumche"), c_black, x, y, 33, 0, 2, snd_txtsus, 9, 20, 0);
148
            break;
149
        case 55:
150
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("main"), c_white, x, y, 33, 0, 1, snd_txtrud, 8, 18, 0);
151
            break;
152
        case 60:
153
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("main"), c_white, x, y, 33, 0, 8, snd_nosound, 8, 18, 0);
154
            break;
155
        case 666:
156
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("main"), c_white, x, y, 33, 0, 4, snd_nosound, 12, 20, 2);
157
            break;
158
        case 667:
159
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("main"), c_white, x, y, 33, 0, 2, snd_nosound, 12, 20, 2);
160
            break;
161
        case 999:
162
            
scr_textsetup
scr_textsetup

function
scr_textsetup(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
{ myfont = arg0; mycolor = arg1; writingx = arg2; writingy = arg3; charline = arg4; shake = arg5; rate = arg6; textsound = arg7; hspace = arg8; vspace = arg9; special = arg10; colorchange = 1; xcolor = mycolor; }
(
scr_84_get_font
scr_84_get_font

function
scr_84_get_font(arg0)
{ if (!variable_global_exists("chemg_last_get_font")) global.chemg_last_get_font = ""; if (arg0 != global.chemg_last_get_font) global.chemg_last_get_font = arg0; return ds_map_find_value(global.font_map, arg0); }
("main"), c_white, x, y, 33, 0, 4, snd_txtecho, 8, 18, 3);
163
            break;
164
        default:
165
            font_set = false;
166
            break;
167
    }
168
    if (font_set && global.lang == "ja")
169
    {
170
        if (myfont == 1)
171
        {
172
            hspace = ((hspace * 26) / 16) + 1;
173
            if (vspace == 32)
174
                vspace = 36;
175
        }
176
        else if (myfont == 10)
177
        {
178
            hspace = ((hspace * 13) / 8) + 1;
179
        }
180
        else if (myfont == 0)
181
        {
182
            textscale = 0.5;
183
            hspace = ((hspace * 13) / 8) + 3;
184
        }
185
        else if (myfont == 2)
186
        {
187
            hspace = ((hspace * 13) / 8) + 1;
188
        }
189
        else if (myfont == 9)
190
        {
191
            hspace = ((hspace * 26) / 16) + 1;
192
        }
193
        else if (myfont == 8)
194
        {
195
            hspace = ((hspace * 13) / 8) + 1;
196
        }
197
        vspace += extra_ja_vspace;
198
    }
199
}