only problems i can see right off the top are these should be ld a,(XCOR) and ld a,(YCOR) that would cause a problem with the locations > ld (XCOR),a > ld e,a > ld (YCOR),a