SHARE
TWEET

Ao no Kiseki CBS 4

kirinelf Apr 2nd, 2012 939 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #==============================================================================
  2. # ■ Ao no Kiseki Custom Battle System 13_2 Escape Command
  3. #   @version 1 12/01/27
  4. #   @author Saba Kan
  5. #   @translator kirinelf
  6. #------------------------------------------------------------------------------
  7. #  Adds the Escape command to the system.
  8. #  No configuration needed.
  9. #=========================================================================
  10. # Do not edit anything under this line unless you know what you're doing!
  11. #=========================================================================
  12.  
  13. class Scene_Battle
  14.   #--------------------------------------------------------------------------
  15.   # ● アクターコマンドウィンドウの作成
  16.   #--------------------------------------------------------------------------
  17.   alias saba_kiseki_escape_create_actor_command_window create_actor_command_window
  18.   def create_actor_command_window
  19.     saba_kiseki_escape_create_actor_command_window
  20.     @actor_command_window.set_handler(:escape, method(:command_escape))
  21.   end
  22. end
  23.  
  24. class Window_ActorCommand
  25.   #--------------------------------------------------------------------------
  26.   # ● コマンドリストの作成
  27.   #--------------------------------------------------------------------------
  28.   alias saba_kiseki_escape_make_command_list make_command_list
  29.   def make_command_list
  30.     saba_kiseki_escape_make_command_list
  31.     add_command(Vocab::escape, :escape, BattleManager.can_escape?)
  32.   end
  33. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top