Nudge Sprites over 1 pixel to the left, to get them secret bricks to line up proper with the background, and fix the sprite erase. It would be nice to know why we have to do this, but perhaps it's something to do with Mr. Sprite

This commit is contained in:
dwsJason 2018-09-02 19:50:32 -04:00
parent ad2b367a78
commit 011e235517
1 changed files with 2 additions and 2 deletions

View File

@ -331,7 +331,7 @@ draw_sprite(U8 number, U16 x, U16 y)
{
int frameNo = number;
if (y >= (200-22))
if (y >= (200-8))
return;
if (x >= 320)
@ -363,7 +363,7 @@ draw_sprite2(U8 number, U16 x, U16 y, U8 front)
frameNo<<=1;
x -= DRAW_XYMAP_SCRLEFT;
x -= (DRAW_XYMAP_SCRLEFT-1);
y -= (DRAW_XYMAP_SCRTOP-8);
if (x & 1)