Yet another question! I think this one should be quick, but I couldn't find a solution on the forums.
So I got my title screen working and when you press enter you go to the game. When you kill all of the enemys you are supposed to return to the title screen.
Problem: When I kill all the enemies the display shows the last part of the game instead of the menu, but I know its working because when I press enter it restarts the game!
load image "I'm a berry",1
paste image 1,0,0
do
if keystate(27) = 1 then gosub doallmycrap
loop
rem i win! Bring me back to safety!!!
if totalenemies = 0
set cursor scr_width#/2,scr_height#/2
print "You WIN!!!"
gosub deleteall
exit
endif