Don't toggle mega indicator visibility on the Safari Zone

This commit is contained in:
Jaizu 2023-04-10 14:40:56 +02:00
parent 0f958806ea
commit 5c0e5d2133

View file

@ -1531,6 +1531,9 @@ void MegaIndicator_SetVisibilities(u32 healthboxId, bool32 invisible)
u8 *spriteIds = MegaIndicator_GetSpriteIds(healthboxId);
u32 battlerId = gSprites[healthboxId].hMain_Battler;
if (GetSafariZoneFlag())
return;
for (i = 0; i < INDICATOR_COUNT; i++)
{
if (invisible == TRUE)