Ah, I see. I've been working on this ABS game for three years now and hit this stumbling block while testing some quest lines that use items. Never even thought about the bug that would occur if one sold the items until now. With this, I'll be able to work that out. Thanks a million.
Basically, how would one go about decreasing a certain variable when a certain item is sold? I've worked with modifying parts of scripts in the past, but I am not sure as to how to set this up. I'm guessing that it would involve editing and adding to this part of the "Scene_Shop" script.
# Sell process
$game_party.gain_gold(@number_window.number * (@item.price / 2))
case @item
when RPG::Item
$game_party.lose_item(@item.id, @number_window.number)
when RPG::Weapon
$game_party.lose_weapon(@item.id, @number_window.number)
when RPG::Armor
$game_party.lose_armor(@item.id, @number_window.number)
end
Anyone care to offer any help? Thanks.