diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-01-23 10:46:26 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-01-23 10:46:26 -0500 |
commit | 94ae404732b512c60cf82111bb2f65013fdfbf39 (patch) | |
tree | c9d493fb050e06a388e92ec8ee6a9b4d7b893b5d /constants/gfx_constants.asm | |
parent | fc61d58dc45e1a205ab63cdb7a8df62450383bf9 (diff) |
Separate data/mon_menu.asm
Diffstat (limited to 'constants/gfx_constants.asm')
-rw-r--r-- | constants/gfx_constants.asm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/constants/gfx_constants.asm b/constants/gfx_constants.asm index 584a62cda..1b287b236 100644 --- a/constants/gfx_constants.asm +++ b/constants/gfx_constants.asm @@ -8,6 +8,7 @@ PALETTE_SIZE EQU NUM_PAL_COLORS * PAL_COLOR_SIZE PALRGB_WHITE EQUS "palred 31 + palgreen 31 + palblue 31" ; $7fff + SCREEN_WIDTH EQU 20 ; tiles SCREEN_HEIGHT EQU 18 ; tiles SCREEN_WIDTH_PX EQU SCREEN_WIDTH * TILE_WIDTH ; pixels @@ -18,11 +19,13 @@ BG_MAP_HEIGHT EQU 32 ; tiles WMISC_WIDTH EQU 6 * 4 WMISC_HEIGHT EQU 5 * 4 + HP_BAR_LENGTH EQU 6 ; tiles EXP_BAR_LENGTH EQU 8 ; tiles HP_BAR_LENGTH_PX EQU HP_BAR_LENGTH * TILE_WIDTH ; pixels EXP_BAR_LENGTH_PX EQU EXP_BAR_LENGTH * TILE_WIDTH ; pixels + ; sprite_oam_struct members (see macros/wram.asm) const_def const SPRITEOAMSTRUCT_YCOORD ; 0 @@ -31,3 +34,16 @@ EXP_BAR_LENGTH_PX EQU EXP_BAR_LENGTH * TILE_WIDTH ; pixels const SPRITEOAMSTRUCT_ATTRIBUTES ; 3 SPRITEOAMSTRUCT_LENGTH EQU const_value NUM_SPRITE_OAM_STRUCTS EQU 40 ; see Sprites + + +; PokeAnims indexes (see engine/pic_animation.asm) + const_def + const ANIM_MON_SLOW + const ANIM_MON_NORMAL + const ANIM_MON_MENU + const ANIM_MON_TRADE + const ANIM_MON_EVOLVE + const ANIM_MON_HATCH + const ANIM_MON_UNUSED + const ANIM_MON_EGG1 + const ANIM_MON_EGG2 |