summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorgarak <garakmon@gmail.com>2018-08-07 23:05:48 -0400
committergarak <garakmon@gmail.com>2018-08-07 23:05:48 -0400
commit45b730e4747df42c5bd2dd775d34cdaed51b4045 (patch)
treea5ad5aebc991ec4a51114a6f25147c688a113172 /include
parent85ebd76cd03e1ee84f182585060b3a79b8653e85 (diff)
copy heal_location changes from pokeruby
Diffstat (limited to 'include')
-rw-r--r--include/heal_location.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/include/heal_location.h b/include/heal_location.h
index 1f966f1ae..94dac2417 100644
--- a/include/heal_location.h
+++ b/include/heal_location.h
@@ -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
-
-// Exported ROM declarations
-
-const struct HealLocation *GetHealLocationPointer(u32 loc);
+u32 GetHealLocationIndexByMap(u16 mapGroup, u16 mapNum);
+const struct HealLocation *GetHealLocationByMap(u16 mapGroup, u16 mapNum);
+const struct HealLocation *GetHealLocation(u32 index);
-#endif //GUARD_HEAL_LOCATION_H
+#endif // GUARD_HEAL_LOCATION_H