summaryrefslogtreecommitdiff
path: root/constants
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-08-12 02:16:56 -0700
committerYamaArashi <shadow962@live.com>2015-08-12 02:16:56 -0700
commit64cfbcce7a71e6e75553575490fd60cbd61a5665 (patch)
treeb58d4f80d1b50d6db8306fb15323d144593d18f2 /constants
parent43fddc803f95b3a798c4f6c5f0ed741590aeeb4c (diff)
commented SGB palette stuff
Diffstat (limited to 'constants')
-rw-r--r--constants/misc_constants.asm5
-rwxr-xr-xconstants/palette_constants.asm16
2 files changed, 21 insertions, 0 deletions
diff --git a/constants/misc_constants.asm b/constants/misc_constants.asm
index 00afa755..5d940328 100644
--- a/constants/misc_constants.asm
+++ b/constants/misc_constants.asm
@@ -159,6 +159,11 @@ BIT_LEADING_ZEROES EQU 7
LEFT_ALIGN EQU (1 << BIT_LEFT_ALIGN)
LEADING_ZEROES EQU (1 << BIT_LEADING_ZEROES)
+; HP bar
+HP_BAR_GREEN EQU 0
+HP_BAR_YELLOW EQU 1
+HP_BAR_RED EQU 2
+
; serial
ESTABLISH_CONNECTION_WITH_INTERNAL_CLOCK EQU $01
diff --git a/constants/palette_constants.asm b/constants/palette_constants.asm
index 2a871462..ca2e103a 100755
--- a/constants/palette_constants.asm
+++ b/constants/palette_constants.asm
@@ -1,3 +1,19 @@
+SET_PAL_BATTLE_BLACK EQU $00
+SET_PAL_BATTLE EQU $01
+SET_PAL_TOWN_MAP EQU $02
+SET_PAL_STATUS_SCREEN EQU $03
+SET_PAL_POKEDEX EQU $04
+SET_PAL_SLOTS EQU $05
+SET_PAL_TITLE_SCREEN EQU $06
+SET_PAL_NIDORINO_INTRO EQU $07
+SET_PAL_GENERIC EQU $08
+SET_PAL_OVERWORLD EQU $09
+SET_PAL_PARTY_MENU EQU $0A
+SET_PAL_POKEMON_WHOLE_SCREEN EQU $0B
+SET_PAL_GAME_FREAK_INTRO EQU $0C
+SET_PAL_TRAINER_CARD EQU $0D
+UPDATE_PARTY_MENU_BLK_PACKET EQU $FC
+
; super game boy palettes
const_value = 0