mirror of
https://github.com/pret/pmd-sky.git
synced 2026-04-25 15:42:34 -05:00
21 lines
454 B
C
21 lines
454 B
C
#include "joined_at_checks.h"
|
|
|
|
bool8 IsSpecialStoryAlly(struct monster *pokemon_info)
|
|
{
|
|
if (pokemon_info->joined_at >= DUNGEON_JOINED_AT_BIDOOF && pokemon_info->joined_at < DUNGEON_DUMMY_0xE4)
|
|
return TRUE;
|
|
|
|
return FALSE;
|
|
}
|
|
|
|
bool8 IsExperienceLocked(struct monster *pokemon_info)
|
|
{
|
|
if (pokemon_info->joined_at == DUNGEON_CLIENT)
|
|
return TRUE;
|
|
|
|
if (IsSpecialStoryAlly(pokemon_info))
|
|
return TRUE;
|
|
|
|
return FALSE;
|
|
}
|