This is a RMXP default setting. When a timer expires, the battle automatically ends.
To fix it, go to script and look for:
Scene_Battle 1
line 272:
CODE
if $game_system.timer_working and $game_system.timer == 0
# abort battle
$game_temp.battle_abort = true
end
then replace it with this:
CODE
if $game_system.timer_working and $game_system.timer == 0
common_event = $data_common_event[COMMON_EVENT_ID]
$game_system.battle_interpreter.setup(common_event.list, 0)
$game_system.timer = DAY_DURATION_IN_SECONDS * Graphics.frame_rate
$game_system.timer_working = true
end
Replace DAY_DURATION_IN_SECONDS with the number of seconds your timer should display when activated again.
Replace COMMON_EVENT_ID with the TimeOfDayChange common event id.
and remove the lines above. This way, your timer won't cause the battle ending.
Moreover, screen will keep on changing its tint every cycle.
Tell me if it worked...
I hope this can help.
Jens