Replaced GROUP_, MAP_ references with the map macro

Updated macros that rely on the GROUP_, MAP_ constants to use the map macro

Added GROUP_NONE and MAP_NONE for the sake of compatibility with this new scheme

Added new macro elevfloor to simplify the definition of elevators under this new scheme
This commit is contained in:
PikalaxALT
2015-07-23 12:59:19 -04:00
parent 185b0a1c86
commit 432df825d4
389 changed files with 1551 additions and 1551 deletions

View File

@@ -18,7 +18,7 @@ MobileTradeRoomMobile_MapScriptHeader:
MobileTradeRoomMobile_Initialize:
dotrigger $1
domaptrigger GROUP_POKECENTER_2F, MAP_POKECENTER_2F, $4
domaptrigger POKECENTER_2F, $4
end
MapMobileTradeRoomMobileSignpost0Script:
@@ -42,8 +42,8 @@ MobileTradeRoomMobile_MapEventHeader:
.Warps:
db 2
warp_def $7, $4, 5, GROUP_POKECENTER_2F, MAP_POKECENTER_2F
warp_def $7, $5, 5, GROUP_POKECENTER_2F, MAP_POKECENTER_2F
warp_def $7, $4, 5, POKECENTER_2F
warp_def $7, $5, 5, POKECENTER_2F
.XYTriggers:
db 0