|
1
|
myself = 0;
|
|
2
|
if (global.monster[1] == 1)
|
|
3
|
{
|
|
4
|
myself = 2;
|
|
5
|
global.monster[2] = 1;
|
|
6
|
}
|
|
7
|
if (global.monster[0] == 1 && myself != 2)
|
|
8
|
{
|
|
9
|
myself = 1;
|
|
10
|
global.monster[1] = 1;
|
|
11
|
}
|
|
12
|
if (global.monster[0] == 0)
|
|
13
|
{
|
|
14
|
myself = 0;
|
|
15
|
global.monster[0] = 1;
|
|
16
|
}
|
|
17
|
if (global.monstertype[myself] == 1TestFroggit)
|
|
18
|
{
|
|
19
|
global.monstername[myself] = TestFroggitscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_1") ;
|
|
20
|
global.monstermaxhp[myself] = 23;
|
|
21
|
global.monsterhp[myself] = 23;
|
|
22
|
global.monsteratk[myself] = 4;
|
|
23
|
global.monsterdef[myself] = 1;
|
|
24
|
global.xpreward[myself] = 2;
|
|
25
|
global.goldreward[myself] = 2;
|
|
26
|
global.itemrewardid = 1;
|
|
27
|
global.itemrewardchance = 50;
|
|
28
|
}
|
|
29
|
if (global.monstertype[myself] == 2Dummy)
|
|
30
|
{
|
|
31
|
global.monstername[myself] = Dummyscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_2") ;
|
|
32
|
global.monstermaxhp[myself] = 15;
|
|
33
|
global.monsterhp[myself] = 15;
|
|
34
|
global.monsteratk[myself] = 0;
|
|
35
|
global.monsterdef[myself] = -5;
|
|
36
|
global.xpreward[myself] = 0;
|
|
37
|
global.goldreward[myself] = 0;
|
|
38
|
global.itemrewardid = 0;
|
|
39
|
global.itemrewardchance = 0;
|
|
40
|
}
|
|
41
|
if (global.monstertype[myself] == 3Froggit)
|
|
42
|
{
|
|
43
|
global.monstername[myself] = Froggitscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_3") ;
|
|
44
|
global.monstermaxhp[myself] = 20;
|
|
45
|
global.monsterhp[myself] = 20;
|
|
46
|
global.monsteratk[myself] = 4;
|
|
47
|
global.monsterdef[myself] = 1;
|
|
48
|
global.xpreward[myself] = 10;
|
|
49
|
global.goldreward[myself] = 20;
|
|
50
|
global.itemrewardid = 1;
|
|
51
|
global.itemrewardchance = 50;
|
|
52
|
}
|
|
53
|
if (global.monstertype[myself] == 4Froggit)
|
|
54
|
{
|
|
55
|
global.monstername[myself] = Froggitscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_4") ;
|
|
56
|
global.monstermaxhp[myself] = 30;
|
|
57
|
global.monsterhp[myself] = 30;
|
|
58
|
global.monsteratk[myself] = 4;
|
|
59
|
global.monsterdef[myself] = 4;
|
|
60
|
global.xpreward[myself] = 3;
|
|
61
|
global.goldreward[myself] = 2;
|
|
62
|
global.itemrewardid = 1;
|
|
63
|
global.itemrewardchance = 50;
|
|
64
|
}
|
|
65
|
if (global.monstertype[myself] == 5Whimsun)
|
|
66
|
{
|
|
67
|
global.monstername[myself] = Whimsunscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_5") ;
|
|
68
|
global.monstermaxhp[myself] = 10;
|
|
69
|
global.monsterhp[myself] = 10;
|
|
70
|
global.monsteratk[myself] = 4;
|
|
71
|
global.monsterdef[myself] = 0;
|
|
72
|
global.xpreward[myself] = 2;
|
|
73
|
global.goldreward[myself] = 2;
|
|
74
|
global.itemrewardid = 1;
|
|
75
|
global.itemrewardchance = 50;
|
|
76
|
}
|
|
77
|
if (global.monstertype[myself] == 6Moldsmal)
|
|
78
|
{
|
|
79
|
global.monstername[myself] = Moldsmalscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_6") ;
|
|
80
|
global.monstermaxhp[myself] = 50;
|
|
81
|
global.monsterhp[myself] = 50;
|
|
82
|
global.monsteratk[myself] = 4;
|
|
83
|
global.monsterdef[myself] = 0;
|
|
84
|
global.xpreward[myself] = 3;
|
|
85
|
global.goldreward[myself] = 3;
|
|
86
|
global.itemrewardid = 1;
|
|
87
|
global.itemrewardchance = 50;
|
|
88
|
}
|
|
89
|
if (global.monstertype[myself] == 7Migosp)
|
|
90
|
{
|
|
91
|
global.monstername[myself] = Migospscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_7") ;
|
|
92
|
global.monstermaxhp[myself] = 40;
|
|
93
|
global.monsterhp[myself] = 40;
|
|
94
|
global.monsteratk[myself] = 5;
|
|
95
|
global.monsterdef[myself] = 4;
|
|
96
|
global.xpreward[myself] = 5;
|
|
97
|
global.goldreward[myself] = 4;
|
|
98
|
global.itemrewardid = 1;
|
|
99
|
global.itemrewardchance = 50;
|
|
100
|
}
|
|
101
|
if (global.monstertype[myself] == 8Vegetoid)
|
|
102
|
{
|
|
103
|
global.monstername[myself] = Vegetoidscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_8") ;
|
|
104
|
global.monstermaxhp[myself] = 72;
|
|
105
|
global.monsterhp[myself] = 72;
|
|
106
|
global.monsteratk[myself] = 5;
|
|
107
|
global.monsterdef[myself] = 0;
|
|
108
|
global.xpreward[myself] = 6;
|
|
109
|
global.goldreward[myself] = 1;
|
|
110
|
global.itemrewardid = 1;
|
|
111
|
global.itemrewardchance = 50;
|
|
112
|
}
|
|
113
|
if (global.monstertype[myself] == 9Loox)
|
|
114
|
{
|
|
115
|
global.monstername[myself] = Looxscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_9") ;
|
|
116
|
global.monstermaxhp[myself] = 50;
|
|
117
|
global.monsterhp[myself] = 50;
|
|
118
|
global.monsteratk[myself] = 5;
|
|
119
|
global.monsterdef[myself] = 4;
|
|
120
|
global.xpreward[myself] = 7;
|
|
121
|
global.goldreward[myself] = 5;
|
|
122
|
global.itemrewardid = 1;
|
|
123
|
global.itemrewardchance = 50;
|
|
124
|
}
|
|
125
|
if (global.monstertype[myself] == 10Toriel)
|
|
126
|
{
|
|
127
|
global.monstername[myself] = Torielscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_10") ;
|
|
128
|
global.monstermaxhp[myself] = 440;
|
|
129
|
global.monsterhp[myself] = 440;
|
|
130
|
global.monsteratk[myself] = 6;
|
|
131
|
if (global.flag[6 hardmode] == 1)
|
|
132
|
global.monsteratk[myself] = 8;
|
|
133
|
global.monsterdef[myself] = 1;
|
|
134
|
if (scr_murderlvscr_murderlv
mrd = 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; () >= 1)
|
|
135
|
global.monsterdef[myself] = -9999;
|
|
136
|
global.xpreward[myself] = 0;
|
|
137
|
global.goldreward[myself] = 0;
|
|
138
|
global.itemrewardid = 0;
|
|
139
|
global.itemrewardchance = 0;
|
|
140
|
}
|
|
141
|
if (global.monstertype[myself] == 11Napstablook)
|
|
142
|
{
|
|
143
|
global.monstername[myself] = Napstablookscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_11") ;
|
|
144
|
global.monstermaxhp[myself] = 88;
|
|
145
|
global.monsterhp[myself] = 88;
|
|
146
|
global.monsteratk[myself] = 5;
|
|
147
|
global.monsterdef[myself] = 4;
|
|
148
|
global.xpreward[myself] = -1;
|
|
149
|
global.goldreward[myself] = 0;
|
|
150
|
global.itemrewardid = 0;
|
|
151
|
global.itemrewardchance = 0;
|
|
152
|
}
|
|
153
|
if (global.monstertype[myself] == 12Moldsmal)
|
|
154
|
{
|
|
155
|
global.monstername[myself] = Moldsmalscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_12") ;
|
|
156
|
global.monstermaxhp[myself] = 50;
|
|
157
|
global.monsterhp[myself] = 50;
|
|
158
|
global.monsteratk[myself] = 7;
|
|
159
|
global.monsterdef[myself] = 0;
|
|
160
|
global.xpreward[myself] = 3;
|
|
161
|
global.goldreward[myself] = 3;
|
|
162
|
global.itemrewardid = 1;
|
|
163
|
global.itemrewardchance = 50;
|
|
164
|
}
|
|
165
|
if (global.monstertype[myself] == 13Doggo)
|
|
166
|
{
|
|
167
|
global.monstername[myself] = Doggoscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_13") ;
|
|
168
|
global.monstermaxhp[myself] = 70;
|
|
169
|
global.monsterhp[myself] = 70;
|
|
170
|
global.monsteratk[myself] = 6;
|
|
171
|
global.monsterdef[myself] = 1;
|
|
172
|
global.xpreward[myself] = 30;
|
|
173
|
global.goldreward[myself] = 20;
|
|
174
|
global.itemrewardid = 0;
|
|
175
|
global.itemrewardchance = 0;
|
|
176
|
}
|
|
177
|
if (global.monstertype[myself] == 14Lesser Dog)
|
|
178
|
{
|
|
179
|
global.monstername[myself] = Lesser Dogscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_14") ;
|
|
180
|
global.monstermaxhp[myself] = 60;
|
|
181
|
global.monsterhp[myself] = 60;
|
|
182
|
global.monsteratk[myself] = 6;
|
|
183
|
global.monsterdef[myself] = 0;
|
|
184
|
global.xpreward[myself] = 18;
|
|
185
|
global.goldreward[myself] = 15;
|
|
186
|
global.itemrewardid = 0;
|
|
187
|
global.itemrewardchance = 0;
|
|
188
|
}
|
|
189
|
if (global.monstertype[myself] == 15Dogamy)
|
|
190
|
{
|
|
191
|
global.monstername[myself] = Dogamyscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_15") ;
|
|
192
|
global.monstermaxhp[myself] = 108;
|
|
193
|
global.monsterhp[myself] = 108;
|
|
194
|
global.monsteratk[myself] = 6;
|
|
195
|
global.monsterdef[myself] = 4;
|
|
196
|
global.xpreward[myself] = 30;
|
|
197
|
global.goldreward[myself] = 25;
|
|
198
|
global.itemrewardid = 0;
|
|
199
|
global.itemrewardchance = 0;
|
|
200
|
}
|
|
201
|
if (global.monstertype[myself] == 16Dogaressa)
|
|
202
|
{
|
|
203
|
global.monstername[myself] = Dogaressascr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_16") ;
|
|
204
|
global.monstermaxhp[myself] = 108;
|
|
205
|
global.monsterhp[myself] = 108;
|
|
206
|
global.monsteratk[myself] = 6;
|
|
207
|
global.monsterdef[myself] = 4;
|
|
208
|
global.xpreward[myself] = 30;
|
|
209
|
global.goldreward[myself] = 25;
|
|
210
|
global.itemrewardid = 0;
|
|
211
|
global.itemrewardchance = 0;
|
|
212
|
}
|
|
213
|
if (global.monstertype[myself] == 17Greater Dog)
|
|
214
|
{
|
|
215
|
global.monstername[myself] = Greater Dogscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_17") ;
|
|
216
|
global.monstermaxhp[myself] = 105;
|
|
217
|
global.monsterhp[myself] = 105;
|
|
218
|
global.monsteratk[myself] = 6;
|
|
219
|
global.monsterdef[myself] = 4;
|
|
220
|
global.xpreward[myself] = 80;
|
|
221
|
global.goldreward[myself] = 60;
|
|
222
|
global.itemrewardid = 0;
|
|
223
|
global.itemrewardchance = 0;
|
|
224
|
}
|
|
225
|
if (global.monstertype[myself] == 18Snowdrake OR Chilldrake)
|
|
226
|
{
|
|
227
|
global.monstername[myself] = Snowdrakescr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_18") ;
|
|
228
|
if (global.flag[57 status_snowdrake] == 2)
|
|
229
|
global.monstername[myself] = Chilldrakescr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_18b") ;
|
|
230
|
global.monstermaxhp[myself] = 74;
|
|
231
|
global.monsterhp[myself] = 74;
|
|
232
|
global.monsteratk[myself] = 6;
|
|
233
|
global.monsterdef[myself] = 2;
|
|
234
|
global.xpreward[myself] = 22;
|
|
235
|
global.goldreward[myself] = 18;
|
|
236
|
global.itemrewardid = 0;
|
|
237
|
global.itemrewardchance = 0;
|
|
238
|
}
|
|
239
|
if (global.monstertype[myself] == 19Ice Cap)
|
|
240
|
{
|
|
241
|
global.monstername[myself] = Ice Capscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_19") ;
|
|
242
|
global.monstermaxhp[myself] = 48;
|
|
243
|
global.monsterhp[myself] = 48;
|
|
244
|
global.monsteratk[myself] = 6;
|
|
245
|
global.monsterdef[myself] = 0;
|
|
246
|
global.xpreward[myself] = 17;
|
|
247
|
global.goldreward[myself] = 17;
|
|
248
|
global.itemrewardid = 0;
|
|
249
|
global.itemrewardchance = 0;
|
|
250
|
}
|
|
251
|
if (global.monstertype[myself] == 20Ice)
|
|
252
|
{
|
|
253
|
global.monstername[myself] = Icescr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_20") ;
|
|
254
|
global.monstermaxhp[myself] = 48;
|
|
255
|
global.monsterhp[myself] = 48;
|
|
256
|
global.monsteratk[myself] = 0;
|
|
257
|
global.monsterdef[myself] = -100;
|
|
258
|
global.xpreward[myself] = 25;
|
|
259
|
global.goldreward[myself] = 40;
|
|
260
|
global.itemrewardid = 0;
|
|
261
|
global.itemrewardchance = 0;
|
|
262
|
}
|
|
263
|
if (global.monstertype[myself] == 21Jerry)
|
|
264
|
{
|
|
265
|
global.monstername[myself] = Jerryscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_21") ;
|
|
266
|
global.monstermaxhp[myself] = 80;
|
|
267
|
global.monsterhp[myself] = 80;
|
|
268
|
global.monsteratk[myself] = 1;
|
|
269
|
global.monsterdef[myself] = 8;
|
|
270
|
global.xpreward[myself] = 1;
|
|
271
|
global.goldreward[myself] = 55;
|
|
272
|
global.itemrewardid = 0;
|
|
273
|
global.itemrewardchance = 0;
|
|
274
|
}
|
|
275
|
if (global.monstertype[myself] == 22Gyftrot)
|
|
276
|
{
|
|
277
|
global.monstername[myself] = Gyftrotscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_22") ;
|
|
278
|
global.monstermaxhp[myself] = 114;
|
|
279
|
global.monsterhp[myself] = 114;
|
|
280
|
global.monsteratk[myself] = 7;
|
|
281
|
global.monsterdef[myself] = 3;
|
|
282
|
global.xpreward[myself] = 35;
|
|
283
|
global.goldreward[myself] = 30;
|
|
284
|
global.itemrewardid = 0;
|
|
285
|
global.itemrewardchance = 0;
|
|
286
|
}
|
|
287
|
if (global.monstertype[myself] == 23Aaron)
|
|
288
|
{
|
|
289
|
global.monstername[myself] = Aaronscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_23") ;
|
|
290
|
global.monstermaxhp[myself] = 98;
|
|
291
|
global.monsterhp[myself] = 98;
|
|
292
|
global.monsteratk[myself] = 7;
|
|
293
|
global.monsterdef[myself] = 2;
|
|
294
|
global.xpreward[myself] = 52;
|
|
295
|
global.goldreward[myself] = 25;
|
|
296
|
global.itemrewardid = 0;
|
|
297
|
global.itemrewardchance = 0;
|
|
298
|
}
|
|
299
|
if (global.monstertype[myself] == 24Temmie)
|
|
300
|
{
|
|
301
|
global.monstername[myself] = Temmiescr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_24") ;
|
|
302
|
global.monstermaxhp[myself] = 5;
|
|
303
|
global.monsterhp[myself] = 5;
|
|
304
|
global.monsteratk[myself] = 7;
|
|
305
|
global.monsterdef[myself] = -20;
|
|
306
|
global.xpreward[myself] = 40;
|
|
307
|
global.goldreward[myself] = 50;
|
|
308
|
global.itemrewardid = 0;
|
|
309
|
global.itemrewardchance = 0;
|
|
310
|
}
|
|
311
|
if (global.monstertype[myself] == 25Papyrus)
|
|
312
|
{
|
|
313
|
global.monstername[myself] = Papyrusscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_25") ;
|
|
314
|
global.monstermaxhp[myself] = 680;
|
|
315
|
global.monsterhp[myself] = 680;
|
|
316
|
global.monsteratk[myself] = 8;
|
|
317
|
global.monsterdef[myself] = 2;
|
|
318
|
global.xpreward[myself] = 0;
|
|
319
|
global.goldreward[myself] = 0;
|
|
320
|
global.itemrewardid = 0;
|
|
321
|
global.itemrewardchance = 0;
|
|
322
|
}
|
|
323
|
if (global.monstertype[myself] == 26Moldsmal)
|
|
324
|
{
|
|
325
|
global.monstername[myself] = Moldsmalscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_26") ;
|
|
326
|
global.monstermaxhp[myself] = 70;
|
|
327
|
global.monsterhp[myself] = 70;
|
|
328
|
global.monsteratk[myself] = 7;
|
|
329
|
global.monsterdef[myself] = 4;
|
|
330
|
global.xpreward[myself] = 46;
|
|
331
|
global.goldreward[myself] = 30;
|
|
332
|
global.itemrewardid = 1;
|
|
333
|
global.itemrewardchance = 50;
|
|
334
|
}
|
|
335
|
if (global.monstertype[myself] == 28Woshua)
|
|
336
|
{
|
|
337
|
global.monstername[myself] = Woshuascr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_28") ;
|
|
338
|
global.monstermaxhp[myself] = 70;
|
|
339
|
global.monsterhp[myself] = 70;
|
|
340
|
global.monsteratk[myself] = 7;
|
|
341
|
global.monsterdef[myself] = 1;
|
|
342
|
global.xpreward[myself] = 52;
|
|
343
|
global.goldreward[myself] = 25;
|
|
344
|
global.itemrewardid = 0;
|
|
345
|
global.itemrewardchance = 0;
|
|
346
|
}
|
|
347
|
if (global.monstertype[myself] == 29Shyren)
|
|
348
|
{
|
|
349
|
global.monstername[myself] = Shyrenscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_29") ;
|
|
350
|
global.monstermaxhp[myself] = 66;
|
|
351
|
global.monsterhp[myself] = 66;
|
|
352
|
global.monsteratk[myself] = 7;
|
|
353
|
global.monsterdef[myself] = 2;
|
|
354
|
global.xpreward[myself] = 52;
|
|
355
|
global.goldreward[myself] = 25;
|
|
356
|
global.itemrewardid = 0;
|
|
357
|
global.itemrewardchance = 0;
|
|
358
|
}
|
|
359
|
if (global.monstertype[myself] == 30Agent)
|
|
360
|
{
|
|
361
|
global.monstername[myself] = Agentscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_30") ;
|
|
362
|
global.monstermaxhp[myself] = 98;
|
|
363
|
global.monsterhp[myself] = 98;
|
|
364
|
global.monsteratk[myself] = 7;
|
|
365
|
global.monsterdef[myself] = 2;
|
|
366
|
global.xpreward[myself] = 52;
|
|
367
|
global.goldreward[myself] = 20;
|
|
368
|
global.itemrewardid = 0;
|
|
369
|
global.itemrewardchance = 0;
|
|
370
|
}
|
|
371
|
if (global.monstertype[myself] == 31Mad Dummy)
|
|
372
|
{
|
|
373
|
global.monstername[myself] = Mad Dummyscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_31") ;
|
|
374
|
global.monstermaxhp[myself] = 200;
|
|
375
|
global.monsterhp[myself] = 200;
|
|
376
|
global.monsteratk[myself] = 7;
|
|
377
|
global.monsterdef[myself] = -40;
|
|
378
|
global.xpreward[myself] = 0;
|
|
379
|
global.goldreward[myself] = 0;
|
|
380
|
global.itemrewardid = 0;
|
|
381
|
global.itemrewardchance = 0;
|
|
382
|
}
|
|
383
|
if (global.monstertype[myself] == 32Undyne)
|
|
384
|
{
|
|
385
|
global.monstername[myself] = Undynescr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_32") ;
|
|
386
|
global.monstermaxhp[myself] = 1500;
|
|
387
|
global.monsterhp[myself] = 1500;
|
|
388
|
global.monsteratk[myself] = 7;
|
|
389
|
global.monsterdef[myself] = 0;
|
|
390
|
global.xpreward[myself] = 0;
|
|
391
|
global.goldreward[myself] = 0;
|
|
392
|
global.itemrewardid = 0;
|
|
393
|
global.itemrewardchance = 0;
|
|
394
|
}
|
|
395
|
if (global.monstertype[myself] == 33Mettaton)
|
|
396
|
{
|
|
397
|
global.monstername[myself] = Mettatonscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_33") ;
|
|
398
|
global.monstermaxhp[myself] = 9999;
|
|
399
|
global.monsterhp[myself] = 9999;
|
|
400
|
global.monsteratk[myself] = 10;
|
|
401
|
global.monsterdef[myself] = 999;
|
|
402
|
global.xpreward[myself] = 0;
|
|
403
|
global.goldreward[myself] = 0;
|
|
404
|
global.itemrewardid = 0;
|
|
405
|
global.itemrewardchance = 0;
|
|
406
|
}
|
|
407
|
if (global.monstertype[myself] == 34RG 01)
|
|
408
|
{
|
|
409
|
global.monstername[myself] = RG 01scr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_34") ;
|
|
410
|
global.monstermaxhp[myself] = 150;
|
|
411
|
global.monsterhp[myself] = 150;
|
|
412
|
global.monsteratk[myself] = 8;
|
|
413
|
global.monsterdef[myself] = 4;
|
|
414
|
global.xpreward[myself] = 110;
|
|
415
|
global.goldreward[myself] = 60;
|
|
416
|
global.itemrewardid = 0;
|
|
417
|
global.itemrewardchance = 0;
|
|
418
|
}
|
|
419
|
if (global.monstertype[myself] == 35RG 02)
|
|
420
|
{
|
|
421
|
global.monstername[myself] = RG 02scr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_35") ;
|
|
422
|
global.monstermaxhp[myself] = 150;
|
|
423
|
global.monsterhp[myself] = 150;
|
|
424
|
global.monsteratk[myself] = 8;
|
|
425
|
global.monsterdef[myself] = 4;
|
|
426
|
global.xpreward[myself] = 110;
|
|
427
|
global.goldreward[myself] = 60;
|
|
428
|
global.itemrewardid = 0;
|
|
429
|
global.itemrewardchance = 0;
|
|
430
|
}
|
|
431
|
if (global.monstertype[myself] == 36Tsunderplane)
|
|
432
|
{
|
|
433
|
global.monstername[myself] = Tsunderplanescr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_36") ;
|
|
434
|
global.monstermaxhp[myself] = 80;
|
|
435
|
global.monsterhp[myself] = 80;
|
|
436
|
global.monsteratk[myself] = 8;
|
|
437
|
global.monsterdef[myself] = 6;
|
|
438
|
global.xpreward[myself] = 95;
|
|
439
|
global.goldreward[myself] = 45;
|
|
440
|
global.itemrewardid = 0;
|
|
441
|
global.itemrewardchance = 0;
|
|
442
|
}
|
|
443
|
if (global.monstertype[myself] == 37Vulkin)
|
|
444
|
{
|
|
445
|
global.monstername[myself] = Vulkinscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_37") ;
|
|
446
|
global.monstermaxhp[myself] = 20;
|
|
447
|
global.monsterhp[myself] = 20;
|
|
448
|
global.monsteratk[myself] = 8;
|
|
449
|
global.monsterdef[myself] = -10;
|
|
450
|
global.xpreward[myself] = 70;
|
|
451
|
global.goldreward[myself] = 50;
|
|
452
|
global.itemrewardid = 0;
|
|
453
|
global.itemrewardchance = 0;
|
|
454
|
}
|
|
455
|
if (global.monstertype[myself] == 38Pyrope)
|
|
456
|
{
|
|
457
|
global.monstername[myself] = Pyropescr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_38") ;
|
|
458
|
global.monstermaxhp[myself] = 110;
|
|
459
|
global.monsterhp[myself] = 110;
|
|
460
|
global.monsteratk[myself] = 8;
|
|
461
|
global.monsterdef[myself] = 1;
|
|
462
|
global.xpreward[myself] = 80;
|
|
463
|
global.goldreward[myself] = 40;
|
|
464
|
global.itemrewardid = 0;
|
|
465
|
global.itemrewardchance = 0;
|
|
466
|
}
|
|
467
|
if (global.monstertype[myself] == 39Muffet)
|
|
468
|
{
|
|
469
|
global.monstername[myself] = Muffetscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_39") ;
|
|
470
|
global.monstermaxhp[myself] = 1250;
|
|
471
|
global.monsterhp[myself] = 1250;
|
|
472
|
global.monsteratk[myself] = 8;
|
|
473
|
global.monsterdef[myself] = 0;
|
|
474
|
global.xpreward[myself] = 300;
|
|
475
|
global.goldreward[myself] = global.flag[59 spider_donations_total];
|
|
476
|
global.itemrewardid = 0;
|
|
477
|
global.itemrewardchance = 0;
|
|
478
|
}
|
|
479
|
if (global.monstertype[myself] == 40Mettaton)
|
|
480
|
{
|
|
481
|
global.monstername[myself] = Mettatonscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_40") ;
|
|
482
|
global.monstermaxhp[myself] = 9999;
|
|
483
|
global.monsterhp[myself] = 9999;
|
|
484
|
global.monsteratk[myself] = 10;
|
|
485
|
global.monsterdef[myself] = 999;
|
|
486
|
global.xpreward[myself] = 0;
|
|
487
|
global.goldreward[myself] = 0;
|
|
488
|
global.itemrewardid = 0;
|
|
489
|
global.itemrewardchance = 0;
|
|
490
|
}
|
|
491
|
if (global.monstertype[myself] == 41Undyne)
|
|
492
|
{
|
|
493
|
global.monstername[myself] = Undynescr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_41") ;
|
|
494
|
global.monstermaxhp[myself] = 1500;
|
|
495
|
global.monsterhp[myself] = 1500;
|
|
496
|
global.monsteratk[myself] = 10;
|
|
497
|
global.monsterdef[myself] = 10;
|
|
498
|
global.xpreward[myself] = 0;
|
|
499
|
global.goldreward[myself] = 0;
|
|
500
|
global.itemrewardid = 0;
|
|
501
|
global.itemrewardchance = 0;
|
|
502
|
}
|
|
503
|
if (global.monstertype[myself] == 42Madjick)
|
|
504
|
{
|
|
505
|
global.monstername[myself] = Madjickscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_42") ;
|
|
506
|
global.monstermaxhp[myself] = 190;
|
|
507
|
global.monsterhp[myself] = 190;
|
|
508
|
global.monsteratk[myself] = 8;
|
|
509
|
global.monsterdef[myself] = -1;
|
|
510
|
global.xpreward[myself] = 150;
|
|
511
|
global.goldreward[myself] = 120;
|
|
512
|
global.itemrewardid = 0;
|
|
513
|
global.itemrewardchance = 0;
|
|
514
|
}
|
|
515
|
if (global.monstertype[myself] == 43Knight Knight)
|
|
516
|
{
|
|
517
|
global.monstername[myself] = Knight Knightscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_43") ;
|
|
518
|
global.monstermaxhp[myself] = 230;
|
|
519
|
global.monsterhp[myself] = 230;
|
|
520
|
global.monsteratk[myself] = 8;
|
|
521
|
global.monsterdef[myself] = 2;
|
|
522
|
global.xpreward[myself] = 180;
|
|
523
|
global.goldreward[myself] = 150;
|
|
524
|
global.itemrewardid = 0;
|
|
525
|
global.itemrewardchance = 0;
|
|
526
|
}
|
|
527
|
if (global.monstertype[myself] == 44Final Froggit)
|
|
528
|
{
|
|
529
|
global.monstername[myself] = Final Froggitscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_44") ;
|
|
530
|
global.monstermaxhp[myself] = 100;
|
|
531
|
global.monsterhp[myself] = 100;
|
|
532
|
global.monsteratk[myself] = 8;
|
|
533
|
global.monsterdef[myself] = 0;
|
|
534
|
global.xpreward[myself] = 120;
|
|
535
|
global.goldreward[myself] = 80;
|
|
536
|
global.itemrewardid = 0;
|
|
537
|
global.itemrewardchance = 0;
|
|
538
|
}
|
|
539
|
if (global.monstertype[myself] == 45Astigmatism)
|
|
540
|
{
|
|
541
|
global.monstername[myself] = Astigmatismscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_45") ;
|
|
542
|
global.monstermaxhp[myself] = 120;
|
|
543
|
global.monsterhp[myself] = 120;
|
|
544
|
global.monsteratk[myself] = 8;
|
|
545
|
global.monsterdef[myself] = -2;
|
|
546
|
global.xpreward[myself] = 130;
|
|
547
|
global.goldreward[myself] = 85;
|
|
548
|
global.itemrewardid = 0;
|
|
549
|
global.itemrewardchance = 0;
|
|
550
|
}
|
|
551
|
if (global.monstertype[myself] == 46Whimsalot)
|
|
552
|
{
|
|
553
|
global.monstername[myself] = Whimsalotscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_46") ;
|
|
554
|
global.monstermaxhp[myself] = 95;
|
|
555
|
global.monsterhp[myself] = 95;
|
|
556
|
global.monsteratk[myself] = 8;
|
|
557
|
global.monsterdef[myself] = -3;
|
|
558
|
global.xpreward[myself] = 110;
|
|
559
|
global.goldreward[myself] = 80;
|
|
560
|
global.itemrewardid = 0;
|
|
561
|
global.itemrewardchance = 0;
|
|
562
|
}
|
|
563
|
if (global.monstertype[myself] == 47Bomb)
|
|
564
|
{
|
|
565
|
global.monstername[myself] = Bombscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_47") ;
|
|
566
|
global.monstermaxhp[myself] = 99;
|
|
567
|
global.monsterhp[myself] = 99;
|
|
568
|
global.monsteratk[myself] = 1;
|
|
569
|
global.monsterdef[myself] = 0;
|
|
570
|
global.xpreward[myself] = 0;
|
|
571
|
global.goldreward[myself] = 0;
|
|
572
|
global.itemrewardid = 0;
|
|
573
|
global.itemrewardchance = 0;
|
|
574
|
}
|
|
575
|
if (global.monstertype[myself] == 48RG 03)
|
|
576
|
{
|
|
577
|
global.monstername[myself] = RG 03scr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_48") ;
|
|
578
|
global.monstermaxhp[myself] = 100;
|
|
579
|
global.monsterhp[myself] = 100;
|
|
580
|
global.monsteratk[myself] = 8;
|
|
581
|
global.monsterdef[myself] = 4;
|
|
582
|
global.xpreward[myself] = 110;
|
|
583
|
global.goldreward[myself] = 60;
|
|
584
|
global.itemrewardid = 0;
|
|
585
|
global.itemrewardchance = 0;
|
|
586
|
}
|
|
587
|
if (global.monstertype[myself] == 49RG 04)
|
|
588
|
{
|
|
589
|
global.monstername[myself] = RG 04scr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_49") ;
|
|
590
|
global.monstermaxhp[myself] = 100;
|
|
591
|
global.monsterhp[myself] = 100;
|
|
592
|
global.monsteratk[myself] = 8;
|
|
593
|
global.monsterdef[myself] = 4;
|
|
594
|
global.xpreward[myself] = 110;
|
|
595
|
global.goldreward[myself] = 60;
|
|
596
|
global.itemrewardid = 0;
|
|
597
|
global.itemrewardchance = 0;
|
|
598
|
}
|
|
599
|
if (global.monstertype[myself] == 50Mettaton)
|
|
600
|
{
|
|
601
|
global.monstername[myself] = Mettatonscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_50") ;
|
|
602
|
global.monstermaxhp[myself] = 9999;
|
|
603
|
global.monsterhp[myself] = 9999;
|
|
604
|
global.monsteratk[myself] = 8;
|
|
605
|
global.monsterdef[myself] = 999;
|
|
606
|
global.xpreward[myself] = 0;
|
|
607
|
global.goldreward[myself] = 0;
|
|
608
|
global.itemrewardid = 0;
|
|
609
|
global.itemrewardchance = 0;
|
|
610
|
}
|
|
611
|
if (global.monstertype[myself] == 51Mettaton EX)
|
|
612
|
{
|
|
613
|
global.monstername[myself] = Mettaton EXscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_51") ;
|
|
614
|
global.monstermaxhp[myself] = 1600;
|
|
615
|
global.monsterhp[myself] = 1600;
|
|
616
|
global.monsteratk[myself] = 8;
|
|
617
|
global.monsterdef[myself] = 1;
|
|
618
|
global.xpreward[myself] = 0;
|
|
619
|
global.goldreward[myself] = 0;
|
|
620
|
global.itemrewardid = 0;
|
|
621
|
global.itemrewardchance = 0;
|
|
622
|
}
|
|
623
|
if (global.monstertype[myself] == 52Asgore)
|
|
624
|
{
|
|
625
|
global.monstername[myself] = Asgorescr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_52") ;
|
|
626
|
global.monstermaxhp[myself] = 3500;
|
|
627
|
global.monsterhp[myself] = 3500;
|
|
628
|
global.monsteratk[myself] = 10;
|
|
629
|
global.monsterdef[myself] = -30;
|
|
630
|
global.xpreward[myself] = 0;
|
|
631
|
global.goldreward[myself] = 0;
|
|
632
|
global.itemrewardid = 0;
|
|
633
|
global.itemrewardchance = 0;
|
|
634
|
}
|
|
635
|
if (global.monstertype[myself] == 53Lemon Bread)
|
|
636
|
{
|
|
637
|
global.monstername[myself] = Lemon Breadscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_53") ;
|
|
638
|
global.monstermaxhp[myself] = 100;
|
|
639
|
global.monsterhp[myself] = 100;
|
|
640
|
global.monsteratk[myself] = 8;
|
|
641
|
global.monsterdef[myself] = 9999;
|
|
642
|
global.xpreward[myself] = 0;
|
|
643
|
global.goldreward[myself] = 0;
|
|
644
|
global.itemrewardid = 0;
|
|
645
|
global.itemrewardchance = 0;
|
|
646
|
}
|
|
647
|
if (global.monstertype[myself] == 54,)
|
|
648
|
{
|
|
649
|
global.monstername[myself] = ,scr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_54") ;
|
|
650
|
global.monstermaxhp[myself] = 100;
|
|
651
|
global.monsterhp[myself] = 100;
|
|
652
|
global.monsteratk[myself] = 9;
|
|
653
|
global.monsterdef[myself] = 9999;
|
|
654
|
global.xpreward[myself] = 0;
|
|
655
|
global.goldreward[myself] = 0;
|
|
656
|
global.itemrewardid = 0;
|
|
657
|
global.itemrewardchance = 0;
|
|
658
|
}
|
|
659
|
if (global.monstertype[myself] == 55Amalgamate)
|
|
660
|
{
|
|
661
|
global.monstername[myself] = Amalgamatescr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_55") ;
|
|
662
|
global.monstermaxhp[myself] = 400;
|
|
663
|
global.monsterhp[myself] = 400;
|
|
664
|
global.monsteratk[myself] = 0;
|
|
665
|
global.monsterdef[myself] = 0;
|
|
666
|
global.xpreward[myself] = 0;
|
|
667
|
global.goldreward[myself] = 0;
|
|
668
|
global.itemrewardid = 0;
|
|
669
|
global.itemrewardchance = 0;
|
|
670
|
}
|
|
671
|
if (global.monstertype[myself] == 56)
|
|
672
|
{
|
|
673
|
global.monstername[myself] = scr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_56") ;
|
|
674
|
global.monstermaxhp[myself] = 100;
|
|
675
|
global.monsterhp[myself] = 100;
|
|
676
|
global.monsteratk[myself] = 9;
|
|
677
|
global.monsterdef[myself] = 999;
|
|
678
|
global.xpreward[myself] = 0;
|
|
679
|
global.goldreward[myself] = 0;
|
|
680
|
global.itemrewardid = 0;
|
|
681
|
global.itemrewardchance = 0;
|
|
682
|
}
|
|
683
|
if (global.monstertype[myself] == 57Amalgamate)
|
|
684
|
{
|
|
685
|
global.monstername[myself] = Amalgamatescr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_57") ;
|
|
686
|
global.monstermaxhp[myself] = 100;
|
|
687
|
global.monsterhp[myself] = 100;
|
|
688
|
global.monsteratk[myself] = 9;
|
|
689
|
global.monsterdef[myself] = 999;
|
|
690
|
global.xpreward[myself] = 0;
|
|
691
|
global.goldreward[myself] = 0;
|
|
692
|
global.itemrewardid = 0;
|
|
693
|
global.itemrewardchance = 0;
|
|
694
|
}
|
|
695
|
if (global.monstertype[myself] == 58Lost Soul)
|
|
696
|
{
|
|
697
|
global.monstername[myself] = Lost Soulscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_58") ;
|
|
698
|
global.monstermaxhp[myself] = 999;
|
|
699
|
global.monsterhp[myself] = 999;
|
|
700
|
global.monsteratk[myself] = 7;
|
|
701
|
global.monsterdef[myself] = 999;
|
|
702
|
global.xpreward[myself] = 0;
|
|
703
|
global.goldreward[myself] = 0;
|
|
704
|
global.itemrewardid = 0;
|
|
705
|
global.itemrewardchance = 0;
|
|
706
|
}
|
|
707
|
if (global.monstertype[myself] == 59Lost Soul)
|
|
708
|
{
|
|
709
|
global.monstername[myself] = Lost Soulscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_59") ;
|
|
710
|
global.monstermaxhp[myself] = 999;
|
|
711
|
global.monsterhp[myself] = 999;
|
|
712
|
global.monsteratk[myself] = 7;
|
|
713
|
global.monsterdef[myself] = 999;
|
|
714
|
global.xpreward[myself] = 0;
|
|
715
|
global.goldreward[myself] = 0;
|
|
716
|
global.itemrewardid = 0;
|
|
717
|
global.itemrewardchance = 0;
|
|
718
|
}
|
|
719
|
if (global.monstertype[myself] == 60Lost Soul)
|
|
720
|
{
|
|
721
|
global.monstername[myself] = Lost Soulscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_60") ;
|
|
722
|
global.monstermaxhp[myself] = 999;
|
|
723
|
global.monsterhp[myself] = 999;
|
|
724
|
global.monsteratk[myself] = 7;
|
|
725
|
global.monsterdef[myself] = 999;
|
|
726
|
global.xpreward[myself] = 0;
|
|
727
|
global.goldreward[myself] = 0;
|
|
728
|
global.itemrewardid = 0;
|
|
729
|
global.itemrewardchance = 0;
|
|
730
|
}
|
|
731
|
if (global.monstertype[myself] == 61Lost Soul)
|
|
732
|
{
|
|
733
|
global.monstername[myself] = Lost Soulscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_61") ;
|
|
734
|
global.monstermaxhp[myself] = 999;
|
|
735
|
global.monsterhp[myself] = 999;
|
|
736
|
global.monsteratk[myself] = 7;
|
|
737
|
global.monsterdef[myself] = 999;
|
|
738
|
global.xpreward[myself] = 0;
|
|
739
|
global.goldreward[myself] = 0;
|
|
740
|
global.itemrewardid = 0;
|
|
741
|
global.itemrewardchance = 0;
|
|
742
|
}
|
|
743
|
if (global.monstertype[myself] == 62Lost Soul)
|
|
744
|
{
|
|
745
|
global.monstername[myself] = Lost Soulscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_62") ;
|
|
746
|
global.monstermaxhp[myself] = 999;
|
|
747
|
global.monsterhp[myself] = 999;
|
|
748
|
global.monsteratk[myself] = 7;
|
|
749
|
global.monsterdef[myself] = 999;
|
|
750
|
global.xpreward[myself] = 0;
|
|
751
|
global.goldreward[myself] = 0;
|
|
752
|
global.itemrewardid = 0;
|
|
753
|
global.itemrewardchance = 0;
|
|
754
|
}
|
|
755
|
if (global.monstertype[myself] == 63Lost Soul)
|
|
756
|
{
|
|
757
|
global.monstername[myself] = Lost Soulscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_63") ;
|
|
758
|
global.monstermaxhp[myself] = 999;
|
|
759
|
global.monsterhp[myself] = 999;
|
|
760
|
global.monsteratk[myself] = 7;
|
|
761
|
global.monsterdef[myself] = 999;
|
|
762
|
global.xpreward[myself] = 0;
|
|
763
|
global.goldreward[myself] = 0;
|
|
764
|
global.itemrewardid = 0;
|
|
765
|
global.itemrewardchance = 0;
|
|
766
|
}
|
|
767
|
if (global.monstertype[myself] == 64Monster Kid)
|
|
768
|
{
|
|
769
|
global.monstername[myself] = Monster Kidscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_64") ;
|
|
770
|
global.monstermaxhp[myself] = 10;
|
|
771
|
global.monsterhp[myself] = 10;
|
|
772
|
global.monsteratk[myself] = 1;
|
|
773
|
global.monsterdef[myself] = -900;
|
|
774
|
global.xpreward[myself] = 0;
|
|
775
|
global.goldreward[myself] = 0;
|
|
776
|
global.itemrewardid = 0;
|
|
777
|
global.itemrewardchance = 0;
|
|
778
|
}
|
|
779
|
if (global.monstertype[myself] == 65Undyne the Undying)
|
|
780
|
{
|
|
781
|
global.monstername[myself] = Undyne the Undyingscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_65") ;
|
|
782
|
global.monstermaxhp[myself] = 23000;
|
|
783
|
global.monsterhp[myself] = 23000;
|
|
784
|
global.monsteratk[myself] = 12;
|
|
785
|
global.monsterdef[myself] = 5;
|
|
786
|
global.xpreward[myself] = 0;
|
|
787
|
global.goldreward[myself] = 0;
|
|
788
|
global.itemrewardid = 0;
|
|
789
|
global.itemrewardchance = 0;
|
|
790
|
}
|
|
791
|
if (global.monstertype[myself] == 66Glad Dummy)
|
|
792
|
{
|
|
793
|
global.monstername[myself] = Glad Dummyscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_66") ;
|
|
794
|
global.monstermaxhp[myself] = 5;
|
|
795
|
global.monsterhp[myself] = 5;
|
|
796
|
global.monsteratk[myself] = 0;
|
|
797
|
global.monsterdef[myself] = -5;
|
|
798
|
global.xpreward[myself] = 200;
|
|
799
|
global.goldreward[myself] = 100;
|
|
800
|
global.itemrewardid = 0;
|
|
801
|
global.itemrewardchance = 0;
|
|
802
|
}
|
|
803
|
if (global.monstertype[myself] == 67Mettaton NEO)
|
|
804
|
{
|
|
805
|
global.monstername[myself] = Mettaton NEOscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_67") ;
|
|
806
|
global.monstermaxhp[myself] = 30000;
|
|
807
|
global.monsterhp[myself] = 30000;
|
|
808
|
global.monsteratk[myself] = 10;
|
|
809
|
global.monsterdef[myself] = -40000;
|
|
810
|
global.xpreward[myself] = 0;
|
|
811
|
global.goldreward[myself] = 0;
|
|
812
|
global.itemrewardid = 0;
|
|
813
|
global.itemrewardchance = 0;
|
|
814
|
}
|
|
815
|
if (global.monstertype[myself] == 68Sans)
|
|
816
|
{
|
|
817
|
global.monstername[myself] = Sansscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_68") ;
|
|
818
|
global.monstermaxhp[myself] = 1;
|
|
819
|
global.monsterhp[myself] = 1;
|
|
820
|
global.monsteratk[myself] = 1;
|
|
821
|
global.monsterdef[myself] = 1;
|
|
822
|
global.xpreward[myself] = 0;
|
|
823
|
global.goldreward[myself] = 0;
|
|
824
|
global.itemrewardid = 0;
|
|
825
|
global.itemrewardchance = 0;
|
|
826
|
}
|
|
827
|
if (global.monstertype[myself] == 70Final Froggit)
|
|
828
|
{
|
|
829
|
global.monstername[myself] = Final Froggitscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_70") ;
|
|
830
|
global.monstermaxhp[myself] = 32;
|
|
831
|
global.monsterhp[myself] = 32;
|
|
832
|
global.monsteratk[myself] = 7;
|
|
833
|
global.monsterdef[myself] = 2;
|
|
834
|
global.xpreward[myself] = 4;
|
|
835
|
global.goldreward[myself] = 2;
|
|
836
|
global.itemrewardid = 0;
|
|
837
|
global.itemrewardchance = 0;
|
|
838
|
}
|
|
839
|
if (global.monstertype[myself] == 71Astigmatism)
|
|
840
|
{
|
|
841
|
global.monstername[myself] = Astigmatismscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_71") ;
|
|
842
|
global.monstermaxhp[myself] = 50;
|
|
843
|
global.monsterhp[myself] = 50;
|
|
844
|
global.monsteratk[myself] = 7;
|
|
845
|
global.monsterdef[myself] = 2;
|
|
846
|
global.xpreward[myself] = 8;
|
|
847
|
global.goldreward[myself] = 6;
|
|
848
|
global.itemrewardid = 1;
|
|
849
|
global.itemrewardchance = 50;
|
|
850
|
}
|
|
851
|
if (global.monstertype[myself] == 72Whimsalot)
|
|
852
|
{
|
|
853
|
global.monstername[myself] = Whimsalotscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_72") ;
|
|
854
|
global.monstermaxhp[myself] = 20;
|
|
855
|
global.monsterhp[myself] = 20;
|
|
856
|
global.monsteratk[myself] = 7;
|
|
857
|
global.monsterdef[myself] = 0;
|
|
858
|
global.xpreward[myself] = 3;
|
|
859
|
global.goldreward[myself] = 4;
|
|
860
|
global.itemrewardid = 0;
|
|
861
|
global.itemrewardchance = 0;
|
|
862
|
}
|
|
863
|
if (global.monstertype[myself] == 73Migospel)
|
|
864
|
{
|
|
865
|
global.monstername[myself] = Migospelscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_73") ;
|
|
866
|
global.monstermaxhp[myself] = 45;
|
|
867
|
global.monsterhp[myself] = 45;
|
|
868
|
global.monsteratk[myself] = 7;
|
|
869
|
global.monsterdef[myself] = 3;
|
|
870
|
global.xpreward[myself] = 5;
|
|
871
|
global.goldreward[myself] = 4;
|
|
872
|
global.itemrewardid = 1;
|
|
873
|
global.itemrewardchance = 50;
|
|
874
|
}
|
|
875
|
if (global.monstertype[myself] == 74Moldessa)
|
|
876
|
{
|
|
877
|
global.monstername[myself] = Moldessascr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_74") ;
|
|
878
|
global.monstermaxhp[myself] = 52;
|
|
879
|
global.monsterhp[myself] = 52;
|
|
880
|
global.monsteratk[myself] = 7;
|
|
881
|
global.monsterdef[myself] = -4;
|
|
882
|
global.xpreward[myself] = 5;
|
|
883
|
global.goldreward[myself] = 3;
|
|
884
|
global.itemrewardid = 1;
|
|
885
|
global.itemrewardchance = 50;
|
|
886
|
}
|
|
887
|
if (global.monstertype[myself] == 75Parsnik)
|
|
888
|
{
|
|
889
|
global.monstername[myself] = Parsnikscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_75") ;
|
|
890
|
global.monstermaxhp[myself] = 72;
|
|
891
|
global.monsterhp[myself] = 72;
|
|
892
|
global.monsteratk[myself] = 7;
|
|
893
|
global.monsterdef[myself] = -2;
|
|
894
|
global.xpreward[myself] = 8;
|
|
895
|
global.goldreward[myself] = 2;
|
|
896
|
global.itemrewardid = 1;
|
|
897
|
global.itemrewardchance = 50;
|
|
898
|
}
|
|
899
|
if (global.monstertype[myself] == 76Glyde)
|
|
900
|
{
|
|
901
|
global.monstername[myself] = Glydescr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_76") ;
|
|
902
|
global.monstermaxhp[myself] = 220;
|
|
903
|
global.monsterhp[myself] = 220;
|
|
904
|
global.monsteratk[myself] = 9;
|
|
905
|
global.monsterdef[myself] = -20;
|
|
906
|
global.xpreward[myself] = 100;
|
|
907
|
global.goldreward[myself] = 140;
|
|
908
|
global.itemrewardid = 1;
|
|
909
|
global.itemrewardchance = 50;
|
|
910
|
}
|
|
911
|
if (global.monstertype[myself] == 80So Sorry)
|
|
912
|
{
|
|
913
|
global.monstername[myself] = So Sorryscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_80") ;
|
|
914
|
global.monstermaxhp[myself] = 1100;
|
|
915
|
global.monsterhp[myself] = 1100;
|
|
916
|
global.monsteratk[myself] = 9;
|
|
917
|
global.monsterdef[myself] = -6;
|
|
918
|
global.xpreward[myself] = 1;
|
|
919
|
global.goldreward[myself] = 300;
|
|
920
|
global.itemrewardid = 1;
|
|
921
|
global.itemrewardchance = 50;
|
|
922
|
}
|
|
923
|
if (global.monstertype[myself] == 81Doodlebog)
|
|
924
|
{
|
|
925
|
global.monstername[myself] = Doodlebogscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_81") ;
|
|
926
|
global.monstermaxhp[myself] = 100;
|
|
927
|
global.monsterhp[myself] = 100;
|
|
928
|
global.monsteratk[myself] = 8;
|
|
929
|
global.monsterdef[myself] = 999;
|
|
930
|
global.xpreward[myself] = 0;
|
|
931
|
global.goldreward[myself] = 0;
|
|
932
|
global.itemrewardid = 0;
|
|
933
|
global.itemrewardchance = 0;
|
|
934
|
}
|
|
935
|
if (global.monstertype[myself] == 99Asriel Dreemurr)
|
|
936
|
{
|
|
937
|
global.monstername[myself] = Asriel Dreemurrscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_99") ;
|
|
938
|
global.monstermaxhp[myself] = 9999;
|
|
939
|
global.monsterhp[myself] = 9999;
|
|
940
|
global.monsteratk[myself] = 8;
|
|
941
|
global.monsterdef[myself] = 9999;
|
|
942
|
global.xpreward[myself] = 0;
|
|
943
|
global.goldreward[myself] = 0;
|
|
944
|
global.itemrewardid = 0;
|
|
945
|
global.itemrewardchance = 0;
|
|
946
|
}
|
|
947
|
if (global.monstertype[myself] == 100Asriel)
|
|
948
|
{
|
|
949
|
global.monstername[myself] = Asrielscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_100") ;
|
|
950
|
global.monstermaxhp[myself] = 9999;
|
|
951
|
global.monsterhp[myself] = 9999;
|
|
952
|
global.monsteratk[myself] = 8;
|
|
953
|
global.monsterdef[myself] = 9999;
|
|
954
|
global.xpreward[myself] = 0;
|
|
955
|
global.goldreward[myself] = 0;
|
|
956
|
global.itemrewardid = 0;
|
|
957
|
global.itemrewardchance = 0;
|
|
958
|
}
|
|
959
|
if (global.monstertype[myself] == 666Gaster)
|
|
960
|
{
|
|
961
|
global.monstername[myself] = Gasterscr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("monstername_666") ;
|
|
962
|
global.monstermaxhp[myself] = 666666;
|
|
963
|
global.monsterhp[myself] = 666666;
|
|
964
|
global.monsteratk[myself] = 66666;
|
|
965
|
global.monsterdef[myself] = 66666;
|
|
966
|
global.xpreward[myself] = -6666;
|
|
967
|
global.goldreward[myself] = -6666;
|
|
968
|
global.itemrewardid = 666;
|
|
969
|
global.itemrewardchance = 666;
|
|
970
|
}
|