|
1
|
if (con == 1)
|
|
2
|
{
|
|
3
|
mkid = instance_create(view_xview[0] - 40, obj_mainchara.y, obj_mkid_actor);
|
|
4
|
mkid.image_speed = 0;
|
|
5
|
obj_mainchara.cutscene = 1;
|
|
6
|
view_object[0] = -4;
|
|
7
|
mkid.sprite_index = mkid.rsprite;
|
|
8
|
con = 0.1;
|
|
9
|
alarm[4] = 2; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
10
|
vol = caster_get_volume(global.currentsong);
|
|
11
|
vol2 = vol;
|
|
12
|
}
|
|
13
|
if (con == 1.1)
|
|
14
|
{
|
|
15
|
con = 0.2;
|
|
16
|
alarm[4] = 2; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
17
|
}
|
|
18
|
if (con == 1.2)
|
|
19
|
{
|
|
20
|
con = 1.3;
|
|
21
|
global.msg[0] = * Yo!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_monsterkidtrigger7_124") ;
|
|
22
|
scr_regulartextscr_regulartext
global.typer = 5;
global.facechoice = 0;
global.faceemotion = 0;
global.msc = 0;
instance_create(0, 0, obj_dialoguer); ();
|
|
23
|
}
|
|
24
|
if (con == 1.3 && instance_exists(OBJ_WRITER) == 0)
|
|
25
|
{
|
|
26
|
con = 2;
|
|
27
|
alarm[4] = 50; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
28
|
}
|
|
29
|
if (con == 2 && instance_exists(OBJ_WRITER) == 0)
|
|
30
|
{
|
|
31
|
if (vol > 0)
|
|
32
|
vol -= 0.02;
|
|
33
|
caster_set_volume(global.currentsong, vol);
|
|
34
|
view_xview -= 2;
|
|
35
|
}
|
|
36
|
if (con == 3)
|
|
37
|
{
|
|
38
|
global.facing = 3;
|
|
39
|
caster_pause(global.currentsong);
|
|
40
|
mkid.image_speed = 0.2;
|
|
41
|
mkid.hspeed = 1;
|
|
42
|
con = 4;
|
|
43
|
alarm[4] = 20; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
44
|
if (global.tempvalue[13] == 1)
|
|
45
|
{
|
|
46
|
alarm[4] = 50; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
47
|
con = 13;
|
|
48
|
mkid.image_speed = 0.25;
|
|
49
|
mkid.hspeed = 3;
|
|
50
|
mkid.sprite_index = mkid.rsprite;
|
|
51
|
}
|
|
52
|
}
|
|
53
|
if (con == 5)
|
|
54
|
{
|
|
55
|
mkid.hspeed = 0;
|
|
56
|
mkid.image_speed = 0;
|
|
57
|
mkid.image_index = 0;
|
|
58
|
con = 6;
|
|
59
|
alarm[4] = 50; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
60
|
}
|
|
61
|
if (con == 7)
|
|
62
|
{
|
|
63
|
mkid.hspeed = 1;
|
|
64
|
mkid.image_speed = 0.2;
|
|
65
|
con = 8;
|
|
66
|
alarm[4] = 130; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
67
|
}
|
|
68
|
if (con == 9)
|
|
69
|
{
|
|
70
|
mkid.hspeed = 0;
|
|
71
|
mkid.image_speed = 0;
|
|
72
|
mkid.image_index = 0;
|
|
73
|
con = 10;
|
|
74
|
alarm[4] = 30; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
75
|
}
|
|
76
|
if (con == 10)
|
|
77
|
{
|
|
78
|
mkid.sprite_index = mkid.dtsprite;
|
|
79
|
con = 11;
|
|
80
|
alarm[4] = 30; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
81
|
}
|
|
82
|
if (con == 12)
|
|
83
|
{
|
|
84
|
mkid.sprite_index = mkid.rtsprite;
|
|
85
|
con = 13;
|
|
86
|
alarm[4] = 40; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
87
|
}
|
|
88
|
if (con == 14)
|
|
89
|
{
|
|
90
|
mkid.hspeed = 0;
|
|
91
|
mkid.image_speed = 0;
|
|
92
|
mkid.image_index = 0;
|
|
93
|
mkid.sprite_index = mkid.rtsprite;
|
|
94
|
global.msc = 623;
|
|
95
|
global.typer = 5;
|
|
96
|
global.facechoice = 0;
|
|
97
|
con = 15;
|
|
98
|
if (murder == 1)
|
|
99
|
{
|
|
100
|
con = 150;
|
|
101
|
global.msc = 0;
|
|
102
|
global.msg[0] = * Yo.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_monsterkidtrigger7_214") ;
|
|
103
|
global.msg[1] = * Undyne told me to stay away from you.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_monsterkidtrigger7_215") ;
|
|
104
|
global.msg[2] = * She said you...Delay 11 * You hurt a lot of people.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_monsterkidtrigger7_216") ;
|
|
105
|
global.msg[3] = * ...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_monsterkidtrigger7_217") ;
|
|
106
|
global.msg[4] = * But,Delay 11 yo,Delay 11 that's not true,Delay 11 right!?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_monsterkidtrigger7_218") ;
|
|
107
|
global.msg[5] = * ...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_monsterkidtrigger7_219") ;
|
|
108
|
global.msg[6] = * ... yo...Delay 11 * Why won't you answer 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_monsterkidtrigger7_220") ;
|
|
109
|
global.msg[7] = * A...Delay 11 a...Delay 11 and what's with that weird expression...?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_monsterkidtrigger7_221") ;
|
|
110
|
if (global.tempvalue[13] == 1)
|
|
111
|
{
|
|
112
|
global.msg[0] = * Yo,Delay 11 dude...Delay 11 * I...Delay 11 I heard some things,Delay 11 and...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_monsterkidtrigger7_225") ;
|
|
113
|
global.msg[1] = * What?Delay 11 * Look over here?Delay 11 * What for Close 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_monsterkidtrigger7_226") ;
|
|
114
|
con = 157;
|
|
115
|
}
|
|
116
|
}
|
|
117
|
instance_create(0, 0, obj_dialoguer);
|
|
118
|
}
|
|
119
|
if (con == 15 && instance_exists(OBJ_WRITER) == 0)
|
|
120
|
{
|
|
121
|
mkid.sprite_index = mkid.rsprite;
|
|
122
|
con = 16;
|
|
123
|
alarm[4] = 30; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
124
|
}
|
|
125
|
if (con == 17)
|
|
126
|
{
|
|
127
|
mkid.hspeed = -1;
|
|
128
|
con = 18;
|
|
129
|
alarm[4] = 15; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
130
|
mkid.image_speed = 0.2;
|
|
131
|
}
|
|
132
|
if (con == 19)
|
|
133
|
{
|
|
134
|
mkid.hspeed = 0;
|
|
135
|
alarm[4] = 60; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
136
|
mkid.image_speed = 0;
|
|
137
|
mkid.image_index = 0;
|
|
138
|
con = 20;
|
|
139
|
}
|
|
140
|
if (con == 21)
|
|
141
|
{
|
|
142
|
mkid.sprite_index = mkid.lsprite;
|
|
143
|
mkid.hspeed = -3;
|
|
144
|
alarm[4] = 15; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
145
|
mkid.image_speed = 0.5;
|
|
146
|
con = 20.1;
|
|
147
|
}
|
|
148
|
if (con == 21.1)
|
|
149
|
{
|
|
150
|
mkid.hspeed = 0;
|
|
151
|
mkid.image_index = 0;
|
|
152
|
mkid.sprite_index = spr_mkid_trip_l;
|
|
153
|
mkid.image_speed = 0;
|
|
154
|
mkiddex = 0;
|
|
155
|
con = 22;
|
|
156
|
alarm[4] = 18; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
157
|
}
|
|
158
|
if (con == 22)
|
|
159
|
{
|
|
160
|
mkiddex += 0.25;
|
|
161
|
if (mkiddex >= 2)
|
|
162
|
mkiddex = 0;
|
|
163
|
if (mkiddex < 1)
|
|
164
|
mkid.image_index = 0;
|
|
165
|
else
|
|
166
|
mkid.image_index = 1;
|
|
167
|
}
|
|
168
|
if (con == 23)
|
|
169
|
{
|
|
170
|
mkid.image_index = 0;
|
|
171
|
mkid.sprite_index = mkid.usprite;
|
|
172
|
mkid.hspeed = -1;
|
|
173
|
mkid.vspeed = 2;
|
|
174
|
con = 24;
|
|
175
|
alarm[4] = 15; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
176
|
}
|
|
177
|
if (con == 25)
|
|
178
|
{
|
|
179
|
mkid.sprite_index = mkid.usprite;
|
|
180
|
mkid.image_speed = 0;
|
|
181
|
mkid.hspeed = 0;
|
|
182
|
mkid.vspeed = 0;
|
|
183
|
con = 26;
|
|
184
|
alarm[4] = 10; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
185
|
}
|
|
186
|
if (con == 27)
|
|
187
|
{
|
|
188
|
global.msg[0] = * Yo,Delay 11 w-w-wait!Delay 11 * Help!Delay 11 * I tripped!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_monsterkidtrigger7_309") ;
|
|
189
|
interact = instance_create(mkid.x, mkid.y + 10, obj_readable_room1);
|
|
190
|
interact.image_xscale = 0.5;
|
|
191
|
interact.x += 5;
|
|
192
|
scr_regulartextscr_regulartext
global.typer = 5;
global.facechoice = 0;
global.faceemotion = 0;
global.msc = 0;
instance_create(0, 0, obj_dialoguer); ();
|
|
193
|
con = 28;
|
|
194
|
}
|
|
195
|
if (con == 28 && instance_exists(OBJ_WRITER) == 0)
|
|
196
|
{
|
|
197
|
undyne = instance_create(view_xview[0] - 40, 82, obj_undynea_actor);
|
|
198
|
undyne.sprite_index = undyne.rsprite;
|
|
199
|
undyne.hspeed = 2;
|
|
200
|
undyne.image_speed = 0.2;
|
|
201
|
con = 29;
|
|
202
|
alarm[4] = 20; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
203
|
}
|
|
204
|
if (con == 30)
|
|
205
|
{
|
|
206
|
undyne.hspeed = 0;
|
|
207
|
undyne.image_speed = 0;
|
|
208
|
undyne.image_index = 0;
|
|
209
|
con = 31;
|
|
210
|
alarm[4] = 30; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
211
|
}
|
|
212
|
if (con == 32)
|
|
213
|
{
|
|
214
|
undyne.sprite_index = spr_undyne_armraise;
|
|
215
|
snd_play(snd_spearappear);
|
|
216
|
con = 33;
|
|
217
|
alarm[4] = 20; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
218
|
}
|
|
219
|
if (con == 34)
|
|
220
|
{
|
|
221
|
undyne.sprite_index = undyne.rsprite;
|
|
222
|
global.interact = 0;
|
|
223
|
con = 35;
|
|
224
|
global.flag[17 menu_disabled] = 1;
|
|
225
|
doorb = instance_create(view_xview - 20, obj_mainchara.y + 10, obj_doorB);
|
|
226
|
doora = instance_create(view_xview + view_wview + 20, obj_mainchara.y + 10, obj_doorA);
|
|
227
|
undynetimer = 0;
|
|
228
|
finaltimer = 0;
|
|
229
|
mkidtalk = 0;
|
|
230
|
charge = 0;
|
|
231
|
samex = obj_mainchara.x;
|
|
232
|
}
|
|
233
|
if (con == 35)
|
|
234
|
{
|
|
235
|
ll = 0;
|
|
236
|
finaltimer += 1;
|
|
237
|
undynetimer += 1;
|
|
238
|
if (undynetimer > 60)
|
|
239
|
{
|
|
240
|
undyne.hspeed = 1;
|
|
241
|
undyne.image_speed = 0.25;
|
|
242
|
}
|
|
243
|
if (undynetimer > 75)
|
|
244
|
{
|
|
245
|
undyne.hspeed = 0;
|
|
246
|
undyne.image_speed = 0;
|
|
247
|
undynetimer = 0;
|
|
248
|
}
|
|
249
|
if (finaltimer > 150 && global.interact == 0 && mkidtalk == 0 && abs(obj_mainchara.x - samex) < 10)
|
|
250
|
{
|
|
251
|
mkidtalk = 1;
|
|
252
|
global.msg[0] = \W* Wh-what are you \Ystanding around\W for? * \YGet over here,Delay 11\W dude!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_monsterkidtrigger7_379") ;
|
|
253
|
scr_regulartextscr_regulartext
global.typer = 5;
global.facechoice = 0;
global.faceemotion = 0;
global.msc = 0;
instance_create(0, 0, obj_dialoguer); ();
|
|
254
|
global.interact = 1;
|
|
255
|
}
|
|
256
|
if (mkidtalk == 1 && instance_exists(OBJ_WRITER) == 0)
|
|
257
|
{
|
|
258
|
global.interact = 0;
|
|
259
|
mkidtalk = 2;
|
|
260
|
}
|
|
261
|
if (finaltimer > 500)
|
|
262
|
ll = 1;
|
|
263
|
if (obj_mainchara.x < (undyne.x + 40))
|
|
264
|
{
|
|
265
|
ll = 1;
|
|
266
|
charge = 1;
|
|
267
|
}
|
|
268
|
able = 0;
|
|
269
|
if (ll == 1 && global.interact == 0)
|
|
270
|
able = 1;
|
|
271
|
if (ll == 1 && mkidtalk == 1)
|
|
272
|
able = 1;
|
|
273
|
if (able == 1)
|
|
274
|
{
|
|
275
|
with (obj_dialoguer)
|
|
276
|
instance_destroy();
|
|
277
|
with (OBJ_WRITER)
|
|
278
|
instance_destroy();
|
|
279
|
con = 50;
|
|
280
|
global.interact = 1;
|
|
281
|
}
|
|
282
|
}
|
|
283
|
if (con == 50)
|
|
284
|
{
|
|
285
|
undyne.sprite_index = undyne.dsprite;
|
|
286
|
undyne.hspeed = 0;
|
|
287
|
undyne.image_speed = 0;
|
|
288
|
undyne.image_index = 0;
|
|
289
|
mkid.image_speed = 0.25;
|
|
290
|
global.msg[0] = * I...Delay 11 * I'm slipping!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_monsterkidtrigger7_417") ;
|
|
291
|
scr_regulartextscr_regulartext
global.typer = 5;
global.facechoice = 0;
global.faceemotion = 0;
global.msc = 0;
instance_create(0, 0, obj_dialoguer); ();
|
|
292
|
con = 51;
|
|
293
|
}
|
|
294
|
if (con == 51 && instance_exists(OBJ_WRITER) == 0)
|
|
295
|
{
|
|
296
|
mkid.vspeed = 0.5;
|
|
297
|
con = 50.1;
|
|
298
|
alarm[4] = 20; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
299
|
}
|
|
300
|
if (con == 51.1)
|
|
301
|
{
|
|
302
|
mkid.vspeed = 0;
|
|
303
|
con = 50.2;
|
|
304
|
alarm[4] = 30; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
305
|
}
|
|
306
|
if (con == 51.2)
|
|
307
|
{
|
|
308
|
blcon = instance_create(undyne.x + 10, undyne.y - 15, obj_cosmeticblcon);
|
|
309
|
mkid.vspeed = 4;
|
|
310
|
con = 54;
|
|
311
|
alarm[4] = 30; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
312
|
}
|
|
313
|
if (con == 55)
|
|
314
|
{
|
|
315
|
with (blcon)
|
|
316
|
instance_destroy();
|
|
317
|
undyne.sprite_index = spr_undyne_jump0;
|
|
318
|
con = 56;
|
|
319
|
alarm[4] = 30; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
320
|
}
|
|
321
|
if (con == 57)
|
|
322
|
{
|
|
323
|
undyne.sprite_index = spr_undyne_jump1;
|
|
324
|
snd_play(snd_spearrise);
|
|
325
|
undyne.vspeed = -8;
|
|
326
|
undyne.gravity = 0.6;
|
|
327
|
undyne.gravity_direction = 270;
|
|
328
|
undyne.hspeed = 0.5;
|
|
329
|
con = 58;
|
|
330
|
alarm[4] = 20; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
331
|
}
|
|
332
|
if (con == 59)
|
|
333
|
{
|
|
334
|
snd_play(snd_fall);
|
|
335
|
con = 60;
|
|
336
|
alarm[4] = 90; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
337
|
}
|
|
338
|
if (con == 61)
|
|
339
|
{
|
|
340
|
snd_play(snd_undynestep);
|
|
341
|
con = 62;
|
|
342
|
alarm[4] = 20; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
343
|
}
|
|
344
|
if (con == 63)
|
|
345
|
{
|
|
346
|
snd_play(snd_grab);
|
|
347
|
con = 69;
|
|
348
|
alarm[4] = 80; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
349
|
}
|
|
350
|
if (con == 70)
|
|
351
|
{
|
|
352
|
global.facing = 0;
|
|
353
|
global.msg[0] = * Undyne...Delay 11 you saved 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_monsterkidtrigger7_490") ;
|
|
354
|
global.msg[1] = * Yo,Delay 11 I thought I was a goner,Delay 11 haha...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_monsterkidtrigger7_491") ;
|
|
355
|
global.msg[2] = * ... wait,Delay 11 are you okay?Delay 11 * It looks like you fell pretty hard...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_monsterkidtrigger7_492") ;
|
|
356
|
global.msg[3] = * Th-this is my fault.Delay 11 * I should have stayed away from them,Delay 11 like you said.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_monsterkidtrigger7_493") ;
|
|
357
|
global.msg[4] = * They just stood there...Delay 11 * Watching...Delay 11 * Waiting for me to fall.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_monsterkidtrigger7_494") ;
|
|
358
|
if (charge == 1)
|
|
359
|
global.msg[4] = * They just went straight to fight you instead of helping 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_monsterkidtrigger7_495") ;
|
|
360
|
global.msg[5] = * I was so scared,Delay 11 and you...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_monsterkidtrigger7_496") ;
|
|
361
|
global.msg[6] = * What?Delay 11 * You're gonna go fight them now?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_monsterkidtrigger7_497") ;
|
|
362
|
global.msg[7] = * But you look hurt...Delay 11 * You should rest,Delay 11 haha...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_monsterkidtrigger7_498") ;
|
|
363
|
global.msg[8] = * ...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_monsterkidtrigger7_499") ;
|
|
364
|
global.msg[9] = * W-warriors don't rest,Delay 11 huh?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_monsterkidtrigger7_500") ;
|
|
365
|
global.msg[10] = * Undyne...Delay 11 you're really cool.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_monsterkidtrigger7_501") ;
|
|
366
|
scr_regulartextscr_regulartext
global.typer = 5;
global.facechoice = 0;
global.faceemotion = 0;
global.msc = 0;
instance_create(0, 0, obj_dialoguer); ();
|
|
367
|
con = 71;
|
|
368
|
}
|
|
369
|
if (con == 71 && instance_exists(OBJ_WRITER) == 0)
|
|
370
|
{
|
|
371
|
global.flag[98 saved_mkid] = 2;
|
|
372
|
con = 72;
|
|
373
|
}
|
|
374
|
if (con == 72 && instance_exists(OBJ_WRITER) == 0)
|
|
375
|
{
|
|
376
|
con = 73;
|
|
377
|
idealxview = round((obj_mainchara.x - (view_wview[0] / 2)) + (obj_mainchara.sprite_width / 2));
|
|
378
|
if (idealxview >= (room_width - view_wview[0]))
|
|
379
|
idealxview = room_width - view_wview[0] - 2;
|
|
380
|
if (view_xview[0] > idealxview)
|
|
381
|
xdir = 0;
|
|
382
|
else
|
|
383
|
xdir = 1;
|
|
384
|
alarm[4] = 40; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
385
|
}
|
|
386
|
if (con == 74)
|
|
387
|
{
|
|
388
|
if (xdir == 1)
|
|
389
|
view_xview[0] += 4;
|
|
390
|
else
|
|
391
|
view_xview[0] -= 4;
|
|
392
|
if (abs(view_xview[0] - idealxview) <= 5)
|
|
393
|
{
|
|
394
|
with (mkid)
|
|
395
|
instance_destroy();
|
|
396
|
view_object[0] = obj_mainchara;
|
|
397
|
obj_mainchara.cutscene = 0;
|
|
398
|
with (doora)
|
|
399
|
instance_destroy();
|
|
400
|
with (doorb)
|
|
401
|
instance_destroy();
|
|
402
|
global.plot = 120;
|
|
403
|
caster_free(global.currentsong);
|
|
404
|
global.interact = 0;
|
|
405
|
instance_destroy();
|
|
406
|
}
|
|
407
|
}
|
|
408
|
if (con == 80)
|
|
409
|
{
|
|
410
|
with (interact)
|
|
411
|
instance_destroy();
|
|
412
|
global.interact = 1;
|
|
413
|
con = 81;
|
|
414
|
alarm[4] = 30; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
415
|
}
|
|
416
|
if (con == 82)
|
|
417
|
{
|
|
418
|
if (undyne.x > (view_xview[0] + 20))
|
|
419
|
{
|
|
420
|
undyne.hspeed = -1;
|
|
421
|
undyne.image_speed = 0.12;
|
|
422
|
}
|
|
423
|
if (mkid.x <= obj_mainchara.x)
|
|
424
|
mkid.hspeed = -0.8;
|
|
425
|
if (mkid.x > obj_mainchara.x)
|
|
426
|
mkid.hspeed = 0.8;
|
|
427
|
mkid.vspeed = -1;
|
|
428
|
con = 83;
|
|
429
|
alarm[4] = 28; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
430
|
}
|
|
431
|
if (con == 84)
|
|
432
|
{
|
|
433
|
undyne.hspeed = 0;
|
|
434
|
undyne.image_index = 0;
|
|
435
|
undyne.hspeed = 0;
|
|
436
|
mkid.vspeed = 0;
|
|
437
|
mkid.hspeed = 0;
|
|
438
|
mkid.x = round(mkid.x);
|
|
439
|
if (obj_mainchara.x > mkid.x)
|
|
440
|
mkid.sprite_index = mkid.rtsprite;
|
|
441
|
else
|
|
442
|
mkid.sprite_index = mkid.ltsprite;
|
|
443
|
mkid.image_index = 0;
|
|
444
|
mkid.image_speed = 0;
|
|
445
|
con = 85;
|
|
446
|
alarm[4] = 40; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
447
|
}
|
|
448
|
if (con == 86)
|
|
449
|
{
|
|
450
|
undyne.hspeed = 0.5;
|
|
451
|
undyne.image_speed = 0.25;
|
|
452
|
blcon = instance_create(mkid.x, mkid.y - 10, obj_cosmeticblcon);
|
|
453
|
con = 87;
|
|
454
|
alarm[4] = 16; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
455
|
}
|
|
456
|
if (con == 88)
|
|
457
|
{
|
|
458
|
undyne.hspeed = 0;
|
|
459
|
undyne.image_speed = 0;
|
|
460
|
undyne.image_index = 0;
|
|
461
|
with (blcon)
|
|
462
|
instance_destroy();
|
|
463
|
mkid.sprite_index = mkid.lsprite;
|
|
464
|
con = 89;
|
|
465
|
alarm[4] = 30; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
466
|
}
|
|
467
|
if (con == 90)
|
|
468
|
{
|
|
469
|
if (mkid.x > obj_mainchara.x)
|
|
470
|
mkid.hspeed = -5;
|
|
471
|
else
|
|
472
|
mkid.hspeed = -0.5;
|
|
473
|
mkid.image_speed = 0.25;
|
|
474
|
con = 91;
|
|
475
|
alarm[4] = 10; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
476
|
}
|
|
477
|
if (con == 92)
|
|
478
|
{
|
|
479
|
mkid.hspeed = 0;
|
|
480
|
mkid.image_speed = 0;
|
|
481
|
con = 93;
|
|
482
|
alarm[4] = 30; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
483
|
}
|
|
484
|
if (con == 94)
|
|
485
|
{
|
|
486
|
mkid.sprite_index = mkid.ltsprite;
|
|
487
|
mkid.image_speed = 0.25;
|
|
488
|
global.msg[0] = * Y...Delay 11 y...Delay 11 yo...Delay 11 dude...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_monsterkidtrigger7_643") ;
|
|
489
|
global.msg[1] = * If...Delay 11 If y-Delay 11you wanna hurt my friend...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_monsterkidtrigger7_644") ;
|
|
490
|
global.msg[2] = * You're gonna have to get through me,Delay 11 first.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_monsterkidtrigger7_645") ;
|
|
491
|
scr_regulartextscr_regulartext
global.typer = 5;
global.facechoice = 0;
global.faceemotion = 0;
global.msc = 0;
instance_create(0, 0, obj_dialoguer); ();
|
|
492
|
con = 95;
|
|
493
|
}
|
|
494
|
if (con == 95 && instance_exists(OBJ_WRITER) == 0)
|
|
495
|
{
|
|
496
|
con = 96;
|
|
497
|
alarm[4] = 30; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
498
|
}
|
|
499
|
if (con == 97)
|
|
500
|
{
|
|
501
|
mkid.image_speed = 0;
|
|
502
|
mkid.image_index = 0;
|
|
503
|
undyne.hspeed = -0.5;
|
|
504
|
undyne.image_speed = 0.2;
|
|
505
|
undyne.image_index = 0;
|
|
506
|
con = 98;
|
|
507
|
alarm[4] = 20; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
508
|
}
|
|
509
|
if (con == 99)
|
|
510
|
{
|
|
511
|
undyne.hspeed = 0;
|
|
512
|
undyne.image_speed = 0;
|
|
513
|
undyne.image_index = 0;
|
|
514
|
con = 98.1;
|
|
515
|
alarm[4] = 30; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
516
|
}
|
|
517
|
if (con == 99.1)
|
|
518
|
{
|
|
519
|
undyne.hspeed = -0.5;
|
|
520
|
undyne.image_speed = 0.2;
|
|
521
|
undyne.image_index = 0;
|
|
522
|
con = 98.2;
|
|
523
|
alarm[4] = 20; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
524
|
}
|
|
525
|
if (con == 99.2)
|
|
526
|
{
|
|
527
|
undyne.hspeed = 0;
|
|
528
|
undyne.image_speed = 0;
|
|
529
|
undyne.image_index = 0;
|
|
530
|
con = 100;
|
|
531
|
alarm[4] = 60; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
532
|
}
|
|
533
|
if (con == 101)
|
|
534
|
{
|
|
535
|
undyne.sprite_index = undyne.lsprite;
|
|
536
|
undyne.hspeed = -2;
|
|
537
|
undyne.image_speed = 0.25;
|
|
538
|
con = 102;
|
|
539
|
alarm[4] = 90; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
540
|
}
|
|
541
|
if (con == 103)
|
|
542
|
{
|
|
543
|
with (undyne)
|
|
544
|
instance_destroy();
|
|
545
|
con = 104;
|
|
546
|
mkid.sprite_index = mkid.rtsprite;
|
|
547
|
alarm[4] = 30; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
548
|
}
|
|
549
|
if (con == 105)
|
|
550
|
{
|
|
551
|
global.msg[0] = * She's gone...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_monsterkidtrigger7_714") ;
|
|
552
|
global.msg[1] = * Yo,Delay 11 you really saved my skin.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_monsterkidtrigger7_715") ;
|
|
553
|
global.msg[2] = * Guess being enemies was just a nice thought,Delay 11 haha.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_monsterkidtrigger7_716") ;
|
|
554
|
global.msg[3] = * We'll just have to be friends instead.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_monsterkidtrigger7_717") ;
|
|
555
|
global.msg[4] = * ... man,Delay 11 I should REALLY go home...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_monsterkidtrigger7_718") ;
|
|
556
|
global.msg[5] = * I bet my parents are worried sick about me!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_monsterkidtrigger7_719") ;
|
|
557
|
con = 106;
|
|
558
|
scr_regulartextscr_regulartext
global.typer = 5;
global.facechoice = 0;
global.faceemotion = 0;
global.msc = 0;
instance_create(0, 0, obj_dialoguer); ();
|
|
559
|
}
|
|
560
|
if (con == 106 && instance_exists(OBJ_WRITER) == 0)
|
|
561
|
{
|
|
562
|
con = 107;
|
|
563
|
alarm[4] = 20; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
564
|
}
|
|
565
|
if (con == 108)
|
|
566
|
{
|
|
567
|
mkid.sprite_index = mkid.lsprite;
|
|
568
|
mkid.image_speed = 0.25;
|
|
569
|
mkid.hspeed = -1;
|
|
570
|
con = 109;
|
|
571
|
alarm[4] = 30; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
572
|
}
|
|
573
|
if (con == 110)
|
|
574
|
{
|
|
575
|
mkid.image_speed = 0;
|
|
576
|
mkid.hspeed = 0;
|
|
577
|
mkid.image_index = 0;
|
|
578
|
con = 111;
|
|
579
|
alarm[4] = 30; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
580
|
}
|
|
581
|
if (con == 112)
|
|
582
|
{
|
|
583
|
mkid.sprite_index = mkid.rtsprite;
|
|
584
|
con = 113;
|
|
585
|
alarm[4] = 30; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
586
|
}
|
|
587
|
if (con == 114)
|
|
588
|
{
|
|
589
|
global.msg[0] = * Later,Delay 11 dude!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_monsterkidtrigger7_757") ;
|
|
590
|
scr_regulartextscr_regulartext
global.typer = 5;
global.facechoice = 0;
global.faceemotion = 0;
global.msc = 0;
instance_create(0, 0, obj_dialoguer); ();
|
|
591
|
con = 115;
|
|
592
|
}
|
|
593
|
if (con == 115 && instance_exists(OBJ_WRITER) == 0)
|
|
594
|
{
|
|
595
|
mkid.hspeed = -4;
|
|
596
|
mkid.image_speed = 0.5;
|
|
597
|
mkid.sprite_index = mkid.lsprite;
|
|
598
|
con = 116;
|
|
599
|
idealxview = round((obj_mainchara.x - (view_wview[0] / 2)) + (obj_mainchara.sprite_width / 2));
|
|
600
|
if (view_xview[0] > idealxview)
|
|
601
|
xdir = 0;
|
|
602
|
else
|
|
603
|
xdir = 1;
|
|
604
|
alarm[4] = 40; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
605
|
}
|
|
606
|
if (con == 117)
|
|
607
|
{
|
|
608
|
if (xdir == 1)
|
|
609
|
view_xview[0] += 2;
|
|
610
|
else
|
|
611
|
view_xview[0] -= 2;
|
|
612
|
if (abs(view_xview[0] - idealxview) <= 2)
|
|
613
|
{
|
|
614
|
with (mkid)
|
|
615
|
instance_destroy();
|
|
616
|
view_object[0] = obj_mainchara;
|
|
617
|
obj_mainchara.cutscene = 0;
|
|
618
|
with (doora)
|
|
619
|
instance_destroy();
|
|
620
|
with (doorb)
|
|
621
|
instance_destroy();
|
|
622
|
global.plot = 120;
|
|
623
|
global.flag[98 saved_mkid] = 1;
|
|
624
|
caster_free(global.currentsong);
|
|
625
|
global.interact = 0;
|
|
626
|
instance_destroy();
|
|
627
|
}
|
|
628
|
}
|
|
629
|
if (con == 150 && instance_exists(OBJ_WRITER) == 1)
|
|
630
|
{
|
|
631
|
if (OBJ_WRITER.stringno == 6)
|
|
632
|
global.facing = 2;
|
|
633
|
}
|
|
634
|
if (con == 150 && instance_exists(OBJ_WRITER) == 0)
|
|
635
|
{
|
|
636
|
global.facing = 3;
|
|
637
|
obj_mainchara.hspeed = -2;
|
|
638
|
obj_mainchara.moving = 1;
|
|
639
|
obj_mainchara.image_speed = 0.25;
|
|
640
|
con = 151;
|
|
641
|
alarm[4] = 5; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
642
|
}
|
|
643
|
if (con == 152)
|
|
644
|
{
|
|
645
|
mkid.hspeed = -2;
|
|
646
|
mkid.sprite_index = spr_mkid_r;
|
|
647
|
mkid.image_speed = 0.25;
|
|
648
|
con = 153;
|
|
649
|
alarm[4] = 10; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
650
|
}
|
|
651
|
if (con == 154)
|
|
652
|
{
|
|
653
|
obj_mainchara.hspeed = 0;
|
|
654
|
mkid.hspeed = 0;
|
|
655
|
mkid.image_speed = 0;
|
|
656
|
mkid.image_index = 0;
|
|
657
|
mkid.sprite_index = spr_mkid_rt;
|
|
658
|
con = 155;
|
|
659
|
alarm[4] = 30; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
660
|
}
|
|
661
|
if (con == 156)
|
|
662
|
{
|
|
663
|
global.msc = 0;
|
|
664
|
global.typer = 5;
|
|
665
|
global.facechoice = 0;
|
|
666
|
global.msg[0] = * Oh...Delay 11 * Oh man...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_monsterkidtrigger7_836") ;
|
|
667
|
global.msg[1] = * (Man,Delay 11 my h-heart's pounding right out of my chest...)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_monsterkidtrigger7_837") ;
|
|
668
|
global.msg[2] = * (... what would Undyne do?)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_monsterkidtrigger7_838") ;
|
|
669
|
global.msg[3] = * (...)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_monsterkidtrigger7_839") ;
|
|
670
|
global.msg[4] = * Yo...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_monsterkidtrigger7_840") ;
|
|
671
|
global.msg[5] = * Y-you'd b-better st-stop r-right where 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_monsterkidtrigger7_841") ;
|
|
672
|
global.msg[6] = * Cause if you w-wanna hurt anyone else...Delay 11 you're...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_monsterkidtrigger7_842") ;
|
|
673
|
global.msg[7] = * You're gonna have to get through me,Delay 11 first.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_monsterkidtrigger7_843") ;
|
|
674
|
global.msg[8] = * A...Delay 11 and...Delay 11 and...Delay 11Close 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_monsterkidtrigger7_844") ;
|
|
675
|
instance_create(0, 0, obj_dialoguer);
|
|
676
|
con = 157;
|
|
677
|
}
|
|
678
|
if (con == 157 && instance_exists(OBJ_WRITER))
|
|
679
|
{
|
|
680
|
if (OBJ_WRITER.stringno == 1)
|
|
681
|
mkid.sprite_index = spr_mkid_lt;
|
|
682
|
if (OBJ_WRITER.stringno == 4)
|
|
683
|
mkid.sprite_index = spr_mkid_rt;
|
|
684
|
}
|
|
685
|
if (con == 157 && instance_exists(OBJ_WRITER) == 0)
|
|
686
|
{
|
|
687
|
mkid.sprite_index = spr_mkid_rt;
|
|
688
|
global.battlegroup = 91;
|
|
689
|
global.seriousbattle = 1;
|
|
690
|
global.mercy = 1;
|
|
691
|
instance_create(0, 0, obj_battler);
|
|
692
|
con = 158;
|
|
693
|
alarm[4] = 32; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
694
|
}
|
|
695
|
if (con == 159)
|
|
696
|
{
|
|
697
|
global.seriousbattle = 0;
|
|
698
|
global.mercy = 0;
|
|
699
|
global.interact = 1;
|
|
700
|
con = 160;
|
|
701
|
alarm[4] = 30; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
702
|
}
|
|
703
|
if (con == 160)
|
|
704
|
{
|
|
705
|
obj_mainchara.cutscene = 0;
|
|
706
|
view_object[0] = obj_mainchara;
|
|
707
|
con = 160.1;
|
|
708
|
global.interact = 1;
|
|
709
|
alarm[4] = 30; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
710
|
if (global.flag[350 status_undyne] == 1)
|
|
711
|
{
|
|
712
|
with (mkid)
|
|
713
|
instance_destroy();
|
|
714
|
con = 170;
|
|
715
|
alarm[4] = -1; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
716
|
}
|
|
717
|
global.interact = 1;
|
|
718
|
}
|
|
719
|
if (con == 160.1)
|
|
720
|
global.interact = 1;
|
|
721
|
if (con == 161.1)
|
|
722
|
{
|
|
723
|
global.interact = 1;
|
|
724
|
global.typer = 5;
|
|
725
|
global.facechoice = 0;
|
|
726
|
global.msc = 0;
|
|
727
|
global.msg[0] = * S-see?Delay 11 * I knew y-you weren't so bad!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_monsterkidtrigger7_901") ;
|
|
728
|
global.msg[1] = * I've gotta go tell Undyne she was wrong 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_monsterkidtrigger7_902") ;
|
|
729
|
instance_create(0, 0, obj_dialoguer);
|
|
730
|
con = 162;
|
|
731
|
}
|
|
732
|
if (con == 162)
|
|
733
|
global.interact = 1;
|
|
734
|
if (con == 162 && instance_exists(OBJ_WRITER) == 0)
|
|
735
|
{
|
|
736
|
mkid.hspeed = -4;
|
|
737
|
mkid.image_speed = 0.5;
|
|
738
|
mkid.sprite_index = mkid.lsprite;
|
|
739
|
con = 163;
|
|
740
|
alarm[4] = 40; gml_Object_obj_monsterkidtrigger7_Alarm_4.gml
con += 1;
|
|
741
|
}
|
|
742
|
if (con == 164)
|
|
743
|
con = 170;
|
|
744
|
if (con == 170)
|
|
745
|
{
|
|
746
|
global.facing = 0;
|
|
747
|
global.interact = 0;
|
|
748
|
if (global.plot < 120)
|
|
749
|
global.plot = 120;
|
|
750
|
con = 171;
|
|
751
|
instance_destroy();
|
|
752
|
}
|