mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
Port some formatting from pokeyellow
This commit is contained in:
parent
6d56d10e15
commit
abaf9fee7c
|
@ -2,7 +2,13 @@ TILE_WIDTH EQU 8 ; pixels
|
||||||
LEN_1BPP_TILE EQU 1 * TILE_WIDTH ; bytes
|
LEN_1BPP_TILE EQU 1 * TILE_WIDTH ; bytes
|
||||||
LEN_2BPP_TILE EQU 2 * 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
|
PAL_COLOR_SIZE EQU 2
|
||||||
PALETTE_SIZE EQU NUM_PAL_COLORS * PAL_COLOR_SIZE
|
PALETTE_SIZE EQU NUM_PAL_COLORS * PAL_COLOR_SIZE
|
||||||
|
|
||||||
|
|
|
@ -49,8 +49,7 @@ DrawBadges:
|
||||||
|
|
||||||
hlcoord 2, 14
|
hlcoord 2, 14
|
||||||
ld de, wTempObtainedBadgesBooleans + 4
|
ld de, wTempObtainedBadgesBooleans + 4
|
||||||
; call .DrawBadgeRow
|
; fallthrough
|
||||||
; ret
|
|
||||||
|
|
||||||
.DrawBadgeRow
|
.DrawBadgeRow
|
||||||
; Draw 4 badges.
|
; Draw 4 badges.
|
||||||
|
|
Loading…
Reference in a new issue