2024-01-18 10:22:21 -08:00
|
|
|
; Landmarks indexes (see data/levels/level_selection_menu.asm)
|
2013-11-28 00:54:21 -08:00
|
|
|
const_def
|
2023-07-25 09:32:57 -07:00
|
|
|
const LANDMARK_LEVEL_1 ; 00
|
2023-09-02 15:22:23 -07:00
|
|
|
if DEF(_DEBUG)
|
2024-01-18 05:06:10 -08:00
|
|
|
const LANDMARK_DEBUGLEVEL_1 ; 01
|
|
|
|
const LANDMARK_DEBUGLEVEL_2 ; 02
|
|
|
|
const LANDMARK_DEBUGLEVEL_3 ; 03
|
|
|
|
const LANDMARK_DEBUGLEVEL_4 ; 04
|
|
|
|
const LANDMARK_DEBUGLEVEL_5 ; 05
|
2023-09-02 15:22:23 -07:00
|
|
|
endc
|
2022-06-06 14:25:42 -07:00
|
|
|
DEF NUM_LANDMARKS EQU const_value
|
2024-01-18 10:22:21 -08:00
|
|
|
assert NUM_LANDMARKS <= 254
|
2018-01-11 09:00:01 -08:00
|
|
|
|
2024-01-21 08:01:44 -08:00
|
|
|
; constants used in Level Selection Menu
|
|
|
|
DEF LSMTEXTBOX_WIDTH EQU 18
|
|
|
|
DEF LSMTEXTBOX_HEIGHT EQU 2
|
|
|
|
DEF LSMTEXTBOX_X_COORD EQU 1
|
|
|
|
DEF LSMTEXTBOX_Y_COORD EQU 15
|
|
|
|
DEF LSMTEXTBOX_MAX_TEXT_ROW_LENGTH EQU LSMTEXTBOX_WIDTH - 5
|
|
|
|
DEF LSMTEXTBOX_BLACK_TILE EQU "<LSMTEXTBOX_BLACK_TILE>"
|
2024-01-23 08:42:24 -08:00
|
|
|
DEF LSMTEXTBOX_LEVEL_INDICATOR_TILE EQU $30 ; and $40
|
|
|
|
DEF LSMTEXTBOX_LEVEL_NUMBERS_FIRST_TILE EQU $31 ; and $41
|
2024-01-22 10:32:19 -08:00
|
|
|
const_def $3b ; $31 + 10
|
|
|
|
; these must be consecutive
|
2024-01-23 08:42:24 -08:00
|
|
|
const LSMTEXTBOX_STAGE_1_INDICATOR_TILE ; $3b (and $4b)
|
|
|
|
const LSMTEXTBOX_STAGE_2_INDICATOR_TILE ; $3c (and $4c)
|
|
|
|
const LSMTEXTBOX_STAGE_3_INDICATOR_TILE ; $3d (and $4d)
|
|
|
|
const LSMTEXTBOX_STAGE_4_INDICATOR_TILE ; $3e (and $4e)
|
2024-01-21 08:01:44 -08:00
|
|
|
|
2024-01-28 08:57:11 -08:00
|
|
|
; events when entering Level Selection menu (wLevelSelectionMenuEntryEventQueue)
|
|
|
|
const_def
|
|
|
|
const LSMEVENT_SHOW_UNLOCKED_LEVELS ; 0
|
|
|
|
const LSMEVENT_ANIMATE_TIME_OF_DAY ; 1
|
|
|
|
DEF NUM_LSM_EVENTS EQU const_value
|
|
|
|
|
2024-01-18 05:06:10 -08:00
|
|
|
; used in CaughtData (legacy)
|
2020-10-29 20:23:57 -07:00
|
|
|
const_def $7f, -1
|
|
|
|
const LANDMARK_EVENT ; $7f
|
|
|
|
const LANDMARK_GIFT ; $7e
|
2018-01-11 09:00:01 -08:00
|
|
|
|
2024-01-18 05:06:10 -08:00
|
|
|
; Regions (legacy)
|
2018-01-11 09:00:01 -08:00
|
|
|
const_def
|
|
|
|
const JOHTO_REGION ; 0
|
|
|
|
const KANTO_REGION ; 1
|
2022-06-06 14:25:42 -07:00
|
|
|
DEF NUM_REGIONS EQU const_value
|