summaryrefslogtreecommitdiff
path: root/include/field_ground_effect.h
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-09-19 19:29:09 -0400
committerGitHub <noreply@github.com>2017-09-19 19:29:09 -0400
commitf94074b6027d1efe067fd972127eb7730cbef2e0 (patch)
tree86bbc837a14ceec9d5be82e220eeced2d5fe9897 /include/field_ground_effect.h
parente23fb64dad2f349184c8ec44e38f3c495f346785 (diff)
parent8098a209da963bc1654d1139f3f0d885dfff7af3 (diff)
Merge pull request #35 from PikalaxALT/field_map_obj
Field map obj
Diffstat (limited to 'include/field_ground_effect.h')
-rw-r--r--include/field_ground_effect.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/field_ground_effect.h b/include/field_ground_effect.h
new file mode 100644
index 000000000..63b67ceaf
--- /dev/null
+++ b/include/field_ground_effect.h
@@ -0,0 +1,22 @@
+//
+// Created by scott on 9/6/2017.
+//
+
+#ifndef GUARD_FIELD_GROUND_EFFECT_H
+#define GUARD_FIELD_GROUND_EFFECT_H
+
+// Exported type declarations
+
+// Exported RAM declarations
+
+// Exported ROM declarations
+void SetObjectSubpriorityByZCoord(u8, struct Sprite *, u8);
+void InitObjectPriorityByZCoord(struct Sprite *, u8);
+bool8 IsZCoordMismatchAt(u8, s16, s16);
+bool8 AreZCoordsCompatible(u8, u8);
+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 *);
+
+#endif //GUARD_FIELD_GROUND_EFFECT_H