From 95ec2cf039f0efdc6dadfb6fe766ace231a1b6b1 Mon Sep 17 00:00:00 2001 From: Rangi Date: Thu, 25 Mar 2021 16:33:05 -0400 Subject: Verify data table and name list sizes with assertion macros Fixes #312 --- constants/map_constants.asm | 1 + 1 file changed, 1 insertion(+) (limited to 'constants/map_constants.asm') diff --git a/constants/map_constants.asm b/constants/map_constants.asm index d33ffe12..58343342 100644 --- a/constants/map_constants.asm +++ b/constants/map_constants.asm @@ -266,6 +266,7 @@ FIRST_INDOOR_MAP EQU const_value mapconst LORELEIS_ROOM, 6, 5 ; $F5 mapconst BRUNOS_ROOM, 6, 5 ; $F6 mapconst AGATHAS_ROOM, 6, 5 ; $F7 +NUM_MAPS EQU const_value ; Indoor maps, such as houses, use this as the Map ID in their exit warps ; This map ID takes the player back to the last outdoor map they were on, stored in wLastMap -- cgit v1.3.1-sl0p