Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #==============================================================================
- # ■ Ao no Kiseki Custom Battle System 13_2 Escape Command
- # @version 1 12/01/27
- # @author Saba Kan
- # @translator kirinelf
- #------------------------------------------------------------------------------
- # Adds the Escape command to the system.
- # No configuration needed.
- #=========================================================================
- # Do not edit anything under this line unless you know what you're doing!
- #=========================================================================
- class Scene_Battle
- #--------------------------------------------------------------------------
- # ● アクターコマンドウィンドウの作成
- #--------------------------------------------------------------------------
- alias saba_kiseki_escape_create_actor_command_window create_actor_command_window
- def create_actor_command_window
- saba_kiseki_escape_create_actor_command_window
- @actor_command_window.set_handler(:escape, method(:command_escape))
- end
- end
- class Window_ActorCommand
- #--------------------------------------------------------------------------
- # ● コマンドリストの作成
- #--------------------------------------------------------------------------
- alias saba_kiseki_escape_make_command_list make_command_list
- def make_command_list
- saba_kiseki_escape_make_command_list
- add_command(Vocab::escape, :escape, BattleManager.can_escape?)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement