在新窗口中打开脚本页
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
| $VIPArcherScript ||= {};$VIPArcherScript[:time_choiceList] = 20141027 module VIPArcher end module VIPArcher::Time_Choice ID = 1 end class Window_ChoiceList < Window_Command include VIPArcher::Time_Choice alias timer_call_cancel_handler call_cancel_handler def call_cancel_handler timer_call_cancel_handler return unless $game_switches[ID] deactivate; $game_timer.stop end alias timer_update update def update timer_update return unless $game_switches[ID] call_cancel_handler if cancel_enabled? && $game_timer.sec.zero? && $game_timer.working? end end
|