|
1
|
draw_set_color(c_white);
|
|
2
|
scr_setfontscr_setfont
var newfont = argument0;
if (global.language == "ja")
{
if (newfont == fnt_main)
newfont = fnt_ja_main;
if (newfont == fnt_maintext)
newfont = fnt_ja_maintext;
if (newfont == fnt_plain)
newfont = fnt_ja_plain;
}
draw_set_font(newfont); (fnt_main);
|
|
3
|
draw_text_ext(global.idealborder[0] + 25, global.idealborder[2] + 15, mystring, 25, 450);
|
|
4
|
if (keyboard_present)
|
|
5
|
{
|
|
6
|
if (cantype == 1)
|
|
7
|
{
|
|
8
|
var xx = 430;
|
|
9
|
if (global.language == "ja")
|
|
10
|
xx = 400;
|
|
11
|
draw_text(xx, 50, ESSAY PROMPT:#What do you#love most about#Mettaton?#(No X or Z)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; ("mett_essay_prompt_pc") );
|
|
12
|
}
|
|
13
|
else
|
|
14
|
{
|
|
15
|
draw_text(430, 200, TIME UP!!!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; ("mett_essay_timeup") );
|
|
16
|
}
|
|
17
|
dotimer += 1;
|
|
18
|
if (dotimer > 4)
|
|
19
|
{
|
|
20
|
if (draw_on == 0)
|
|
21
|
draw_on = 1;
|
|
22
|
else
|
|
23
|
draw_on = 0;
|
|
24
|
dotimer = 0;
|
|
25
|
}
|
|
26
|
if (draw_on == 1 && string_length(mystring) < 3)
|
|
27
|
draw_text(obj_heart.x - 30, obj_heart.y + 20, [START TYPING]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; ("mett_essay_start") );
|
|
28
|
}
|
|
29
|
global.msg[0] = "/%%";
|
|
30
|
if (con == 1)
|
|
31
|
{
|
|
32
|
leng = string_length(mystring);
|
|
33
|
if (string_length(mystring) == 1)
|
|
34
|
global.msg[0] = Speechless...? Who can blame you?Wait for inputClose MessageClose Messagescr_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; ("obj_essaystuff_159") ;
|
|
35
|
if (string_length(mystring) == 2)
|
|
36
|
global.msg[0] = Well... that's concise.Wait for inputClose MessageClose Messagescr_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; ("obj_essaystuff_160") ;
|
|
37
|
if (string_length(mystring) > 2)
|
|
38
|
global.msg[0] = Beautiful. Sometimes the fewest words speak the loudest.Wait for inputClose MessageClose Messagescr_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; ("obj_essaystuff_161") ;
|
|
39
|
if (string_length(mystring) > 13)
|
|
40
|
global.msg[0] = Nice. You get a gold star.Wait for inputClose MessageClose Messagescr_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; ("obj_essaystuff_162") ;
|
|
41
|
if (string_length(mystring) > 50)
|
|
42
|
global.msg[0] = Oh my... what a great answer.Wait for inputClose MessageClose Messagescr_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; ("obj_essaystuff_163") ;
|
|
43
|
if (string_length(mystring) > 90)
|
|
44
|
{
|
|
45
|
global.msg[0] = Oooooh, you said so much about me...Wait for inputscr_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; ("obj_essaystuff_164") ;
|
|
46
|
global.msg[1] = I love how passionate you are.Wait for inputscr_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; ("obj_essaystuff_165") ;
|
|
47
|
global.msg[2] = ... even though I don't understand what you said...Wait for inputClose MessageClose Messagescr_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; ("obj_essaystuff_166") ;
|
|
48
|
}
|
|
49
|
if (string_length(mystring) > 140)
|
|
50
|
global.msg[0] = Beautiful. Why don't you write a book?Wait for inputClose MessageClose Messagescr_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; ("obj_essaystuff_168") ;
|
|
51
|
spec = 0;
|
|
52
|
swear = 0;
|
|
53
|
nice = 0;
|
|
54
|
beaut = 0;
|
|
55
|
mystring_l = string_to_hiragana(string_lower(mystring));
|
|
56
|
if (string_pos("beaut", mystring_l) > 0)
|
|
57
|
{
|
|
58
|
beaut += 2;
|
|
59
|
nice += 1;
|
|
60
|
}
|
|
61
|
if (string_pos("hot", mystring_l) > 0)
|
|
62
|
{
|
|
63
|
beaut += 2;
|
|
64
|
nice += 1;
|
|
65
|
}
|
|
66
|
if (string_pos("sexy", mystring_l) > 0)
|
|
67
|
{
|
|
68
|
beaut += 2;
|
|
69
|
nice += 1;
|
|
70
|
}
|
|
71
|
if (string_pos("pretty", mystring_l) > 0)
|
|
72
|
{
|
|
73
|
beaut += 2;
|
|
74
|
nice += 1;
|
|
75
|
}
|
|
76
|
if (string_pos("handsome", mystring_l) > 0)
|
|
77
|
{
|
|
78
|
beaut += 2;
|
|
79
|
nice += 1;
|
|
80
|
}
|
|
81
|
if (string_pos("gorgeous", mystring_l) > 0)
|
|
82
|
{
|
|
83
|
beaut += 2;
|
|
84
|
nice += 1;
|
|
85
|
}
|
|
86
|
if (string_pos("sparkl", mystring_l) > 0)
|
|
87
|
{
|
|
88
|
beaut += 2;
|
|
89
|
nice += 1;
|
|
90
|
}
|
|
91
|
if (string_pos("charm", mystring_l) > 0)
|
|
92
|
{
|
|
93
|
beaut += 2;
|
|
94
|
nice += 1;
|
|
95
|
}
|
|
96
|
if (string_pos("attract", mystring_l) > 0)
|
|
97
|
{
|
|
98
|
beaut += 2;
|
|
99
|
nice += 1;
|
|
100
|
}
|
|
101
|
if (string_pos("cute", mystring_l) > 0)
|
|
102
|
{
|
|
103
|
beaut += 2;
|
|
104
|
nice += 1;
|
|
105
|
}
|
|
106
|
if (string_pos("smokin", mystring_l) > 0)
|
|
107
|
{
|
|
108
|
beaut += 2;
|
|
109
|
nice += 1;
|
|
110
|
}
|
|
111
|
if (string_pos("elegant", mystring_l) > 0)
|
|
112
|
{
|
|
113
|
beaut += 2;
|
|
114
|
nice += 1;
|
|
115
|
}
|
|
116
|
if (string_pos("good look", mystring_l) > 0)
|
|
117
|
{
|
|
118
|
beaut += 2;
|
|
119
|
nice += 1;
|
|
120
|
}
|
|
121
|
if (string_pos("goodlook", mystring_l) > 0)
|
|
122
|
{
|
|
123
|
beaut += 2;
|
|
124
|
nice += 1;
|
|
125
|
}
|
|
126
|
if (string_pos("good-look", mystring_l) > 0)
|
|
127
|
{
|
|
128
|
beaut += 2;
|
|
129
|
nice += 1;
|
|
130
|
}
|
|
131
|
if (string_pos("grace", mystring_l) > 0)
|
|
132
|
{
|
|
133
|
beaut += 2;
|
|
134
|
nice += 1;
|
|
135
|
}
|
|
136
|
if (string_pos("comely", mystring_l) > 0)
|
|
137
|
{
|
|
138
|
beaut += 2;
|
|
139
|
nice += 1;
|
|
140
|
}
|
|
141
|
if (string_pos("fine", mystring_l) > 0)
|
|
142
|
{
|
|
143
|
beaut += 2;
|
|
144
|
nice += 1;
|
|
145
|
}
|
|
146
|
if (string_pos("foxy", mystring_l) > 0)
|
|
147
|
{
|
|
148
|
beaut += 2;
|
|
149
|
nice += 1;
|
|
150
|
}
|
|
151
|
if (string_pos("looker", mystring_l) > 0)
|
|
152
|
{
|
|
153
|
beaut += 2;
|
|
154
|
nice += 1;
|
|
155
|
}
|
|
156
|
if (string_pos("dreamboat", mystring_l) > 0)
|
|
157
|
{
|
|
158
|
beaut += 2;
|
|
159
|
nice += 1;
|
|
160
|
}
|
|
161
|
if (string_pos("stun", mystring_l) > 0)
|
|
162
|
{
|
|
163
|
beaut += 2;
|
|
164
|
nice += 1;
|
|
165
|
}
|
|
166
|
if (string_pos("shapely", mystring_l) > 0)
|
|
167
|
{
|
|
168
|
beaut += 2;
|
|
169
|
nice += 1;
|
|
170
|
}
|
|
171
|
if (string_pos("ravishing", mystring_l) > 0)
|
|
172
|
{
|
|
173
|
beaut += 2;
|
|
174
|
nice += 1;
|
|
175
|
}
|
|
176
|
if (string_pos("allur", mystring_l) > 0)
|
|
177
|
{
|
|
178
|
beaut += 2;
|
|
179
|
nice += 1;
|
|
180
|
}
|
|
181
|
if (string_pos("entic", mystring_l) > 0)
|
|
182
|
{
|
|
183
|
beaut += 2;
|
|
184
|
nice += 1;
|
|
185
|
}
|
|
186
|
if (string_pos("seduct", mystring_l) > 0)
|
|
187
|
{
|
|
188
|
beaut += 2;
|
|
189
|
nice += 1;
|
|
190
|
}
|
|
191
|
if (string_pos("enchant", mystring_l) > 0)
|
|
192
|
{
|
|
193
|
beaut += 2;
|
|
194
|
nice += 1;
|
|
195
|
}
|
|
196
|
if (string_pos("appeal", mystring_l) > 0)
|
|
197
|
{
|
|
198
|
beaut += 2;
|
|
199
|
nice += 1;
|
|
200
|
}
|
|
201
|
if (string_pos("tantaliz", mystring_l) > 0)
|
|
202
|
{
|
|
203
|
beaut += 2;
|
|
204
|
nice += 1;
|
|
205
|
}
|
|
206
|
if (string_pos("adorable", mystring_l) > 0)
|
|
207
|
{
|
|
208
|
beaut += 2;
|
|
209
|
nice += 1;
|
|
210
|
}
|
|
211
|
if (string_pos("radiant", mystring_l) > 0)
|
|
212
|
{
|
|
213
|
beaut += 2;
|
|
214
|
nice += 1;
|
|
215
|
}
|
|
216
|
if (string_pos("capitvat", mystring_l) > 0)
|
|
217
|
{
|
|
218
|
beaut += 2;
|
|
219
|
nice += 1;
|
|
220
|
}
|
|
221
|
if (string_pos("leg", mystring_l) > 0)
|
|
222
|
{
|
|
223
|
beaut += 2;
|
|
224
|
nice += 1;
|
|
225
|
spec = 1;
|
|
226
|
}
|
|
227
|
if (string_pos("arm", mystring_l) > 0)
|
|
228
|
{
|
|
229
|
beaut += 2;
|
|
230
|
nice += 1;
|
|
231
|
spec = 2;
|
|
232
|
}
|
|
233
|
if (string_pos("hair", mystring_l) > 0)
|
|
234
|
{
|
|
235
|
beaut += 2;
|
|
236
|
nice += 1;
|
|
237
|
spec = 3;
|
|
238
|
}
|
|
239
|
if (global.language == "ja")
|
|
240
|
{
|
|
241
|
if (string_pos("かっこいい", mystring_l) > 0)
|
|
242
|
{
|
|
243
|
beaut += 2;
|
|
244
|
nice += 1;
|
|
245
|
}
|
|
246
|
if (string_pos("いけめん", mystring_l) > 0)
|
|
247
|
{
|
|
248
|
beaut += 2;
|
|
249
|
nice += 1;
|
|
250
|
}
|
|
251
|
if (string_pos("せくしー", mystring_l) > 0)
|
|
252
|
{
|
|
253
|
beaut += 2;
|
|
254
|
nice += 1;
|
|
255
|
}
|
|
256
|
if (string_pos("ほっと", mystring_l) > 0)
|
|
257
|
{
|
|
258
|
beaut += 2;
|
|
259
|
nice += 1;
|
|
260
|
}
|
|
261
|
if (string_pos("はんさむ", mystring_l) > 0)
|
|
262
|
{
|
|
263
|
beaut += 2;
|
|
264
|
nice += 1;
|
|
265
|
}
|
|
266
|
if (string_pos("ごーじゃす", mystring_l) > 0)
|
|
267
|
{
|
|
268
|
beaut += 2;
|
|
269
|
nice += 1;
|
|
270
|
}
|
|
271
|
if (string_pos("ちゃーみんぐ", mystring_l) > 0)
|
|
272
|
{
|
|
273
|
beaut += 2;
|
|
274
|
nice += 1;
|
|
275
|
}
|
|
276
|
if (string_pos("すてき", mystring_l) > 0)
|
|
277
|
{
|
|
278
|
beaut += 2;
|
|
279
|
nice += 1;
|
|
280
|
}
|
|
281
|
if (string_pos("かわいい", mystring_l) > 0)
|
|
282
|
{
|
|
283
|
beaut += 2;
|
|
284
|
nice += 1;
|
|
285
|
}
|
|
286
|
if (string_pos("うつくしい", mystring_l) > 0)
|
|
287
|
{
|
|
288
|
beaut += 2;
|
|
289
|
nice += 1;
|
|
290
|
}
|
|
291
|
if (string_pos("えれがんと", mystring_l) > 0)
|
|
292
|
{
|
|
293
|
beaut += 2;
|
|
294
|
nice += 1;
|
|
295
|
}
|
|
296
|
if (string_pos("びだんし", mystring_l) > 0)
|
|
297
|
{
|
|
298
|
beaut += 2;
|
|
299
|
nice += 1;
|
|
300
|
}
|
|
301
|
if (string_pos("びしょうねん", mystring_l) > 0)
|
|
302
|
{
|
|
303
|
beaut += 2;
|
|
304
|
nice += 1;
|
|
305
|
}
|
|
306
|
if (string_pos("びなん", mystring_l) > 0)
|
|
307
|
{
|
|
308
|
beaut += 2;
|
|
309
|
nice += 1;
|
|
310
|
}
|
|
311
|
if (string_pos("きれい", mystring_l) > 0)
|
|
312
|
{
|
|
313
|
beaut += 2;
|
|
314
|
nice += 1;
|
|
315
|
}
|
|
316
|
if (string_pos("いけてる", mystring_l) > 0)
|
|
317
|
{
|
|
318
|
beaut += 2;
|
|
319
|
nice += 1;
|
|
320
|
}
|
|
321
|
if (string_pos("みりょくてき", mystring_l) > 0)
|
|
322
|
{
|
|
323
|
beaut += 2;
|
|
324
|
nice += 1;
|
|
325
|
}
|
|
326
|
if (string_pos("みわく", mystring_l) > 0)
|
|
327
|
{
|
|
328
|
beaut += 2;
|
|
329
|
nice += 1;
|
|
330
|
}
|
|
331
|
if (string_pos("びぼう", mystring_l) > 0)
|
|
332
|
{
|
|
333
|
beaut += 2;
|
|
334
|
nice += 1;
|
|
335
|
}
|
|
336
|
if (string_pos("じょうひん", mystring_l) > 0)
|
|
337
|
{
|
|
338
|
beaut += 2;
|
|
339
|
nice += 1;
|
|
340
|
}
|
|
341
|
if (string_pos("ゆうが", mystring_l) > 0)
|
|
342
|
{
|
|
343
|
beaut += 2;
|
|
344
|
nice += 1;
|
|
345
|
}
|
|
346
|
if (string_pos("ゆうび", mystring_l) > 0)
|
|
347
|
{
|
|
348
|
beaut += 2;
|
|
349
|
nice += 1;
|
|
350
|
}
|
|
351
|
if (string_pos("きひん", mystring_l) > 0)
|
|
352
|
{
|
|
353
|
beaut += 2;
|
|
354
|
nice += 1;
|
|
355
|
}
|
|
356
|
if (string_pos("もてもて", mystring_l) > 0)
|
|
357
|
{
|
|
358
|
beaut += 2;
|
|
359
|
nice += 1;
|
|
360
|
}
|
|
361
|
if (string_pos("もてる", mystring_l) > 0)
|
|
362
|
{
|
|
363
|
beaut += 2;
|
|
364
|
nice += 1;
|
|
365
|
}
|
|
366
|
if (string_pos("さいこう", mystring_l) > 0)
|
|
367
|
{
|
|
368
|
beaut += 2;
|
|
369
|
nice += 1;
|
|
370
|
}
|
|
371
|
if (string_pos("さいこー", mystring_l) > 0)
|
|
372
|
{
|
|
373
|
beaut += 2;
|
|
374
|
nice += 1;
|
|
375
|
}
|
|
376
|
if (string_pos("きりょうよし", mystring_l) > 0)
|
|
377
|
{
|
|
378
|
beaut += 2;
|
|
379
|
nice += 1;
|
|
380
|
}
|
|
381
|
if (string_pos("うるわしい", mystring_l) > 0)
|
|
382
|
{
|
|
383
|
beaut += 2;
|
|
384
|
nice += 1;
|
|
385
|
}
|
|
386
|
if (string_pos("せいたん", mystring_l) > 0)
|
|
387
|
{
|
|
388
|
beaut += 2;
|
|
389
|
nice += 1;
|
|
390
|
}
|
|
391
|
if (string_pos("りそうてき", mystring_l) > 0)
|
|
392
|
{
|
|
393
|
beaut += 2;
|
|
394
|
nice += 1;
|
|
395
|
}
|
|
396
|
if (string_pos("ましょう", mystring_l) > 0)
|
|
397
|
{
|
|
398
|
beaut += 2;
|
|
399
|
nice += 1;
|
|
400
|
}
|
|
401
|
if (string_pos("ゆうわく", mystring_l) > 0)
|
|
402
|
{
|
|
403
|
beaut += 2;
|
|
404
|
nice += 1;
|
|
405
|
}
|
|
406
|
if (string_pos("のうさつ", mystring_l) > 0)
|
|
407
|
{
|
|
408
|
beaut += 2;
|
|
409
|
nice += 1;
|
|
410
|
}
|
|
411
|
if (string_pos("あし", mystring_l) > 0)
|
|
412
|
{
|
|
413
|
beaut += 2;
|
|
414
|
nice += 1;
|
|
415
|
spec = 1;
|
|
416
|
}
|
|
417
|
if (string_pos("うで", mystring_l) > 0)
|
|
418
|
{
|
|
419
|
beaut += 2;
|
|
420
|
nice += 1;
|
|
421
|
spec = 2;
|
|
422
|
}
|
|
423
|
if (string_pos("かみ", mystring_l) > 0)
|
|
424
|
{
|
|
425
|
beaut += 2;
|
|
426
|
nice += 1;
|
|
427
|
spec = 3;
|
|
428
|
}
|
|
429
|
if (string_pos("へあすたいる", mystring_l) > 0)
|
|
430
|
{
|
|
431
|
beaut += 2;
|
|
432
|
nice += 1;
|
|
433
|
spec = 3;
|
|
434
|
}
|
|
435
|
if (string_pos("へあーすたいる", mystring_l) > 0)
|
|
436
|
{
|
|
437
|
beaut += 2;
|
|
438
|
nice += 1;
|
|
439
|
spec = 3;
|
|
440
|
}
|
|
441
|
}
|
|
442
|
if (beaut > 1)
|
|
443
|
global.msg[0] = Nice detail... You're right, I do look quite nice.Wait for inputClose MessageClose Messagescr_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; ("obj_essaystuff_219") ;
|
|
444
|
if (beaut > 3)
|
|
445
|
global.msg[0] = Wonderful! Amazing! A+... I AM completely stunning.Wait for inputClose MessageClose Messagescr_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; ("obj_essaystuff_220") ;
|
|
446
|
if (beaut > 5)
|
|
447
|
global.msg[0] = Oh, I'm blushing... You're completely right, I am beautiful in every way.Wait for inputClose MessageClose Messagescr_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; ("obj_essaystuff_221") ;
|
|
448
|
if (beaut > 7)
|
|
449
|
global.msg[0] = Oh my... I'm speechless... You've completely captured how beautiful I am.Wait for inputClose MessageClose Messagescr_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; ("obj_essaystuff_222") ;
|
|
450
|
if (spec == 1)
|
|
451
|
global.msg[0] = That's right. Legs was the correct answer!Wait for inputClose MessageClose Messagescr_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; ("obj_essaystuff_224") ;
|
|
452
|
if (spec == 2)
|
|
453
|
global.msg[0] = How creative. Arms... most people just think about my legs.Wait for inputClose MessageClose Messagescr_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; ("obj_essaystuff_225") ;
|
|
454
|
if (spec == 3)
|
|
455
|
global.msg[0] = My hair... yes, I use metal hair gel.Wait for inputClose MessageClose Messagescr_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; ("obj_essaystuff_226") ;
|
|
456
|
if (string_pos("personality", mystring_l) > 0)
|
|
457
|
spec = 3.1;
|
|
458
|
if (string_pos("voice", mystring_l) > 0)
|
|
459
|
spec = 3.2;
|
|
460
|
if (string_pos("dancing", mystring_l) > 0)
|
|
461
|
spec = 3.3;
|
|
462
|
if (string_pos("dance", mystring_l) > 0)
|
|
463
|
spec = 3.3;
|
|
464
|
if (global.language == "ja")
|
|
465
|
{
|
|
466
|
if (string_pos("せいかく", mystring_l) > 0)
|
|
467
|
spec = 3.1;
|
|
468
|
if (string_pos("ひとがら", mystring_l) > 0)
|
|
469
|
spec = 3.1;
|
|
470
|
if (string_pos("こえ", mystring_l) > 0)
|
|
471
|
spec = 3.2;
|
|
472
|
if (string_pos("うた", mystring_l) > 0)
|
|
473
|
spec = 3.2;
|
|
474
|
if (string_pos("だんす", mystring_l) > 0)
|
|
475
|
spec = 3.3;
|
|
476
|
if (string_pos("おどり", mystring_l) > 0)
|
|
477
|
spec = 3.3;
|
|
478
|
if (string_pos("おどる", mystring_l) > 0)
|
|
479
|
spec = 3.3;
|
|
480
|
}
|
|
481
|
if (spec == 3.1)
|
|
482
|
global.msg[0] = Yes,Delay 11 my personality is quite charming,Delay 11 isn't it?Wait for inputClose MessageClose Messagescr_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; ("obj_essaystuff_233") ;
|
|
483
|
if (spec == 3.2)
|
|
484
|
{
|
|
485
|
global.msg[0] = They say I have the voice of a Siren...Delay 11Wait for inputscr_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; ("obj_essaystuff_234") ;
|
|
486
|
global.msg[1] = ... awooga!Wait for inputClose MessageClose Messagescr_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; ("obj_essaystuff_235") ;
|
|
487
|
}
|
|
488
|
if (spec == 3.3)
|
|
489
|
global.msg[0] = Dancing...?Delay 11 Thank you,Delay 11 I'm self-taught.Wait for inputClose MessageClose Messagescr_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; ("obj_essaystuff_236") ;
|
|
490
|
if (global.language == "ja")
|
|
491
|
{
|
|
492
|
if (string_pos("おもしろい", mystring_l) > 0)
|
|
493
|
spec = 101;
|
|
494
|
if (string_pos("ひょうきん", mystring_l) > 0)
|
|
495
|
spec = 101;
|
|
496
|
if (string_pos("わらえる", mystring_l) > 0)
|
|
497
|
spec = 101;
|
|
498
|
if (string_pos("おもろい", mystring_l) > 0)
|
|
499
|
spec = 101;
|
|
500
|
if (string_pos("ゆーもあ", mystring_l) > 0)
|
|
501
|
spec = 101;
|
|
502
|
if (string_pos("ぎゃぐ", mystring_l) > 0)
|
|
503
|
spec = 101;
|
|
504
|
if (string_pos("じょーく", mystring_l) > 0)
|
|
505
|
spec = 101;
|
|
506
|
if (string_pos("ばくしょう", mystring_l) > 0)
|
|
507
|
spec = 101;
|
|
508
|
if (string_pos("おわらい", mystring_l) > 0)
|
|
509
|
spec = 101;
|
|
510
|
if (string_pos("うける", mystring_l) > 0)
|
|
511
|
spec = 101;
|
|
512
|
if (string_pos("やばい", mystring_l) > 0)
|
|
513
|
spec = 102;
|
|
514
|
if (string_pos("げきやば", mystring_l) > 0)
|
|
515
|
spec = 102;
|
|
516
|
if (string_pos("えもい", mystring_l) > 0)
|
|
517
|
spec = 103;
|
|
518
|
if (string_pos("にほんご", mystring_l) > 0)
|
|
519
|
spec = 104;
|
|
520
|
}
|
|
521
|
if (spec > 100)
|
|
522
|
global.msg[0] = 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; ("obj_essaystuff_ja_" + string(spec - 100));
|
|
523
|
if (spec == 5)
|
|
524
|
global.msg[0] = What a touching confession! I'll add it to the pile.Wait for inputClose MessageClose Messagescr_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; ("obj_essaystuff_264") ;
|
|
525
|
if (string_pos("ugly", mystring_l) > 0)
|
|
526
|
spec = 4;
|
|
527
|
if (string_pos("hideous", mystring_l) > 0)
|
|
528
|
spec = 4;
|
|
529
|
if (string_pos("repulsive", mystring_l) > 0)
|
|
530
|
spec = 4;
|
|
531
|
if (string_pos("unattractive", mystring_l) > 0)
|
|
532
|
spec = 4;
|
|
533
|
if (string_pos("look bad", mystring_l) > 0)
|
|
534
|
spec = 4;
|
|
535
|
if (string_pos("stupid", mystring_l) > 0)
|
|
536
|
spec = 4;
|
|
537
|
if (string_pos("idiot", mystring_l) > 0)
|
|
538
|
spec = 4;
|
|
539
|
if (string_pos("jerk", mystring_l) > 0)
|
|
540
|
spec = 4;
|
|
541
|
if (string_pos("asshole", mystring_l) > 0)
|
|
542
|
spec = 4;
|
|
543
|
if (string_pos("loser", mystring_l) > 0)
|
|
544
|
spec = 4;
|
|
545
|
if (string_pos("dumbass", mystring_l) > 0)
|
|
546
|
spec = 4;
|
|
547
|
if (string_pos("douche", mystring_l) > 0)
|
|
548
|
spec = 4;
|
|
549
|
if (string_pos("creep", mystring_l) > 0)
|
|
550
|
spec = 4;
|
|
551
|
if (global.language == "ja")
|
|
552
|
{
|
|
553
|
if (string_pos("きもい", mystring_l) > 0)
|
|
554
|
spec = 4;
|
|
555
|
if (string_pos("ぶさめん", mystring_l) > 0)
|
|
556
|
spec = 4;
|
|
557
|
if (string_pos("きもめん", mystring_l) > 0)
|
|
558
|
spec = 4;
|
|
559
|
if (string_pos("さいあく", mystring_l) > 0)
|
|
560
|
spec = 4;
|
|
561
|
if (string_pos("さいてー", mystring_l) > 0)
|
|
562
|
spec = 4;
|
|
563
|
if (string_pos("さいてい", mystring_l) > 0)
|
|
564
|
spec = 4;
|
|
565
|
if (string_pos("へんたい", mystring_l) > 0)
|
|
566
|
spec = 4;
|
|
567
|
if (string_pos("きしょい", mystring_l) > 0)
|
|
568
|
spec = 4;
|
|
569
|
if (string_pos("きしょくわるい", mystring_l) > 0)
|
|
570
|
spec = 4;
|
|
571
|
if (string_pos("きもちわるい", mystring_l) > 0)
|
|
572
|
spec = 4;
|
|
573
|
if (string_pos("ぶさいく", mystring_l) > 0)
|
|
574
|
spec = 4;
|
|
575
|
if (string_pos("ぶす", mystring_l) > 0)
|
|
576
|
spec = 4;
|
|
577
|
}
|
|
578
|
if (spec == 4)
|
|
579
|
global.msg[0] = Huh? This essay is supposed to be about me, not about you...Wait for inputClose MessageClose Messagescr_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; ("obj_essaystuff_255") ;
|
|
580
|
if (string_pos("i love you", mystring_l) > 0)
|
|
581
|
spec = 5;
|
|
582
|
if (string_pos("i love your", mystring_l) > 0)
|
|
583
|
spec = 0;
|
|
584
|
if (global.language == "ja")
|
|
585
|
{
|
|
586
|
if (string_pos("すき", mystring_l) > 0)
|
|
587
|
spec = 5;
|
|
588
|
if (string_pos("あいらぶゆー", mystring_l) > 0)
|
|
589
|
spec = 5;
|
|
590
|
if (string_pos("あいしてる", mystring_l) > 0)
|
|
591
|
spec = 5;
|
|
592
|
if (string_pos("あいしている", mystring_l) > 0)
|
|
593
|
spec = 5;
|
|
594
|
if (string_pos("あいしてます", mystring_l) > 0)
|
|
595
|
spec = 5;
|
|
596
|
if (string_pos("あいしています", mystring_l) > 0)
|
|
597
|
spec = 5;
|
|
598
|
}
|
|
599
|
if (spec == 5)
|
|
600
|
global.msg[0] = What a touching confession! I'll add it to the pile.Wait for inputClose MessageClose Messagescr_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; ("obj_essaystuff_264") ;
|
|
601
|
if (string_pos("toby", mystring_l) > 0)
|
|
602
|
spec = 6;
|
|
603
|
if (global.language == "ja")
|
|
604
|
{
|
|
605
|
if (string_pos("とびー", mystring_l) > 0)
|
|
606
|
spec = 6;
|
|
607
|
}
|
|
608
|
if (spec == 6)
|
|
609
|
global.msg[0] = Toby? What the hell is that? Sounds... sexy.Wait for inputClose MessageClose Messagescr_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; ("obj_essaystuff_271") ;
|
|
610
|
if (string_pos("fuck", mystring_l) > 0)
|
|
611
|
swear = 1;
|
|
612
|
if (string_pos("shit", mystring_l) > 0)
|
|
613
|
swear = 1;
|
|
614
|
if (string_pos("cock", mystring_l) > 0)
|
|
615
|
swear = 1;
|
|
616
|
if (string_pos("pussy", mystring_l) > 0)
|
|
617
|
swear = 1;
|
|
618
|
if (string_pos("penis", mystring_l) > 0)
|
|
619
|
swear = 1;
|
|
620
|
if (string_pos("vagina", mystring_l) > 0)
|
|
621
|
swear = 1;
|
|
622
|
if (string_pos("anus", mystring_l) > 0)
|
|
623
|
swear = 1;
|
|
624
|
if (string_pos("poop", mystring_l) > 0)
|
|
625
|
swear = 1;
|
|
626
|
if (string_pos("tity", mystring_l) > 0)
|
|
627
|
swear = 1;
|
|
628
|
if (string_pos("titty", mystring_l) > 0)
|
|
629
|
swear = 1;
|
|
630
|
if (string_pos("bepis", mystring_l) > 0)
|
|
631
|
swear = 1;
|
|
632
|
if (global.language == "ja")
|
|
633
|
{
|
|
634
|
if (string_pos("ふぁっく", mystring_l) > 0)
|
|
635
|
swear = 1;
|
|
636
|
if (string_pos("くそ", mystring_l) > 0)
|
|
637
|
swear = 1;
|
|
638
|
if (string_pos("うんこ", mystring_l) > 0)
|
|
639
|
swear = 1;
|
|
640
|
if (string_pos("うんち", mystring_l) > 0)
|
|
641
|
swear = 1;
|
|
642
|
if (string_pos("ちんこ", mystring_l) > 0)
|
|
643
|
swear = 1;
|
|
644
|
if (string_pos("ちんぽ", mystring_l) > 0)
|
|
645
|
swear = 1;
|
|
646
|
if (string_pos("ちんぽこ", mystring_l) > 0)
|
|
647
|
swear = 1;
|
|
648
|
if (string_pos("まんこ", mystring_l) > 0)
|
|
649
|
swear = 1;
|
|
650
|
if (string_pos("けつ", mystring_l) > 0)
|
|
651
|
swear = 1;
|
|
652
|
if (string_pos("おっぱい", mystring_l) > 0)
|
|
653
|
swear = 1;
|
|
654
|
}
|
|
655
|
if (swear == 1)
|
|
656
|
{
|
|
657
|
global.msg[0] = Oh my! This is a family friendly TV show.Wait for inputscr_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; ("obj_essaystuff_289") ;
|
|
658
|
global.msg[1] = Now stand still while I murder you.Wait for inputClose MessageClose Messagescr_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; ("obj_essaystuff_290") ;
|
|
659
|
}
|
|
660
|
done = 0;
|
|
661
|
if (swear == 1 && done == 0)
|
|
662
|
{
|
|
663
|
done = 1;
|
|
664
|
with (obj_ratingsmaster)
|
|
665
|
{
|
|
666
|
curtype = 12;
|
|
667
|
essay = -150;
|
|
668
|
event_user(0);
|
|
669
|
}
|
|
670
|
}
|
|
671
|
if (spec == 6)
|
|
672
|
{
|
|
673
|
if (done == 0)
|
|
674
|
{
|
|
675
|
done = 1;
|
|
676
|
with (obj_ratingsmaster)
|
|
677
|
{
|
|
678
|
curtype = 12;
|
|
679
|
essay = 300;
|
|
680
|
event_user(0);
|
|
681
|
}
|
|
682
|
}
|
|
683
|
}
|
|
684
|
if (spec == 5 && done == 0)
|
|
685
|
{
|
|
686
|
done = 1;
|
|
687
|
with (obj_ratingsmaster)
|
|
688
|
{
|
|
689
|
curtype = 12;
|
|
690
|
essay = 250;
|
|
691
|
event_user(0);
|
|
692
|
}
|
|
693
|
}
|
|
694
|
if (spec == 4 && done == 0)
|
|
695
|
{
|
|
696
|
done = 1;
|
|
697
|
with (obj_ratingsmaster)
|
|
698
|
{
|
|
699
|
curtype = 12;
|
|
700
|
essay = -200;
|
|
701
|
event_user(0);
|
|
702
|
}
|
|
703
|
}
|
|
704
|
if (spec == 1 && done == 0)
|
|
705
|
{
|
|
706
|
done = 1;
|
|
707
|
with (obj_ratingsmaster)
|
|
708
|
{
|
|
709
|
curtype = 12;
|
|
710
|
essay = 350;
|
|
711
|
event_user(0);
|
|
712
|
}
|
|
713
|
}
|
|
714
|
if (spec == 2 || spec == 3)
|
|
715
|
{
|
|
716
|
if (done == 0)
|
|
717
|
{
|
|
718
|
done = 1;
|
|
719
|
with (obj_ratingsmaster)
|
|
720
|
{
|
|
721
|
curtype = 12;
|
|
722
|
essay = 250;
|
|
723
|
event_user(0);
|
|
724
|
}
|
|
725
|
}
|
|
726
|
}
|
|
727
|
if (spec > 3 && spec < 4)
|
|
728
|
{
|
|
729
|
if (done == 0)
|
|
730
|
{
|
|
731
|
done = 1;
|
|
732
|
with (obj_ratingsmaster)
|
|
733
|
{
|
|
734
|
curtype = 12;
|
|
735
|
essay = 250;
|
|
736
|
event_user(0);
|
|
737
|
}
|
|
738
|
}
|
|
739
|
}
|
|
740
|
if (done == 0 && spec == 104)
|
|
741
|
{
|
|
742
|
done = 1;
|
|
743
|
with (obj_ratingsmaster)
|
|
744
|
{
|
|
745
|
curtype = 12;
|
|
746
|
essay = 300;
|
|
747
|
event_user(0);
|
|
748
|
}
|
|
749
|
}
|
|
750
|
if (done == 0 && spec >= 101 && spec <= 103)
|
|
751
|
{
|
|
752
|
done = 1;
|
|
753
|
with (obj_ratingsmaster)
|
|
754
|
{
|
|
755
|
curtype = 12;
|
|
756
|
essay = 250;
|
|
757
|
event_user(0);
|
|
758
|
}
|
|
759
|
}
|
|
760
|
if (done == 0 && beaut > 0)
|
|
761
|
{
|
|
762
|
if (beaut >= 7 && done == 0)
|
|
763
|
{
|
|
764
|
done = 1;
|
|
765
|
with (obj_ratingsmaster)
|
|
766
|
{
|
|
767
|
curtype = 12;
|
|
768
|
essay = 360;
|
|
769
|
event_user(0);
|
|
770
|
}
|
|
771
|
}
|
|
772
|
if (beaut >= 5 && done == 0)
|
|
773
|
{
|
|
774
|
done = 1;
|
|
775
|
with (obj_ratingsmaster)
|
|
776
|
{
|
|
777
|
curtype = 12;
|
|
778
|
essay = 280;
|
|
779
|
event_user(0);
|
|
780
|
}
|
|
781
|
}
|
|
782
|
if (beaut >= 3 && done == 0)
|
|
783
|
{
|
|
784
|
done = 1;
|
|
785
|
with (obj_ratingsmaster)
|
|
786
|
{
|
|
787
|
curtype = 12;
|
|
788
|
essay = 250;
|
|
789
|
event_user(0);
|
|
790
|
}
|
|
791
|
}
|
|
792
|
if (beaut >= 1 && done == 0)
|
|
793
|
{
|
|
794
|
done = 1;
|
|
795
|
with (obj_ratingsmaster)
|
|
796
|
{
|
|
797
|
curtype = 12;
|
|
798
|
essay = 200;
|
|
799
|
event_user(0);
|
|
800
|
}
|
|
801
|
}
|
|
802
|
}
|
|
803
|
if (done == 0)
|
|
804
|
{
|
|
805
|
if (leng >= 140 && done == 0)
|
|
806
|
{
|
|
807
|
done = 1;
|
|
808
|
with (obj_ratingsmaster)
|
|
809
|
{
|
|
810
|
curtype = 12;
|
|
811
|
essay = 180;
|
|
812
|
event_user(0);
|
|
813
|
}
|
|
814
|
}
|
|
815
|
if (leng >= 90 && done == 0)
|
|
816
|
{
|
|
817
|
done = 1;
|
|
818
|
with (obj_ratingsmaster)
|
|
819
|
{
|
|
820
|
curtype = 12;
|
|
821
|
essay = 150;
|
|
822
|
event_user(0);
|
|
823
|
}
|
|
824
|
}
|
|
825
|
if (leng >= 50 && done == 0)
|
|
826
|
{
|
|
827
|
done = 1;
|
|
828
|
with (obj_ratingsmaster)
|
|
829
|
{
|
|
830
|
curtype = 12;
|
|
831
|
essay = 120;
|
|
832
|
event_user(0);
|
|
833
|
}
|
|
834
|
}
|
|
835
|
if (leng >= 13 && done == 0)
|
|
836
|
{
|
|
837
|
done = 1;
|
|
838
|
with (obj_ratingsmaster)
|
|
839
|
{
|
|
840
|
curtype = 12;
|
|
841
|
essay = 100;
|
|
842
|
event_user(0);
|
|
843
|
}
|
|
844
|
}
|
|
845
|
if (leng <= 12 && done == 0)
|
|
846
|
{
|
|
847
|
done = 1;
|
|
848
|
with (obj_ratingsmaster)
|
|
849
|
{
|
|
850
|
curtype = 12;
|
|
851
|
essay = 80;
|
|
852
|
event_user(0);
|
|
853
|
}
|
|
854
|
}
|
|
855
|
}
|
|
856
|
ossafe_ini_open("undertale.ini");
|
|
857
|
essaynum = ini_read_real("MTT", "EssayNo", 0);
|
|
858
|
ini_write_real("MTT", "EssayNo", essaynum + 1);
|
|
859
|
ossafe_ini_close();
|
|
860
|
ossafe_savedata_save();
|
|
861
|
with (OBJ_WRITER)
|
|
862
|
instance_destroy();
|
|
863
|
con = 4;
|
|
864
|
global.typer = 51;
|
|
865
|
global.msc = 0;
|
|
866
|
blcon = instance_create(obj_mettatonex.x + 200, obj_mettatonex.y, obj_blconwdflowey);
|
|
867
|
blconwd = instance_create(blcon.x + 20, blcon.y - 10, OBJ_NOMSCWRITER);
|
|
868
|
}
|
|
869
|
if (con == 4 && instance_exists(OBJ_WRITER) == 0)
|
|
870
|
{
|
|
871
|
obj_mettatonex.attacked = 0;
|
|
872
|
with (blcon)
|
|
873
|
instance_destroy();
|
|
874
|
global.msg[0] = * Mettaton is saving your essay for future use.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; ("obj_essaystuff_510") ;
|
|
875
|
global.mnfight = 3;
|
|
876
|
global.myfight = -1;
|
|
877
|
global.turntimer = -1;
|
|
878
|
instance_destroy();
|
|
879
|
}
|