IceDragon200

AnimationOnGameover

Sep 18th, 2011
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.63 KB | None | 0 0
  1. # // You know
  2.  
  3. class Game_System
  4.  
  5.   #--------------------------------------------------------------------------
  6.   # * Frame Update
  7.   #--------------------------------------------------------------------------
  8.   def update
  9.     if @timer_working and @timer > 0
  10.       @timer -= 1
  11.       if @timer == 0 and $game_temp.in_battle     # If the timer 0 in battle
  12.         #$game_switches[3] = true           # interrupt the battle
  13.         mem = $game_troop.existing_members[0]
  14.         mem.animation_id = 75 unless mem.nil?()
  15.         $scene.wait_for_animation()
  16.         $game_temp.next_scene = "gameover"
  17.       end
  18.     end
  19.   end
  20.  
  21. end
Advertisement
Add Comment
Please, Sign In to add comment