1 |
global.monster[0] = 0; |
2 |
global.monster[1] = 0; |
3 |
global.monster[2] = 0; |
4 |
global.monster[3] = 0; |
5 |
global.turn = 0; |
6 |
switch (global.battlegroup) |
7 |
{ |
8 |
case 1: |
9 |
global.monstertype[0] = 1TestFroggit; |
10 |
global.monstertype[1] = 1TestFroggit; |
11 |
global.monstertype[2] = 1TestFroggit; |
12 |
global.batmusic = caster_load("music/battle1.ogg"); |
13 |
caster_loop(global.batmusic, 0.5, 1); |
14 |
global.msc = 2; |
15 |
global.battlelv = 1; |
16 |
global.actfirst = 0; |
17 |
global.extraintro = 0; |
18 |
global.monsterinstance[0] = instance_create(216, 136, obj_testmonster); |
19 |
global.monsterinstance[1] = instance_create(418, 136, obj_testmonster); |
20 |
global.monsterinstance[2] = instance_create(14, 136, obj_testmonster); |
21 |
break; |
22 |
case 2: |
23 |
global.monstertype[0] = 2Dummy; |
24 |
global.monstertype[1] = 0???; |
25 |
global.monstertype[2] = 0???; |
26 |
global.batmusic = caster_load("music/prebattle1.ogg"); |
27 |
caster_loop(global.batmusic, 0.5, 1); |
28 |
global.msc = global.battlegroup + 3000; |
29 |
global.battlelv = 0; |
30 |
global.actfirst = 0; |
31 |
global.extraintro = 0; |
32 |
global.monsterinstance[0] = instance_create(216, 136, obj_dummymonster); |
33 |
break; |
34 |
case 3: |
35 |
global.monstertype[0] = 3Froggit; |
36 |
global.monstertype[1] = 0???; |
37 |
global.monstertype[2] = 0???; |
38 |
global.batmusic = caster_load("music/prebattle1.ogg"); |
39 |
caster_loop(global.batmusic, 0.5, 1); |
40 |
global.msc = global.battlegroup + 3000; |
41 |
global.battlelv = 0; |
42 |
global.actfirst = 0; |
43 |
global.extraintro = 0; |
44 |
global.monsterinstance[0] = instance_create(216, 136, obj_fakefroggit); |
45 |
break; |
46 |
case 4: |
47 |
global.monstertype[0] = 4Froggit; |
48 |
global.monstertype[1] = 0???; |
49 |
global.monstertype[2] = 0???; |
50 |
global.batmusic = caster_load("music/battle1.ogg"); |
51 |
caster_loop(global.batmusic, 0.5, 1); |
52 |
global.msc = global.battlegroup + 3000; |
53 |
global.battlelv = 0; |
54 |
global.actfirst = 0; |
55 |
global.extraintro = 0; |
56 |
global.monsterinstance[0] = instance_create(216, 136, obj_froggit); |
57 |
break; |
58 |
case 5: |
59 |
global.monstertype[0] = 5Whimsun; |
60 |
global.monstertype[1] = 0???; |
61 |
global.monstertype[2] = 0???; |
62 |
global.batmusic = caster_load("music/battle1.ogg"); |
63 |
caster_loop(global.batmusic, 0.5, 1); |
64 |
global.msc = global.battlegroup + 3000; |
65 |
global.battlelv = 0; |
66 |
global.actfirst = 0; |
67 |
global.extraintro = 0; |
68 |
global.monsterinstance[0] = instance_create(214, 16, obj_whimsun); |
69 |
break; |
70 |
case 6: |
71 |
global.monstertype[0] = 4Froggit; |
72 |
global.monstertype[1] = 5Whimsun; |
73 |
global.monstertype[2] = 0???; |
74 |
global.batmusic = caster_load("music/battle1.ogg"); |
75 |
caster_loop(global.batmusic, 0.5, 1); |
76 |
global.msc = global.battlegroup + 3000; |
77 |
global.battlelv = 0; |
78 |
global.actfirst = 0; |
79 |
global.extraintro = 0; |
80 |
global.monsterinstance[0] = instance_create(216, 136, obj_froggit); |
81 |
global.monsterinstance[1] = instance_create(317, 16, obj_whimsun); |
82 |
break; |
83 |
case 7: |
84 |
global.monstertype[0] = 6Moldsmal; |
85 |
global.monstertype[1] = 0???; |
86 |
global.monstertype[2] = 0???; |
87 |
global.batmusic = caster_load("music/battle1.ogg"); |
88 |
caster_loop(global.batmusic, 0.5, 1); |
89 |
global.msc = global.battlegroup + 3000; |
90 |
global.battlelv = 0; |
91 |
global.actfirst = 0; |
92 |
global.extraintro = 0; |
93 |
global.monsterinstance[0] = instance_create(216, 156, obj_moldsmal); |
94 |
break; |
95 |
case 8: |
96 |
global.monstertype[0] = 6Moldsmal; |
97 |
global.monstertype[1] = 6Moldsmal; |
98 |
global.monstertype[2] = 6Moldsmal; |
99 |
global.batmusic = caster_load("music/battle1.ogg"); |
100 |
caster_loop(global.batmusic, 0.5, 1); |
101 |
global.msc = global.battlegroup + 3000; |
102 |
global.battlelv = 0; |
103 |
global.actfirst = 0; |
104 |
global.extraintro = 0; |
105 |
global.msc = 0; |
106 |
global.msg[0] = * You tripped into a line of Moldsmals.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_116") ; |
107 |
global.monsterinstance[0] = instance_create(15, 156, obj_moldsmal); |
108 |
global.monsterinstance[1] = instance_create(217, 156, obj_moldsmal); |
109 |
global.monsterinstance[2] = instance_create(421, 156, obj_moldsmal); |
110 |
break; |
111 |
case 9: |
112 |
global.monstertype[0] = 4Froggit; |
113 |
global.monstertype[1] = 4Froggit; |
114 |
global.monstertype[2] = 0???; |
115 |
global.batmusic = caster_load("music/battle1.ogg"); |
116 |
caster_loop(global.batmusic, 0.5, 1); |
117 |
global.msc = 0; |
118 |
global.battlelv = 0; |
119 |
global.actfirst = 0; |
120 |
global.extraintro = 0; |
121 |
global.msg[0] = * A pair of Froggits hop towards you.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_133") ; |
122 |
global.monsterinstance[0] = instance_create(116, 136, obj_froggit); |
123 |
global.monsterinstance[1] = instance_create(320, 136, obj_froggit); |
124 |
break; |
125 |
case 10: |
126 |
global.monstertype[0] = 6Moldsmal; |
127 |
global.monstertype[1] = 6Moldsmal; |
128 |
global.monstertype[2] = 0???; |
129 |
global.batmusic = caster_load("music/battle1.ogg"); |
130 |
caster_loop(global.batmusic, 0.5, 1); |
131 |
global.msc = 0; |
132 |
global.battlelv = 0; |
133 |
global.actfirst = 0; |
134 |
global.extraintro = 0; |
135 |
global.msg[0] = * Moldsmal and Moldsmal block the way.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_148") ; |
136 |
global.monsterinstance[0] = instance_create(116, 156, obj_moldsmal); |
137 |
global.monsterinstance[1] = instance_create(320, 156, obj_moldsmal); |
138 |
break; |
139 |
case 11: |
140 |
global.monstertype[0] = 6Moldsmal; |
141 |
global.monstertype[1] = 7Migosp; |
142 |
global.monstertype[2] = 0???; |
143 |
global.batmusic = caster_load("music/battle1.ogg"); |
144 |
caster_loop(global.batmusic, 0.5, 1); |
145 |
global.msc = 0; |
146 |
global.battlelv = 0; |
147 |
global.actfirst = 0; |
148 |
global.extraintro = 0; |
149 |
global.msg[0] = * Migosp crawled up close!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_163") ; |
150 |
global.monsterinstance[0] = instance_create(116, 156, obj_moldsmal); |
151 |
global.monsterinstance[1] = instance_create(320, 136, obj_migosp); |
152 |
break; |
153 |
case 12: |
154 |
global.monstertype[0] = 7Migosp; |
155 |
global.monstertype[1] = 8Vegetoid; |
156 |
global.monstertype[2] = 0???; |
157 |
global.batmusic = caster_load("music/battle1.ogg"); |
158 |
caster_loop(global.batmusic, 0.5, 1); |
159 |
global.msc = 0; |
160 |
global.battlelv = 0; |
161 |
global.actfirst = 0; |
162 |
global.extraintro = 0; |
163 |
global.msg[0] = * Vegetoid came out of the earth!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_178") ; |
164 |
global.monsterinstance[0] = instance_create(116, 136, obj_migosp); |
165 |
global.monsterinstance[1] = instance_create(320, 136, obj_vegetoid); |
166 |
break; |
167 |
case 13: |
168 |
global.monstertype[0] = 9Loox; |
169 |
global.monstertype[1] = 0???; |
170 |
global.monstertype[2] = 0???; |
171 |
global.batmusic = caster_load("music/battle1.ogg"); |
172 |
caster_loop(global.batmusic, 0.5, 1); |
173 |
global.msc = 0; |
174 |
global.battlelv = 0; |
175 |
global.actfirst = 0; |
176 |
global.extraintro = 0; |
177 |
global.msg[0] = * Loox drew near!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_193") ; |
178 |
global.monsterinstance[0] = instance_create(218, 124, obj_loox); |
179 |
break; |
180 |
case 14: |
181 |
global.monstertype[0] = 9Loox; |
182 |
global.monstertype[1] = 8Vegetoid; |
183 |
global.monstertype[2] = 0???; |
184 |
global.batmusic = caster_load("music/battle1.ogg"); |
185 |
caster_loop(global.batmusic, 0.5, 1); |
186 |
global.msc = 0; |
187 |
global.battlelv = 0; |
188 |
global.actfirst = 0; |
189 |
global.extraintro = 0; |
190 |
global.msg[0] = * Vegetoid and Loox attacked!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_207") ; |
191 |
global.monsterinstance[0] = instance_create(116, 124, obj_loox); |
192 |
global.monsterinstance[1] = instance_create(320, 136, obj_vegetoid); |
193 |
break; |
194 |
case 15: |
195 |
global.monstertype[0] = 9Loox; |
196 |
global.monstertype[1] = 8Vegetoid; |
197 |
global.monstertype[2] = 7Migosp; |
198 |
global.batmusic = caster_load("music/battle1.ogg"); |
199 |
caster_loop(global.batmusic, 0.5, 1); |
200 |
global.msc = 0; |
201 |
global.battlelv = 0; |
202 |
global.actfirst = 0; |
203 |
global.extraintro = 0; |
204 |
global.msg[0] = * Loox and co. decided to pick on you!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_222") ; |
205 |
global.monsterinstance[0] = instance_create(14, 124, obj_loox); |
206 |
global.monsterinstance[1] = instance_create(218, 136, obj_vegetoid); |
207 |
global.monsterinstance[2] = instance_create(422, 136, obj_migosp); |
208 |
break; |
209 |
case 16: |
210 |
global.monstertype[0] = 8Vegetoid; |
211 |
global.monstertype[1] = 8Vegetoid; |
212 |
global.monstertype[2] = 0???; |
213 |
global.batmusic = caster_load("music/battle1.ogg"); |
214 |
caster_loop(global.batmusic, 0.5, 1); |
215 |
global.msc = 0; |
216 |
global.battlelv = 0; |
217 |
global.actfirst = 0; |
218 |
global.extraintro = 0; |
219 |
global.msg[0] = * A pair of Vegetoids came out of the ground!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_238") ; |
220 |
global.monsterinstance[0] = instance_create(116, 136, obj_vegetoid); |
221 |
global.monsterinstance[1] = instance_create(320, 136, obj_vegetoid); |
222 |
break; |
223 |
case 17: |
224 |
global.monstertype[0] = 9Loox; |
225 |
global.monstertype[1] = 9Loox; |
226 |
global.monstertype[2] = 0???; |
227 |
global.batmusic = caster_load("music/battle1.ogg"); |
228 |
caster_loop(global.batmusic, 0.5, 1); |
229 |
global.msc = 0; |
230 |
global.battlelv = 0; |
231 |
global.actfirst = 0; |
232 |
global.extraintro = 0; |
233 |
global.msg[0] = * A pair of Loox decided to pick on you!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_253") ; |
234 |
global.monsterinstance[0] = instance_create(116, 124, obj_loox); |
235 |
global.monsterinstance[1] = instance_create(320, 124, obj_loox); |
236 |
break; |
237 |
case 18: |
238 |
global.monstertype[0] = 8Vegetoid; |
239 |
global.monstertype[1] = 0???; |
240 |
global.monstertype[2] = 0???; |
241 |
global.batmusic = caster_load("music/battle1.ogg"); |
242 |
caster_loop(global.batmusic, 0.5, 1); |
243 |
global.msc = 0; |
244 |
global.battlelv = 0; |
245 |
global.actfirst = 0; |
246 |
global.extraintro = 0; |
247 |
global.msg[0] = * Vegetoid came out of the earth!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_268") ; |
248 |
global.monsterinstance[0] = instance_create(218, 136, obj_vegetoid); |
249 |
break; |
250 |
case 19: |
251 |
global.monstertype[0] = 0???; |
252 |
global.monstertype[1] = 0???; |
253 |
global.monstertype[2] = 0???; |
254 |
global.batmusic = caster_load("music/battle1.ogg"); |
255 |
caster_loop(global.batmusic, 0.3, 0.5); |
256 |
global.msc = 0; |
257 |
global.battlelv = 0; |
258 |
global.actfirst = 0; |
259 |
global.extraintro = 2; |
260 |
global.msg[2] = * But nobody came.Wait for inputClose Messagescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_282") ; |
261 |
break; |
262 |
case 20: |
263 |
global.monstertype[0] = 11Napstablook; |
264 |
global.monstertype[1] = 0???; |
265 |
global.monstertype[2] = 0???; |
266 |
global.batmusic = caster_load("music/ghostbattle.ogg"); |
267 |
caster_loop(global.batmusic, 1, 1); |
268 |
global.msc = 0; |
269 |
global.battlelv = 0; |
270 |
global.actfirst = 0; |
271 |
global.extraintro = 0; |
272 |
global.msg[0] = * Here comes Napstablook.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_297") ; |
273 |
if (global.flag[6 hardmode] == 1) |
274 |
global.msg[0] = * Here comes Napstablook.Delay 11 * Same as usual.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_299") ; |
275 |
global.monsterinstance[0] = instance_create(266, 106, obj_napstablook); |
276 |
break; |
277 |
case 21: |
278 |
global.monstertype[0] = 9Loox; |
279 |
global.monstertype[1] = 0???; |
280 |
global.monstertype[2] = 0???; |
281 |
global.batmusic = caster_load("music/battle1.ogg"); |
282 |
caster_loop(global.batmusic, 0.5, 1); |
283 |
global.msc = 0; |
284 |
global.battlelv = 0; |
285 |
global.actfirst = 0; |
286 |
global.extraintro = 0; |
287 |
global.msg[0] = * Loox drew near!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_193") ; |
288 |
global.monsterinstance[0] = instance_create(218, 124, obj_loox); |
289 |
break; |
290 |
case 22: |
291 |
global.monstertype[0] = 10Toriel; |
292 |
global.monstertype[1] = 0???; |
293 |
global.monstertype[2] = 0???; |
294 |
global.batmusic = caster_load("music/boss1.ogg"); |
295 |
caster_loop(global.batmusic, 1, 1); |
296 |
global.msc = 0; |
297 |
global.battlelv = 0; |
298 |
global.actfirst = 0; |
299 |
global.extraintro = 0; |
300 |
global.msg[0] = * Toriel blocks the way!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_327") ; |
301 |
global.monsterinstance[0] = instance_create(250, 42, obj_torielboss); |
302 |
break; |
303 |
case 23: |
304 |
global.monstertype[0] = 13Doggo; |
305 |
global.monstertype[1] = 0???; |
306 |
global.monstertype[2] = 0???; |
307 |
global.batmusic = caster_load("music/battle1.ogg"); |
308 |
caster_loop(global.batmusic, 0.5, 1); |
309 |
global.msc = 0; |
310 |
global.battlelv = 0; |
311 |
global.actfirst = 0; |
312 |
global.extraintro = 0; |
313 |
global.msg[0] = * Doggo blocks the way!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_342") ; |
314 |
global.monsterinstance[0] = instance_create(196, 28, obj_movedoge); |
315 |
break; |
316 |
case 24: |
317 |
global.monstertype[0] = 14Lesser Dog; |
318 |
global.monstertype[1] = 0???; |
319 |
global.monstertype[2] = 0???; |
320 |
global.batmusic = caster_load("music/battle1.ogg"); |
321 |
caster_loop(global.batmusic, 0.5, 1); |
322 |
global.msc = 0; |
323 |
global.battlelv = 0; |
324 |
global.actfirst = 0; |
325 |
global.extraintro = 0; |
326 |
global.msg[0] = * Lesser Dog appears.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_357") ; |
327 |
global.monsterinstance[0] = instance_create(216, 38, obj_lesserdoge); |
328 |
break; |
329 |
case 25: |
330 |
global.monstertype[0] = 15Dogamy; |
331 |
global.monstertype[1] = 16Dogaressa; |
332 |
global.monstertype[2] = 0???; |
333 |
global.batmusic = caster_load("music/battle1.ogg"); |
334 |
caster_loop(global.batmusic, 0.5, 1); |
335 |
global.msc = 0; |
336 |
global.battlelv = 0; |
337 |
global.actfirst = 0; |
338 |
global.extraintro = 0; |
339 |
global.msg[0] = * Dogi assault you!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_371") ; |
340 |
global.monsterinstance[0] = instance_create(208, 38, obj_mandog); |
341 |
global.monsterinstance[1] = instance_create(208, 38, obj_womandog); |
342 |
break; |
343 |
case 26: |
344 |
global.monstertype[0] = 17Greater Dog; |
345 |
global.monstertype[1] = 0???; |
346 |
global.monstertype[2] = 0???; |
347 |
global.batmusic = caster_load("music/dogsong.ogg"); |
348 |
caster_loop(global.batmusic, 0.7, 0.95); |
349 |
global.msc = 0; |
350 |
global.battlelv = 0; |
351 |
global.actfirst = 0; |
352 |
global.extraintro = 0; |
353 |
global.msg[0] = * It's the Greater Dog.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_386") ; |
354 |
global.monsterinstance[0] = instance_create(208, 38, obj_greatdog); |
355 |
break; |
356 |
case 27: |
357 |
global.monstertype[0] = 25Papyrus; |
358 |
global.monstertype[1] = 0???; |
359 |
global.monstertype[2] = 0???; |
360 |
if (global.flag[67 status_papyrus] < 0) |
361 |
global.batmusic = caster_load("music/papyrusboss.ogg"); |
362 |
else |
363 |
global.batmusic = caster_load("music/papyrus.ogg"); |
364 |
if (scr_murderlvscr_murderlvmrd = 0;
if ( global.flag[202 kills_ruins] >= 20)
mrd = 1;
if (mrd == 1 && global.flag[45 status_toriel] == 4)
mrd = 2;
if (mrd == 2 && global.flag[52 status_doggo] == 1)
mrd = 3;
if (mrd == 3 && global.flag[53 status_dogcouple] == 1)
mrd = 4;
if (mrd == 4 && global.flag[54 status_greaterdog] == 1)
mrd = 5;
if (mrd == 5 && global.flag[57 status_snowdrake] == 2)
mrd = 6;
if (mrd == 6 && global.flag[203 kills_tundra] >= 16)
mrd = 7;
if (mrd == 7 && global.flag[67 status_papyrus] == 1)
mrd = 8;
if (mrd == 8 && global.flag[81 status_shyren] == 1)
mrd = 9;
if (mrd == 9 && global.flag[252 killed_glad_dummy] == 1)
mrd = 10;
if (mrd == 10 && global.flag[204 kills_water] >= 18)
mrd = 11;
if (mrd == 11 && global.flag[251 killed_undyne_ex] == 1 && global.flag[350 status_undyne] == 1)
mrd = 12;
if (mrd == 12 && global.flag[402 killed_rg] == 1)
mrd = 13;
if (mrd == 13 && global.flag[397 killed_muffet] == 1)
mrd = 14;
if (mrd == 14 && global.flag[205 kills_hotland] >= 40)
mrd = 15;
if (mrd == 15 && global.flag[425 killed_mettaton] == 1 && global.flag[27 spared_specific] == 0)
mrd = 16;
murderboy = mrd;
if ( global.flag[26 murderlevel_override] > 0)
mrd = global.flag[26 murderlevel_override];
return mrd; () < 7) |
365 |
{ |
366 |
if (global.flag[67 status_papyrus] < 0) |
367 |
caster_loop(global.batmusic, 0.9, 1); |
368 |
else |
369 |
caster_loop(global.batmusic, 0.5, 1); |
370 |
} |
371 |
else |
372 |
{ |
373 |
caster_loop(global.batmusic, 0, 1); |
374 |
} |
375 |
global.msc = 0; |
376 |
global.battlelv = 0; |
377 |
global.actfirst = 0; |
378 |
global.extraintro = 0; |
379 |
global.msg[0] = * Papyrus blocks the way!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_411") ; |
380 |
if (scr_murderlvscr_murderlvmrd = 0;
if ( global.flag[202 kills_ruins] >= 20)
mrd = 1;
if (mrd == 1 && global.flag[45 status_toriel] == 4)
mrd = 2;
if (mrd == 2 && global.flag[52 status_doggo] == 1)
mrd = 3;
if (mrd == 3 && global.flag[53 status_dogcouple] == 1)
mrd = 4;
if (mrd == 4 && global.flag[54 status_greaterdog] == 1)
mrd = 5;
if (mrd == 5 && global.flag[57 status_snowdrake] == 2)
mrd = 6;
if (mrd == 6 && global.flag[203 kills_tundra] >= 16)
mrd = 7;
if (mrd == 7 && global.flag[67 status_papyrus] == 1)
mrd = 8;
if (mrd == 8 && global.flag[81 status_shyren] == 1)
mrd = 9;
if (mrd == 9 && global.flag[252 killed_glad_dummy] == 1)
mrd = 10;
if (mrd == 10 && global.flag[204 kills_water] >= 18)
mrd = 11;
if (mrd == 11 && global.flag[251 killed_undyne_ex] == 1 && global.flag[350 status_undyne] == 1)
mrd = 12;
if (mrd == 12 && global.flag[402 killed_rg] == 1)
mrd = 13;
if (mrd == 13 && global.flag[397 killed_muffet] == 1)
mrd = 14;
if (mrd == 14 && global.flag[205 kills_hotland] >= 40)
mrd = 15;
if (mrd == 15 && global.flag[425 killed_mettaton] == 1 && global.flag[27 spared_specific] == 0)
mrd = 16;
murderboy = mrd;
if ( global.flag[26 murderlevel_override] > 0)
mrd = global.flag[26 murderlevel_override];
return mrd; () >= 7) |
381 |
global.msg[0] = * Papyrus is sparing you.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_413") ; |
382 |
global.monsterinstance[0] = instance_create(250, 42, obj_papyrusboss); |
383 |
break; |
384 |
case 28: |
385 |
global.monstertype[0] = 22Gyftrot; |
386 |
global.monstertype[1] = 0???; |
387 |
global.monstertype[2] = 0???; |
388 |
global.batmusic = caster_load("music/battle1.ogg"); |
389 |
caster_loop(global.batmusic, 0.5, 1); |
390 |
global.msc = 0; |
391 |
global.battlelv = 0; |
392 |
global.actfirst = 0; |
393 |
global.extraintro = 0; |
394 |
global.msg[0] = * Gyftrot confronts you!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_429") ; |
395 |
global.monsterinstance[0] = instance_create(208, 38, obj_gyftrot); |
396 |
break; |
397 |
case 30: |
398 |
global.monstertype[0] = 18Snowdrake OR Chilldrake; |
399 |
global.monstertype[1] = 0???; |
400 |
global.monstertype[2] = 0???; |
401 |
global.batmusic = caster_load("music/battle1.ogg"); |
402 |
caster_loop(global.batmusic, 0.5, 1); |
403 |
global.msc = 0; |
404 |
global.battlelv = 0; |
405 |
global.actfirst = 0; |
406 |
global.extraintro = 0; |
407 |
if (global.flag[57 status_snowdrake] == 2) |
408 |
{ |
409 |
global.msg[0] = * Chilldrake saunters up!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_445") ; |
410 |
global.monsterinstance[0] = instance_create(216, 38, obj_chilldrake); |
411 |
} |
412 |
else |
413 |
{ |
414 |
global.msg[0] = * Snowdrake flutters forth!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_450") ; |
415 |
global.monsterinstance[0] = instance_create(216, 38, obj_snowdrake); |
416 |
} |
417 |
break; |
418 |
case 31: |
419 |
global.monstertype[0] = 18Snowdrake OR Chilldrake; |
420 |
global.monstertype[1] = 18Snowdrake OR Chilldrake; |
421 |
global.monstertype[2] = 0???; |
422 |
global.batmusic = caster_load("music/battle1.ogg"); |
423 |
caster_loop(global.batmusic, 0.5, 1); |
424 |
global.msc = 0; |
425 |
global.battlelv = 0; |
426 |
global.actfirst = 0; |
427 |
global.extraintro = 0; |
428 |
global.msg[0] = * Chilldrakes flutter forth!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_465") ; |
429 |
global.monsterinstance[0] = instance_create(114, 38, obj_chilldrake); |
430 |
global.monsterinstance[1] = instance_create(318, 38, obj_chilldrake); |
431 |
break; |
432 |
case 32: |
433 |
global.monstertype[0] = 19Ice Cap; |
434 |
global.monstertype[1] = 0???; |
435 |
global.monstertype[2] = 0???; |
436 |
global.batmusic = caster_load("music/battle1.ogg"); |
437 |
caster_loop(global.batmusic, 0.5, 1); |
438 |
global.msc = 0; |
439 |
global.battlelv = 0; |
440 |
global.actfirst = 0; |
441 |
global.extraintro = 0; |
442 |
global.msg[0] = * Icecap struts into view.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_480") ; |
443 |
global.monsterinstance[0] = instance_create(216, 38, obj_icecap); |
444 |
break; |
445 |
case 33: |
446 |
global.monstertype[0] = 19Ice Cap; |
447 |
global.monstertype[1] = 18Snowdrake OR Chilldrake; |
448 |
global.monstertype[2] = 0???; |
449 |
global.batmusic = caster_load("music/battle1.ogg"); |
450 |
caster_loop(global.batmusic, 0.5, 1); |
451 |
global.msc = 0; |
452 |
global.battlelv = 0; |
453 |
global.actfirst = 0; |
454 |
global.extraintro = 0; |
455 |
if (global.flag[57 status_snowdrake] == 2) |
456 |
{ |
457 |
global.msg[0] = * Icecap and Chilldrake pose like bad guys.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_497") ; |
458 |
global.monsterinstance[0] = instance_create(114, 38, obj_icecap); |
459 |
global.monsterinstance[1] = instance_create(318, 38, obj_chilldrake); |
460 |
} |
461 |
else |
462 |
{ |
463 |
global.msg[0] = * Icecap and Snowdrake pose like bad guys.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_503") ; |
464 |
global.monsterinstance[0] = instance_create(114, 38, obj_icecap); |
465 |
global.monsterinstance[1] = instance_create(318, 38, obj_snowdrake); |
466 |
} |
467 |
break; |
468 |
case 34: |
469 |
global.monstertype[0] = 21Jerry; |
470 |
global.monstertype[1] = 0???; |
471 |
global.monstertype[2] = 0???; |
472 |
global.batmusic = caster_load("music/battle1.ogg"); |
473 |
caster_loop(global.batmusic, 0.5, 1); |
474 |
global.msc = 0; |
475 |
global.battlelv = 0; |
476 |
global.actfirst = 0; |
477 |
global.extraintro = 0; |
478 |
global.msg[0] = * Jerry clings to you!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_519") ; |
479 |
global.monsterinstance[0] = instance_create(216, 127, obj_jerry); |
480 |
break; |
481 |
case 35: |
482 |
global.monstertype[0] = 19Ice Cap; |
483 |
global.monstertype[1] = 21Jerry; |
484 |
global.monstertype[2] = 0???; |
485 |
global.batmusic = caster_load("music/battle1.ogg"); |
486 |
caster_loop(global.batmusic, 0.5, 1); |
487 |
global.msc = 0; |
488 |
global.battlelv = 0; |
489 |
global.actfirst = 0; |
490 |
global.extraintro = 0; |
491 |
global.msg[0] = * Icecap appears.Delay 11 * Jerry came too.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_533") ; |
492 |
global.monsterinstance[0] = instance_create(15, 38, obj_icecap); |
493 |
global.monsterinstance[1] = instance_create(216, 127, obj_jerry); |
494 |
break; |
495 |
case 36: |
496 |
global.monstertype[0] = 19Ice Cap; |
497 |
global.monstertype[1] = 21Jerry; |
498 |
global.monstertype[2] = 18Snowdrake OR Chilldrake; |
499 |
global.batmusic = caster_load("music/battle1.ogg"); |
500 |
caster_loop(global.batmusic, 0.5, 1); |
501 |
global.msc = 0; |
502 |
global.battlelv = 0; |
503 |
global.actfirst = 0; |
504 |
global.extraintro = 0; |
505 |
if (global.flag[57 status_snowdrake] == 2) |
506 |
global.msg[0] = * Icecap and Chilldrake confront you,Delay 11 sighing. * Jerry.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_549") ; |
507 |
else |
508 |
global.msg[0] = * Icecap and Snowdrake confront you,Delay 11 sighing. * Jerry.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_548") ; |
509 |
global.monsterinstance[0] = instance_create(15, 38, obj_icecap); |
510 |
global.monsterinstance[1] = instance_create(216, 127, obj_jerry); |
511 |
if (global.flag[57 status_snowdrake] == 2) |
512 |
global.monsterinstance[2] = instance_create(388, 38, obj_chilldrake); |
513 |
else |
514 |
global.monsterinstance[2] = instance_create(388, 38, obj_snowdrake); |
515 |
break; |
516 |
case 40: |
517 |
global.monstertype[0] = 23Aaron; |
518 |
global.monstertype[1] = 0???; |
519 |
global.monstertype[2] = 0???; |
520 |
global.batmusic = caster_load("music/battle1.ogg"); |
521 |
caster_loop(global.batmusic, 0.5, 1); |
522 |
global.msc = 0; |
523 |
global.battlelv = 0; |
524 |
global.actfirst = 0; |
525 |
global.extraintro = 0; |
526 |
global.msg[0] = * Aaron flexes in!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_566") ; |
527 |
global.monsterinstance[0] = instance_create(216, 38, obj_aaron); |
528 |
break; |
529 |
case 41: |
530 |
global.monstertype[0] = 24Temmie; |
531 |
global.monstertype[1] = 0???; |
532 |
global.monstertype[2] = 0???; |
533 |
global.batmusic = caster_load("music/battle1.ogg"); |
534 |
caster_loop(global.batmusic, 0.5, 1); |
535 |
global.msc = 0; |
536 |
global.battlelv = 0; |
537 |
global.actfirst = 0; |
538 |
global.extraintro = 0; |
539 |
global.msg[0] = * Special enemy Temmie appears here to defeat you!!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_581") ; |
540 |
global.monsterinstance[0] = instance_create(216, 38, obj_tembattle); |
541 |
break; |
542 |
case 42: |
543 |
global.monstertype[0] = 12Moldsmal; |
544 |
global.monstertype[1] = 26Moldsmal; |
545 |
global.monstertype[2] = 0???; |
546 |
global.batmusic = caster_load("music/battle1.ogg"); |
547 |
caster_loop(global.batmusic, 0.5, 1); |
548 |
global.msc = 0; |
549 |
global.battlelv = 0; |
550 |
global.actfirst = 0; |
551 |
global.extraintro = 0; |
552 |
global.msg[0] = * You walk into Moldsmal.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_596") ; |
553 |
global.monsterinstance[0] = instance_create(114, 156, obj_moldsmal); |
554 |
global.monsterinstance[1] = instance_create(316, 156, obj_moldsmalx); |
555 |
break; |
556 |
case 43: |
557 |
global.monstertype[0] = 28Woshua; |
558 |
global.monstertype[1] = 0???; |
559 |
global.monstertype[2] = 0???; |
560 |
global.batmusic = caster_load("music/battle1.ogg"); |
561 |
caster_loop(global.batmusic, 0.5, 1); |
562 |
global.msc = 0; |
563 |
global.battlelv = 0; |
564 |
global.actfirst = 0; |
565 |
global.extraintro = 0; |
566 |
global.msg[0] = * Woshua shuffles up.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_612") ; |
567 |
global.monsterinstance[0] = instance_create(114, 136, obj_woshua); |
568 |
break; |
569 |
case 44: |
570 |
global.monstertype[0] = 29Shyren; |
571 |
global.monstertype[1] = 0???; |
572 |
global.monstertype[2] = 0???; |
573 |
global.batmusic = caster_load("music/battle1.ogg"); |
574 |
caster_loop(global.batmusic, 0.5, 1); |
575 |
global.msc = 0; |
576 |
global.battlelv = 0; |
577 |
global.actfirst = 0; |
578 |
global.extraintro = 0; |
579 |
global.msg[0] = * Shyren hides in the corner but somehow encounters you anyway.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_626") ; |
580 |
global.monsterinstance[0] = instance_create(218, 36, obj_shyren); |
581 |
break; |
582 |
case 45: |
583 |
global.monstertype[0] = 31Mad Dummy; |
584 |
global.monstertype[1] = 0???; |
585 |
global.monstertype[2] = 0???; |
586 |
global.batmusic = caster_load("music/dummybattle.ogg"); |
587 |
caster_loop(global.batmusic, 0.9, 1); |
588 |
global.msc = 0; |
589 |
global.battlelv = 0; |
590 |
global.actfirst = 0; |
591 |
global.extraintro = 0; |
592 |
global.msg[0] = * Mad Dummy blocks the way!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_640") ; |
593 |
global.monsterinstance[0] = instance_create(270, 80, obj_maddummy); |
594 |
break; |
595 |
case 46: |
596 |
global.monstertype[0] = 23Aaron; |
597 |
global.monstertype[1] = 28Woshua; |
598 |
global.monstertype[2] = 0???; |
599 |
global.msc = 0; |
600 |
global.battlelv = 0; |
601 |
global.actfirst = 0; |
602 |
global.extraintro = 0; |
603 |
global.msg[0] = * Mad Dummy blocks the way!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_640") ; |
604 |
global.monsterinstance[0] = instance_create(114, 38, obj_aaron); |
605 |
global.monsterinstance[1] = instance_create(318, 136, obj_woshua); |
606 |
obj_woshbody.con = 1; |
607 |
obj_woshbody.alarm[4] = 80; |
608 |
break; |
609 |
case 47: |
610 |
global.monstertype[0] = 32Undyne; |
611 |
global.monstertype[1] = 0???; |
612 |
global.monstertype[2] = 0???; |
613 |
global.batmusic = caster_load("music/undyneboss.ogg"); |
614 |
global.msc = 0; |
615 |
global.battlelv = 0; |
616 |
global.actfirst = 0; |
617 |
global.extraintro = 0; |
618 |
global.msg[0] = " %%"; |
619 |
global.monsterinstance[0] = instance_create(210, 20, obj_undyneboss); |
620 |
break; |
621 |
case 48: |
622 |
global.monstertype[0] = 33Mettaton; |
623 |
global.monstertype[1] = 0???; |
624 |
global.monstertype[2] = 0???; |
625 |
global.batmusic = caster_load("music/mettatonbattle.ogg"); |
626 |
caster_loop(global.batmusic, 0.9, 1); |
627 |
global.msc = 0; |
628 |
global.battlelv = 0; |
629 |
global.actfirst = 0; |
630 |
global.extraintro = 0; |
631 |
global.msg[0] = * Mettaton attacks!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_687") ; |
632 |
global.monsterinstance[0] = instance_create(316, 190, obj_mettatonb_quiz); |
633 |
instance_create(412, 126, obj_questionasker); |
634 |
break; |
635 |
case 49: |
636 |
global.monstertype[0] = 34RG 01; |
637 |
global.monstertype[1] = 35RG 02; |
638 |
global.monstertype[2] = 0???; |
639 |
global.batmusic = caster_load("music/battle1.ogg"); |
640 |
caster_loop(global.batmusic, 0.5, 1); |
641 |
global.msc = 0; |
642 |
global.battlelv = 0; |
643 |
global.actfirst = 0; |
644 |
global.extraintro = 0; |
645 |
global.msg[0] = * Royal Guard attacks!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_704") ; |
646 |
global.monsterinstance[0] = instance_create(18, 34, obj_bara01); |
647 |
global.monsterinstance[1] = instance_create(432, 34, obj_bara02); |
648 |
break; |
649 |
case 50: |
650 |
global.monstertype[0] = 36Tsunderplane; |
651 |
global.monstertype[1] = 0???; |
652 |
global.monstertype[2] = 0???; |
653 |
global.batmusic = caster_load("music/battle1.ogg"); |
654 |
caster_loop(global.batmusic, 0.5, 1); |
655 |
global.msc = 0; |
656 |
global.battlelv = 0; |
657 |
global.actfirst = 0; |
658 |
global.extraintro = 0; |
659 |
global.msg[0] = * Tsunderplane gets in the way! * Not on purpose or anything.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_719") ; |
660 |
global.monsterinstance[0] = instance_create(46, 36, obj_tsunderplane); |
661 |
break; |
662 |
case 51: |
663 |
global.monstertype[0] = 37Vulkin; |
664 |
global.monstertype[1] = 0???; |
665 |
global.monstertype[2] = 0???; |
666 |
global.batmusic = caster_load("music/battle1.ogg"); |
667 |
caster_loop(global.batmusic, 0.5, 1); |
668 |
global.msc = 0; |
669 |
global.battlelv = 0; |
670 |
global.actfirst = 0; |
671 |
global.extraintro = 0; |
672 |
global.msg[0] = * Vulkin strolls in.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_733") ; |
673 |
global.monsterinstance[0] = instance_create(106, 125, obj_vulkin); |
674 |
break; |
675 |
case 52: |
676 |
global.monstertype[0] = 38Pyrope; |
677 |
global.monstertype[1] = 0???; |
678 |
global.monstertype[2] = 0???; |
679 |
global.batmusic = caster_load("music/battle1.ogg"); |
680 |
caster_loop(global.batmusic, 0.5, 1); |
681 |
global.msc = 0; |
682 |
global.battlelv = 0; |
683 |
global.actfirst = 0; |
684 |
global.extraintro = 0; |
685 |
global.msg[0] = * Pyrope bounds towards you!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_747") ; |
686 |
global.monsterinstance[0] = instance_create(108, 7, obj_pyrope); |
687 |
break; |
688 |
case 53: |
689 |
global.monstertype[0] = 12Moldsmal; |
690 |
global.monstertype[1] = 12Moldsmal; |
691 |
global.monstertype[2] = 0???; |
692 |
global.batmusic = caster_load("music/battle1.ogg"); |
693 |
caster_loop(global.batmusic, 0.5, 1); |
694 |
global.msc = 0; |
695 |
global.battlelv = 0; |
696 |
global.actfirst = 0; |
697 |
global.extraintro = 0; |
698 |
global.msg[0] = * You walk into Moldsmal.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_596") ; |
699 |
global.monsterinstance[0] = instance_create(214, 156, obj_moldsmal); |
700 |
global.monsterinstance[1] = instance_create(418, 156, obj_moldsmal); |
701 |
break; |
702 |
case 54: |
703 |
global.monstertype[0] = 28Woshua; |
704 |
global.monstertype[1] = 23Aaron; |
705 |
global.monstertype[2] = 0???; |
706 |
global.batmusic = caster_load("music/battle1.ogg"); |
707 |
caster_loop(global.batmusic, 0.5, 1); |
708 |
global.msc = 0; |
709 |
global.battlelv = 0; |
710 |
global.actfirst = 0; |
711 |
global.extraintro = 0; |
712 |
global.msg[0] = * Woshua and Aaron appear.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_778") ; |
713 |
global.monsterinstance[0] = instance_create(116, 136, obj_woshua); |
714 |
global.monsterinstance[1] = instance_create(318, 38, obj_aaron); |
715 |
break; |
716 |
case 55: |
717 |
global.monstertype[0] = 28Woshua; |
718 |
global.monstertype[1] = 26Moldsmal; |
719 |
global.monstertype[2] = 0???; |
720 |
global.batmusic = caster_load("music/battle1.ogg"); |
721 |
caster_loop(global.batmusic, 0.5, 1); |
722 |
global.msc = 0; |
723 |
global.battlelv = 0; |
724 |
global.actfirst = 0; |
725 |
global.extraintro = 0; |
726 |
global.msg[0] = * Moldbygg and Woshua appear.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_795") ; |
727 |
global.monsterinstance[0] = instance_create(116, 136, obj_woshua); |
728 |
global.monsterinstance[1] = instance_create(318, 156, obj_moldsmalx); |
729 |
with (obj_moldsmalx) |
730 |
{ |
731 |
with (mypart1) |
732 |
instance_destroy(); |
733 |
visible = false; |
734 |
stage = 1; |
735 |
global.monstername[myself] = Moldbyggscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_26b") ; |
736 |
mypart1 = instance_create(x, y, part1); |
737 |
mypart1.stage = 1; |
738 |
global.hurtanim[myself] = 0; |
739 |
image_index = 0; |
740 |
scalevalue = 0.01; |
741 |
} |
742 |
break; |
743 |
case 56: |
744 |
global.monstertype[0] = 39Muffet; |
745 |
global.monstertype[1] = 0???; |
746 |
global.monstertype[2] = 0???; |
747 |
global.batmusic = caster_load("music/spider.ogg"); |
748 |
caster_loop(global.batmusic, 0.5, 1); |
749 |
global.msc = 0; |
750 |
global.battlelv = 0; |
751 |
global.actfirst = 0; |
752 |
global.extraintro = 0; |
753 |
global.msg[0] = * Muffet traps you!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_826") ; |
754 |
global.monsterinstance[0] = instance_create(214, 37, obj_spiderb); |
755 |
break; |
756 |
case 57: |
757 |
global.monstertype[0] = 40Mettaton; |
758 |
global.monstertype[1] = 0???; |
759 |
global.monstertype[2] = 0???; |
760 |
global.batmusic = caster_load("music/mettatonbattle.ogg"); |
761 |
caster_loop(global.batmusic, 0.9, 1); |
762 |
global.msc = 0; |
763 |
global.battlelv = 0; |
764 |
global.actfirst = 0; |
765 |
global.extraintro = 0; |
766 |
global.msg[0] = * Mettaton attacks!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_687") ; |
767 |
global.monsterinstance[0] = instance_create(316, 190, obj_mettatonb_second); |
768 |
break; |
769 |
case 58: |
770 |
global.monstertype[0] = 41Undyne; |
771 |
global.monstertype[1] = 0???; |
772 |
global.monstertype[2] = 0???; |
773 |
global.batmusic = caster_load("music/undyneboss.ogg"); |
774 |
caster_loop(global.batmusic, 0.9, 1.2); |
775 |
global.msc = 0; |
776 |
global.battlelv = 0; |
777 |
global.actfirst = 0; |
778 |
global.extraintro = 0; |
779 |
global.msg[0] = " %%"; |
780 |
global.monsterinstance[0] = instance_create(250, 75, obj_undynebattle2); |
781 |
break; |
782 |
case 59: |
783 |
global.monstertype[0] = 42Madjick; |
784 |
global.monstertype[1] = 0???; |
785 |
global.monstertype[2] = 0???; |
786 |
global.msc = 0; |
787 |
global.battlelv = 0; |
788 |
global.actfirst = 0; |
789 |
global.extraintro = 0; |
790 |
global.msg[0] = * Madjick pops out of its hat!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_868") ; |
791 |
global.monsterinstance[0] = instance_create(244, 50, obj_wizard); |
792 |
break; |
793 |
case 60: |
794 |
global.monstertype[0] = 43Knight Knight; |
795 |
global.monstertype[1] = 0???; |
796 |
global.monstertype[2] = 0???; |
797 |
global.msc = 0; |
798 |
global.battlelv = 0; |
799 |
global.actfirst = 0; |
800 |
global.extraintro = 0; |
801 |
global.msg[0] = * Knight Knight blocks the way!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_882") ; |
802 |
global.monsterinstance[0] = instance_create(56, 40, obj_finalknight); |
803 |
break; |
804 |
case 61: |
805 |
global.monstertype[0] = 44Final Froggit; |
806 |
global.monstertype[1] = 0???; |
807 |
global.monstertype[2] = 0???; |
808 |
global.msc = 0; |
809 |
global.battlelv = 0; |
810 |
global.actfirst = 0; |
811 |
global.extraintro = 0; |
812 |
global.msg[0] = * Final Froggit was already there,Delay 11 waiting for you.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_896") ; |
813 |
global.monsterinstance[0] = instance_create(218, 110, obj_finalfroggit); |
814 |
break; |
815 |
case 62: |
816 |
global.monstertype[0] = 45Astigmatism; |
817 |
global.monstertype[1] = 0???; |
818 |
global.monstertype[2] = 0???; |
819 |
global.msc = 0; |
820 |
global.battlelv = 0; |
821 |
global.actfirst = 0; |
822 |
global.extraintro = 0; |
823 |
global.msg[0] = * Astigmatism drew near.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_910") ; |
824 |
global.monsterinstance[0] = instance_create(218, 110, obj_astigmatism); |
825 |
break; |
826 |
case 63: |
827 |
global.monstertype[0] = 46Whimsalot; |
828 |
global.monstertype[1] = 0???; |
829 |
global.monstertype[2] = 0???; |
830 |
global.msc = 0; |
831 |
global.battlelv = 0; |
832 |
global.actfirst = 0; |
833 |
global.extraintro = 0; |
834 |
global.msg[0] = * Whimsalot rushed in!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_924") ; |
835 |
global.monsterinstance[0] = instance_create(218, 110, obj_whimsalot); |
836 |
break; |
837 |
case 64: |
838 |
global.monstertype[0] = 46Whimsalot; |
839 |
global.monstertype[1] = 44Final Froggit; |
840 |
global.monstertype[2] = 0???; |
841 |
global.msc = 0; |
842 |
global.battlelv = 0; |
843 |
global.actfirst = 0; |
844 |
global.extraintro = 0; |
845 |
global.msg[0] = * Whimsalot and Final Froggit appeared.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_938") ; |
846 |
global.monsterinstance[0] = instance_create(106, 110, obj_whimsalot); |
847 |
global.monsterinstance[1] = instance_create(416, 110, obj_finalfroggit); |
848 |
break; |
849 |
case 65: |
850 |
global.monstertype[0] = 46Whimsalot; |
851 |
global.monstertype[1] = 45Astigmatism; |
852 |
global.monstertype[2] = 0???; |
853 |
global.msc = 0; |
854 |
global.battlelv = 0; |
855 |
global.actfirst = 0; |
856 |
global.extraintro = 0; |
857 |
global.msg[0] = * Whimsalot and Astigmatism appeared.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_953") ; |
858 |
global.monsterinstance[0] = instance_create(106, 110, obj_whimsalot); |
859 |
global.monsterinstance[1] = instance_create(416, 110, obj_astigmatism); |
860 |
break; |
861 |
case 66: |
862 |
global.monstertype[0] = 44Final Froggit; |
863 |
global.monstertype[1] = 45Astigmatism; |
864 |
global.monstertype[2] = 0???; |
865 |
global.msc = 0; |
866 |
global.battlelv = 0; |
867 |
global.actfirst = 0; |
868 |
global.extraintro = 0; |
869 |
global.msg[0] = * Final Froggit and Astigmatism appeared.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_968") ; |
870 |
global.monsterinstance[0] = instance_create(106, 110, obj_finalfroggit); |
871 |
global.monsterinstance[1] = instance_create(416, 110, obj_astigmatism); |
872 |
break; |
873 |
case 67: |
874 |
global.monstertype[0] = 44Final Froggit; |
875 |
global.monstertype[1] = 45Astigmatism; |
876 |
global.monstertype[2] = 46Whimsalot; |
877 |
global.msc = 0; |
878 |
global.battlelv = 0; |
879 |
global.actfirst = 0; |
880 |
global.extraintro = 0; |
881 |
global.msg[0] = * What a nightmare!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_983") ; |
882 |
global.monsterinstance[0] = instance_create(16, 110, obj_finalfroggit); |
883 |
global.monsterinstance[1] = instance_create(218, 110, obj_astigmatism); |
884 |
global.monsterinstance[2] = instance_create(420, 110, obj_whimsalot); |
885 |
break; |
886 |
case 68: |
887 |
global.monstertype[0] = 43Knight Knight; |
888 |
global.monstertype[1] = 42Madjick; |
889 |
global.monstertype[2] = 0???; |
890 |
global.msc = 0; |
891 |
global.battlelv = 0; |
892 |
global.actfirst = 0; |
893 |
global.extraintro = 0; |
894 |
global.msg[0] = * Mercenaries emerge from the shadows.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_999") ; |
895 |
global.monsterinstance[0] = instance_create(16, 50, obj_finalknight); |
896 |
global.monsterinstance[1] = instance_create(366, 50, obj_wizard); |
897 |
break; |
898 |
case 69: |
899 |
global.monstertype[0] = 47Bomb; |
900 |
global.monstertype[1] = 0???; |
901 |
global.monstertype[2] = 0???; |
902 |
global.msc = 0; |
903 |
global.battlelv = 0; |
904 |
global.actfirst = 0; |
905 |
global.extraintro = 0; |
906 |
global.msg[0] = * Defuse the bomb!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1015") ; |
907 |
global.monsterinstance[0] = instance_create(256, 120, obj_battlebomb); |
908 |
break; |
909 |
case 70: |
910 |
global.monstertype[0] = 47Bomb; |
911 |
global.monstertype[1] = 0???; |
912 |
global.monstertype[2] = 0???; |
913 |
global.msc = 0; |
914 |
global.battlelv = 0; |
915 |
global.actfirst = 0; |
916 |
global.extraintro = 0; |
917 |
global.msg[0] = * Defuse the dog!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1029") ; |
918 |
global.monsterinstance[0] = instance_create(256, 180, obj_battlebomb); |
919 |
global.monstername[0] = Annoying Dogscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_47a") ; |
920 |
global.monsterinstance[0].bombtype = 1; |
921 |
global.monsterinstance[0].mypart1.type = 1; |
922 |
global.monsterinstance[0].mypart1.bombtype = 1; |
923 |
global.monsterinstance[0].mypart1.sprite_index = spr_tobdog_sleep_firebattle; |
924 |
break; |
925 |
case 71: |
926 |
global.monstertype[0] = 47Bomb; |
927 |
global.monstertype[1] = 0???; |
928 |
global.monstertype[2] = 0???; |
929 |
global.msc = 0; |
930 |
global.battlelv = 0; |
931 |
global.actfirst = 0; |
932 |
global.extraintro = 0; |
933 |
global.msg[0] = * Defuse the extremely agile glass of water!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1049") ; |
934 |
global.monsterinstance[0] = instance_create(256, 180, obj_battlebomb); |
935 |
global.monstername[0] = Extremely Agile Glass Of Waterscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_47b") ; |
936 |
global.monsterinstance[0].bombtype = 2; |
937 |
global.monsterinstance[0].mypart1.type = 2; |
938 |
global.monsterinstance[0].mypart1.bombtype = 2; |
939 |
global.monsterinstance[0].mypart1.sprite_index = spr_waterglass_battle; |
940 |
break; |
941 |
case 72: |
942 |
global.monstertype[0] = 47Bomb; |
943 |
global.monstertype[1] = 0???; |
944 |
global.monstertype[2] = 0???; |
945 |
global.msc = 0; |
946 |
global.battlelv = 0; |
947 |
global.actfirst = 0; |
948 |
global.extraintro = 0; |
949 |
global.msg[0] = * Defuse the script!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1068") ; |
950 |
global.monsterinstance[0] = instance_create(256, 100, obj_battlebomb); |
951 |
global.monstername[0] = Script Bombscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_47c") ; |
952 |
global.monsterinstance[0].bombtype = 3; |
953 |
global.monsterinstance[0].mypart1.type = 3; |
954 |
global.monsterinstance[0].mypart1.bombtype = 3; |
955 |
break; |
956 |
case 73: |
957 |
global.monstertype[0] = 47Bomb; |
958 |
global.monstertype[1] = 0???; |
959 |
global.monstertype[2] = 0???; |
960 |
global.msc = 0; |
961 |
global.battlelv = 0; |
962 |
global.actfirst = 0; |
963 |
global.extraintro = 0; |
964 |
global.msg[0] = * Defuse the basketball!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1088") ; |
965 |
global.monsterinstance[0] = instance_create(256, 80, obj_battlebomb); |
966 |
global.monstername[0] = Basket Bombscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_47d") ; |
967 |
global.monsterinstance[0].bombtype = 4; |
968 |
global.monsterinstance[0].mypart1.type = 4; |
969 |
global.monsterinstance[0].mypart1.bombtype = 4; |
970 |
break; |
971 |
case 74: |
972 |
global.monstertype[0] = 47Bomb; |
973 |
global.monstertype[1] = 0???; |
974 |
global.monstertype[2] = 0???; |
975 |
global.msc = 0; |
976 |
global.battlelv = 0; |
977 |
global.actfirst = 0; |
978 |
global.extraintro = 0; |
979 |
global.msg[0] = * Defuse the present!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1107") ; |
980 |
global.monsterinstance[0] = instance_create(250, 100, obj_battlebomb); |
981 |
global.monstername[0] = Present Bombscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_47e") ; |
982 |
global.monsterinstance[0].bombtype = 5; |
983 |
global.monsterinstance[0].mypart1.type = 5; |
984 |
global.monsterinstance[0].mypart1.bombtype = 5; |
985 |
break; |
986 |
case 75: |
987 |
global.monstertype[0] = 47Bomb; |
988 |
global.monstertype[1] = 0???; |
989 |
global.monstertype[2] = 0???; |
990 |
global.msc = 0; |
991 |
global.battlelv = 0; |
992 |
global.actfirst = 0; |
993 |
global.extraintro = 0; |
994 |
global.msg[0] = * Defuse the game!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1126") ; |
995 |
global.monsterinstance[0] = instance_create(256, 100, obj_battlebomb); |
996 |
global.monstername[0] = Game Bombscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_47f") ; |
997 |
global.monsterinstance[0].bombtype = 6; |
998 |
global.monsterinstance[0].mypart1.type = 6; |
999 |
global.monsterinstance[0].mypart1.bombtype = 6; |
1000 |
break; |
1001 |
case 76: |
1002 |
global.monstertype[0] = 49RG 04; |
1003 |
global.monstertype[1] = 48RG 03; |
1004 |
global.monstertype[2] = 0???; |
1005 |
global.batmusic = caster_load("music/battle1.ogg"); |
1006 |
caster_loop(global.batmusic, 0.5, 1); |
1007 |
global.msc = 0; |
1008 |
global.battlelv = 0; |
1009 |
global.actfirst = 0; |
1010 |
global.extraintro = 0; |
1011 |
global.msg[0] = * Royal Guard attacks!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_704") ; |
1012 |
global.monsterinstance[0] = instance_create(46, 66, obj_bara04); |
1013 |
global.monsterinstance[1] = instance_create(460, 66, obj_bara03); |
1014 |
break; |
1015 |
case 77: |
1016 |
global.monstertype[0] = 36Tsunderplane; |
1017 |
global.monstertype[1] = 37Vulkin; |
1018 |
global.monstertype[2] = 0???; |
1019 |
global.batmusic = caster_load("music/battle1.ogg"); |
1020 |
caster_loop(global.batmusic, 0.5, 1); |
1021 |
global.msc = 0; |
1022 |
global.battlelv = 0; |
1023 |
global.actfirst = 0; |
1024 |
global.extraintro = 0; |
1025 |
global.msg[0] = * Tsunderplane attacks! * Not because it's jealous Vulkin is paying attention to you!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1160") ; |
1026 |
global.monsterinstance[0] = instance_create(46, 36, obj_tsunderplane); |
1027 |
global.monsterinstance[1] = instance_create(306, 125, obj_vulkin); |
1028 |
break; |
1029 |
case 78: |
1030 |
global.monstertype[0] = 38Pyrope; |
1031 |
global.monstertype[1] = 38Pyrope; |
1032 |
global.monstertype[2] = 0???; |
1033 |
global.batmusic = caster_load("music/battle1.ogg"); |
1034 |
caster_loop(global.batmusic, 0.5, 1); |
1035 |
global.msc = 0; |
1036 |
global.battlelv = 0; |
1037 |
global.actfirst = 0; |
1038 |
global.extraintro = 0; |
1039 |
global.msg[0] = * The rare and threatening Double Davis.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1176") ; |
1040 |
global.monsterinstance[0] = instance_create(106, 10, obj_pyrope); |
1041 |
global.monsterinstance[1] = instance_create(306, 10, obj_pyrope); |
1042 |
break; |
1043 |
case 79: |
1044 |
global.monstertype[0] = 37Vulkin; |
1045 |
global.monstertype[1] = 37Vulkin; |
1046 |
global.monstertype[2] = 0???; |
1047 |
global.batmusic = caster_load("music/battle1.ogg"); |
1048 |
caster_loop(global.batmusic, 0.5, 1); |
1049 |
global.msc = 0; |
1050 |
global.battlelv = 0; |
1051 |
global.actfirst = 0; |
1052 |
global.extraintro = 0; |
1053 |
global.msg[0] = * A strange parade blocks the path.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1191") ; |
1054 |
global.monsterinstance[0] = instance_create(106, 125, obj_vulkin); |
1055 |
global.monsterinstance[1] = instance_create(306, 125, obj_vulkin); |
1056 |
break; |
1057 |
case 80: |
1058 |
global.monstertype[0] = 50Mettaton; |
1059 |
global.monstertype[1] = 0???; |
1060 |
global.monstertype[2] = 0???; |
1061 |
global.batmusic = caster_load("music/mettatonbattle.ogg"); |
1062 |
caster_loop(global.batmusic, 0.9, 1); |
1063 |
global.msc = 0; |
1064 |
global.battlelv = 0; |
1065 |
global.actfirst = 0; |
1066 |
global.extraintro = 0; |
1067 |
global.msg[0] = * Mettaton attacks!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_687") ; |
1068 |
global.monsterinstance[0] = instance_create(300, 190, obj_mettatonb_third); |
1069 |
break; |
1070 |
case 81: |
1071 |
global.monstertype[0] = 51Mettaton EX; |
1072 |
global.monstertype[1] = 0???; |
1073 |
global.monstertype[2] = 0???; |
1074 |
global.batmusic = caster_load("music/mettaton_ex.ogg"); |
1075 |
caster_loop(global.batmusic, 1, 0.97); |
1076 |
global.msc = 0; |
1077 |
global.battlelv = 0; |
1078 |
global.actfirst = 0; |
1079 |
global.extraintro = 0; |
1080 |
global.msg[0] = * Mettaton EX makes his premiere!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1221") ; |
1081 |
global.monsterinstance[0] = instance_create(210, 60, obj_mettatonex); |
1082 |
break; |
1083 |
case 82: |
1084 |
global.monstertype[0] = 53Lemon Bread; |
1085 |
global.monstertype[1] = 0???; |
1086 |
global.monstertype[2] = 0???; |
1087 |
global.batmusic = caster_load("music/amalgam.ogg"); |
1088 |
caster_loop(global.batmusic, 0.8, 1); |
1089 |
global.msc = 0; |
1090 |
global.battlelv = 0; |
1091 |
global.actfirst = 0; |
1092 |
global.extraintro = 0; |
1093 |
global.msg[0] = * Smells like sweet lemons.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1236") ; |
1094 |
global.monsterinstance[0] = instance_create(280, 20, obj_lemonbread); |
1095 |
break; |
1096 |
case 83: |
1097 |
global.monstertype[0] = 54,; |
1098 |
global.monstertype[1] = 0???; |
1099 |
global.monstertype[2] = 0???; |
1100 |
global.batmusic = caster_load("music/amalgam.ogg"); |
1101 |
caster_loop(global.batmusic, 0.8, 1); |
1102 |
global.msc = 0; |
1103 |
global.battlelv = 0; |
1104 |
global.actfirst = 0; |
1105 |
global.extraintro = 0; |
1106 |
global.msg[0] = * ,scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1250") ; |
1107 |
global.monsterinstance[0] = instance_create(240, 20, obj_reaperbird); |
1108 |
break; |
1109 |
case 84: |
1110 |
global.monstertype[0] = 55Amalgamate; |
1111 |
global.monstertype[1] = 0???; |
1112 |
global.monstertype[2] = 0???; |
1113 |
global.batmusic = caster_load("music/snowy.ogg"); |
1114 |
caster_loop(global.batmusic, 0.9, 0.5); |
1115 |
global.msc = 0; |
1116 |
global.battlelv = 0; |
1117 |
global.actfirst = 0; |
1118 |
global.extraintro = 0; |
1119 |
global.msg[0] = * It's so cold.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1264") ; |
1120 |
global.monsterinstance[0] = instance_create(240, 20, obj_snowdrakemom); |
1121 |
break; |
1122 |
case 85: |
1123 |
global.monstertype[0] = 56; |
1124 |
global.monstertype[1] = 56; |
1125 |
global.monstertype[2] = 56; |
1126 |
global.batmusic = caster_load("music/amalgam.ogg"); |
1127 |
caster_loop(global.batmusic, 0.8, 1); |
1128 |
global.msc = 0; |
1129 |
global.battlelv = 0; |
1130 |
global.actfirst = 0; |
1131 |
global.extraintro = 0; |
1132 |
global.msg[0] = * drew near!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1278") ; |
1133 |
global.monsterinstance[0] = instance_create(15, 146, obj_memoryhead); |
1134 |
global.monsterinstance[1] = instance_create(217, 146, obj_memoryhead); |
1135 |
global.monsterinstance[2] = instance_create(421, 146, obj_memoryhead); |
1136 |
break; |
1137 |
case 86: |
1138 |
global.monstertype[0] = 57Amalgamate; |
1139 |
global.monstertype[1] = 0???; |
1140 |
global.monstertype[2] = 0???; |
1141 |
global.batmusic = caster_load("music/sfx_woofenstein_loop.ogg"); |
1142 |
caster_loop(global.batmusic, 0.8, 0.85); |
1143 |
global.msc = 0; |
1144 |
global.battlelv = 0; |
1145 |
global.actfirst = 0; |
1146 |
global.extraintro = 0; |
1147 |
global.msg[0] = * It's the Amalgamate.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1294") ; |
1148 |
global.monsterinstance[0] = instance_create(180, 90, obj_endogeny); |
1149 |
break; |
1150 |
case 87: |
1151 |
global.monstertype[0] = 58Lost Soul; |
1152 |
global.monstertype[1] = 0???; |
1153 |
global.monstertype[2] = 0???; |
1154 |
if (!caster_is_playing(global.batmusic)) |
1155 |
{ |
1156 |
if (global.flag[501 conversation_asriel_fight] == 0) |
1157 |
global.batmusic = caster_load("music/xpart.ogg"); |
1158 |
else |
1159 |
global.batmusic = caster_load("music/xpart_2.ogg"); |
1160 |
caster_loop(global.batmusic, 0.8, 0.95); |
1161 |
} |
1162 |
global.msc = 0; |
1163 |
global.battlelv = 0; |
1164 |
global.actfirst = 0; |
1165 |
global.extraintro = 0; |
1166 |
global.msg[0] = * The Lost Soul appeared.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1314") ; |
1167 |
global.monsterinstance[0] = instance_create(296, 70, obj_ripoff_undyne); |
1168 |
break; |
1169 |
case 88: |
1170 |
global.monstertype[0] = 60Lost Soul; |
1171 |
global.monstertype[1] = 61Lost Soul; |
1172 |
global.monstertype[2] = 0???; |
1173 |
if (!caster_is_playing(global.batmusic)) |
1174 |
{ |
1175 |
if (global.flag[501 conversation_asriel_fight] == 0) |
1176 |
global.batmusic = caster_load("music/xpart.ogg"); |
1177 |
else |
1178 |
global.batmusic = caster_load("music/xpart_2.ogg"); |
1179 |
caster_loop(global.batmusic, 0.8, 0.95); |
1180 |
} |
1181 |
global.msc = 0; |
1182 |
global.battlelv = 0; |
1183 |
global.actfirst = 0; |
1184 |
global.extraintro = 0; |
1185 |
global.msg[0] = * The Lost Souls appeared.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1334") ; |
1186 |
global.monsterinstance[0] = instance_create(76, 35, obj_ripoff_papyrus); |
1187 |
global.monsterinstance[1] = instance_create(456, 148, obj_ripoff_sans); |
1188 |
break; |
1189 |
case 89: |
1190 |
global.monstertype[0] = 59Lost Soul; |
1191 |
global.monstertype[1] = 0???; |
1192 |
global.monstertype[2] = 0???; |
1193 |
if (!caster_is_playing(global.batmusic)) |
1194 |
{ |
1195 |
if (global.flag[501 conversation_asriel_fight] == 0) |
1196 |
global.batmusic = caster_load("music/xpart.ogg"); |
1197 |
else |
1198 |
global.batmusic = caster_load("music/xpart_2.ogg"); |
1199 |
caster_loop(global.batmusic, 0.8, 0.95); |
1200 |
} |
1201 |
global.msc = 0; |
1202 |
global.battlelv = 0; |
1203 |
global.actfirst = 0; |
1204 |
global.extraintro = 0; |
1205 |
global.msg[0] = * The Lost Soul appeared.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1314") ; |
1206 |
global.monsterinstance[0] = instance_create(266, 100, obj_ripoff_alphys); |
1207 |
break; |
1208 |
case 90: |
1209 |
global.monstertype[0] = 62Lost Soul; |
1210 |
global.monstertype[1] = 63Lost Soul; |
1211 |
global.monstertype[2] = 0???; |
1212 |
if (!caster_is_playing(global.batmusic)) |
1213 |
{ |
1214 |
if (global.flag[501 conversation_asriel_fight] == 0) |
1215 |
global.batmusic = caster_load("music/xpart.ogg"); |
1216 |
else |
1217 |
global.batmusic = caster_load("music/xpart_2.ogg"); |
1218 |
caster_loop(global.batmusic, 0.8, 0.95); |
1219 |
} |
1220 |
global.msc = 0; |
1221 |
global.battlelv = 0; |
1222 |
global.actfirst = 0; |
1223 |
global.extraintro = 0; |
1224 |
global.msg[0] = * The Lost Souls appeared.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1334") ; |
1225 |
global.monsterinstance[0] = instance_create(26, 94, obj_ripoff_toriel); |
1226 |
global.monsterinstance[1] = instance_create(356, 62, obj_ripoff_asgore); |
1227 |
break; |
1228 |
case 91: |
1229 |
global.monstertype[0] = 64Monster Kid; |
1230 |
global.monstertype[1] = 0???; |
1231 |
global.monstertype[2] = 0???; |
1232 |
global.batmusic = caster_load("music/prebattle1.ogg"); |
1233 |
caster_loop(global.batmusic, 1, 0.25); |
1234 |
global.msc = 0; |
1235 |
global.battlelv = 0; |
1236 |
global.actfirst = 0; |
1237 |
global.extraintro = 0; |
1238 |
global.msg[0] = * In my way.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1395") ; |
1239 |
global.monsterinstance[0] = instance_create(260, 110, obj_mkid_battle); |
1240 |
break; |
1241 |
case 92: |
1242 |
global.monstertype[0] = 65Undyne the Undying; |
1243 |
global.monstertype[1] = 0???; |
1244 |
global.monstertype[2] = 0???; |
1245 |
global.batmusic = caster_load("music/x_undyne.ogg"); |
1246 |
caster_loop(global.batmusic, 1, 1); |
1247 |
global.msc = 0; |
1248 |
global.battlelv = 0; |
1249 |
global.actfirst = 0; |
1250 |
global.extraintro = 0; |
1251 |
global.msg[0] = * The heroine appears.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1410") ; |
1252 |
global.monsterinstance[0] = instance_create(210, 20, obj_undyne_ex); |
1253 |
break; |
1254 |
case 93: |
1255 |
global.monstertype[0] = 66Glad Dummy; |
1256 |
global.monstertype[1] = 0???; |
1257 |
global.monstertype[2] = 0???; |
1258 |
global.batmusic = caster_load("music/prebattle1.ogg"); |
1259 |
caster_loop(global.batmusic, 0.5, 1); |
1260 |
global.msc = 0; |
1261 |
global.msg[0] = * Glad Dummy lets you go.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1422") ; |
1262 |
global.battlelv = 0; |
1263 |
global.actfirst = 0; |
1264 |
global.extraintro = 0; |
1265 |
global.monsterinstance[0] = instance_create(216, 136, obj_gladdummy); |
1266 |
break; |
1267 |
case 94: |
1268 |
global.monstertype[0] = 67Mettaton NEO; |
1269 |
global.monstertype[1] = 0???; |
1270 |
global.monstertype[2] = 0???; |
1271 |
global.batmusic = caster_load("music/mettaton_neo.ogg"); |
1272 |
caster_loop(global.batmusic, 0.7, 1); |
1273 |
global.msc = 0; |
1274 |
global.battlelv = 0; |
1275 |
global.actfirst = 0; |
1276 |
global.extraintro = 0; |
1277 |
global.msg[0] = * Mettaton NEO blocks the way!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1439") ; |
1278 |
global.monsterinstance[0] = instance_create(210, 0, obj_mettaton_neo); |
1279 |
break; |
1280 |
case 95: |
1281 |
with (obj_battlebg) |
1282 |
instance_destroy(); |
1283 |
global.monstertype[0] = 68Sans; |
1284 |
global.monstertype[1] = 0???; |
1285 |
global.monstertype[2] = 0???; |
1286 |
global.batmusic = caster_load("music/zz_megalovania.ogg"); |
1287 |
global.msc = 0; |
1288 |
global.battlelv = 0; |
1289 |
global.actfirst = 0; |
1290 |
global.extraintro = 0; |
1291 |
global.msg[0] = ""; |
1292 |
global.monsterinstance[0] = instance_create(270, 110, obj_sansb); |
1293 |
break; |
1294 |
case 100: |
1295 |
global.monstertype[0] = 52Asgore; |
1296 |
global.monstertype[1] = 0???; |
1297 |
global.monstertype[2] = 0???; |
1298 |
global.msc = 0; |
1299 |
global.battlelv = 0; |
1300 |
global.actfirst = 0; |
1301 |
global.extraintro = 0; |
1302 |
global.msg[0] = ""; |
1303 |
global.monster[0] = 1; |
1304 |
global.monsterinstance[0] = instance_create(116, 16, obj_asgore_finalintro); |
1305 |
global.mnfight = -999; |
1306 |
break; |
1307 |
case 101: |
1308 |
global.monstertype[0] = 52Asgore; |
1309 |
global.monstertype[1] = 0???; |
1310 |
global.monstertype[2] = 0???; |
1311 |
global.batmusic = caster_load("music/vsasgore.ogg"); |
1312 |
caster_loop(global.batmusic, 1, 1); |
1313 |
global.msc = 0; |
1314 |
global.battlelv = 0; |
1315 |
global.actfirst = 0; |
1316 |
global.extraintro = 0; |
1317 |
global.msg[0] = * ASGORE attacks!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1484") ; |
1318 |
global.monsterinstance[0] = instance_create(208, 8, obj_asgoreb); |
1319 |
instance_create(0, 0, obj_purplegradienter); |
1320 |
instance_create(0, 0, obj_orangeparticlegen); |
1321 |
break; |
1322 |
case 120: |
1323 |
global.monstertype[0] = 70Final Froggit; |
1324 |
global.monstertype[1] = 71Astigmatism; |
1325 |
global.monstertype[2] = 0???; |
1326 |
global.batmusic = caster_load("music/battle2.ogg"); |
1327 |
caster_loop(global.batmusic, 0.75, 1); |
1328 |
global.msc = 0; |
1329 |
global.battlelv = 0; |
1330 |
global.actfirst = 0; |
1331 |
global.extraintro = 0; |
1332 |
global.msg[0] = * That doesn't seem correct.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1501") ; |
1333 |
global.monsterinstance[0] = instance_create(106, 110, obj_finalfroggit); |
1334 |
global.monsterinstance[1] = instance_create(416, 110, obj_astigmatism); |
1335 |
break; |
1336 |
case 121: |
1337 |
global.monstertype[0] = 70Final Froggit; |
1338 |
global.monstertype[1] = 73Migospel; |
1339 |
global.monstertype[2] = 0???; |
1340 |
global.batmusic = caster_load("music/battle2.ogg"); |
1341 |
caster_loop(global.batmusic, 0.75, 1); |
1342 |
global.msc = 0; |
1343 |
global.battlelv = 0; |
1344 |
global.actfirst = 0; |
1345 |
global.extraintro = 0; |
1346 |
global.msg[0] = * Final Froggit stopped chasing Migospel around.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1517") ; |
1347 |
global.monsterinstance[0] = instance_create(106, 110, obj_finalfroggit); |
1348 |
global.monsterinstance[1] = instance_create(426, 130, obj_migospel); |
1349 |
break; |
1350 |
case 122: |
1351 |
global.monstertype[0] = 75Parsnik; |
1352 |
global.monstertype[1] = 0???; |
1353 |
global.monstertype[2] = 0???; |
1354 |
global.batmusic = caster_load("music/battle2.ogg"); |
1355 |
caster_loop(global.batmusic, 0.75, 1); |
1356 |
global.msc = 0; |
1357 |
global.battlelv = 0; |
1358 |
global.actfirst = 0; |
1359 |
global.extraintro = 0; |
1360 |
global.msg[0] = * Parsnik slithered out of the earth!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1532") ; |
1361 |
global.monsterinstance[0] = instance_create(111, 120, obj_parsnik); |
1362 |
break; |
1363 |
case 123: |
1364 |
global.monstertype[0] = 74Moldessa; |
1365 |
global.monstertype[1] = 74Moldessa; |
1366 |
global.monstertype[2] = 0???; |
1367 |
global.batmusic = caster_load("music/battle2.ogg"); |
1368 |
caster_loop(global.batmusic, 0.75, 1); |
1369 |
global.msc = 0; |
1370 |
global.battlelv = 0; |
1371 |
global.actfirst = 0; |
1372 |
global.extraintro = 0; |
1373 |
global.msg[0] = * You tripped over some Moldessas.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1547") ; |
1374 |
global.monsterinstance[0] = instance_create(118, 127, obj_moldessa); |
1375 |
global.monsterinstance[1] = instance_create(318, 127, obj_moldessa); |
1376 |
break; |
1377 |
case 124: |
1378 |
global.monstertype[0] = 74Moldessa; |
1379 |
global.monstertype[1] = 74Moldessa; |
1380 |
global.monstertype[2] = 74Moldessa; |
1381 |
global.batmusic = caster_load("music/battle2.ogg"); |
1382 |
caster_loop(global.batmusic, 0.75, 1); |
1383 |
global.msc = 0; |
1384 |
global.battlelv = 0; |
1385 |
global.actfirst = 0; |
1386 |
global.extraintro = 0; |
1387 |
global.msg[0] = * A line of Moldessas block the path.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1563") ; |
1388 |
global.monsterinstance[0] = instance_create(18, 127, obj_moldessa); |
1389 |
global.monsterinstance[1] = instance_create(218, 127, obj_moldessa); |
1390 |
global.monsterinstance[2] = instance_create(418, 127, obj_moldessa); |
1391 |
break; |
1392 |
case 125: |
1393 |
global.monstertype[0] = 70Final Froggit; |
1394 |
global.monstertype[1] = 72Whimsalot; |
1395 |
global.monstertype[2] = 0???; |
1396 |
global.batmusic = caster_load("music/battle2.ogg"); |
1397 |
caster_loop(global.batmusic, 0.75, 1); |
1398 |
global.msc = 0; |
1399 |
global.battlelv = 0; |
1400 |
global.actfirst = 0; |
1401 |
global.extraintro = 0; |
1402 |
global.msg[0] = * Can you believe it?scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1580") ; |
1403 |
global.monsterinstance[0] = instance_create(106, 110, obj_finalfroggit); |
1404 |
global.monsterinstance[1] = instance_create(416, 120, obj_whimsalot); |
1405 |
break; |
1406 |
case 126: |
1407 |
global.monstertype[0] = 70Final Froggit; |
1408 |
global.monstertype[1] = 0???; |
1409 |
global.monstertype[2] = 0???; |
1410 |
global.batmusic = caster_load("music/battle2.ogg"); |
1411 |
caster_loop(global.batmusic, 0.75, 1); |
1412 |
global.msc = 0; |
1413 |
global.battlelv = 0; |
1414 |
global.actfirst = 0; |
1415 |
global.extraintro = 0; |
1416 |
global.msg[0] = * Final Froggit hopped in...?scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1595") ; |
1417 |
global.monsterinstance[0] = instance_create(208, 110, obj_finalfroggit); |
1418 |
break; |
1419 |
case 127: |
1420 |
global.monstertype[0] = 72Whimsalot; |
1421 |
global.monstertype[1] = 75Parsnik; |
1422 |
global.monstertype[2] = 0???; |
1423 |
global.batmusic = caster_load("music/battle2.ogg"); |
1424 |
caster_loop(global.batmusic, 0.75, 1); |
1425 |
global.msc = 0; |
1426 |
global.battlelv = 0; |
1427 |
global.actfirst = 0; |
1428 |
global.extraintro = 0; |
1429 |
global.msg[0] = * Whimsalot and Parsnik appeared.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1609") ; |
1430 |
global.monsterinstance[0] = instance_create(110, 120, obj_whimsalot); |
1431 |
global.monsterinstance[1] = instance_create(316, 120, obj_parsnik); |
1432 |
break; |
1433 |
case 128: |
1434 |
global.monstertype[0] = 74Moldessa; |
1435 |
global.monstertype[1] = 73Migospel; |
1436 |
global.monstertype[2] = 0???; |
1437 |
global.batmusic = caster_load("music/battle2.ogg"); |
1438 |
caster_loop(global.batmusic, 0.75, 1); |
1439 |
global.msc = 0; |
1440 |
global.battlelv = 0; |
1441 |
global.actfirst = 0; |
1442 |
global.extraintro = 0; |
1443 |
global.msg[0] = * Migospel flutters in,Delay 11 carrying Moldessa.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1624") ; |
1444 |
global.monsterinstance[0] = instance_create(116, 127, obj_moldessa); |
1445 |
global.monsterinstance[1] = instance_create(324, 130, obj_migospel); |
1446 |
break; |
1447 |
case 129: |
1448 |
global.monstertype[0] = 75Parsnik; |
1449 |
global.monstertype[1] = 73Migospel; |
1450 |
global.monstertype[2] = 0???; |
1451 |
global.batmusic = caster_load("music/battle2.ogg"); |
1452 |
caster_loop(global.batmusic, 0.75, 1); |
1453 |
global.msc = 0; |
1454 |
global.battlelv = 0; |
1455 |
global.actfirst = 0; |
1456 |
global.extraintro = 0; |
1457 |
global.msg[0] = * Migospel flutters in,Delay 11 carrying Parsnik.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1639") ; |
1458 |
global.monsterinstance[0] = instance_create(111, 120, obj_parsnik); |
1459 |
global.monsterinstance[1] = instance_create(324, 130, obj_migospel); |
1460 |
break; |
1461 |
case 130: |
1462 |
global.monstertype[0] = 75Parsnik; |
1463 |
global.monstertype[1] = 75Parsnik; |
1464 |
global.monstertype[2] = 0???; |
1465 |
global.batmusic = caster_load("music/battle2.ogg"); |
1466 |
caster_loop(global.batmusic, 0.75, 1); |
1467 |
global.msc = 0; |
1468 |
global.battlelv = 0; |
1469 |
global.actfirst = 0; |
1470 |
global.extraintro = 0; |
1471 |
global.msg[0] = * Parsniks hissed out of the earth!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1654") ; |
1472 |
global.monsterinstance[0] = instance_create(111, 120, obj_parsnik); |
1473 |
global.monsterinstance[1] = instance_create(318, 120, obj_parsnik); |
1474 |
break; |
1475 |
case 131: |
1476 |
global.monstertype[0] = 75Parsnik; |
1477 |
global.monstertype[1] = 71Astigmatism; |
1478 |
global.monstertype[2] = 0???; |
1479 |
global.batmusic = caster_load("music/battle2.ogg"); |
1480 |
caster_loop(global.batmusic, 0.75, 1); |
1481 |
global.msc = 0; |
1482 |
global.battlelv = 0; |
1483 |
global.actfirst = 0; |
1484 |
global.extraintro = 0; |
1485 |
global.msg[0] = * Not only potatoes have eyes.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1669") ; |
1486 |
global.monsterinstance[0] = instance_create(111, 120, obj_parsnik); |
1487 |
global.monsterinstance[1] = instance_create(314, 110, obj_astigmatism); |
1488 |
break; |
1489 |
case 132: |
1490 |
global.monstertype[0] = 71Astigmatism; |
1491 |
global.monstertype[1] = 71Astigmatism; |
1492 |
global.monstertype[2] = 0???; |
1493 |
global.batmusic = caster_load("music/battle2.ogg"); |
1494 |
caster_loop(global.batmusic, 0.75, 1); |
1495 |
global.msc = 0; |
1496 |
global.battlelv = 0; |
1497 |
global.actfirst = 0; |
1498 |
global.extraintro = 0; |
1499 |
global.msg[0] = * Eyes appeared from the shadows.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1684") ; |
1500 |
global.monsterinstance[0] = instance_create(108, 110, obj_astigmatism); |
1501 |
global.monsterinstance[1] = instance_create(312, 110, obj_astigmatism); |
1502 |
break; |
1503 |
case 133: |
1504 |
global.monstertype[0] = 71Astigmatism; |
1505 |
global.monstertype[1] = 73Migospel; |
1506 |
global.monstertype[2] = 74Moldessa; |
1507 |
global.batmusic = caster_load("music/battle2.ogg"); |
1508 |
caster_loop(global.batmusic, 0.75, 1); |
1509 |
global.msc = 0; |
1510 |
global.battlelv = 0; |
1511 |
global.actfirst = 0; |
1512 |
global.extraintro = 0; |
1513 |
global.msg[0] = * Looks like a real party.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1699") ; |
1514 |
global.monsterinstance[0] = instance_create(8, 110, obj_astigmatism); |
1515 |
global.monsterinstance[1] = instance_create(213, 130, obj_migospel); |
1516 |
global.monsterinstance[2] = instance_create(418, 127, obj_moldessa); |
1517 |
break; |
1518 |
case 134: |
1519 |
global.monstertype[0] = 71Astigmatism; |
1520 |
global.monstertype[1] = 75Parsnik; |
1521 |
global.monstertype[2] = 74Moldessa; |
1522 |
global.batmusic = caster_load("music/battle2.ogg"); |
1523 |
caster_loop(global.batmusic, 0.75, 1); |
1524 |
global.msc = 0; |
1525 |
global.battlelv = 0; |
1526 |
global.actfirst = 0; |
1527 |
global.extraintro = 0; |
1528 |
global.msg[0] = * Party from Hell.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1716") ; |
1529 |
global.monsterinstance[0] = instance_create(18, 120, obj_whimsalot); |
1530 |
global.monsterinstance[1] = instance_create(218, 120, obj_parsnik); |
1531 |
global.monsterinstance[2] = instance_create(418, 127, obj_moldessa); |
1532 |
break; |
1533 |
case 135: |
1534 |
global.monstertype[0] = 76Glyde; |
1535 |
global.monstertype[1] = 0???; |
1536 |
global.monstertype[2] = 0???; |
1537 |
global.batmusic = caster_load("music/battle1.ogg"); |
1538 |
caster_loop(global.batmusic, 0.5, 1); |
1539 |
global.msc = 0; |
1540 |
global.battlelv = 0; |
1541 |
global.actfirst = 0; |
1542 |
global.extraintro = 0; |
1543 |
global.msg[0] = * Glyde swooped in!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1733") ; |
1544 |
global.monsterinstance[0] = instance_create(188, 16, obj_glydeb); |
1545 |
break; |
1546 |
case 140: |
1547 |
global.monstertype[0] = 80So Sorry; |
1548 |
global.monstertype[1] = 0???; |
1549 |
global.monstertype[2] = 0???; |
1550 |
global.batmusic = mus_wrongworld; |
1551 |
caster_loop(global.batmusic, 0.8, 1); |
1552 |
global.msc = 0; |
1553 |
global.battlelv = 0; |
1554 |
global.actfirst = 0; |
1555 |
global.extraintro = 0; |
1556 |
global.msg[0] = * You're blocked in politely!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1747") ; |
1557 |
global.monsterinstance[0] = instance_create(216, 78, obj_sosorry); |
1558 |
break; |
1559 |
case 255: |
1560 |
global.monstertype[0] = 99Asriel Dreemurr; |
1561 |
global.monstertype[1] = 0???; |
1562 |
global.monstertype[2] = 0???; |
1563 |
caster_free(all); |
1564 |
global.batmusic = caster_load("music/xpart.ogg"); |
1565 |
caster_loop(global.batmusic, 0.8, 0.95); |
1566 |
global.msc = 0; |
1567 |
global.battlelv = 0; |
1568 |
global.actfirst = 0; |
1569 |
global.extraintro = 0; |
1570 |
global.msg[0] = * It's the end.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1762") ; |
1571 |
global.monsterinstance[0] = instance_create(258, 8, obj_asrielb); |
1572 |
break; |
1573 |
case 256: |
1574 |
global.monstertype[0] = 100Asriel; |
1575 |
global.monstertype[1] = 0???; |
1576 |
global.monstertype[2] = 0???; |
1577 |
global.flag[15 in_battle] = 1; |
1578 |
global.flag[500 but_it_refused] = 1; |
1579 |
if (!caster_is_playing(global.batmusic)) |
1580 |
{ |
1581 |
if (global.flag[501 conversation_asriel_fight] == 0) |
1582 |
global.batmusic = caster_load("music/a2.ogg"); |
1583 |
else |
1584 |
global.batmusic = caster_load("music/xpart_2.ogg"); |
1585 |
caster_loop(global.batmusic, 0.8, 0.95); |
1586 |
} |
1587 |
global.msc = 0; |
1588 |
global.battlelv = 0; |
1589 |
global.actfirst = 0; |
1590 |
global.extraintro = 0; |
1591 |
global.msg[0] = * ASRIEL blocks the way!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1787") ; |
1592 |
if (global.flag[501 conversation_asriel_fight] == 2) |
1593 |
global.msg[0] = * ASRIEL's SOUL was awakened by the power of your friends!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1789") ; |
1594 |
if (global.flag[501 conversation_asriel_fight] == 3) |
1595 |
global.msg[0] = * It's time to say goodbye.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("scr_battlegroup_1791") ; |
1596 |
global.border = 0; |
1597 |
SCR_BORDERSETUPSCR_BORDERSETUPif (global.border == 0)
{
global.idealborder[0] = 32;
global.idealborder[1] = 602;
global.idealborder[2] = 250;
global.idealborder[3] = 385;
}
if (global.border == 1)
{
global.idealborder[0] = 217;
global.idealborder[1] = 417;
global.idealborder[2] = 180;
global.idealborder[3] = 385;
}
if (global.border == 2)
{
global.idealborder[0] = 217;
global.idealborder[1] = 417;
global.idealborder[2] = 125;
global.idealborder[3] = 385;
}
if (global.border == 3)
{
global.idealborder[0] = 237;
global.idealborder[1] = 397;
global.idealborder[2] = 250;
global.idealborder[3] = 385;
}
if (global.border == 4)
{
global.idealborder[0] = 267;
global.idealborder[1] = 367;
global.idealborder[2] = 295;
global.idealborder[3] = 385;
}
if (global.border == 5)
{
global.idealborder[0] = 192;
global.idealborder[1] = 442;
global.idealborder[2] = 250;
global.idealborder[3] = 385;
}
if (global.border == 6)
{
global.idealborder[0] = 227;
global.idealborder[1] = 407;
global.idealborder[2] = 250;
global.idealborder[3] = 385;
}
if (global.border == 7)
{
global.idealborder[0] = 227;
global.idealborder[1] = 407;
global.idealborder[2] = 200;
global.idealborder[3] = 385;
}
if (global.border == 8)
{
global.idealborder[0] = 202;
global.idealborder[1] = 432;
global.idealborder[2] = 290;
global.idealborder[3] = 385;
}
if (global.border == 9)
{
global.idealborder[0] = 132;
global.idealborder[1] = 492;
global.idealborder[2] = 250;
global.idealborder[3] = 385;
}
if (global.border == 10)
{
global.idealborder[0] = 147;
global.idealborder[1] = 487;
global.idealborder[2] = 200;
global.idealborder[3] = 385;
}
if (global.border == 11)
{
global.idealborder[0] = 32;
global.idealborder[1] = 602;
global.idealborder[2] = 330;
global.idealborder[3] = 465;
}
if (global.border == 12)
{
global.idealborder[0] = (room_width / 2) - 40;
global.idealborder[1] = (room_width / 2) + 40;
global.idealborder[2] = (room_height / 2) - 40;
global.idealborder[3] = (room_height / 2) + 40;
}
if (global.border == 13)
{
global.idealborder[0] = (room_width / 2) - 40;
global.idealborder[1] = (room_width / 2) + 40;
global.idealborder[2] = 250;
global.idealborder[3] = 385;
}
if (global.border == 14)
{
global.idealborder[0] = (room_width / 2) - 35;
... (); |
1598 |
global.monsterinstance[0] = instance_create(320, 48, obj_asrielfinal); |
1599 |
break; |
1600 |
} |