diff options
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; |