You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Organize debug-only structures for test maps and levels (#16)
This commit is contained in:
@@ -62,6 +62,9 @@
|
||||
const ENGINE_UNLOCKED_UNOWNS_UNUSED_7
|
||||
; wVisitedSpawns
|
||||
const ENGINE_FLYPOINT_LEVEL_1
|
||||
if DEF(_DEBUG)
|
||||
const ENGINE_FLYPOINT_DEBUGLEVEL_1
|
||||
endc
|
||||
const ENGINE_FLYPOINT_UNUSED
|
||||
; wLuckyNumberShowFlag
|
||||
const ENGINE_LUCKY_NUMBER_SHOW
|
||||
|
@@ -1,10 +1,13 @@
|
||||
; Landmarks indexes (see data/maps/landmarks.asm)
|
||||
const_def
|
||||
const LANDMARK_LEVEL_1 ; 00
|
||||
const LANDMARK_LEVEL_2 ; 01
|
||||
const LANDMARK_LEVEL_3 ; 02
|
||||
const LANDMARK_LEVEL_4 ; 03
|
||||
const LANDMARK_LEVEL_5 ; 04
|
||||
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
|
||||
endc
|
||||
DEF NUM_LANDMARKS EQU const_value
|
||||
|
||||
; used in CaughtData
|
||||
|
@@ -44,4 +44,10 @@ ENDM
|
||||
; map_const LEVEL_2_MAP_1, 4, 4 ; 1
|
||||
; endgroup
|
||||
|
||||
if DEF(_DEBUG)
|
||||
newgroup DEBUGLEVEL_1
|
||||
map_const DEBUGLEVEL_1_MAP_1, 5, 4 ; 1
|
||||
endgroup
|
||||
endc
|
||||
|
||||
DEF NUM_MAP_GROUPS EQU const_value
|
||||
|
@@ -79,8 +79,10 @@ DEF NUM_FISHGROUPS EQU const_value - 1
|
||||
const_def
|
||||
const SPAWN_LEVEL_1
|
||||
; const SPAWN_LEVEL_2
|
||||
if DEF(_DEBUG)
|
||||
const SPAWN_DEBUGLEVEL_1
|
||||
endc
|
||||
DEF NUM_SPAWNS EQU const_value
|
||||
|
||||
DEF SPAWN_N_A EQU -1
|
||||
|
||||
; Flypoints indexes (see data/maps/flypoints.asm)
|
||||
|
Reference in New Issue
Block a user