2017-09-06 13:35:16 +01:00
|
|
|
#ifndef POKEEMERALD_FIELD_MAP_OBJ_H
|
|
|
|
#define POKEEMERALD_FIELD_MAP_OBJ_H
|
|
|
|
|
|
|
|
// Exported struct declarations
|
|
|
|
|
|
|
|
// Exported RAM declarations
|
|
|
|
|
2017-09-06 23:26:37 +01:00
|
|
|
|
|
|
|
|
2017-09-06 13:35:16 +01:00
|
|
|
// Exported ROM declarations
|
|
|
|
|
2017-09-06 14:29:59 +01:00
|
|
|
void sub_808D438(void);
|
2017-09-06 14:49:51 +01:00
|
|
|
u8 GetFieldObjectIdByLocalIdAndMap(u8, u8, u8);
|
|
|
|
bool8 TryGetFieldObjectIdByLocalIdAndMap(u8, u8, u8, u8 *);
|
2017-09-06 14:52:31 +01:00
|
|
|
u8 GetFieldObjectIdByXY(s16, s16);
|
2017-09-06 19:25:17 +01:00
|
|
|
void FieldObjectSetDirection(struct MapObject *, u8);
|
2017-09-06 23:26:37 +01:00
|
|
|
u8 sub_808D4F4(void);
|
|
|
|
void RemoveFieldObjectByLocalIdAndMap(u8, u8, u8);
|
2017-09-07 01:28:36 +01:00
|
|
|
void npc_load_two_palettes__no_record(u16, u8);
|
|
|
|
void npc_load_two_palettes__and_record(u16, u8);
|
2017-09-08 00:45:30 +01:00
|
|
|
void sub_808E16C(s16, s16);
|
2017-09-07 01:28:36 +01:00
|
|
|
void sub_808EAB0(u16, u8);
|
|
|
|
void sub_8092FF0(s16, s16, s16 *, s16 *);
|
|
|
|
u8 FieldObjectDirectionToImageAnimId(u8);
|
2017-09-07 20:50:49 +01:00
|
|
|
void sub_80930E0(s16 *, s16 *, u8, u8);
|
2017-09-08 00:45:30 +01:00
|
|
|
void FieldObjectClearAnim(struct MapObject *);
|
|
|
|
void SpawnFieldObjectsInView(s16, s16);
|
|
|
|
u8 sprite_new(u8, u8, s16, s16, u8, u8);
|
|
|
|
u8 AddPseudoFieldObject(u16, void (*)(struct Sprite *), s16, s16, u8);
|
|
|
|
u8 show_sprite(u8, u8, u8);
|
|
|
|
u8 SpawnSpecialFieldObjectParametrized(u8, u8, u8, s16, s16, u8);
|
|
|
|
u8 SpawnSpecialFieldObject(struct MapObjectTemplate *);
|
2017-09-06 14:29:59 +01:00
|
|
|
|
2017-09-06 14:38:38 +01:00
|
|
|
// Exported data declarations
|
|
|
|
|
|
|
|
extern const struct SpriteTemplate *const gFieldEffectObjectTemplatePointers[];
|
|
|
|
|
2017-09-06 13:35:16 +01:00
|
|
|
#endif //POKEEMERALD_FIELD_MAP_OBJ_H
|