mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-27 13:53:52 +01:00
Small tweak to the new check in PCTurnOffEffect
This commit is contained in:
parent
5500e64a71
commit
00eb67608a
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user