Archeia

Disable A key in VNM

May 3rd, 2018
434
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # ===================================================================
  2. #
  3. #   Script: Component_GameSceneBehavior
  4. #
  5. #   $$COPYRIGHT$$
  6. #
  7. # ===================================================================
  8. class Component_CustomGameSceneBehavior extends vn.Component_GameSceneBehavior
  9.     ###*
  10.     * Checks for the shortcut to open the Settings menu by Pressing A and disables it.
  11.     * You can override this method to change the shortcut.
  12.     *
  13.     * @method updateSettingsShortcut
  14.     * @protected
  15.     ###        
  16.     updateSettingsShortcut: ->
  17.     # Do nothing
  18. vn.Component_GameSceneBehavior = Component_CustomGameSceneBehavior
RAW Paste Data