diff options
| author | YamaArashi <shadow962@live.com> | 2016-03-26 15:12:38 -0700 |
|---|---|---|
| committer | YamaArashi <shadow962@live.com> | 2016-03-26 15:12:38 -0700 |
| commit | 268c5e5bdaf2dc11f66ef4cf87d88eb1dbad44e9 (patch) | |
| tree | d060f3f19878ebe592af6103d5ec5241a206bffd /constants | |
| parent | More audio4 documentation. (diff) | |
| parent | GBC palette code (diff) | |
| download | pokeyellow-268c5e5bdaf2dc11f66ef4cf87d88eb1dbad44e9.tar.gz pokeyellow-268c5e5bdaf2dc11f66ef4cf87d88eb1dbad44e9.tar.xz pokeyellow-268c5e5bdaf2dc11f66ef4cf87d88eb1dbad44e9.zip | |
Merge pull request #7 from YamaArashi/master
GBC palette code
Diffstat (limited to 'constants')
| -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 |
