@Will
I folowed your advice but I had no much sucsess in debugging Drkhog's code.
When I use Evalueate tool it usually shows that object is "nil" which is verry strange as the object gets destroyed only on one place and that code isn't called.
Other times the Evaluate tool shows that memory at adress "x" cant be acsessed.
But based on the fact that the character is moving without the problem even when Evaluate tool shows that MarioGO is either "nil" or that its memory can't be read it clearly shows that something is wrong with debugging.

I'm using Lazarus 1-0.10 with FPC 2.6.2.


BTW: Does Lazarus have auto-evaluate functionality like Delphi has?