-
Notifications
You must be signed in to change notification settings - Fork 1
/
disable_testplay.rb
31 lines (30 loc) · 1.45 KB
/
disable_testplay.rb
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
#==============================================================================
# ■ テストプレイ機能無効化 RGSS3 v1.0 MIT License; see git.io/tic
#------------------------------------------------------------------------------
# $TEST に依存する処理を取り除き、テストプレイ機能を完全に無効化します。
#==============================================================================
class Game_Player
#--------------------------------------------------------------------------
# ● デバッグすり抜け状態判定【※再定義※】
#--------------------------------------------------------------------------
def debug_through?
return false
end
#--------------------------------------------------------------------------
# ● エンカウントの更新【※再定義※】
#--------------------------------------------------------------------------
def update_encounter
return if $game_party.encounter_none?
return if in_airship?
return if @move_route_forcing
@encounter_count -= encounter_progress_value
end
end
#------------------------------------------------------------------------------
class Scene_Map
#--------------------------------------------------------------------------
# ● F9 キーによるデバッグ呼び出し判定【※再定義※】
#--------------------------------------------------------------------------
def update_call_debug
end
end