Use macros for summary windows

Other minor changes and fixes are included
This commit is contained in:
Phlosioneer
2019-03-03 16:50:51 -05:00
parent 043071ae12
commit 63e700af6c
5 changed files with 627 additions and 569 deletions
+1 -1
View File
@@ -269,7 +269,7 @@ static void sub_81B9E88(void)
DoBattleFactorySwapScreen();
}
bool8 sub_81B9E94(void)
bool8 InSlateportBattleTent(void)
{
return gMapHeader.regionMapSectionId == MAPSEC_SLATEPORT_CITY
&& (gMapHeader.mapLayoutId == LAYOUT_BATTLE_TENT_CORRIDOR || gMapHeader.mapLayoutId == LAYOUT_BATTLE_TENT_BATTLE_ROOM);