$data_items.each do |item| next if item.price.zero? number = $game_party.item_number(item) $game_party.lose_item(item, number) $game_party.gain_gold(item.price * number / 2)end
$data_items.each do |item| next if item.price.zero? number = $game_party.item_number(item) $game_party.lose_item(item, number) $game_party.gain_gold(item.price * number / 2) end