sovereignx/include/heal_location.h
cawtds 3af93bdfee
FRLG+ whiteout message (#4967)
* FRLG whiteout message + post whiteout event
2024-08-02 08:28:05 -07:00

20 lines
562 B
C

#ifndef GUARD_HEAL_LOCATION_H
#define GUARD_HEAL_LOCATION_H
struct HealLocation
{
s8 group;
s8 map;
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