copy heal_location changes from pokeruby

This commit is contained in:
garak
2018-08-07 23:05:48 -04:00
parent 85ebd76cd0
commit 45b730e474
3 changed files with 45 additions and 74 deletions

View File

@@ -1,12 +1,7 @@
#ifndef GUARD_HEAL_LOCATION_H
#define GUARD_HEAL_LOCATION_H
// Exported type declarations
struct UnkStruct_0859F534 {
const union AffineAnimCmd *const *const affineAnims;
void (* callback)(struct Sprite *sprite);
};
#include "sprite.h"
struct HealLocation
{
@@ -16,10 +11,8 @@ struct HealLocation
u16 y;
};
// Exported RAM declarations
u32 GetHealLocationIndexByMap(u16 mapGroup, u16 mapNum);
const struct HealLocation *GetHealLocationByMap(u16 mapGroup, u16 mapNum);
const struct HealLocation *GetHealLocation(u32 index);
// Exported ROM declarations
const struct HealLocation *GetHealLocationPointer(u32 loc);
#endif //GUARD_HEAL_LOCATION_H
#endif // GUARD_HEAL_LOCATION_H