define number of map objects
This commit is contained in:
1 parent
1ecd0a7838
commit
a08cd8e5a7
2 files changed
+3
-2
No files matched your search
+1
-1
@@ -1241,7 +1241,7 @@ void ResetBerryTreeSparkleFlags(void)
|
||||
top = cam_top + 3;
|
||||
right = cam_left + 14;
|
||||
bottom = top + 8;
|
||||
for (i = 0; i < (u8)ARRAY_COUNT(gSaveBlock1Ptr->mapObjects); i++)
|
||||
for (i = 0; i < MAP_OBJECTS_NUMBER; i++)
|
||||
{
|
||||
if (gMapObjects[i].active && gMapObjects[i].animPattern == 12)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user