Add DISPLAY_TILE_* constants
This commit is contained in:
@@ -2866,7 +2866,7 @@ static bool8 TryMovePartySlot(s16 x, s16 width, u8 *leftMove, u8 *newX, u8 *newW
|
||||
{
|
||||
if (x + width < 0)
|
||||
return FALSE;
|
||||
if (x > 31)
|
||||
if (x >= 32)
|
||||
return FALSE;
|
||||
|
||||
if (x < 0)
|
||||
@@ -2879,7 +2879,7 @@ static bool8 TryMovePartySlot(s16 x, s16 width, u8 *leftMove, u8 *newX, u8 *newW
|
||||
{
|
||||
*leftMove = 0;
|
||||
*newX = x;
|
||||
if (x + width > 31)
|
||||
if (x + width >= 32)
|
||||
*newWidth = 32 - x;
|
||||
else
|
||||
*newWidth = width;
|
||||
|
||||
Reference in New Issue
Block a user