sub_808F254
This commit is contained in:
1 parent
9306122359
commit
c6ef344262
3 files changed
+11
-31
No files matched your search
Regular → Executable
+10
@@ -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]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user