diff options
author | YamaArashi <shadow962@live.com> | 2016-03-26 14:59:59 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-03-26 14:59:59 -0700 |
commit | d8975211f543432565270379a0b4ebf277318b38 (patch) | |
tree | d060f3f19878ebe592af6103d5ec5241a206bffd /constants/misc_constants.asm | |
parent | 48426f71c39c4b89ff5fc4d1cab9f271bdfe8230 (diff) |
GBC palette code
Diffstat (limited to 'constants/misc_constants.asm')
-rw-r--r-- | constants/misc_constants.asm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/constants/misc_constants.asm b/constants/misc_constants.asm index 5bc12b88..e5793239 100644 --- a/constants/misc_constants.asm +++ b/constants/misc_constants.asm @@ -228,3 +228,12 @@ const_value set 1 const PIKAHAPPY_PSNFNT const PIKAHAPPY_CARELESSTRAINER const PIKAHAPPY_TRADE + +; DMGPalToGBCPal +CONVERT_BGP EQU 0 +CONVERT_OBP0 EQU 1 +CONVERT_OBP1 EQU 2 + +NUM_COLORS EQU 4 +PAL_SIZE EQU NUM_COLORS * 2 +NUM_ACTIVE_PALS EQU 4 |