Replaced magic numbers regarding triggerGroundEffectsOnMove to TRUE / FALSE
This commit is contained in:
@@ -3050,7 +3050,7 @@ static void SetPlayerFacingDirection(u8 linkPlayerId, u8 facing)
|
||||
{
|
||||
if (facing > FACING_FORCED_RIGHT)
|
||||
{
|
||||
objEvent->triggerGroundEffectsOnMove = 1;
|
||||
objEvent->triggerGroundEffectsOnMove = TRUE;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -3199,7 +3199,7 @@ static void CreateLinkPlayerSprite(u8 linkPlayerId, u8 gameVersion)
|
||||
sprite = &gSprites[objEvent->spriteId];
|
||||
sprite->coordOffsetEnabled = TRUE;
|
||||
sprite->data[0] = linkPlayerId;
|
||||
objEvent->triggerGroundEffectsOnMove = 0;
|
||||
objEvent->triggerGroundEffectsOnMove = FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user