
-----------------------------------
Supernal
Fri Nov 02, 2007 4:34 pm

Coordinate based RPG
-----------------------------------
Greetings, everyone. This is my first post on this site. :)

I was hoping I could acquire some help with a game I'm attempting to make.

My problem right now is:

I set my coordinate system up, and it's working fine. But my battle procedure runs via a randint event. It's basically:
randint (b,1,100)
Where "b" is my *b*attle procedure odds. So... :
if b > 85
then
Battle
end if

Now... I have the battle procedure running perfectly well... Except, when I am done the battle, it just re-loops, even after I've won/lost.

And thats where my problem is. I need a way to terminate the procedure, and re-run the movement procedure.

I'd appreciate any help/criticism.

-----------------------------------
Degensquared
Fri Nov 02, 2007 5:53 pm

Re: Coordinate based RPG
-----------------------------------
Well if you could post some more of your code it would be easier for us to get some perspective on the problem ;)

If you are using the loop statement to run through the battle, you might want to use an exit condition such as 


loop
%battle things happen here
exit when hp 