I'm trying to clear everything and would this work
also how can I tell if everything is cleared
Function ClearALL()
;Free the Memory and end the program
ClearWorld sky1,0,sky
ClearWorld terrain,0,Grass
FreeEntity Wall
FreeEntity box
FreeEntity Tree1
FreeEntity Tree2
FreeEntity Tree3
FreeEntity Tree5
FreeEntity Tree6
FreeEntity Lf1
FreeEntity Lf2
FreeEntity Lf3
FreeEntity Lf5
FreeEntity Lf6
End Function
also how can I tell if everything is cleared
Function ClearALL()
;Free the Memory and end the program
ClearWorld sky1,0,sky
ClearWorld terrain,0,Grass
FreeEntity Wall
FreeEntity box
FreeEntity Tree1
FreeEntity Tree2
FreeEntity Tree3
FreeEntity Tree5
FreeEntity Tree6
FreeEntity Lf1
FreeEntity Lf2
FreeEntity Lf3
FreeEntity Lf5
FreeEntity Lf6
End Function