def execute_action_item
item = @active_battler.action.item
###
text = sprintf(Vocab::UseItem, @active_battler.name, item.name)
###
@message_window.add_instant_text(text)
targets = @active_battler.action.make_targets
display_animation(targets, item.animation_id)
$game_party.consume_item(item)
$game_temp.common_event_id = item.common_event_id
for target in targets
target.item_effect(@active_battler, item)
display_action_effects(target, item)
end
end
def execute_action_item
item = @active_battler.action.item
###
text = sprintf(Vocab::UseItem, @active_battler.name, item.name)
###
@message_window.add_instant_text(text)
targets = @active_battler.action.make_targets
display_animation(targets, item.animation_id)
$game_party.consume_item(item)
$game_temp.common_event_id = item.common_event_id
for target in targets
target.item_effect(@active_battler, item)
display_action_effects(target, item)
end
end