after trying and trying i cant get accurate emu when two sprites overlap,
the thing is funny in my emu: its like one sprite fights to the other one, i mean its timed, one time you see in front of the other and viceversa
any idea what could be the problem?
The lowest number sprite is the one that's displayed. IE: sprite 0 is drawn over sprite 1 -- which is drawn over sprite 2, over sprite 3, etc.
When sprites overlap in game, there will usually be a flicker effect -- this is due to the game's OAM cycling routine. Basically the game is moving sprites around so that sprites have high priority one frame and low priority another frame (making all sprites visible through flickering rather than some just being completely invisible).
So yeah... the flicker effect is normal. All your emu should be doing is giving lower numbered sprites priority when there's a conflict.
Some licenced games such as Double Dragon and 3d-WorldRunner doesn't have sprite cycling at all (because the priority is important due to how the graphics are displayed)