summaryrefslogtreecommitdiff
path: root/src/constants
diff options
context:
space:
mode:
authorxCrystal <rgr.crystal@gmail.com>2018-02-16 19:59:38 +0100
committerxCrystal <rgr.crystal@gmail.com>2018-02-16 19:59:38 +0100
commit6a747cd61a34de515ce432fb34f86f4e0752faf1 (patch)
tree521a04cf7a4d4d6c5dcd2c2a5721e0ffae8b16cd /src/constants
parentcdd2d4eac475082078cf4a266dd6429d0d8c6379 (diff)
Clean up SGB commands
Diffstat (limited to 'src/constants')
-rw-r--r--src/constants/sgb_constants.asm13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/constants/sgb_constants.asm b/src/constants/sgb_constants.asm
index e956881..6ba250e 100644
--- a/src/constants/sgb_constants.asm
+++ b/src/constants/sgb_constants.asm
@@ -23,3 +23,16 @@ ATTR_TRN EQU $15 ; Set Attribute from ATF
ATTR_SET EQU $16 ; Set Data to ATF
MASK_EN EQU $17 ; Game Boy Window Mask
OBJ_TRN EQU $18 ; Super NES OBJ Mode
+
+ATTR_BLK_CTRL_INSIDE EQU 1
+ATTR_BLK_CTRL_LINE EQU 2
+ATTR_BLK_CTRL_OUTSIDE EQU 4
+
+MLT_REQ_1_PLAYER EQU 0
+MLT_REQ_2_PLAYERS EQU 1
+MLT_REQ_4_PLAYERS EQU 3
+
+MASK_EN_CANCEL_MASK EQU 0
+MASK_EN_FREEZE_SCREEN EQU 1
+MASK_EN_BLANK_SCREEN_BLACK EQU 2
+MASK_EN_BLANK_SCREEN_COLOR_0 EQU 3