diff options
author | Marcus Huderle <huderlem@gmail.com> | 2018-05-25 11:07:55 -0500 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2018-05-29 17:43:11 -0500 |
commit | e435d62f0a496652482c89d7fd696ecc08d22a15 (patch) | |
tree | 8e33e1cc7eef2b7fd6a0628e13714ecee78c3549 /src/berry.c | |
parent | bc97185452e4dd38a808afeac7b6c774d4ab1163 (diff) |
Define movement type constants
Diffstat (limited to 'src/berry.c')
-rw-r--r-- | src/berry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/berry.c b/src/berry.c index 5a0e39580..e3b56657b 100644 --- a/src/berry.c +++ b/src/berry.c @@ -1543,7 +1543,7 @@ void ResetBerryTreeSparkleFlags(void) bottom = top + 8; for (i = 0; i < (u8)ARRAY_COUNT(gSaveBlock1.mapObjects); i++) { - if (gMapObjects[i].active && gMapObjects[i].movementType == 12) // is the object an active berry tree? + if (gMapObjects[i].active && gMapObjects[i].movementType == MOVEMENT_TYPE_BERRY_TREE_GROWTH) { cam_left = gMapObjects[i].currentCoords.x; cam_top = gMapObjects[i].currentCoords.y; |