oh thats a handy shortcut! it didnt change anything though =/ basically whenever my dude runs into a wall he replaces the tile then gets pushed back again. i want it so he can move to the location of that tile at all. the lication of the tiles i dont want the guy to step on is P1 and P2 in @gosub @h1 when the value in arr1==0. the above pic is what I want my dude not to do