Small tweak to the new check in PCTurnOffEffect

This commit is contained in:
LOuroboros 2022-09-24 22:10:46 -03:00
parent 5500e64a71
commit 00eb67608a

View File

@ -1056,7 +1056,7 @@ static void PCTurnOffEffect(void)
u8 playerDirection = GetPlayerFacingDirection();
if (IsPlayerInFrontOfPC() == TRUE)
{
return;
switch (playerDirection)
{
case DIR_NORTH:
@ -1080,7 +1080,6 @@ static void PCTurnOffEffect(void)
tileId = METATILE_BrendansMaysHouse_MayPC_Off;
MapGridSetMetatileIdAt(gSaveBlock1Ptr->pos.x + dx + MAP_OFFSET, gSaveBlock1Ptr->pos.y + dy + MAP_OFFSET, tileId | MAPGRID_COLLISION_MASK);
DrawWholeMapView();
}
}
void DoLotteryCornerComputerEffect(void)