TheoAllen

TSBS Patch2

Jan 27th, 2015
412
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.44 KB | None | 0 0
  1. class Scene_Battle
  2.   def use_item
  3.     item = @subject.current_action.item
  4.     @log_window.display_use_item(@subject, item)
  5.     @subject.use_item(item)
  6.     return unless @subject.current_action
  7.     if $imported["YEA-LunaticObjects"]
  8.       lunatic_object_effect(:before, item, @subject, @subject)
  9.     end
  10.     refresh_status
  11.     targets = @subject.current_action.make_targets.compact
  12.     show_action_sequences(targets, item, @subject)
  13.   end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment