=begin ◆ スクロール固定 VXAceとVX ver 1.0 説明:スイッチ番号を設定してONにすると プレイヤーが動いても画面が固定される。 スイッチ切った後イベントコマンドの場所 移動とかするとたぶん元に戻ります。 URL:: http://www.tktkgame.com/ LAST_UPDATE:: 2013/12/11 =end class Game_Player # スイッチ番号 設定 STOP_SCROLL_SW = 5 #-------------------------------------------------------------------------- # ● スクロール処理 #-------------------------------------------------------------------------- alias _stop_scroll__update_scroll update_scroll unless method_defined?(:_stop_scroll__update_scroll) def update_scroll(last_real_x, last_real_y) return if $game_switches[STOP_SCROLL_SW] _stop_scroll__update_scroll(last_real_x, last_real_y) end end