File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 104104 - Added ` PAD_* ` constants for combined button and Control Pad masks
105105 - Added ` B_COLOR_* ` red/green/blue bit numbers
106106 - Corrected comments on ` B_BG_PRIO ` and ` B_OAM_PRIO `
107- - ** Rev 6.0.0** - 2025-06-30 * (Rangi42)*
107+ - ** Rev 6.0.0** - 2025-07-03 * (Rangi42)*
108108 - Changed ` _AUD3WAVERAM ` to ` AUD3WAVERAM `
109+ - Added ` SHADE_* ` constants for grayscale shades
Original file line number Diff line number Diff line change @@ -941,6 +941,12 @@ def COLOR_SIZE equ 2 ; size of color in bytes (little-endian BGR555)
941941def PAL_COLORS equ 4 ; colors per palette
942942def PAL_SIZE equ COLOR_SIZE * PAL_COLORS ; size of palette in bytes
943943
944+ ; (DMG only) grayscale shade indexes for BGP, OBP0, and OBP1
945+ def SHADE_WHITE equ %00
946+ def SHADE_LIGHT equ % 01
947+ def SHADE_DARK equ % 10
948+ def SHADE_BLACK equ % 11
949+
944950; Tilemaps the BG or Window can read from (controlled by LCDC)
945951def TILEMAP0 equ $ 9800 ; $9800-$9BFF
946952def TILEMAP1 equ $ 9C00 ; $9C00-$9FFF
You can’t perform that action at this time.
0 commit comments