mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-22 12:23:48 +01:00
Don't toggle mega indicator visibility on the Safari Zone
This commit is contained in:
parent
0f958806ea
commit
5c0e5d2133
@ -1531,6 +1531,9 @@ void MegaIndicator_SetVisibilities(u32 healthboxId, bool32 invisible)
|
|||||||
u8 *spriteIds = MegaIndicator_GetSpriteIds(healthboxId);
|
u8 *spriteIds = MegaIndicator_GetSpriteIds(healthboxId);
|
||||||
u32 battlerId = gSprites[healthboxId].hMain_Battler;
|
u32 battlerId = gSprites[healthboxId].hMain_Battler;
|
||||||
|
|
||||||
|
if (GetSafariZoneFlag())
|
||||||
|
return;
|
||||||
|
|
||||||
for (i = 0; i < INDICATOR_COUNT; i++)
|
for (i = 0; i < INDICATOR_COUNT; i++)
|
||||||
{
|
{
|
||||||
if (invisible == TRUE)
|
if (invisible == TRUE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user