
*Solved. 
Caused by endless loop when shots coordinates reaches SHORT_MAX because they were never deactivated.

Crash:
-The game crashed In Area4 "rocky" area left of ruins. Springball at approx upper left corner of solid tile.
 It seemed like a hang/infinite loop, not address error or similar. 
 Screen was frozen, no flickering, AMS error message etc.
-Crashed on startup in Area2. Problem exists in HandlePlayer() or called functions
-Game froze in normal mode. Jumping. Very similar to 1.
-Spring ball lying still on top of a "pole". Enemy in room
-Spider ball or spring ball. Enemy on-screen





Possible sources:

-while loops
-for-loops


Functions:

RenderLevel(1) 
 DrawItems() 
 DrawEnemies()
 DrawPlayerShots()
 DrawEnemyShots()
 UpdateStatbar()
 'DrawSprite()
 'DrawPlayer()
 'AdjustRenderCoordinates()
HandlePlayer()
HandlePlayerShots()		
HandleBlockedLocations()
HandleEnemies()
HandleEnemyShots()		
HandleItems()	
RespawnTiles()



'HandleAdditionalControls()		
'UpdateTimers()
'ScanKeys()




Code: 6 1 0
Loaded room that contained 0x1A

6 2 5

6 2 5 2
6 2 5 2
6 2 5 2 105 32761





