shithub: pokered

Download patch

ref: abaf9fee7c73e708ef8c3e7a1ed710bfc9ec6f6e
parent: 6d56d10e15186039e80f992749d1c526ba5d24e1
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Wed Nov 4 11:31:47 EST 2020

Port some formatting from pokeyellow

--- a/constants/gfx_constants.asm
+++ b/constants/gfx_constants.asm
@@ -2,7 +2,13 @@
 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
 
--- a/engine/menus/draw_badges.asm
+++ b/engine/menus/draw_badges.asm
@@ -49,8 +49,7 @@
 
 	hlcoord 2, 14
 	ld de, wTempObtainedBadgesBooleans + 4
-;	call .DrawBadgeRow
-;	ret
+	; fallthrough
 
 .DrawBadgeRow
 ; Draw 4 badges.