Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # =============================================================================
- # TheoAllen - Global Disable Dash
- # Version : 1.0
- # Contact : www.rpgmakerid.com (or) http://theolized.blogspot.com
- # (This script documentation is written in informal indonesian language)
- # =============================================================================
- ($imported ||= {})[:Theo_GDash] = true
- # =============================================================================
- # Change Logs:
- # -----------------------------------------------------------------------------
- # 2013.11.15 - Finished script
- # =============================================================================
- =begin
- Script ini cuman nambahin opsi kalau kamu bisa nge-disable dash dimana aja
- tidak sebatas dari map properties
- Caranya tinggal make script call
- $game_system.dash = true
- $game_system.dash = false
- =end
- # =============================================================================
- # Tidak ada konfigurasi
- # =============================================================================
- class Game_System
- attr_accessor :dash
- alias theo_gdash_init initialize
- def initialize
- theo_gdash_init
- @dash = false
- end
- end
- class Game_Player < Game_Character
- alias theo_gdash? dash?
- def dash?
- theo_gdash? && $game_system.dash
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment