Option to disabling follower Pokémon
This commit is contained in:
parent
124c17d315
commit
f350000b44
2 changed files with 4 additions and 0 deletions
|
@ -286,6 +286,8 @@
|
|||
#define OW_SPECIES(x) (((x)->graphicsId & OBJ_EVENT_GFX_SPECIES_MASK) - OBJ_EVENT_GFX_MON_BASE)
|
||||
#define OW_FORM(x) ((x)->graphicsId >> OBJ_EVENT_GFX_SPECIES_BITS)
|
||||
|
||||
#define OW_FOLLOWERS_ENABLED FALSE
|
||||
|
||||
// If true, follower pokemon will bob up and down
|
||||
// during their idle & walking animations
|
||||
#define OW_MON_BOBBING TRUE
|
||||
|
|
|
@ -2080,6 +2080,8 @@ void RemoveFollowingPokemon(void)
|
|||
// Determine whether follower *should* be visible
|
||||
static bool32 IsFollowerVisible(void)
|
||||
{
|
||||
if (OW_FOLLOWERS_ENABLED == FALSE)
|
||||
return FALSE;
|
||||
return
|
||||
!(TestPlayerAvatarFlags(FOLLOWER_INVISIBLE_FLAGS)
|
||||
|| MetatileBehavior_IsSurfableWaterOrUnderwater(gObjectEvents[gPlayerAvatar.objectEventId].previousMetatileBehavior)
|
||||
|
|
Loading…
Reference in a new issue