Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Scene_Battle
- ##
- # Prevent the senseless refreshing of the status window while a battle message
- # is displayed.
- #
- alias_method :zeriab_antilag_update, :update
- def update
- if @message_window.visible
- tmp_method = @status_window.method('refresh')
- def @status_window.refresh; end
- zeriab_antilag_update
- @status_window.class.send(:define_method, :refresh, tmp_method)
- else
- zeriab_antilag_update
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement