|
1
|
function scr_game_time_totalscr_game_time_total
function scr_game_time_total()
{
global.game_time_counter += global.game_time_counter_add;
if (global.game_time_counter >= room_speed)
{
global.game_time_seconds += 1;
global.game_time_counter -= room_speed;
}
global.game_time_seconds += global.game_time_seconds_add;
if (global.game_time_seconds >= 60)
{
global.game_time_minutes += 1;
global.game_time_seconds -= 60;
}
global.game_time_minutes += global.game_time_minutes_add;
} ()
|
|
2
|
{
|
|
3
|
global.game_time_counter += global.game_time_counter_add;
|
|
4
|
if (global.game_time_counter >= room_speed)
|
|
5
|
{
|
|
6
|
global.game_time_seconds += 1;
|
|
7
|
global.game_time_counter -= room_speed;
|
|
8
|
}
|
|
9
|
global.game_time_seconds += global.game_time_seconds_add;
|
|
10
|
if (global.game_time_seconds >= 60)
|
|
11
|
{
|
|
12
|
global.game_time_minutes += 1;
|
|
13
|
global.game_time_seconds -= 60;
|
|
14
|
}
|
|
15
|
global.game_time_minutes += global.game_time_minutes_add;
|
|
16
|
}
|