Could maybe add
to this section:
so that you don't die when the level is complete.
Player\ShieldTime = 500
to this section:
; Level complete! If leveltimer2<>0 If (MilliSecs()-leveltimer2)<5000 Outline_Text GraphicsWidth()/2,(GraphicsHeight()/2)-10,"Level "+levelnumber,True,True Outline_Text GraphicsWidth()/2,(GraphicsHeight()/2)+10,"Completed!",True,True Player\ShieldTime = 500 ;<-------- Else SetLevel(levelnumber+1) End If End If
so that you don't die when the level is complete.