|
1
|
function scr_text_increase_colorscr_text_increase_color
function scr_text_increase_color()
{
hold = key_select * global.hold_speed;
if (hold > global.hold_speed)
hold = global.hold_speed;
else if (hold <= 0)
hold = 1;
characters += (increase * hold);
if (characters > message_length)
characters = message_length;
message_draw = string_copy(message[message_current], 0, characters);
current_char = string_char_at(message_draw, characters);
if (color_count >= 1)
{
message_draw_2 = string_copy(message_2[message_current], 0, characters);
current_char_2 = string_char_at(message_draw_2, characters);
}
if (color_count >= 2)
{
message_draw_3 = string_copy(message_3[message_current], 0, characters);
current_char_3 = string_char_at(message_draw_3, characters);
}
} ()
|
|
2
|
{
|
|
3
|
hold = key_select * global.hold_speed;
|
|
4
|
if (hold > global.hold_speed)
|
|
5
|
hold = global.hold_speed;
|
|
6
|
else if (hold <= 0)
|
|
7
|
hold = 1;
|
|
8
|
characters += (increase * hold);
|
|
9
|
if (characters > message_length)
|
|
10
|
characters = message_length;
|
|
11
|
message_draw = string_copy(message[message_current], 0, characters);
|
|
12
|
current_char = string_char_at(message_draw, characters);
|
|
13
|
if (color_count >= 1)
|
|
14
|
{
|
|
15
|
message_draw_2 = string_copy(message_2[message_current], 0, characters);
|
|
16
|
current_char_2 = string_char_at(message_draw_2, characters);
|
|
17
|
}
|
|
18
|
if (color_count >= 2)
|
|
19
|
{
|
|
20
|
message_draw_3 = string_copy(message_3[message_current], 0, characters);
|
|
21
|
current_char_3 = string_char_at(message_draw_3, characters);
|
|
22
|
}
|
|
23
|
}
|