You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Add debug maps for testing
This commit is contained in:
@@ -108,4 +108,8 @@ if DEF(_DEBUG)
|
||||
map_attributes DebugLevel1_Map1, DEBUGLEVEL_1_MAP_1, $00, SOUTH | NORTH
|
||||
connection south, DebugLevel1_Map1, DEBUGLEVEL_1_MAP_1, 0
|
||||
connection north, DebugLevel1_Map1, DEBUGLEVEL_1_MAP_1, 0
|
||||
map_attributes DebugLevel2_Map1, DEBUGLEVEL_2_MAP_1, $00, 0
|
||||
map_attributes DebugLevel3_Map1, DEBUGLEVEL_3_MAP_1, $00, 0
|
||||
map_attributes DebugLevel4_Map1, DEBUGLEVEL_4_MAP_1, $00, 0
|
||||
map_attributes DebugLevel5_Map1, DEBUGLEVEL_5_MAP_1, $00, 0
|
||||
endc
|
||||
|
||||
@@ -6,4 +6,16 @@ INCBIN "maps/Level1_Map1.blk"
|
||||
if DEF(_DEBUG)
|
||||
DebugLevel1_Map1_Blocks:
|
||||
INCBIN "maps/DebugLevel1_Map1.blk"
|
||||
|
||||
DebugLevel2_Map1_Blocks:
|
||||
INCBIN "maps/DebugLevel2_Map1.blk"
|
||||
|
||||
DebugLevel3_Map1_Blocks:
|
||||
INCBIN "maps/DebugLevel3_Map1.blk"
|
||||
|
||||
DebugLevel4_Map1_Blocks:
|
||||
INCBIN "maps/DebugLevel4_Map1.blk"
|
||||
|
||||
DebugLevel5_Map1_Blocks:
|
||||
INCBIN "maps/DebugLevel5_Map1.blk"
|
||||
endc
|
||||
|
||||
@@ -21,6 +21,10 @@ MapGroupPointers::
|
||||
; dw MapGroup_Level2 ; 2
|
||||
if DEF(_DEBUG)
|
||||
dw MapGroup_DebugLevel1 ; 1
|
||||
dw MapGroup_DebugLevel2 ; 2
|
||||
dw MapGroup_DebugLevel3 ; 3
|
||||
dw MapGroup_DebugLevel4 ; 4
|
||||
dw MapGroup_DebugLevel5 ; 5
|
||||
endc
|
||||
assert_table_length NUM_MAP_GROUPS
|
||||
|
||||
@@ -40,4 +44,24 @@ MapGroup_DebugLevel1:
|
||||
table_width MAP_LENGTH, MapGroup_DebugLevel1
|
||||
map DebugLevel1_Map1, TILESET_PLAYERS_ROOM, INDOOR_BUILDING, LANDMARK_DEBUGLEVEL_1, MUSIC_NEW_BARK_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
|
||||
assert_table_length NUM_DEBUGLEVEL_1_MAPS
|
||||
|
||||
MapGroup_DebugLevel2:
|
||||
table_width MAP_LENGTH, MapGroup_DebugLevel2
|
||||
map DebugLevel2_Map1, TILESET_CAVE, INDOOR_CAVE, LANDMARK_DEBUGLEVEL_2, MUSIC_NEW_BARK_TOWN, FALSE, PALETTE_NITE | IN_DARKNESS, FISHGROUP_SHORE
|
||||
assert_table_length NUM_DEBUGLEVEL_2_MAPS
|
||||
|
||||
MapGroup_DebugLevel3:
|
||||
table_width MAP_LENGTH, MapGroup_DebugLevel3
|
||||
map DebugLevel3_Map1, TILESET_FOREST, INDOOR_FOREST, LANDMARK_DEBUGLEVEL_3, MUSIC_NEW_BARK_TOWN, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
|
||||
assert_table_length NUM_DEBUGLEVEL_3_MAPS
|
||||
|
||||
MapGroup_DebugLevel4:
|
||||
table_width MAP_LENGTH, MapGroup_DebugLevel4
|
||||
map DebugLevel4_Map1, TILESET_JOHTO, OUTDOOR_GRASSY, LANDMARK_DEBUGLEVEL_4, MUSIC_NEW_BARK_TOWN, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
|
||||
assert_table_length NUM_DEBUGLEVEL_4_MAPS
|
||||
|
||||
MapGroup_DebugLevel5:
|
||||
table_width MAP_LENGTH, MapGroup_DebugLevel5
|
||||
map DebugLevel5_Map1, TILESET_JOHTO, OUTDOOR_GRASSY, LANDMARK_DEBUGLEVEL_5, MUSIC_NEW_BARK_TOWN, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
|
||||
assert_table_length NUM_DEBUGLEVEL_5_MAPS
|
||||
endc
|
||||
@@ -8,6 +8,10 @@ OutdoorSprites:
|
||||
; dw Level2GroupSprites
|
||||
if DEF(_DEBUG)
|
||||
dw DebugLevel1GroupSprites
|
||||
dw DebugLevel2GroupSprites
|
||||
dw DebugLevel3GroupSprites
|
||||
dw DebugLevel4GroupSprites
|
||||
dw DebugLevel5GroupSprites
|
||||
endc
|
||||
assert_table_length NUM_MAP_GROUPS
|
||||
|
||||
@@ -33,6 +37,10 @@ Level1GroupSprites:
|
||||
|
||||
if DEF(_DEBUG)
|
||||
DebugLevel1GroupSprites:
|
||||
DebugLevel2GroupSprites:
|
||||
DebugLevel3GroupSprites:
|
||||
DebugLevel4GroupSprites:
|
||||
DebugLevel5GroupSprites:
|
||||
db SPRITE_YOUNGSTER
|
||||
db SPRITE_BUG_CATCHER
|
||||
db SPRITE_FISHER
|
||||
|
||||
@@ -15,6 +15,10 @@ MapGroupRoofs:
|
||||
db ROOF_OLIVINE ; 1 (Level1)
|
||||
if DEF(_DEBUG)
|
||||
db ROOF_OLIVINE ; 1 (DebugLevel1)
|
||||
db ROOF_OLIVINE ; 2 (DebugLevel2)
|
||||
db ROOF_OLIVINE ; 3 (DebugLevel3)
|
||||
db ROOF_OLIVINE ; 4 (DebugLevel4)
|
||||
db ROOF_OLIVINE ; 5 (DebugLevel5)
|
||||
endc
|
||||
assert_table_length NUM_MAP_GROUPS + 1
|
||||
|
||||
|
||||
@@ -4,4 +4,8 @@ INCLUDE "maps/Level1_Map1.asm"
|
||||
|
||||
if DEF(_DEBUG)
|
||||
INCLUDE "maps/DebugLevel1_Map1.asm"
|
||||
INCLUDE "maps/DebugLevel2_Map1.asm"
|
||||
INCLUDE "maps/DebugLevel3_Map1.asm"
|
||||
INCLUDE "maps/DebugLevel4_Map1.asm"
|
||||
INCLUDE "maps/DebugLevel5_Map1.asm"
|
||||
endc
|
||||
|
||||
@@ -12,6 +12,10 @@ SpawnPoints:
|
||||
; spawn LEVEL_2_MAP_1, 5, 3 ; SPAWN_LEVEL_2
|
||||
if DEF(_DEBUG)
|
||||
spawn DEBUGLEVEL_1_MAP_1, 3, 3, ; SPAWN_DEBUGLEVEL_1
|
||||
spawn DEBUGLEVEL_2_MAP_1, 3, 3, ; SPAWN_DEBUGLEVEL_2
|
||||
spawn DEBUGLEVEL_3_MAP_1, 3, 3, ; SPAWN_DEBUGLEVEL_3
|
||||
spawn DEBUGLEVEL_4_MAP_1, 3, 3, ; SPAWN_DEBUGLEVEL_4
|
||||
spawn DEBUGLEVEL_5_MAP_1, 3, 3, ; SPAWN_DEBUGLEVEL_5
|
||||
endc
|
||||
spawn N_A, -1, -1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user