|
1
|
if (con == 1)
|
|
2
|
{
|
|
3
|
counter += 1;
|
|
4
|
if (counter == 30)
|
|
5
|
image_index = 1;
|
|
6
|
if (counter == 60)
|
|
7
|
image_index = 2;
|
|
8
|
if (counter == 90)
|
|
9
|
image_index = 3;
|
|
10
|
if (counter == 120)
|
|
11
|
image_index = 2;
|
|
12
|
if (counter == 180)
|
|
13
|
image_index = 4;
|
|
14
|
if (counter == 190)
|
|
15
|
image_index = 5;
|
|
16
|
if (counter == 200)
|
|
17
|
image_index = 6;
|
|
18
|
if (counter == 210)
|
|
19
|
image_index = 7;
|
|
20
|
if (counter == 250)
|
|
21
|
image_index = 9;
|
|
22
|
if (counter == 258)
|
|
23
|
image_index = 8;
|
|
24
|
if (counter == 266)
|
|
25
|
image_index = 9;
|
|
26
|
if (counter == 274)
|
|
27
|
image_index = 8;
|
|
28
|
if (counter == 282)
|
|
29
|
image_index = 9;
|
|
30
|
if (counter == 290)
|
|
31
|
image_index = 8;
|
|
32
|
if (counter == 298)
|
|
33
|
image_index = 9;
|
|
34
|
if (counter == 306)
|
|
35
|
image_index = 8;
|
|
36
|
if (counter == 380)
|
|
37
|
{
|
|
38
|
con = 1.1;
|
|
39
|
global.typer = 85;
|
|
40
|
global.msc = 0;
|
|
41
|
global.msg[0] = Finally.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_asrielappear_110") ;
|
|
42
|
global.msg[1] = I was so tired of being a flower.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_asrielappear_111") ;
|
|
43
|
scr_blcon_xscr_blcon_x
scr_blcon(argument0, argument1, 0); (x + 90, y);
|
|
44
|
if (global.language == "ja")
|
|
45
|
obj_blconwideslave.sprite_index = spr_blconsm_plus1;
|
|
46
|
else
|
|
47
|
obj_blconwideslave.sprite_index = spr_blconsm;
|
|
48
|
}
|
|
49
|
}
|
|
50
|
if (con == 1.1 && instance_exists(obj_blconwideslave) == 0)
|
|
51
|
{
|
|
52
|
con = 1.2;
|
|
53
|
alarm[4] = 50; gml_Object_obj_asrielappear_Alarm_4.gml
con += 1;
|
|
54
|
}
|
|
55
|
if (con == 2.2 && instance_exists(obj_blconwideslave) == 0)
|
|
56
|
{
|
|
57
|
sprite_index = spr_kidasriel_front;
|
|
58
|
x += 2;
|
|
59
|
y -= 2;
|
|
60
|
image_index = 0;
|
|
61
|
con = 3;
|
|
62
|
counter = 0;
|
|
63
|
alarm[4] = 40; gml_Object_obj_asrielappear_Alarm_4.gml
con += 1;
|
|
64
|
}
|
|
65
|
if (con == 4)
|
|
66
|
{
|
|
67
|
counter += 1;
|
|
68
|
if (counter == 15)
|
|
69
|
image_index = 1;
|
|
70
|
if (counter == 30)
|
|
71
|
image_index = 2;
|
|
72
|
if (counter == 45)
|
|
73
|
image_index = 3;
|
|
74
|
if (counter == 90)
|
|
75
|
con = 5;
|
|
76
|
}
|
|
77
|
if (con == 5)
|
|
78
|
{
|
|
79
|
global.msg[0] = Howdy!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_asrielappear_147") ;
|
|
80
|
global.msg[1] = \[C],Delay 11 are you there?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_asrielappear_148") ;
|
|
81
|
global.msg[2] = It's me,Delay 11 your best friend.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_asrielappear_149") ;
|
|
82
|
scr_blcon_xscr_blcon_x
scr_blcon(argument0, argument1, 0); (x + 90, y);
|
|
83
|
if (global.language == "ja")
|
|
84
|
obj_blconwideslave.sprite_index = spr_blconsm_plus1;
|
|
85
|
else
|
|
86
|
obj_blconwideslave.sprite_index = spr_blconsm;
|
|
87
|
con = 6;
|
|
88
|
}
|
|
89
|
if (con == 6 && instance_exists(obj_blconwideslave) == 0)
|
|
90
|
{
|
|
91
|
con = 7;
|
|
92
|
alarm[4] = 10; gml_Object_obj_asrielappear_Alarm_4.gml
con += 1;
|
|
93
|
}
|
|
94
|
if (con == 8)
|
|
95
|
{
|
|
96
|
cr = caster_load("music/create.ogg");
|
|
97
|
caster_play(cr, 1, 1);
|
|
98
|
flasher = 1;
|
|
99
|
con = 9;
|
|
100
|
alarm[4] = 5; gml_Object_obj_asrielappear_Alarm_4.gml
con += 1;
|
|
101
|
}
|
|
102
|
if (con == 10)
|
|
103
|
{
|
|
104
|
sprite_index = spr_asriel_afterimager_full;
|
|
105
|
x = 320 - (sprite_width / 2);
|
|
106
|
y = 20;
|
|
107
|
ss = 0;
|
|
108
|
con = 11;
|
|
109
|
alarm[4] = 30; gml_Object_obj_asrielappear_Alarm_4.gml
con += 1;
|
|
110
|
}
|
|
111
|
if (con == 12)
|
|
112
|
{
|
|
113
|
con = 13;
|
|
114
|
fw = instance_create(0, 0, obj_FinalWriter);
|
|
115
|
alarm[4] = (strlen(fw.string0) * fw.typespeed) + 92; gml_Object_obj_asrielappear_Alarm_4.gml
con += 1;
|
|
116
|
}
|
|
117
|
if (con >= 10)
|
|
118
|
{
|
|
119
|
ss += 1;
|
|
120
|
y += (sin(ss / 6) * 0.5);
|
|
121
|
}
|
|
122
|
if (con == 14)
|
|
123
|
{
|
|
124
|
global.border = 0;
|
|
125
|
SCR_BORDERSETUPSCR_BORDERSETUP
if (global.border == 0)
{
global.idealborder[0] = 32;
global.idealborder[1] = 602;
global.idealborder[2] = 250;
global.idealborder[3] = 385;
}
if (global.border == 1)
{
global.idealborder[0] = 217;
global.idealborder[1] = 417;
global.idealborder[2] = 180;
global.idealborder[3] = 385;
}
if (global.border == 2)
{
global.idealborder[0] = 217;
global.idealborder[1] = 417;
global.idealborder[2] = 125;
global.idealborder[3] = 385;
}
if (global.border == 3)
{
global.idealborder[0] = 237;
global.idealborder[1] = 397;
global.idealborder[2] = 250;
global.idealborder[3] = 385;
}
if (global.border == 4)
{
global.idealborder[0] = 267;
global.idealborder[1] = 367;
global.idealborder[2] = 295;
global.idealborder[3] = 385;
}
if (global.border == 5)
{
global.idealborder[0] = 192;
global.idealborder[1] = 442;
global.idealborder[2] = 250;
global.idealborder[3] = 385;
}
if (global.border == 6)
{
global.idealborder[0] = 227;
global.idealborder[1] = 407;
global.idealborder[2] = 250;
global.idealborder[3] = 385;
}
if (global.border == 7)
{
global.idealborder[0] = 227;
global.idealborder[1] = 407;
global.idealborder[2] = 200;
global.idealborder[3] = 385;
}
if (global.border == 8)
{
global.idealborder[0] = 202;
global.idealborder[1] = 432;
global.idealborder[2] = 290;
global.idealborder[3] = 385;
}
if (global.border == 9)
{
global.idealborder[0] = 132;
global.idealborder[1] = 492;
global.idealborder[2] = 250;
global.idealborder[3] = 385;
}
if (global.border == 10)
{
global.idealborder[0] = 147;
global.idealborder[1] = 487;
global.idealborder[2] = 200;
global.idealborder[3] = 385;
}
if (global.border == 11)
{
global.idealborder[0] = 32;
global.idealborder[1] = 602;
global.idealborder[2] = 330;
global.idealborder[3] = 465;
}
if (global.border == 12)
{
global.idealborder[0] = (room_width / 2) - 40;
global.idealborder[1] = (room_width / 2) + 40;
global.idealborder[2] = (room_height / 2) - 40;
global.idealborder[3] = (room_height / 2) + 40;
}
if (global.border == 13)
{
global.idealborder[0] = (room_width / 2) - 40;
global.idealborder[1] = (room_width / 2) + 40;
global.idealborder[2] = 250;
global.idealborder[3] = 385;
}
if (global.border == 14)
{
global.idealborder[0] = (room_width / 2) - 35;
... ();
|
|
126
|
global.battlegroup = 255;
|
|
127
|
global.mercy = 1;
|
|
128
|
global.hp = global.maxhp;
|
|
129
|
global.flag[15 in_battle] = 0;
|
|
130
|
global.seriousbattle = 1;
|
|
131
|
room_goto(room_battle Battle room [Dogchecked]);
|
|
132
|
}
|