summaryrefslogtreecommitdiff
path: root/src/constants
diff options
context:
space:
mode:
authorElectroDeoxys <ElectroDeoxys@gmail.com>2021-02-02 23:31:36 +0000
committerElectroDeoxys <ElectroDeoxys@gmail.com>2021-02-02 23:31:36 +0000
commitab9b857e68af66e8bc37628bd76dbba337971a15 (patch)
tree95263557d2f75352fab1b45178e422e571478124 /src/constants
parente8b079962bdee30fc5a36994ef928cdf47609898 (diff)
More animation-related functions
Diffstat (limited to 'src/constants')
-rw-r--r--src/constants/animation_constants.asm15
-rw-r--r--src/constants/duel_interface_constants.asm2
2 files changed, 17 insertions, 0 deletions
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