pokeemmo/include/heal_location.h
2025-06-02 14:17:22 +08:00

21 lines
568 B
C

#ifndef GUARD_HEAL_LOCATION_H
#define GUARD_HEAL_LOCATION_H
struct HealLocation
{
s8 mapGroup;
s8 mapNum;
u16 x;
u16 y;
};
u32 GetHealLocationIndexByMap(u16 mapGroup, u16 mapNum);
u32 GetHealLocationIndexByWarpData(struct WarpData *warp);
const struct HealLocation *GetHealLocationByMap(u16 mapGroup, u16 mapNum);
const struct HealLocation *GetHealLocation(u32 index);
bool32 IsLastHealLocationPlayerHouse();
void SetWhiteoutRespawnWarpAndHealerNPC(struct WarpData * warp);
u32 GetHealNpcLocalId(u32 healLocationId);
#endif // GUARD_HEAL_LOCATION_H