pokeemerald/include/field_ground_effect.h

25 lines
795 B
C
Raw Normal View History

2017-09-07 02:28:36 +02:00
//
// Created by scott on 9/6/2017.
//
2017-09-16 21:13:06 +02:00
#ifndef GUARD_FIELD_GROUND_EFFECT_H
#define GUARD_FIELD_GROUND_EFFECT_H
2017-09-07 02:28:36 +02:00
// Exported type declarations
// Exported RAM declarations
// Exported ROM declarations
2018-02-14 00:58:22 +01:00
u8 ZCoordToPriority(u8);
void FieldObjectUpdateZCoord(struct MapObject *pObject);
2017-09-07 02:28:36 +02:00
void SetObjectSubpriorityByZCoord(u8, struct Sprite *, u8);
2017-09-07 21:50:49 +02:00
void InitObjectPriorityByZCoord(struct Sprite *, u8);
2017-09-17 00:42:35 +02:00
bool8 IsZCoordMismatchAt(u8, s16, s16);
2017-09-17 03:29:04 +02:00
bool8 AreZCoordsCompatible(u8, u8);
2017-09-17 14:05:33 +02:00
void FieldObjectUpdateSubpriority(struct MapObject *, struct Sprite *);
void DoGroundEffects_OnSpawn(struct MapObject *, struct Sprite *);
void DoGroundEffects_OnBeginStep(struct MapObject *, struct Sprite *);
void DoGroundEffects_OnFinishStep(struct MapObject *, struct Sprite *);
2017-09-07 02:28:36 +02:00
2017-09-16 21:13:06 +02:00
#endif //GUARD_FIELD_GROUND_EFFECT_H