2017-10-29 01:43:33 +01:00
|
|
|
#ifndef GUARD_HEAL_LOCATION_H
|
|
|
|
#define GUARD_HEAL_LOCATION_H
|
|
|
|
|
|
|
|
struct HealLocation
|
|
|
|
{
|
|
|
|
s8 group;
|
|
|
|
s8 map;
|
|
|
|
u16 x;
|
|
|
|
u16 y;
|
|
|
|
};
|
|
|
|
|
2018-08-08 04:05:48 +01:00
|
|
|
u32 GetHealLocationIndexByMap(u16 mapGroup, u16 mapNum);
|
2024-08-02 16:28:05 +01:00
|
|
|
u32 GetHealLocationIndexByWarpData(struct WarpData *warp);
|
2018-08-08 04:05:48 +01:00
|
|
|
const struct HealLocation *GetHealLocationByMap(u16 mapGroup, u16 mapNum);
|
|
|
|
const struct HealLocation *GetHealLocation(u32 index);
|
2024-08-02 16:28:05 +01:00
|
|
|
bool32 IsLastHealLocationPlayerHouse();
|
|
|
|
void SetWhiteoutRespawnWarpAndHealerNPC(struct WarpData * warp);
|
|
|
|
u32 GetHealNpcLocalId(u32 healLocationId);
|
2017-10-29 01:43:06 +00:00
|
|
|
|
2018-08-08 04:05:48 +01:00
|
|
|
#endif // GUARD_HEAL_LOCATION_H
|