Port some formatting from pokeyellow

This commit is contained in:
Rangi 2020-11-04 16:31:47 -05:00
parent 6d56d10e15
commit abaf9fee7c
2 changed files with 8 additions and 3 deletions

View file

@ -2,7 +2,13 @@ TILE_WIDTH EQU 8 ; pixels
LEN_1BPP_TILE EQU 1 * TILE_WIDTH ; bytes
LEN_2BPP_TILE EQU 2 * TILE_WIDTH ; bytes
NUM_PAL_COLORS EQU 4
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

View file

@ -49,8 +49,7 @@ DrawBadges:
hlcoord 2, 14
ld de, wTempObtainedBadgesBooleans + 4
; call .DrawBadgeRow
; ret
; fallthrough
.DrawBadgeRow
; Draw 4 badges.