I have a simple code. When i'm on a battle and the timer reaches 0:00, I'm kicked out of the battle.
So, I have a script that pause and resumes the timer. It works on RMVX Ace, but on RMXP this message appears:
" undefined method `update' for class `Game_Timer' "
What can be done?
Code:
class Game_Timer alias timer_plus_update update def update if !@pause timer_plus_update end end def pause @pause = true end def resume @pause = false endend