Created
September 27, 2014 14:13
-
-
Save rutan/b3edb50b571de962b403 to your computer and use it in GitHub Desktop.
「[hzm]メモ欄拡張共通部分さん+」オーグメントシステム競合回避スクリプト
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#------------------------------------------------------------------------------- | |
# ■ 「[hzm]メモ欄拡張共通部分さん+」オーグメントシステム競合回避スクリプト | |
#------------------------------------------------------------------------------- | |
# 2014/09/27 Ru/むっくRu | |
#------------------------------------------------------------------------------- | |
# オーグメントシステムとの競合を回避し、 | |
# アイテムが初期化された後にアイテム画面を開いた際に | |
# メモ情報を失ってしまうのを回避します。 | |
# | |
# このスクリプトは | |
# ・「[hzm]メモ欄拡張共通部分さん+」 | |
# ・「オーグメントシステム本体」 | |
# の2つより下に設置してください。 | |
#------------------------------------------------------------------------------- | |
if defined?(SceneManager.augments_goto) | |
class << SceneManager | |
alias hzm_vxa_note2_augments_goto augments_goto | |
def augments_goto(scene_class) | |
if scene_class == Scene_Title | |
HZM_VXA::Note2.setup | |
end | |
hzm_vxa_note2_augments_goto(scene_class) | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment