The whole idea is to swap sprites data position in different table because sprite 0-3 have the highest priority. #include <coleco.h> #include <getput1.h> #define chrgen 0x0000 #define coltab 0x2000 #define chrtab 0x1800 #define sprtab 0x3800 #define sprgen 0x1b00 byte a,b,e,d,x,y,i,j,c,ID,flicker, aniframe, playerx,playery; byte objectID[6],objectx[6],objecty[6],objectc[6],objectp[6],objectb[6]; //create arrays that holds the ID,x,y,color,pattern and behavior. const byte sa