#ifndef GUARD_FOLLOWER_MON_H #define GUARD_FOLLOWER_MON_H #include "global.h" /* * HGSS Follower Pokémon System: * The party's lead Pokémon follows the player in the overworld. * Uses HeartGold/SoulSilver 8-frame directional sprites and text banks when available, * with an integrated fallback to standard Pokémon menu icons and built-in emotional reactions. * * Implemented as a synthetic object event using a reserved localId and graphicsId, * omitted from SaveObjectEvents to maintain 100% save-file compatibility. */ #define OBJ_EVENT_GFX_FOLLOWER NUM_OBJ_EVENT_GFX /* 239: the one id no map object uses */ #define LOCALID_FOLLOWER 254 struct ObjectEvent; struct ObjectEventGraphicsInfo; struct Sprite; void FollowerMon_Update(void); const struct ObjectEventGraphicsInfo *FollowerMon_GraphicsInfo(void); void FollowerMon_BindSprite(struct Sprite *sprite); bool8 FollowerMon_IsFollower(const struct ObjectEvent *objectEvent); const u8 *FollowerMon_TalkScript(void); void FollowerMon_CameraShift(s16 dx, s16 dy); /* Door warp handlers: follower walks in behind the player before door closes */ void FollowerMon_DoorBegin(void); bool8 FollowerMon_DoorDone(void); /* Palette settling check: ensure fade/weather has completed */ bool8 FollowerMon_PalettesSettled(void); /* Cleanly releases follower resources on reset/warp */ void FollowerMon_ReleaseAll(void); #endif // GUARD_FOLLOWER_MON_H