sub_808F254

This commit is contained in:
PikalaxALT committed 2017-09-12 16:17:52 -04:00
1 parent 9306122359
commit c6ef344262
3 files changed
+11 -31

No files matched your search

Regular → Executable
+10
View File
@@ -1629,3 +1629,13 @@ void sub_808F23C(const struct MapObject *mapObject, u8 movementType)
mapObjectTemplate->movementType = movementType;
}
}
void sub_808F254(u8 localId, u8 mapNum, u8 mapGroup)
{
u8 mapObjectId;
if (!TryGetFieldObjectIdByLocalIdAndMap(localId, mapNum, mapGroup, &mapObjectId))
{
sub_808F208(&gMapObjects[mapObjectId]);
}
}