aboutsummaryrefslogtreecommitdiffstats
path: root/constants/oam_constants.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2025-07-02 21:15:13 -0500
committerdannye <33dannye@gmail.com>2025-07-02 21:15:13 -0500
commitca019eac8fd96559f4d4e712f0b53e95492e5dcb (patch)
tree209a500e3bda6c2109e5acec60448e9e52f8c2af /constants/oam_constants.asm
parentUse more ldpikacry (diff)
parentRequire RGBDS 0.9.3 for its DMG palette specs (#513) (diff)
downloadpokeyellow-ca019eac8fd96559f4d4e712f0b53e95492e5dcb.tar.gz
pokeyellow-ca019eac8fd96559f4d4e712f0b53e95492e5dcb.tar.xz
pokeyellow-ca019eac8fd96559f4d4e712f0b53e95492e5dcb.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'constants/oam_constants.asm')
-rw-r--r--constants/oam_constants.asm16
1 files changed, 1 insertions, 15 deletions
diff --git a/constants/oam_constants.asm b/constants/oam_constants.asm
index d0ae3157..f1ddf021 100644
--- a/constants/oam_constants.asm
+++ b/constants/oam_constants.asm
@@ -7,18 +7,4 @@
DEF FACING_END EQU 1 << BIT_END_OF_OAM_DATA
DEF UNDER_GRASS EQU 1 << BIT_SPRITE_UNDER_GRASS
-; OAM attribute flags
-DEF OAM_PALETTE EQU %111
- const_def 3
- const OAM_TILE_BANK ; 3
- const OAM_OBP_NUM ; 4 ; Non CGB Mode Only
- const OAM_X_FLIP ; 5
- const OAM_Y_FLIP ; 6
- const OAM_PRIORITY ; 7 ; 0: OBJ above BG, 1: OBJ behind BG (colors 1-3)
-
-; OAM attribute masks
-DEF OAM_HIGH_PALS EQU 1 << 2 ; palettes %100-%111 are OBP1
-DEF OAM_OBP1 EQU 1 << OAM_OBP_NUM ; OBJ palette 1
-DEF OAM_HFLIP EQU 1 << OAM_X_FLIP ; horizontal flip
-DEF OAM_VFLIP EQU 1 << OAM_Y_FLIP ; vertical flip
-DEF OAM_BEHIND_BG EQU 1 << OAM_PRIORITY ; behind bg (except color 0)
+DEF OAM_HIGH_PALS EQU 1 << 2 ; palettes %100-%111 are OBP1