You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Add support for a level having more than one associated landmark, for levels with alternative starting points (#12)
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
; Landmarks indexes (see data/maps/landmarks.asm)
|
||||
; Landmarks indexes (see data/level_selection_menu.asm)
|
||||
const_def
|
||||
const LANDMARK_LEVEL_1 ; 00
|
||||
if DEF(_DEBUG)
|
||||
const LANDMARK_DEBUGLEVEL_1 ; 00
|
||||
const LANDMARK_DEBUGLEVEL_2 ; 01
|
||||
const LANDMARK_DEBUGLEVEL_3 ; 02
|
||||
const LANDMARK_DEBUGLEVEL_4 ; 03
|
||||
const LANDMARK_DEBUGLEVEL_5 ; 04
|
||||
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
|
||||
endc
|
||||
DEF NUM_LANDMARKS EQU const_value
|
||||
|
||||
; used in CaughtData
|
||||
; used in CaughtData (legacy)
|
||||
const_def $7f, -1
|
||||
const LANDMARK_EVENT ; $7f
|
||||
const LANDMARK_GIFT ; $7e
|
||||
|
||||
; Regions
|
||||
; Regions (legacy)
|
||||
const_def
|
||||
const JOHTO_REGION ; 0
|
||||
const KANTO_REGION ; 1
|
||||
|
11
constants/level_constants.asm
Executable file
11
constants/level_constants.asm
Executable file
@@ -0,0 +1,11 @@
|
||||
; Level indexes (see data/level_selection_menu.asm)
|
||||
const_def
|
||||
const LEVEL_1 ; 00
|
||||
if DEF(_DEBUG)
|
||||
const DEBUGLEVEL_1 ; 01
|
||||
const DEBUGLEVEL_2 ; 02
|
||||
const DEBUGLEVEL_3 ; 03
|
||||
const DEBUGLEVEL_4 ; 04
|
||||
const DEBUGLEVEL_5 ; 05
|
||||
endc
|
||||
DEF NUM_LEVELS EQU const_value
|
Reference in New Issue
Block a user