change mapDataId to mapLayoutId

This commit is contained in:
DizzyEggg 2018-06-30 14:52:13 +02:00
parent 15fe5a031b
commit 97712ec931

View file

@ -264,5 +264,5 @@ void sub_81B9E88(void)
bool8 sub_81B9E94(void)
{
return (gMapHeader.regionMapSectionId == MAPSEC_SLATEPORT_CITY
&& ((gMapHeader.mapDataId == 385) | (gMapHeader.mapDataId == 386)));
&& ((gMapHeader.mapLayoutId == 385) | (gMapHeader.mapLayoutId == 386)));
}