mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 03:34:15 +01:00
Merge pull request #2358 from LOuroboros/PeeCee
Fixed IsPlayerInFrontOfPC
This commit is contained in:
commit
2a02cefc81
@ -961,8 +961,11 @@ static bool8 IsPlayerInFrontOfPC(void)
|
||||
GetXYCoordsOneStepInFrontOfPlayer(&x, &y);
|
||||
tileInFront = MapGridGetMetatileIdAt(x, y);
|
||||
|
||||
return (tileInFront == METATILE_BrendansMaysHouse_BrendanPC_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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user