Deltarune (Chapter 4) script viewer

← back to main script listing

gml_GlobalScript_scr_spelltext

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

function
scr_spelltext(arg0, arg1)
{ spell = arg0; caster = arg1; star = global.chartarget[arg1]; spelltext = " "; switch (spell) { case 0: break; case 1: global.msg[0] = stringsetsubloc("* ~1 cast RUDE BUSTER!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_14_0"); break; case 2: global.msg[0] = stringsetsubloc("* ~1 cast HEAL PRAYER!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_18_0"); break; case 3: global.msg[0] = stringsetsubloc("* ~1 cast PACIFY!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_23_0");
scr_retarget_spell();
if (global.monster[star] == 1) { if (global.monsterstatus[star] == 1) { } else { global.msg[0] = stringsetsubloc("* ~1 cast PACIFY^1!&* But the enemy wasn't \\cBTIRED\\cW.../%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_33_0"); if (global.mercymod[star] >= 100) global.msg[0] = stringsetsubloc("* ~1 cast PACIFY^1!&* But the foe wasn't \\cBTIRED\\cW... try \\cYSPARING\\cW!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_36_0"); } } break; case 4: global.msg[0] = stringsetsubloc("* ~1 used RUDE BUSTER!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_43_0"); break; case 5: global.msg[0] = stringsetsubloc("* ~1 used RED BUSTER!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_47_0"); break; case 6: global.msg[0] = stringsetsubloc("* ~1 and Susie cast DUAL HEAL!/%", global.charname[2], "scr_spelltext_slash_scr_spelltext_gml_51_0"); if ((i_ex(obj_titan_enemy) && obj_titan_enemy.dualhealcount < 4) || (i_ex(obj_titan_spawn_enemy) && obj_titan_spawn_enemy.dualhealcount < 4)) global.msg[0] = stringsetsubloc("* ~1 and Susie cast DUAL HEAL! Effectiveness of DUAL HEAL has lowered!/%", global.charname[2], "scr_spelltext_slash_scr_spelltext_gml_58_0_b"); break; case 8: global.msg[0] = stringsetsubloc("* ~1 cast SLEEPMIST!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_55_0"); break; case 9: global.msg[0] = stringsetsubloc("* ~1 cast ICESHOCK!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_59_0"); break; case 10: global.msg[0] = stringsetsubloc("* ~1 cast SNOWGRAVE!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_63_0"); break; case 11: global.msg[0] = stringsetsubloc("* ~1 cast OKHEAL!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_76_0"); if (global.flag[1569] == 1) global.msg[0] = stringsetsubloc("* ~1 cast BetterHeal!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_77_0"); break; case 100: cancelattack = 0; global.msg[0] = stringsetsubloc("* ~1 spared ~2!/%", global.charname[global.char[caster]], global.monstername[star], "scr_spelltext_slash_scr_spelltext_gml_58_0");
scr_retarget_spell();
if (global.chapter == 4 && (i_ex(obj_titan_spawn_enemy) || i_ex(obj_titan_enemy))) { global.msg[0] = stringsetsubloc(
* But, it was not something that can understand MERCY.Wait for inputClose Message
"* But, it was not something that can understand MERCY./%", "scr_spelltext_slash_scr_spelltext_gml_91_0"
);
} else if (global.mercymod[star] >= 100) { global.msg[0] = stringsetsubloc("* ~1 spared ~2!/%", global.charname[global.char[caster]], global.monstername[star], "scr_spelltext_slash_scr_spelltext_gml_62_0"); } else { global.msg[0] = stringsetsubloc("* ~1 spared ~2^2!&* But its name wasn't \\cYYELLOW\\cW.../%", global.charname[global.char[caster]], global.monstername[star], "scr_spelltext_slash_scr_spelltext_gml_66_0"); if (global.monsterstatus[star] == 1) { if (
scr_havechar(3))
{ global.msg[0] = stringsetsubloc("* ~1 spared ~2^2!&* But its name wasn't \\cYYELLOW\\cW.../", global.charname[global.char[caster]], global.monstername[star], "scr_spelltext_slash_scr_spelltext_gml_69_0"); global.msg[1] = stringsetloc(
* (Try using Ralsei's PACIFY!)Wait for inputClose Message
"* (Try using Ralsei's \\cBPACIFY\\cW!)/%", "scr_spelltext_slash_scr_spelltext_gml_70_0"
);
} else if (
scr_havechar(4))
{ msgsetsubloc(0, "* ~1 spared ~2^2!&* But its name wasn't \\cYYELLOW\\cW.../", global.charname[global.char[caster]], global.monstername[star], "scr_spelltext_slash_scr_spelltext_gml_94_0"); msgnextloc(
* (Try using Noelle's SLEEPMIST!)Wait for inputClose Message
"* (Try using Noelle's \\cBSLEEPMIST\\cW!)/%", "scr_spelltext_slash_scr_spelltext_gml_95_0"
);
} else { msgsetsubloc(0, "* ~1 spared ~2^2!&* But its name wasn't \\cYYELLOW\\cW.../", global.charname[global.char[caster]], global.monstername[star], "scr_spelltext_slash_scr_spelltext_gml_99_0"); msgnextloc(
* (Try using ACTs!)Wait for inputClose Message
"* (Try using \\cBACTs\\cW!)/%", "scr_spelltext_slash_scr_spelltext_gml_100_0_b"
);
} } if (global.chapter == 4 && i_ex(obj_holywatercooler_enemy) && global.lang == "ja") global.msg[0] = stringsetsub("* ~1は 敵を にがそうとした^2!&* しかし名前が \\cYきいろ\\cWくない…/%", global.charname[global.char[caster]]); } if (cancelattack == 1) global.msg[0] = stringsetsubloc("* ~1 spared!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_73_0"); break; case 201: global.msg[0] = stringsetsubloc("* ~1 used the DARKER CANDY!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_118_0"); break; case 202: global.msg[0] = stringsetsubloc("* ~1 used the REVIVEMINT!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_100_0"); ...
(arg0, arg1)
2
{
3
    spell = arg0;
4
    caster = arg1;
5
    star = global.chartarget[arg1];
6
    spelltext = " ";
7
    switch (spell)
8
    {
9
        case 0:
10
            break;
11
        case 1:
12
            global.msg[0] = stringsetsubloc("* ~1 cast RUDE BUSTER!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_14_0");
13
            break;
14
        case 2:
15
            global.msg[0] = stringsetsubloc("* ~1 cast HEAL PRAYER!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_18_0");
16
            break;
17
        case 3:
18
            global.msg[0] = stringsetsubloc("* ~1 cast PACIFY!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_23_0");
19
            
scr_retarget_spell
scr_retarget_spell

function
scr_retarget_spell()
{ cancelattack = 0; if (star == 0) { if (global.monster[0] == 0) star = 1; } if (star == 1) { if (global.monster[1] == 0) star = 2; } if (star == 2) { if (global.monster[2] == 0) star = 3; if (star == 3 && global.monster[0] == 1) star = 0; if (star == 3 && global.monster[1] == 1) star = 1; if (star == 3) cancelattack = 1; } }
();
20
            if (global.monster[star] == 1)
21
            {
22
                if (global.monsterstatus[star] == 1)
23
                {
24
                }
25
                else
26
                {
27
                    global.msg[0] = stringsetsubloc("* ~1 cast PACIFY^1!&* But the enemy wasn't \\cBTIRED\\cW.../%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_33_0");
28
                    if (global.mercymod[star] >= 100)
29
                        global.msg[0] = stringsetsubloc("* ~1 cast PACIFY^1!&* But the foe wasn't \\cBTIRED\\cW... try \\cYSPARING\\cW!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_36_0");
30
                }
31
            }
32
            break;
33
        case 4:
34
            global.msg[0] = stringsetsubloc("* ~1 used RUDE BUSTER!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_43_0");
35
            break;
36
        case 5:
37
            global.msg[0] = stringsetsubloc("* ~1 used RED BUSTER!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_47_0");
38
            break;
39
        case 6:
40
            global.msg[0] = stringsetsubloc("* ~1 and Susie cast DUAL HEAL!/%", global.charname[2], "scr_spelltext_slash_scr_spelltext_gml_51_0");
41
            if ((i_ex(obj_titan_enemy) && obj_titan_enemy.dualhealcount < 4) || (i_ex(obj_titan_spawn_enemy) && obj_titan_spawn_enemy.dualhealcount < 4))
42
                global.msg[0] = stringsetsubloc("* ~1 and Susie cast DUAL HEAL! Effectiveness of DUAL HEAL has lowered!/%", global.charname[2], "scr_spelltext_slash_scr_spelltext_gml_58_0_b");
43
            break;
44
        case 8:
45
            global.msg[0] = stringsetsubloc("* ~1 cast SLEEPMIST!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_55_0");
46
            break;
47
        case 9:
48
            global.msg[0] = stringsetsubloc("* ~1 cast ICESHOCK!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_59_0");
49
            break;
50
        case 10:
51
            global.msg[0] = stringsetsubloc("* ~1 cast SNOWGRAVE!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_63_0");
52
            break;
53
        case 11:
54
            global.msg[0] = stringsetsubloc("* ~1 cast OKHEAL!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_76_0");
55
            if (global.flag[1569] == 1)
56
                global.msg[0] = stringsetsubloc("* ~1 cast BetterHeal!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_77_0");
57
            break;
58
        case 100:
59
            cancelattack = 0;
60
            global.msg[0] = stringsetsubloc("* ~1 spared ~2!/%", global.charname[global.char[caster]], global.monstername[star], "scr_spelltext_slash_scr_spelltext_gml_58_0");
61
            
scr_retarget_spell
scr_retarget_spell

function
scr_retarget_spell()
{ cancelattack = 0; if (star == 0) { if (global.monster[0] == 0) star = 1; } if (star == 1) { if (global.monster[1] == 0) star = 2; } if (star == 2) { if (global.monster[2] == 0) star = 3; if (star == 3 && global.monster[0] == 1) star = 0; if (star == 3 && global.monster[1] == 1) star = 1; if (star == 3) cancelattack = 1; } }
();
62
            if (global.chapter == 4 && (i_ex(obj_titan_spawn_enemy) || i_ex(obj_titan_enemy)))
63
            {
64
                global.msg[0] = stringsetsubloc(
* But, it was not something that can understand MERCY.Wait for inputClose Message
"* But, it was not something that can understand MERCY./%", "scr_spelltext_slash_scr_spelltext_gml_91_0"
);
65
            }
66
            else if (global.mercymod[star] >= 100)
67
            {
68
                global.msg[0] = stringsetsubloc("* ~1 spared ~2!/%", global.charname[global.char[caster]], global.monstername[star], "scr_spelltext_slash_scr_spelltext_gml_62_0");
69
            }
70
            else
71
            {
72
                global.msg[0] = stringsetsubloc("* ~1 spared ~2^2!&* But its name wasn't \\cYYELLOW\\cW.../%", global.charname[global.char[caster]], global.monstername[star], "scr_spelltext_slash_scr_spelltext_gml_66_0");
73
                if (global.monsterstatus[star] == 1)
74
                {
75
                    if (
scr_havechar
scr_havechar

function
scr_havechar(arg0)
{ var checker = arg0; if (checker == "susie" || checker == "su" || checker == "s") checker = 2; if (checker == "ralsei" || checker == "ra" || checker == "r") checker = 3; if (checker == "noelle" || checker == "no" || checker == "n") checker = 4; _rreturn = 0; if (global.char[0] == checker) _rreturn = 1; if (global.char[1] == checker) _rreturn = 1; if (global.char[2] == checker) _rreturn = 1; return _rreturn; }
(3))
76
                    {
77
                        global.msg[0] = stringsetsubloc("* ~1 spared ~2^2!&* But its name wasn't \\cYYELLOW\\cW.../", global.charname[global.char[caster]], global.monstername[star], "scr_spelltext_slash_scr_spelltext_gml_69_0");
78
                        global.msg[1] = stringsetloc(
* (Try using Ralsei's PACIFY!)Wait for inputClose Message
"* (Try using Ralsei's \\cBPACIFY\\cW!)/%", "scr_spelltext_slash_scr_spelltext_gml_70_0"
);
79
                    }
80
                    else if (
scr_havechar
scr_havechar

function
scr_havechar(arg0)
{ var checker = arg0; if (checker == "susie" || checker == "su" || checker == "s") checker = 2; if (checker == "ralsei" || checker == "ra" || checker == "r") checker = 3; if (checker == "noelle" || checker == "no" || checker == "n") checker = 4; _rreturn = 0; if (global.char[0] == checker) _rreturn = 1; if (global.char[1] == checker) _rreturn = 1; if (global.char[2] == checker) _rreturn = 1; return _rreturn; }
(4))
81
                    {
82
                        msgsetsubloc(0, "* ~1 spared ~2^2!&* But its name wasn't \\cYYELLOW\\cW.../", global.charname[global.char[caster]], global.monstername[star], "scr_spelltext_slash_scr_spelltext_gml_94_0");
83
                        msgnextloc(
* (Try using Noelle's SLEEPMIST!)Wait for inputClose Message
"* (Try using Noelle's \\cBSLEEPMIST\\cW!)/%", "scr_spelltext_slash_scr_spelltext_gml_95_0"
);
84
                    }
85
                    else
86
                    {
87
                        msgsetsubloc(0, "* ~1 spared ~2^2!&* But its name wasn't \\cYYELLOW\\cW.../", global.charname[global.char[caster]], global.monstername[star], "scr_spelltext_slash_scr_spelltext_gml_99_0");
88
                        msgnextloc(
* (Try using ACTs!)Wait for inputClose Message
"* (Try using \\cBACTs\\cW!)/%", "scr_spelltext_slash_scr_spelltext_gml_100_0_b"
);
89
                    }
90
                }
91
                if (global.chapter == 4 && i_ex(obj_holywatercooler_enemy) && global.lang == "ja")
92
                    global.msg[0] = stringsetsub("* ~1は 敵を にがそうとした^2!&* しかし名前が \\cYきいろ\\cWくない…/%", global.charname[global.char[caster]]);
93
            }
94
            if (cancelattack == 1)
95
                global.msg[0] = stringsetsubloc("* ~1 spared!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_73_0");
96
            break;
97
        case 201:
98
            global.msg[0] = stringsetsubloc("* ~1 used the DARKER CANDY!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_118_0");
99
            break;
100
        case 202:
101
            global.msg[0] = stringsetsubloc("* ~1 used the REVIVEMINT!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_100_0");
102
            break;
103
        case 203:
104
            global.msg[0] = stringsetsubloc("* ~1 used the GLOWSHARD!/", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_86_0");
105
            global.msg[1] = stringsetloc(
* But nothing happened...Wait for inputClose Message
"* But nothing happened.../%", "scr_spelltext_slash_scr_spelltext_gml_87_0"
);
106
            spec_shard = 0;
107
            for (_en = 0; _en < 3; _en += 1)
108
            {
109
                shardtest[_en] = 0;
110
                if (global.monster[_en] == 1)
111
                {
112
                    if (global.monstertype[_en] == 5Rudinn)
113
                    {
114
                        spec_shard = 1;
115
                        shardtest[_en] = 1;
116
                        global.mercymod[_en] = 200;
117
                    }
118
                }
119
            }
120
            if (spec_shard > 0)
121
            {
122
                
scr_itemshift
scr_itemshift

function
scr_itemshift(arg0, arg1)
{ global.item[12] = arg1; for (i = arg0; i < 12; i += 1) global.item[i] = global.item[i + 1];
scr_iteminfo_all();
scr_itemname();
}
(global.bmenucoord[4][arg1], 0);
123
                global.msg[1] = stringsetloc("", "scr_spelltext_slash_scr_spelltext_gml_126_0");
124
                global.msg[2] = stringsetloc(
* The GLOWSHARD disappeared!Wait for inputClose Message
"* The GLOWSHARD disappeared!/%", "scr_spelltext_slash_scr_spelltext_gml_109_0"
);
125
                for (_j = 0; _j < 3; _j += 1)
126
                {
127
                    if (shardtest[_j] == 1)
128
                        global.msg[1] += "* " + global.monstername[_j] + stringsetloc(
became enraptured!
" became enraptured!&", "scr_spelltext_slash_scr_spelltext_gml_143_0"
);
129
                }
130
                global.msg[1] += "/";
131
            }
132
            break;
133
        case 204:
134
            global.msg[0] = stringsetsubloc("* ~1 read the MANUAL!/", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_122_0");
135
            global.msg[1] = stringsetloc(
* But nothing happened...Wait for inputClose Message
"* But nothing happened.../%", "scr_spelltext_slash_scr_spelltext_gml_123_0"
);
136
            spec_shard = 0;
137
            for (_en = 0; _en < 3; _en += 1)
138
            {
139
                shardtest[_en] = 0;
140
                if (global.monster[_en] == 1)
141
                {
142
                    if (global.monstertype[_en] == 5Rudinn)
143
                    {
144
                        spec_shard = 1;
145
                        shardtest[_en] = 1;
146
                        global.monsterstatus[_en] = 1;
147
                        global.monstercomment[_en] = stringsetloc(
(Tired)
"(Tired)", "scr_spelltext_slash_scr_spelltext_gml_166_0"
);
148
                    }
149
                    if (global.monstertype[_en] == 6Hathy)
150
                    {
151
                        spec_shard = 1;
152
                        shardtest[_en] = 2;
153
                    }
154
                    if (global.monstertype[_en] == 7 || global.monstertype[_en] == 16Clover (Boss))
155
                    {
156
                        spec_shard = 1;
157
                        shardtest[_en] = 3;
158
                        with (global.monsterinstance[_en])
159
                        {
160
                            battlecancel = 1;
161
                            if (manual == 0)
162
                            {
163
                                manual = 1;
164
                                
scr_mercyadd
scr_mercyadd

function
scr_mercyadd(arg0, arg1)
{ global.mercymod[arg0] += arg1; if (global.mercymod[arg0] < 0) global.mercymod[arg0] = 0; if (global.mercymod[arg0] >= 100) global.mercymod[arg0] = 100; var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 5 && mercytimer < 8) _playsound = 0; } if (_playsound) { var _pitch = 0.8; if (arg1 < 99) _pitch = 1; if (arg1 <= 50) _pitch = 1.2; if (arg1 <= 25) _pitch = 1.4; snd_play_x(snd_mercyadd, 0.8, _pitch); } __mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter); __mercydmgwriter.damage = arg1; __mercydmgwriter.type = 5; global.hittarget[arg0]++; }
(myself, 50);
165
                            }
166
                        }
167
                    }
168
                }
169
            }
170
            if (spec_shard > 0)
171
            {
172
                global.msg[1] = stringsetloc("", "scr_spelltext_slash_scr_spelltext_gml_182_0");
173
                for (_j = 0; _j < 3; _j += 1)
174
                {
175
                    if (shardtest[_j] == 1)
176
                        global.msg[1] += "* " + global.monstername[_j] + stringsetloc(
was bored to tears!
" was \\cBbored to tears\\cW!&", "scr_spelltext_slash_scr_spelltext_gml_199_0"
);
177
                    if (shardtest[_j] == 2)
178
                        global.msg[1] += "* " + global.monstername[_j] + stringsetloc(
listened politely!
" listened politely!&", "scr_spelltext_slash_scr_spelltext_gml_200_0_b"
);
179
                    if (shardtest[_j] == 3)
180
                        global.msg[1] += "* " + global.monstername[_j] + stringsetloc(
became sentimental!
" became sentimental!&", "scr_spelltext_slash_scr_spelltext_gml_201_0"
);
181
                }
182
                global.msg[1] += "/%";
183
            }
184
            break;
185
        case 205:
186
            global.msg[0] = stringsetsubloc("* ~1 used the BROKEN CAKE!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_179_0");
187
            break;
188
        case 206:
189
            global.msg[0] = stringsetsubloc("* ~1 used the TOPCAKE!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_183_0");
190
            break;
191
        case 207:
192
            global.msg[0] = stringsetsubloc("* ~1 used the SPINCAKE!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_187_0");
193
            break;
194
        case 208:
195
            global.msg[0] = stringsetsubloc("* ~1 used the DARKBURGER!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_191_0");
196
            break;
197
        case 209:
198
            global.msg[0] = stringsetsubloc("* ~1 used the LANCERCOOKIE!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_194_0");
199
            break;
200
        case 210:
201
            global.msg[0] = stringsetsubloc("* ~1 used the GIGASALAD!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_197_0");
202
            break;
203
        case 211:
204
            global.msg[0] = stringsetsubloc("* ~1 used the CLUBS SANDWICH!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_200_0");
205
            break;
206
        case 212:
207
            global.msg[0] = stringsetsubloc("* ~1 used the HEARTS DONUT!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_203_0");
208
            break;
209
        case 213:
210
            global.msg[0] = stringsetsubloc("* ~1 used the CHOCO DIAMOND!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_206_0");
211
            break;
212
        case 214:
213
            global.msg[0] = stringsetsubloc("* ~1 used the FAV SANDWICH!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_209_0");
214
            break;
215
        case 215:
216
            global.msg[0] = stringsetsubloc("* ~1 used the ROUXLS ROUX!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_230_0");
217
            break;
218
        case 216:
219
            msgsetsubloc(0, "* ~1 used the CD BAGEL!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_233_0");
220
            break;
221
        case 217:
222
            msgsetsubloc(0, "* ~1 used the CLOTHESDOLL!/", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_236_0");
223
            msgnextloc(
* ... but nothing happened!Wait for inputClose Message
"* ... but nothing happened!/%", "scr_spelltext_slash_scr_spelltext_gml_237_0"
);
224
            break;
225
        case 218:
226
            
scr_text
scr_text

function
scr_text(arg0)
{ switch (arg0) { case 0: break; case 10: global.choicemsg[0] = stringsetloc(
#Yes
"#Yes", "scr_text_slash_scr_text_gml_8_0"
);
global.choicemsg[1] = stringsetloc(
#No
"#No", "scr_text_slash_scr_text_gml_9_0"
);
global.choicemsg[2] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_12_0_b"
);
global.choicemsg[3] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_13_0_b"
);
global.msg[0] = stringsetloc(
* You really didn't want to throw it away.Wait for input
"* You really didn't want to throw it away./", "scr_text_slash_scr_text_gml_12_0"
);
global.msg[1] = stringsetloc(
* Throw it away anyway?Wait for input
"* Throw it away anyway?/", "scr_text_slash_scr_text_gml_13_0"
);
global.msg[2] = stringsetloc(
Choice type 2
"\\C2 ", "scr_text_slash_scr_text_gml_14_0"
);
if (global.chapter >= 2) msgsetloc(0,
* You took it from your pocket.Delay 11
* You have a very,Delay 11 very,Delay 11 bad feeling about throwing it away.Wait for input
"* You took it from your pocket^1.&* You have a \\cYvery^1, very^1, bad feeling\\c0 about throwing it away./", "scr_text_slash_scr_text_gml_19_0"
);
break; case 11: if (global.choice == 0) { global.flag[466 junkball_dropped] = 1; snd_play(snd_bageldefeat); global.msg[0] = stringsetloc(
* Hand shaking,Delay 11 you dropped the ball of junk on the ground.Wait for input
"* Hand shaking^1, you dropped the ball of junk on the ground./", "scr_text_slash_scr_text_gml_20_0"
);
global.msg[1] = stringsetloc(
* It broke into pieces.Wait for input
"* It broke into pieces./", "scr_text_slash_scr_text_gml_21_0"
);
global.msg[2] = stringsetloc(
* You felt bitter.Wait for inputClose Message
"* You felt bitter./%", "scr_text_slash_scr_text_gml_22_0"
);
script_execute(scr_litemshift, global.menucoord[1], 0); for (var i = 0; i < 12; i += 1) global.item[i] = 0; for (var i = 0; i < 48; i += 1) { global.armor[i] = 0; global.weapon[i] = 0; } } else { global.msg[0] = stringsetloc(
* You felt a feeling of relief.Wait for inputClose Message
"* You felt a feeling of relief./%", "scr_text_slash_scr_text_gml_34_0"
);
} break; case 100: global.msg[0] = stringsetloc(
* Hey, Kris!Delay 11 What's up?Delay 11
* Didja lose your pencil again?Wait for input
"* Hey, Kris^1! What's up^1?&* Didja lose your pencil again?/", "scr_text_slash_scr_text_gml_39_0"
);
global.msg[1] = stringsetloc(
Face 4* Here,Delay 11 you want the candy-cane one or the one with lights on it?Wait for input
"\\E4* Here^1, you want the candy-cane one or the one with lights on it?/", "scr_text_slash_scr_text_gml_40_0"
);
global.msg[2] = stringsetloc(
Face 1* Huh?Delay 11
* You want to be partners?Wait for input
"\\E1* Huh^1?&* You want to be partners?/", "scr_text_slash_scr_text_gml_41_0"
);
global.msg[3] = stringsetloc(
Face 4* Ummm...Delay 11 Sorry...Delay 11
* Berdly already asked me...Wait for input
"\\E4* Ummm..^1. Sorry..^1.&* Berdly already asked me.../", "scr_text_slash_scr_text_gml_42_0"
);
global.msg[4] = stringsetloc(
Face 0* But I could ask Ms. Alphys if we could make a group of 3!Wait for input
"\\E0* But I could ask Ms. Alphys if we could make a group of 3!/", "scr_text_slash_scr_text_gml_43_0"
);
global.msg[5] = stringsetloc(
Face 4* I'll ask if you're sure!

Not yet Yes. Ask.Choice type 1
"\\E4* I'll ask if you're sure!& &Not yet Yes. Ask.\\C1 ", "scr_text_slash_scr_text_gml_44_0"
);
global.msg[6] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_47_0"
);
break; case 101: if (global.choice == 1) { global.msg[0] = stringsetloc(
Face 0* OK,Delay 11 I'll ask!Wait for input
"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_51_0"
);
global.msg[1] = stringsetloc(
* Miss Alphys!Delay 11
* Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message
"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_52_0"
);
with (obj_classscene) con = 20; } if (global.choice == 0) global.msg[0] = stringsetloc(
Face 4* Yeah,Delay 11 I'm sure there's someone else you can ask!Wait for inputClose Message
"\\E4* Yeah^1, I'm sure there's someone else you can ask!/%", "scr_text_slash_scr_text_gml_57_0"
);
break; case 102: global.msg[0] = stringsetloc(
Face 0* Do you wanna be partners?
Not yet YesChoice type 1
"\\E0* Do you wanna be partners?&Not yet Yes\\C1 ", "scr_text_slash_scr_text_gml_62_0"
);
global.msg[1] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_65_0"
);
break; case 103: if (global.choice == 1) { global.msg[0] = stringsetloc(
Face 0* OK,Delay 11 I'll ask!Wait for input
"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_69_0"
);
global.msg[1] = stringsetloc(
* Miss Alphys!Delay 11
* Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message
"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_70_0"
);
with (obj_classscene) con = 20; } if (global.choice == 0) global.msg[0] = stringsetloc(
Face 4* Umm,Delay 11 OK.Delay 11
* You just keep doing your thing,Delay 11 Kris.Wait for inputClose Message
"\\E4* Umm^1, OK^1.&* You just keep doing your thing^1, Kris./%", "scr_text_slash_scr_text_gml_75_0"
);
break; case 104: global.msg[0] = stringsetloc(
Face 0* Alright.Delay 11
* Let's get this over with.Wait for input
"\\E0* Alright^1.&* Let's get this over with./", "scr_text_slash_scr_text_gml_80_0"
);
global.msg[1] = stringsetloc(
* We'll get more chalk.Delay 11
* Mosey back to class.Delay 11
* And then,Delay 11 Kris...Wait for input
"* We'll get more chalk^1.&* Mosey back to class^1.&* And then^1, Kris.../", "scr_text_slash_scr_text_gml_81_0"
);
global.msg[2] = stringsetloc(
Face 2* YOU'LL do our project.Wait for input
"\\E2* YOU'LL do our project./", "scr_text_slash_scr_text_gml_82_0"
);
global.msg[3] = stringsetloc(
* How's that sound?

Good BadChoice type 1
"* How's that sound?& &Good Bad\\C1 ", "scr_text_slash_scr_text_gml_83_0"
);
global.msg[4] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_86_0"
);
break; case 105: global.msg[0] = stringsetloc(
Close MessageClose Message
" %%", "scr_text_slash_scr_text_gml_90_0"
);
break; case 110: global.choicemsg[0] = stringsetloc(
#Yes
"#Yes", "scr_text_slash_scr_text_gml_92_0"
);
global.choicemsg[1] = stringsetloc(
#No
"#No", "scr_text_slash_scr_text_gml_93_0"
);
global.choicemsg[2] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_96_0"
);
global.choicemsg[3] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_97_0"
);
if (global.flag[100 got_glowshard] == 0) { global.msg[0] = stringsetloc(
* (There's something glowing inside.)Wait for input
"* (There's something glowing inside.)/", "scr_text_slash_scr_text_gml_98_0"
);
global.msg[1] = stringsetloc(
* (Take it?)Wait for input
"* (Take it?)/ ", "scr_text_slash_scr_text_gml_99_0"
);
global.msg[2] = stringsetloc(
Choice type 2
" \\C2", "scr_text_slash_scr_text_gml_100_0"
);
} else { global.msg[0] = stringsetloc(
* (It's dark inside.)Wait for inputClose Message
"* (It's dark inside.)/%", "scr_text_slash_scr_text_gml_104_0"
);
} break; case 111: ...
(1463);
227
            break;
228
        case 219:
229
            
scr_text
scr_text

function
scr_text(arg0)
{ switch (arg0) { case 0: break; case 10: global.choicemsg[0] = stringsetloc(
#Yes
"#Yes", "scr_text_slash_scr_text_gml_8_0"
);
global.choicemsg[1] = stringsetloc(
#No
"#No", "scr_text_slash_scr_text_gml_9_0"
);
global.choicemsg[2] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_12_0_b"
);
global.choicemsg[3] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_13_0_b"
);
global.msg[0] = stringsetloc(
* You really didn't want to throw it away.Wait for input
"* You really didn't want to throw it away./", "scr_text_slash_scr_text_gml_12_0"
);
global.msg[1] = stringsetloc(
* Throw it away anyway?Wait for input
"* Throw it away anyway?/", "scr_text_slash_scr_text_gml_13_0"
);
global.msg[2] = stringsetloc(
Choice type 2
"\\C2 ", "scr_text_slash_scr_text_gml_14_0"
);
if (global.chapter >= 2) msgsetloc(0,
* You took it from your pocket.Delay 11
* You have a very,Delay 11 very,Delay 11 bad feeling about throwing it away.Wait for input
"* You took it from your pocket^1.&* You have a \\cYvery^1, very^1, bad feeling\\c0 about throwing it away./", "scr_text_slash_scr_text_gml_19_0"
);
break; case 11: if (global.choice == 0) { global.flag[466 junkball_dropped] = 1; snd_play(snd_bageldefeat); global.msg[0] = stringsetloc(
* Hand shaking,Delay 11 you dropped the ball of junk on the ground.Wait for input
"* Hand shaking^1, you dropped the ball of junk on the ground./", "scr_text_slash_scr_text_gml_20_0"
);
global.msg[1] = stringsetloc(
* It broke into pieces.Wait for input
"* It broke into pieces./", "scr_text_slash_scr_text_gml_21_0"
);
global.msg[2] = stringsetloc(
* You felt bitter.Wait for inputClose Message
"* You felt bitter./%", "scr_text_slash_scr_text_gml_22_0"
);
script_execute(scr_litemshift, global.menucoord[1], 0); for (var i = 0; i < 12; i += 1) global.item[i] = 0; for (var i = 0; i < 48; i += 1) { global.armor[i] = 0; global.weapon[i] = 0; } } else { global.msg[0] = stringsetloc(
* You felt a feeling of relief.Wait for inputClose Message
"* You felt a feeling of relief./%", "scr_text_slash_scr_text_gml_34_0"
);
} break; case 100: global.msg[0] = stringsetloc(
* Hey, Kris!Delay 11 What's up?Delay 11
* Didja lose your pencil again?Wait for input
"* Hey, Kris^1! What's up^1?&* Didja lose your pencil again?/", "scr_text_slash_scr_text_gml_39_0"
);
global.msg[1] = stringsetloc(
Face 4* Here,Delay 11 you want the candy-cane one or the one with lights on it?Wait for input
"\\E4* Here^1, you want the candy-cane one or the one with lights on it?/", "scr_text_slash_scr_text_gml_40_0"
);
global.msg[2] = stringsetloc(
Face 1* Huh?Delay 11
* You want to be partners?Wait for input
"\\E1* Huh^1?&* You want to be partners?/", "scr_text_slash_scr_text_gml_41_0"
);
global.msg[3] = stringsetloc(
Face 4* Ummm...Delay 11 Sorry...Delay 11
* Berdly already asked me...Wait for input
"\\E4* Ummm..^1. Sorry..^1.&* Berdly already asked me.../", "scr_text_slash_scr_text_gml_42_0"
);
global.msg[4] = stringsetloc(
Face 0* But I could ask Ms. Alphys if we could make a group of 3!Wait for input
"\\E0* But I could ask Ms. Alphys if we could make a group of 3!/", "scr_text_slash_scr_text_gml_43_0"
);
global.msg[5] = stringsetloc(
Face 4* I'll ask if you're sure!

Not yet Yes. Ask.Choice type 1
"\\E4* I'll ask if you're sure!& &Not yet Yes. Ask.\\C1 ", "scr_text_slash_scr_text_gml_44_0"
);
global.msg[6] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_47_0"
);
break; case 101: if (global.choice == 1) { global.msg[0] = stringsetloc(
Face 0* OK,Delay 11 I'll ask!Wait for input
"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_51_0"
);
global.msg[1] = stringsetloc(
* Miss Alphys!Delay 11
* Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message
"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_52_0"
);
with (obj_classscene) con = 20; } if (global.choice == 0) global.msg[0] = stringsetloc(
Face 4* Yeah,Delay 11 I'm sure there's someone else you can ask!Wait for inputClose Message
"\\E4* Yeah^1, I'm sure there's someone else you can ask!/%", "scr_text_slash_scr_text_gml_57_0"
);
break; case 102: global.msg[0] = stringsetloc(
Face 0* Do you wanna be partners?
Not yet YesChoice type 1
"\\E0* Do you wanna be partners?&Not yet Yes\\C1 ", "scr_text_slash_scr_text_gml_62_0"
);
global.msg[1] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_65_0"
);
break; case 103: if (global.choice == 1) { global.msg[0] = stringsetloc(
Face 0* OK,Delay 11 I'll ask!Wait for input
"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_69_0"
);
global.msg[1] = stringsetloc(
* Miss Alphys!Delay 11
* Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message
"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_70_0"
);
with (obj_classscene) con = 20; } if (global.choice == 0) global.msg[0] = stringsetloc(
Face 4* Umm,Delay 11 OK.Delay 11
* You just keep doing your thing,Delay 11 Kris.Wait for inputClose Message
"\\E4* Umm^1, OK^1.&* You just keep doing your thing^1, Kris./%", "scr_text_slash_scr_text_gml_75_0"
);
break; case 104: global.msg[0] = stringsetloc(
Face 0* Alright.Delay 11
* Let's get this over with.Wait for input
"\\E0* Alright^1.&* Let's get this over with./", "scr_text_slash_scr_text_gml_80_0"
);
global.msg[1] = stringsetloc(
* We'll get more chalk.Delay 11
* Mosey back to class.Delay 11
* And then,Delay 11 Kris...Wait for input
"* We'll get more chalk^1.&* Mosey back to class^1.&* And then^1, Kris.../", "scr_text_slash_scr_text_gml_81_0"
);
global.msg[2] = stringsetloc(
Face 2* YOU'LL do our project.Wait for input
"\\E2* YOU'LL do our project./", "scr_text_slash_scr_text_gml_82_0"
);
global.msg[3] = stringsetloc(
* How's that sound?

Good BadChoice type 1
"* How's that sound?& &Good Bad\\C1 ", "scr_text_slash_scr_text_gml_83_0"
);
global.msg[4] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_86_0"
);
break; case 105: global.msg[0] = stringsetloc(
Close MessageClose Message
" %%", "scr_text_slash_scr_text_gml_90_0"
);
break; case 110: global.choicemsg[0] = stringsetloc(
#Yes
"#Yes", "scr_text_slash_scr_text_gml_92_0"
);
global.choicemsg[1] = stringsetloc(
#No
"#No", "scr_text_slash_scr_text_gml_93_0"
);
global.choicemsg[2] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_96_0"
);
global.choicemsg[3] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_97_0"
);
if (global.flag[100 got_glowshard] == 0) { global.msg[0] = stringsetloc(
* (There's something glowing inside.)Wait for input
"* (There's something glowing inside.)/", "scr_text_slash_scr_text_gml_98_0"
);
global.msg[1] = stringsetloc(
* (Take it?)Wait for input
"* (Take it?)/ ", "scr_text_slash_scr_text_gml_99_0"
);
global.msg[2] = stringsetloc(
Choice type 2
" \\C2", "scr_text_slash_scr_text_gml_100_0"
);
} else { global.msg[0] = stringsetloc(
* (It's dark inside.)Wait for inputClose Message
"* (It's dark inside.)/%", "scr_text_slash_scr_text_gml_104_0"
);
} break; case 111: ...
(1463);
230
            break;
231
        case 220:
232
            
scr_text
scr_text

function
scr_text(arg0)
{ switch (arg0) { case 0: break; case 10: global.choicemsg[0] = stringsetloc(
#Yes
"#Yes", "scr_text_slash_scr_text_gml_8_0"
);
global.choicemsg[1] = stringsetloc(
#No
"#No", "scr_text_slash_scr_text_gml_9_0"
);
global.choicemsg[2] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_12_0_b"
);
global.choicemsg[3] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_13_0_b"
);
global.msg[0] = stringsetloc(
* You really didn't want to throw it away.Wait for input
"* You really didn't want to throw it away./", "scr_text_slash_scr_text_gml_12_0"
);
global.msg[1] = stringsetloc(
* Throw it away anyway?Wait for input
"* Throw it away anyway?/", "scr_text_slash_scr_text_gml_13_0"
);
global.msg[2] = stringsetloc(
Choice type 2
"\\C2 ", "scr_text_slash_scr_text_gml_14_0"
);
if (global.chapter >= 2) msgsetloc(0,
* You took it from your pocket.Delay 11
* You have a very,Delay 11 very,Delay 11 bad feeling about throwing it away.Wait for input
"* You took it from your pocket^1.&* You have a \\cYvery^1, very^1, bad feeling\\c0 about throwing it away./", "scr_text_slash_scr_text_gml_19_0"
);
break; case 11: if (global.choice == 0) { global.flag[466 junkball_dropped] = 1; snd_play(snd_bageldefeat); global.msg[0] = stringsetloc(
* Hand shaking,Delay 11 you dropped the ball of junk on the ground.Wait for input
"* Hand shaking^1, you dropped the ball of junk on the ground./", "scr_text_slash_scr_text_gml_20_0"
);
global.msg[1] = stringsetloc(
* It broke into pieces.Wait for input
"* It broke into pieces./", "scr_text_slash_scr_text_gml_21_0"
);
global.msg[2] = stringsetloc(
* You felt bitter.Wait for inputClose Message
"* You felt bitter./%", "scr_text_slash_scr_text_gml_22_0"
);
script_execute(scr_litemshift, global.menucoord[1], 0); for (var i = 0; i < 12; i += 1) global.item[i] = 0; for (var i = 0; i < 48; i += 1) { global.armor[i] = 0; global.weapon[i] = 0; } } else { global.msg[0] = stringsetloc(
* You felt a feeling of relief.Wait for inputClose Message
"* You felt a feeling of relief./%", "scr_text_slash_scr_text_gml_34_0"
);
} break; case 100: global.msg[0] = stringsetloc(
* Hey, Kris!Delay 11 What's up?Delay 11
* Didja lose your pencil again?Wait for input
"* Hey, Kris^1! What's up^1?&* Didja lose your pencil again?/", "scr_text_slash_scr_text_gml_39_0"
);
global.msg[1] = stringsetloc(
Face 4* Here,Delay 11 you want the candy-cane one or the one with lights on it?Wait for input
"\\E4* Here^1, you want the candy-cane one or the one with lights on it?/", "scr_text_slash_scr_text_gml_40_0"
);
global.msg[2] = stringsetloc(
Face 1* Huh?Delay 11
* You want to be partners?Wait for input
"\\E1* Huh^1?&* You want to be partners?/", "scr_text_slash_scr_text_gml_41_0"
);
global.msg[3] = stringsetloc(
Face 4* Ummm...Delay 11 Sorry...Delay 11
* Berdly already asked me...Wait for input
"\\E4* Ummm..^1. Sorry..^1.&* Berdly already asked me.../", "scr_text_slash_scr_text_gml_42_0"
);
global.msg[4] = stringsetloc(
Face 0* But I could ask Ms. Alphys if we could make a group of 3!Wait for input
"\\E0* But I could ask Ms. Alphys if we could make a group of 3!/", "scr_text_slash_scr_text_gml_43_0"
);
global.msg[5] = stringsetloc(
Face 4* I'll ask if you're sure!

Not yet Yes. Ask.Choice type 1
"\\E4* I'll ask if you're sure!& &Not yet Yes. Ask.\\C1 ", "scr_text_slash_scr_text_gml_44_0"
);
global.msg[6] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_47_0"
);
break; case 101: if (global.choice == 1) { global.msg[0] = stringsetloc(
Face 0* OK,Delay 11 I'll ask!Wait for input
"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_51_0"
);
global.msg[1] = stringsetloc(
* Miss Alphys!Delay 11
* Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message
"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_52_0"
);
with (obj_classscene) con = 20; } if (global.choice == 0) global.msg[0] = stringsetloc(
Face 4* Yeah,Delay 11 I'm sure there's someone else you can ask!Wait for inputClose Message
"\\E4* Yeah^1, I'm sure there's someone else you can ask!/%", "scr_text_slash_scr_text_gml_57_0"
);
break; case 102: global.msg[0] = stringsetloc(
Face 0* Do you wanna be partners?
Not yet YesChoice type 1
"\\E0* Do you wanna be partners?&Not yet Yes\\C1 ", "scr_text_slash_scr_text_gml_62_0"
);
global.msg[1] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_65_0"
);
break; case 103: if (global.choice == 1) { global.msg[0] = stringsetloc(
Face 0* OK,Delay 11 I'll ask!Wait for input
"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_69_0"
);
global.msg[1] = stringsetloc(
* Miss Alphys!Delay 11
* Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message
"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_70_0"
);
with (obj_classscene) con = 20; } if (global.choice == 0) global.msg[0] = stringsetloc(
Face 4* Umm,Delay 11 OK.Delay 11
* You just keep doing your thing,Delay 11 Kris.Wait for inputClose Message
"\\E4* Umm^1, OK^1.&* You just keep doing your thing^1, Kris./%", "scr_text_slash_scr_text_gml_75_0"
);
break; case 104: global.msg[0] = stringsetloc(
Face 0* Alright.Delay 11
* Let's get this over with.Wait for input
"\\E0* Alright^1.&* Let's get this over with./", "scr_text_slash_scr_text_gml_80_0"
);
global.msg[1] = stringsetloc(
* We'll get more chalk.Delay 11
* Mosey back to class.Delay 11
* And then,Delay 11 Kris...Wait for input
"* We'll get more chalk^1.&* Mosey back to class^1.&* And then^1, Kris.../", "scr_text_slash_scr_text_gml_81_0"
);
global.msg[2] = stringsetloc(
Face 2* YOU'LL do our project.Wait for input
"\\E2* YOU'LL do our project./", "scr_text_slash_scr_text_gml_82_0"
);
global.msg[3] = stringsetloc(
* How's that sound?

Good BadChoice type 1
"* How's that sound?& &Good Bad\\C1 ", "scr_text_slash_scr_text_gml_83_0"
);
global.msg[4] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_86_0"
);
break; case 105: global.msg[0] = stringsetloc(
Close MessageClose Message
" %%", "scr_text_slash_scr_text_gml_90_0"
);
break; case 110: global.choicemsg[0] = stringsetloc(
#Yes
"#Yes", "scr_text_slash_scr_text_gml_92_0"
);
global.choicemsg[1] = stringsetloc(
#No
"#No", "scr_text_slash_scr_text_gml_93_0"
);
global.choicemsg[2] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_96_0"
);
global.choicemsg[3] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_97_0"
);
if (global.flag[100 got_glowshard] == 0) { global.msg[0] = stringsetloc(
* (There's something glowing inside.)Wait for input
"* (There's something glowing inside.)/", "scr_text_slash_scr_text_gml_98_0"
);
global.msg[1] = stringsetloc(
* (Take it?)Wait for input
"* (Take it?)/ ", "scr_text_slash_scr_text_gml_99_0"
);
global.msg[2] = stringsetloc(
Choice type 2
" \\C2", "scr_text_slash_scr_text_gml_100_0"
);
} else { global.msg[0] = stringsetloc(
* (It's dark inside.)Wait for inputClose Message
"* (It's dark inside.)/%", "scr_text_slash_scr_text_gml_104_0"
);
} break; case 111: ...
(1463);
233
            break;
234
        case 221:
235
            
scr_text
scr_text

function
scr_text(arg0)
{ switch (arg0) { case 0: break; case 10: global.choicemsg[0] = stringsetloc(
#Yes
"#Yes", "scr_text_slash_scr_text_gml_8_0"
);
global.choicemsg[1] = stringsetloc(
#No
"#No", "scr_text_slash_scr_text_gml_9_0"
);
global.choicemsg[2] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_12_0_b"
);
global.choicemsg[3] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_13_0_b"
);
global.msg[0] = stringsetloc(
* You really didn't want to throw it away.Wait for input
"* You really didn't want to throw it away./", "scr_text_slash_scr_text_gml_12_0"
);
global.msg[1] = stringsetloc(
* Throw it away anyway?Wait for input
"* Throw it away anyway?/", "scr_text_slash_scr_text_gml_13_0"
);
global.msg[2] = stringsetloc(
Choice type 2
"\\C2 ", "scr_text_slash_scr_text_gml_14_0"
);
if (global.chapter >= 2) msgsetloc(0,
* You took it from your pocket.Delay 11
* You have a very,Delay 11 very,Delay 11 bad feeling about throwing it away.Wait for input
"* You took it from your pocket^1.&* You have a \\cYvery^1, very^1, bad feeling\\c0 about throwing it away./", "scr_text_slash_scr_text_gml_19_0"
);
break; case 11: if (global.choice == 0) { global.flag[466 junkball_dropped] = 1; snd_play(snd_bageldefeat); global.msg[0] = stringsetloc(
* Hand shaking,Delay 11 you dropped the ball of junk on the ground.Wait for input
"* Hand shaking^1, you dropped the ball of junk on the ground./", "scr_text_slash_scr_text_gml_20_0"
);
global.msg[1] = stringsetloc(
* It broke into pieces.Wait for input
"* It broke into pieces./", "scr_text_slash_scr_text_gml_21_0"
);
global.msg[2] = stringsetloc(
* You felt bitter.Wait for inputClose Message
"* You felt bitter./%", "scr_text_slash_scr_text_gml_22_0"
);
script_execute(scr_litemshift, global.menucoord[1], 0); for (var i = 0; i < 12; i += 1) global.item[i] = 0; for (var i = 0; i < 48; i += 1) { global.armor[i] = 0; global.weapon[i] = 0; } } else { global.msg[0] = stringsetloc(
* You felt a feeling of relief.Wait for inputClose Message
"* You felt a feeling of relief./%", "scr_text_slash_scr_text_gml_34_0"
);
} break; case 100: global.msg[0] = stringsetloc(
* Hey, Kris!Delay 11 What's up?Delay 11
* Didja lose your pencil again?Wait for input
"* Hey, Kris^1! What's up^1?&* Didja lose your pencil again?/", "scr_text_slash_scr_text_gml_39_0"
);
global.msg[1] = stringsetloc(
Face 4* Here,Delay 11 you want the candy-cane one or the one with lights on it?Wait for input
"\\E4* Here^1, you want the candy-cane one or the one with lights on it?/", "scr_text_slash_scr_text_gml_40_0"
);
global.msg[2] = stringsetloc(
Face 1* Huh?Delay 11
* You want to be partners?Wait for input
"\\E1* Huh^1?&* You want to be partners?/", "scr_text_slash_scr_text_gml_41_0"
);
global.msg[3] = stringsetloc(
Face 4* Ummm...Delay 11 Sorry...Delay 11
* Berdly already asked me...Wait for input
"\\E4* Ummm..^1. Sorry..^1.&* Berdly already asked me.../", "scr_text_slash_scr_text_gml_42_0"
);
global.msg[4] = stringsetloc(
Face 0* But I could ask Ms. Alphys if we could make a group of 3!Wait for input
"\\E0* But I could ask Ms. Alphys if we could make a group of 3!/", "scr_text_slash_scr_text_gml_43_0"
);
global.msg[5] = stringsetloc(
Face 4* I'll ask if you're sure!

Not yet Yes. Ask.Choice type 1
"\\E4* I'll ask if you're sure!& &Not yet Yes. Ask.\\C1 ", "scr_text_slash_scr_text_gml_44_0"
);
global.msg[6] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_47_0"
);
break; case 101: if (global.choice == 1) { global.msg[0] = stringsetloc(
Face 0* OK,Delay 11 I'll ask!Wait for input
"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_51_0"
);
global.msg[1] = stringsetloc(
* Miss Alphys!Delay 11
* Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message
"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_52_0"
);
with (obj_classscene) con = 20; } if (global.choice == 0) global.msg[0] = stringsetloc(
Face 4* Yeah,Delay 11 I'm sure there's someone else you can ask!Wait for inputClose Message
"\\E4* Yeah^1, I'm sure there's someone else you can ask!/%", "scr_text_slash_scr_text_gml_57_0"
);
break; case 102: global.msg[0] = stringsetloc(
Face 0* Do you wanna be partners?
Not yet YesChoice type 1
"\\E0* Do you wanna be partners?&Not yet Yes\\C1 ", "scr_text_slash_scr_text_gml_62_0"
);
global.msg[1] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_65_0"
);
break; case 103: if (global.choice == 1) { global.msg[0] = stringsetloc(
Face 0* OK,Delay 11 I'll ask!Wait for input
"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_69_0"
);
global.msg[1] = stringsetloc(
* Miss Alphys!Delay 11
* Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message
"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_70_0"
);
with (obj_classscene) con = 20; } if (global.choice == 0) global.msg[0] = stringsetloc(
Face 4* Umm,Delay 11 OK.Delay 11
* You just keep doing your thing,Delay 11 Kris.Wait for inputClose Message
"\\E4* Umm^1, OK^1.&* You just keep doing your thing^1, Kris./%", "scr_text_slash_scr_text_gml_75_0"
);
break; case 104: global.msg[0] = stringsetloc(
Face 0* Alright.Delay 11
* Let's get this over with.Wait for input
"\\E0* Alright^1.&* Let's get this over with./", "scr_text_slash_scr_text_gml_80_0"
);
global.msg[1] = stringsetloc(
* We'll get more chalk.Delay 11
* Mosey back to class.Delay 11
* And then,Delay 11 Kris...Wait for input
"* We'll get more chalk^1.&* Mosey back to class^1.&* And then^1, Kris.../", "scr_text_slash_scr_text_gml_81_0"
);
global.msg[2] = stringsetloc(
Face 2* YOU'LL do our project.Wait for input
"\\E2* YOU'LL do our project./", "scr_text_slash_scr_text_gml_82_0"
);
global.msg[3] = stringsetloc(
* How's that sound?

Good BadChoice type 1
"* How's that sound?& &Good Bad\\C1 ", "scr_text_slash_scr_text_gml_83_0"
);
global.msg[4] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_86_0"
);
break; case 105: global.msg[0] = stringsetloc(
Close MessageClose Message
" %%", "scr_text_slash_scr_text_gml_90_0"
);
break; case 110: global.choicemsg[0] = stringsetloc(
#Yes
"#Yes", "scr_text_slash_scr_text_gml_92_0"
);
global.choicemsg[1] = stringsetloc(
#No
"#No", "scr_text_slash_scr_text_gml_93_0"
);
global.choicemsg[2] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_96_0"
);
global.choicemsg[3] = stringsetloc(
" ", "scr_text_slash_scr_text_gml_97_0"
);
if (global.flag[100 got_glowshard] == 0) { global.msg[0] = stringsetloc(
* (There's something glowing inside.)Wait for input
"* (There's something glowing inside.)/", "scr_text_slash_scr_text_gml_98_0"
);
global.msg[1] = stringsetloc(
* (Take it?)Wait for input
"* (Take it?)/ ", "scr_text_slash_scr_text_gml_99_0"
);
global.msg[2] = stringsetloc(
Choice type 2
" \\C2", "scr_text_slash_scr_text_gml_100_0"
);
} else { global.msg[0] = stringsetloc(
* (It's dark inside.)Wait for inputClose Message
"* (It's dark inside.)/%", "scr_text_slash_scr_text_gml_104_0"
);
} break; case 111: ...
(1463);
236
            break;
237
        case 222:
238
            msgsetsubloc(0, "* ~1 used the DD-BURGER!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_252_0");
239
            break;
240
        case 223:
241
            msgsetsubloc(0, "* ~1 used the LIGHTCANDY!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_255_0");
242
            break;
243
        case 224:
244
            msgsetsubloc(0, "* ~1 used the BUTJUICE!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_258_0");
245
            break;
246
        case 225:
247
            msgsetsubloc(0, "* ~1 used the SPAGHETTICODE!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_261_0");
248
            break;
249
        case 226:
250
            msgsetsubloc(0, "* ~1 used the JAVACOOKIE!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_264_0");
251
            break;
252
        case 227:
253
            msgsetsubloc(0, "* ~1 used the TENSIONBIT!&* Tension raised up earlier./%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_267_0");
254
            break;
255
        case 228:
256
            msgsetsubloc(0, "* ~1 used the TENSIONGEM!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_270_0");
257
            break;
258
        case 229:
259
            msgsetsubloc(0, "* ~1 used the TENSIONMAX!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_273_0");
260
            break;
261
        case 230:
262
            msgsetsubloc(0, "* ~1 used the REVIVEDUST!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_276_0");
263
            break;
264
        case 231:
265
            msgsetsubloc(0, "* ~1 used the REVIVEBRIGHT!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_279_0");
266
            break;
267
        case 232:
268
            msgsetsubloc(0, "* ~1 administered S.POISON!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_282_0");
269
            break;
270
        case 233:
271
            msgsetsubloc(0, "* ~1 admired DOGDOLLAR!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_298_0");
272
            break;
273
        case 234:
274
            msgsetsubloc(0, "* ~1 used the TVDINNER!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_303_0");
275
            break;
276
        case 235:
277
            msgsetsubloc(0, "* ~1 used the PIPIS!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_306_0");
278
            break;
279
        case 236:
280
            msgsetsubloc(0, "* ~1 used the FLATSODA!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_309_0");
281
            break;
282
        case 237:
283
            msgsetsubloc(0, "* ~1 used the TVSLOP!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_312_0");
284
            break;
285
        case 238:
286
            msgsetsubloc(0, "* ~1 used the EXECBUFFET!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_315_0");
287
            break;
288
        case 239:
289
            msgsetsubloc(0, "* ~1 used the DELUXEDINNER!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_318_0");
290
            break;
291
        case 260:
292
            msgsetsubloc(0, "* ~1 used the ANCIENTSWEET!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_329_0");
293
            break;
294
        case 261:
295
            msgsetsubloc(0, "* ~1 used the RHAPSOTEA!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_332_0");
296
            break;
297
        case 262:
298
            msgsetsubloc(0, "* ~1 used the SCARLIXIR!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_335_0");
299
            break;
300
        case 263:
301
            msgsetsubloc(0, "* ~1 used the BITTERTEAR!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_338_0");
302
            break;
303
    }
304
    if (global.chapter == 4)
305
    {
306
        if (instance_exists(obj_hammer_of_justice_enemy))
307
        {
308
            if (spell == 227)
309
                msgsetsubloc(0, "* ~1 used the TENSIONBIT!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_357_0");
310
            if (spell == 228)
311
                msgsetsubloc(0, "* ~1 used the TENSIONGEM!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_270_0");
312
            if (spell == 229)
313
                msgsetsubloc(0, "* ~1 used the TENSIONMAX!/%", global.charname[global.char[caster]], "scr_spelltext_slash_scr_spelltext_gml_273_0");
314
        }
315
    }
316
    if (global.chapter == 4 && i_ex(obj_hammer_of_justice_enemy) && spell >= 200)
317
    {
318
        var butitwasstolen = stringsetloc(

... but it was stolen!
"&... but it was stolen!", "scr_spelltext_slash_scr_spelltext_gml_351_0"
);
319
        var insertpos = 2;
320
        if (spell == 203 || spell == 204 || spell == 217)
321
            insertpos = 1;
322
        var _str = string_insert(butitwasstolen, global.msg[0], string_length(global.msg[0]) - insertpos);
323
        global.msg[0] = _str;
324
        global.msg[1] = stringsetloc(
Close MessageClose Message
"%%", "scr_spelltext_slash_scr_spelltext_gml_383_0"
);
325
    }
326
}