Use VAR_FACING constants
This commit is contained in:
1 parent
4494b5d4cb
commit
7ba11b7a1b
38 files changed
+142
-142
No files matched your search
+1
-1
@@ -2742,7 +2742,7 @@ static bool32 PlayerIsAtSouthExit(struct TradeRoomPlayer *player)
|
||||
return FALSE;
|
||||
else if (!MetatileBehavior_IsSouthArrowWarp(player->field_C))
|
||||
return FALSE;
|
||||
else if (player->facing != 1)
|
||||
else if (player->facing != DIR_SOUTH)
|
||||
return FALSE;
|
||||
else
|
||||
return TRUE;
|
||||
|
||||
Reference in new issue
Block a user