-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpalette_constants.asm
73 lines (69 loc) · 2.04 KB
/
palette_constants.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
; monochrome palette color ids
const_def
const SHADE_WHITE ; %00
const SHADE_LIGHT ; %01
const SHADE_DARK ; %10
const SHADE_BLACK ; %11
NUM_PAL_COLORS EQU const_value
PAL_COLOR_SIZE EQU 2
PALETTE_SIZE EQU NUM_PAL_COLORS * PAL_COLOR_SIZE
; pal/blk packets
; SetPalFunctions indexes (see engine/gfx/palettes.asm)
const_def
const SET_PAL_BATTLE_BLACK ; $00
const SET_PAL_BATTLE ; $01
const SET_PAL_TOWN_MAP ; $02
const SET_PAL_STATUS_SCREEN ; $03
const SET_PAL_POKEDEX ; $04
const SET_PAL_SLOTS ; $05
const SET_PAL_TITLE_SCREEN ; $06
const SET_PAL_NIDORINO_INTRO ; $07
const SET_PAL_GENERIC ; $08
const SET_PAL_OVERWORLD ; $09
const SET_PAL_PARTY_MENU ; $0A
const SET_PAL_POKEMON_WHOLE_SCREEN ; $0B
const SET_PAL_GAME_FREAK_INTRO ; $0C
const SET_PAL_TRAINER_CARD ; $0D
SET_PAL_PARTY_MENU_HP_BARS EQU $fc
SET_PAL_DEFAULT EQU $ff
; sgb palettes
; SuperPalettes indexes (see data/sgb/sgb_palettes.asm)
const_def
const PAL_ROUTE ; $00
const PAL_PALLET ; $01
const PAL_VIRIDIAN ; $02
const PAL_PEWTER ; $03
const PAL_CERULEAN ; $04
const PAL_LAVENDER ; $05
const PAL_VERMILION ; $06
const PAL_CELADON ; $07
const PAL_FUCHSIA ; $08
const PAL_CINNABAR ; $09
const PAL_INDIGO ; $0A
const PAL_SAFFRON ; $0B
const PAL_TOWNMAP ; $0C
const PAL_LOGO1 ; $0D
const PAL_LOGO2 ; $0E
const PAL_0F ; $0F
const PAL_MEWMON ; $10
const PAL_BLUEMON ; $11
const PAL_REDMON ; $12
const PAL_CYANMON ; $13
const PAL_PURPLEMON ; $14
const PAL_BROWNMON ; $15
const PAL_GREENMON ; $16
const PAL_PINKMON ; $17
const PAL_YELLOWMON ; $18
const PAL_GREYMON ; $19
const PAL_SLOTS1 ; $1A
const PAL_SLOTS2 ; $1B
const PAL_SLOTS3 ; $1C
const PAL_SLOTS4 ; $1D
const PAL_BLACK ; $1E
const PAL_GREENBAR ; $1F
const PAL_YELLOWBAR ; $20
const PAL_REDBAR ; $21
const PAL_BADGE ; $22
const PAL_CAVE ; $23
const PAL_GAMEFREAK ; $24
NUM_SGB_PALS EQU const_value