
-----------------------------------
Planet_Fall
Fri Jan 17, 2014 12:41 pm

Break Command Help
-----------------------------------
Break command issues

One I generated the .exe of the program I was writing, I decided to test it out. Problem is that when you get the GAME OVER screen the program just continues instead of terminating. How to I get it to terminate? 

This is the area of code that isn't working, is there a different command instead of Break?


put skip
put enemy.NAME, " attacks ", player.NAME, "!"
damage := enemy.ATK + Rand.Int (10, 25)
put enemy.NAME, " deals ", damage, " damage to ", player.NAME
HP_HOLDER -= damage
if HP_HOLDER 