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 wMapSpacesPointer to the map attributes (#4); create basic space macro to define the space layout of maps (#23)
This commit is contained in:
@@ -10,9 +10,10 @@ MACRO map_attributes
|
||||
db CURRENT_MAP_HEIGHT, CURRENT_MAP_WIDTH
|
||||
db BANK(\1_Blocks)
|
||||
dw \1_Blocks
|
||||
db BANK(\1_MapScripts) ; aka BANK(\1_MapEvents)
|
||||
db BANK(\1_MapScripts) ; aka BANK(\1_MapEvents), BANK(\1_MapSpaces)
|
||||
dw \1_MapScripts
|
||||
dw \1_MapEvents
|
||||
dw \1_MapSpaces
|
||||
db \4
|
||||
ENDM
|
||||
|
||||
|
@@ -11,11 +11,11 @@ SpawnPoints:
|
||||
spawn LEVEL_1_MAP_1, 3, 3 ; SPAWN_LEVEL_1
|
||||
; 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
|
||||
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, 2, 4 ; SPAWN_DEBUGLEVEL_5
|
||||
endc
|
||||
spawn N_A, -1, -1
|
||||
|
||||
|
Reference in New Issue
Block a user