diff options
Diffstat (limited to 'src/constants')
-rw-r--r-- | src/constants/animation_constants.asm | 14 | ||||
-rw-r--r-- | src/constants/map_constants.asm | 13 |
2 files changed, 27 insertions, 0 deletions
diff --git a/src/constants/animation_constants.asm b/src/constants/animation_constants.asm index 80c425d..16f534f 100644 --- a/src/constants/animation_constants.asm +++ b/src/constants/animation_constants.asm @@ -152,3 +152,17 @@ const_value = const_value + 1 const DUEL_ANIM_STRUCT_UNKNOWN_2 ; $6 const DUEL_ANIM_STRUCT_BANK ; $7 DUEL_ANIM_STRUCT_SIZE EQU const_value + + ; ow_frame struct constants + const_def + const OW_FRAME_STRUCT_DURATION ; $0 + const OW_FRAME_STRUCT_VRAM_TILE_OFFSET ; $1 + const OW_FRAME_STRUCT_VRAM_BANK ; $2 + const OW_FRAME_STRUCT_TILESET_BANK ; $3 + const OW_FRAME_STRUCT_TILESET ; $4 +const_value = const_value + 1 + const OW_FRAME_STRUCT_TILESET_OFFSET ; $6 +const_value = const_value + 1 +OW_FRAME_STRUCT_SIZE EQU const_value + +NUM_OW_FRAMESET_SUBGROUPS EQU 3 diff --git a/src/constants/map_constants.asm b/src/constants/map_constants.asm index c536b13..84656c4 100644 --- a/src/constants/map_constants.asm +++ b/src/constants/map_constants.asm @@ -65,3 +65,16 @@ MAP_SCRIPT_LOAD_MAP EQU $08 MAP_SCRIPT_AFTER_DUEL EQU $0a MAP_SCRIPT_MOVED_PLAYER EQU $0c MAP_SCRIPT_CLOSE_TEXTBOX EQU $0e + +; map palettes for use in SGB mode + const_def 1 + const MAP_SGB_PALETTE_1 ; $1 + const MAP_SGB_PALETTE_2 ; $2 + const MAP_SGB_PALETTE_3 ; $3 + const MAP_SGB_PALETTE_4 ; $4 + const MAP_SGB_PALETTE_5 ; $5 + const MAP_SGB_PALETTE_6 ; $6 + const MAP_SGB_PALETTE_7 ; $7 + const MAP_SGB_PALETTE_8 ; $8 + const MAP_SGB_PALETTE_9 ; $9 + const MAP_SGB_PALETTE_10 ; $a |