|
1
|
if (edge == 0)
|
|
2
|
edge = 0.1;
|
|
3
|
if (part == 0)
|
|
4
|
part = 1;
|
|
5
|
wp = w0 / part;
|
|
6
|
hp = h0 / part;
|
|
7
|
lside = view_xview[0];
|
|
8
|
rside = view_xview[0] + view_wview[0];
|
|
9
|
side = 0;
|
|
10
|
curx = 0;
|
|
11
|
size = 1;
|
|
12
|
col += 1;
|
|
13
|
color = make_color_hsv(col, 233, 200);
|
|
14
|
if (col > 254)
|
|
15
|
col = 0;
|
|
16
|
for (i = 0; i < part; i += 1)
|
|
17
|
{
|
|
18
|
draw_sprite_part_ext(image, image_index, (wp * i) + x, 0, wp * i, 999, ((room_width / 2) + (wp * i)) - 6, 0 - ((wp * i) / 2), i, i, color, image_alpha);
|
|
19
|
draw_sprite_part_ext(image, image_index, (wp * i) + x, 0, wp * i, 999, ((room_width / 2) - (wp * i)) + 6, 0 - ((wp * i) / 2), -i, i, color, image_alpha);
|
|
20
|
}
|
|
21
|
x += rotspeed;
|
|
22
|
if (x > 800)
|
|
23
|
x -= 800;
|
|
24
|
if (x < 0)
|
|
25
|
x += 800;
|
|
26
|
ftimer += 1;
|
|
27
|
if (ftimer > 630 && ftimer < 671)
|
|
28
|
{
|
|
29
|
falpha += 0.025;
|
|
30
|
draw_set_alpha(falpha);
|
|
31
|
draw_set_color(c_white);
|
|
32
|
ossafe_fill_rectangle(-10, -10, 999, 999);
|
|
33
|
}
|
|
34
|
if (ftimer >= 671 && ftimer < 685)
|
|
35
|
{
|
|
36
|
image_alpha = 0.5;
|
|
37
|
falpha -= 0.1;
|
|
38
|
draw_set_alpha(falpha);
|
|
39
|
draw_set_color(c_white);
|
|
40
|
ossafe_fill_rectangle(-10, -10, 999, 999);
|
|
41
|
}
|
|
42
|
if (ftimer == 671)
|
|
43
|
{
|
|
44
|
with (obj_asriel_body)
|
|
45
|
{
|
|
46
|
aligncon = 4;
|
|
47
|
specialnormal = 0;
|
|
48
|
}
|
|
49
|
global.turntimer = -2;
|
|
50
|
if (global.mnfight == 2)
|
|
51
|
global.msg[0] = * "The true final battle" was finally beginning.scr_gettextscr_gettext
var text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_roundedge_135") ;
|
|
52
|
}
|
|
53
|
draw_set_alpha(1);
|