From ab9b857e68af66e8bc37628bd76dbba337971a15 Mon Sep 17 00:00:00 2001 From: ElectroDeoxys Date: Tue, 2 Feb 2021 23:31:36 +0000 Subject: More animation-related functions --- src/constants/animation_constants.asm | 15 +++++++++++++++ src/constants/duel_interface_constants.asm | 2 ++ 2 files changed, 17 insertions(+) (limited to 'src/constants') diff --git a/src/constants/animation_constants.asm b/src/constants/animation_constants.asm index 75c82d8..80c425d 100644 --- a/src/constants/animation_constants.asm +++ b/src/constants/animation_constants.asm @@ -113,6 +113,10 @@ const DUEL_ANIM_DUEL_DRAW ; $5f const DUEL_ANIM_96 ; $60 +; animations passed this point are treated differently +DUEL_SPECIAL_ANIMS EQU const_value + +DUEL_SCREEN_ANIMS EQU const_value const DUEL_ANIM_SMALL_SHAKE_X ; $61 const DUEL_ANIM_BIG_SHAKE_X ; $62 const DUEL_ANIM_SMALL_SHAKE_Y ; $63 @@ -120,6 +124,17 @@ const DUEL_ANIM_FLASH ; $65 const DUEL_ANIM_DISTORT ; $66 + const_def $96 + const DUEL_ANIM_150 ; $96 + const DUEL_ANIM_PRINT_DAMAGE ; $97 + const DUEL_ANIM_UPDATE_HUD ; $98 + const DUEL_ANIM_153 ; $99 + const DUEL_ANIM_154 ; $9a + const DUEL_ANIM_155 ; $9b + const DUEL_ANIM_156 ; $9c + const DUEL_ANIM_157 ; $9d + const DUEL_ANIM_158 ; $9e + ; Special animations const_def $fa const DUEL_ANIM_SHAKE1 ; $fa diff --git a/src/constants/duel_interface_constants.asm b/src/constants/duel_interface_constants.asm index baf0a4c..6add375 100644 --- a/src/constants/duel_interface_constants.asm +++ b/src/constants/duel_interface_constants.asm @@ -37,6 +37,8 @@ HEADER_POKEMON EQU $02 ; wDuelDisplayedScreen constants DUEL_MAIN_SCENE EQU $01 PLAY_AREA_CARD_LIST EQU $02 +UNKNOWN_SCREEN_4 EQU $04 ; used for some animations +UNKNOWN_SCREEN_5 EQU $05 ; used for some animations COIN_TOSS EQU $06 DRAW_CARDS EQU $07 LARGE_CARD_PICTURE EQU $08 -- cgit v1.2.3