Make map environments more granular and make all map palettes except darkness depend on map environment (#7)

This commit is contained in:
xCrystal
2023-08-04 18:45:50 +02:00
parent 6e3c5fd008
commit 55a38ff2de
28 changed files with 157 additions and 531 deletions

View File

@@ -20,13 +20,15 @@ DEF MAP_LENGTH EQU _RS
; map environments (wEnvironment)
; EnvironmentColorsPointers indexes (see data/maps/environment_colors.asm)
const_def 1
const TOWN
const ROUTE
const INDOOR
const CAVE
const ENVIRONMENT_5
const GATE
const DUNGEON
const OUTDOOR_GRASSY
const OUTDOOR_MOUNTAIN
const OUTDOOR_COAST
const OUTDOOR_SEA
DEF INDOOR_ENVIRONMENT EQU const_value
const INDOOR_FOREST
const INDOOR_CAVE
const INDOOR_ICE_CAVE
const INDOOR_BUILDING
DEF NUM_ENVIRONMENTS EQU const_value - 1
; map palettes (wEnvironment)