QUOTE (SloaTheDemon @ Oct 16 2011, 02:02 PM)

ok ik i pobably put in the place but i didn't know where else to put it but here so anyway
i keep getting this error come up when i start playtesting
script 'scene_battle' line 616 NoMethodError occured
undefined method `-@ for Nil:Class
can anyone help?
did you check line 616 in the scene_battle script, to see if there was an error, if not go see if u can copy and paste that area on to here, it should look like this
CODE
text = sprintf(Vocab::ObtainGold, gold, Vocab::gold)
$game_message.texts.push('\.' + text)
end
wait_for_message
end
#--------------------------------------------------------------------------
# * Display Gained Drop Items
#--------------------------------------------------------------------------
def display_drop_items
drop_items = $game_troop.make_drop_items
for item in drop_items
$game_party.gain_item(item, 1)