2017-12-25 10:40:10 -08:00
|
|
|
EnvironmentColorsPointers:
|
2017-12-25 20:45:54 -08:00
|
|
|
; entries correspond to environment constants (see constants/map_data_constants.asm)
|
2021-03-16 14:53:42 -07:00
|
|
|
table_width 2, EnvironmentColorsPointers
|
2017-12-25 10:40:10 -08:00
|
|
|
dw .OutdoorColors ; unused
|
|
|
|
dw .OutdoorColors ; TOWN
|
|
|
|
dw .OutdoorColors ; ROUTE
|
|
|
|
dw .IndoorColors ; INDOOR
|
|
|
|
dw .DungeonColors ; CAVE
|
|
|
|
dw .Env5Colors ; ENVIRONMENT_5
|
|
|
|
dw .IndoorColors ; GATE
|
|
|
|
dw .DungeonColors ; DUNGEON
|
2021-03-16 14:53:42 -07:00
|
|
|
assert_table_length NUM_ENVIRONMENTS + 1
|
2017-12-25 10:40:10 -08:00
|
|
|
|
2018-02-04 18:39:46 -08:00
|
|
|
; Valid indices: $00 - $29 (see gfx/tilesets/bg_tiles.pal)
|
2017-12-25 10:40:10 -08:00
|
|
|
.OutdoorColors:
|
|
|
|
db $00, $01, $02, $28, $04, $05, $06, $07 ; morn
|
|
|
|
db $08, $09, $0a, $28, $0c, $0d, $0e, $0f ; day
|
|
|
|
db $10, $11, $12, $29, $14, $15, $16, $17 ; nite
|
|
|
|
db $18, $19, $1a, $1b, $1c, $1d, $1e, $1f ; dark
|
|
|
|
|
|
|
|
.IndoorColors:
|
|
|
|
db $20, $21, $22, $23, $24, $25, $26, $07 ; morn
|
|
|
|
db $20, $21, $22, $23, $24, $25, $26, $07 ; day
|
|
|
|
db $10, $11, $12, $13, $14, $15, $16, $07 ; nite
|
|
|
|
db $18, $19, $1a, $1b, $1c, $1d, $1e, $07 ; dark
|
|
|
|
|
|
|
|
.DungeonColors:
|
|
|
|
db $00, $01, $02, $03, $04, $05, $06, $07 ; morn
|
|
|
|
db $08, $09, $0a, $0b, $0c, $0d, $0e, $0f ; day
|
|
|
|
db $10, $11, $12, $13, $14, $15, $16, $17 ; nite
|
|
|
|
db $18, $19, $1a, $1b, $1c, $1d, $1e, $1f ; dark
|
|
|
|
|
|
|
|
.Env5Colors:
|
|
|
|
db $00, $01, $02, $03, $04, $05, $06, $07 ; morn
|
|
|
|
db $08, $09, $0a, $0b, $0c, $0d, $0e, $0f ; day
|
|
|
|
db $10, $11, $12, $13, $14, $15, $16, $17 ; nite
|
|
|
|
db $18, $19, $1a, $1b, $1c, $1d, $1e, $1f ; dark
|