mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-13 23:23:43 +01:00
Fixed IsPlayerInFrontOfPC
This commit is contained in:
parent
b8aa34af81
commit
a9ab3286ef
@ -961,9 +961,9 @@ static bool8 IsPlayerInFrontOfPC(void)
|
||||
GetXYCoordsOneStepInFrontOfPlayer(&x, &y);
|
||||
tileInFront = MapGridGetMetatileIdAt(x, y);
|
||||
|
||||
return (tileInFront == METATILE_BrendansMaysHouse_BrendanPC_Off
|
||||
|| tileInFront == METATILE_BrendansMaysHouse_MayPC_Off
|
||||
|| tileInFront == METATILE_Building_PC_Off);
|
||||
return ((tileInFront == METATILE_BrendansMaysHouse_BrendanPC_On || tileInFront == METATILE_BrendansMaysHouse_BrendanPC_Off)
|
||||
|| (tileInFront == METATILE_BrendansMaysHouse_MayPC_On || tileInFront == METATILE_BrendansMaysHouse_MayPC_Off)
|
||||
|| (tileInFront == METATILE_Building_PC_On || tileInFront == METATILE_Building_PC_Off));
|
||||
}
|
||||
|
||||
void DoPCTurnOnEffect(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user