Deapths wit iso game (non tile)

Hi all,
Iam having some trouble with the deapths this was the maximum i was able to do.I works if it is broken up but them i will have trouble getting the map to move around.Quite on my knees now pls help
the movements file was taken from flash kit. Heres the link OK the thing is that i want him to be behind the wall when he’s behind and not be seen and be seen when he is in front of the wall.(sounds sooo simple doesnt it??)
Thanks,
Wolf
:h:

anyone???