Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Scene_Battle < Scene_Base
- alias zpatch_yem_u update unless $@
- def update
- correct_battlewindow_class
- zpatch_yem_u
- end
- def correct_battlewindow_class
- return if @message_window.is_a?(Window_BattleMessageMelody) !=
- $game_switches[20]
- v = @message_window.visable
- @message_window.dispose
- if $game_switches[20]
- @message_window = Window_BattleMessageMelody.new
- else
- @message_window = Window_BattleMessage.new
- end
- @message_window.visible = v
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement