Okay, so what I'm trying to do is make a battle result window. I've got all the aspects of it down, I just need to figure out a couple more things. I have the whole window updating, but I run into a problem with a couple things.
1.
adding gold2.
adding exp3.
not being able to exit the window until the exp and gold is added Breloom and Aqua Helped me already with this one. Thanks guys(gals)
Here's the code for the update method in my scene, that's where I think I need to put this stuff, I might be mistaken though, that's why I'm posting here.
def update
if $exp_gained != 0
$exp_gained -= 1
#some code to add 1 exp to player
end
if $gold_gained != 0
$gold_gained -= 1
#some code to add 1 gold to player
end
if $exp_gained = 0 # all i'm trying to do here is to make it so you can't
if $gold_gained = 0 # hit escape to leave the window until the gold and
if Input.trigger?(Input::B) # experience are both added. it's purely
$game_system.se_play($data_system.cancel_se) # aesthetic, but then again
$scene = Scene_Map.new # so is most everything else about games
end
end
end
end
Anyway, if you need further clarification or have any ideas, please help! Thanks