summaryrefslogtreecommitdiff
path: root/src/constants/animation_constants.asm
diff options
context:
space:
mode:
authorElectroDeoxys <ElectroDeoxys@gmail.com>2020-12-27 18:36:37 +0000
committerElectroDeoxys <ElectroDeoxys@gmail.com>2020-12-27 18:36:47 +0000
commit852767639eb7e5305236ff3331ce8d6f27db0854 (patch)
tree1586f9aa85740b954df1812097a9d20f31c33754 /src/constants/animation_constants.asm
parent0432a2eae3841ababfe4a049031b4e18558e2d94 (diff)
Define duel animations, move -> attack
Diffstat (limited to 'src/constants/animation_constants.asm')
-rw-r--r--src/constants/animation_constants.asm129
1 files changed, 119 insertions, 10 deletions
diff --git a/src/constants/animation_constants.asm b/src/constants/animation_constants.asm
index 645cb5e..2582357 100644
--- a/src/constants/animation_constants.asm
+++ b/src/constants/animation_constants.asm
@@ -1,11 +1,120 @@
-; Normal animations
-ANIM_SPELL_MOVE EQU $01
-ANIM_GET_HIT EQU $07
-ANIM_THUNDER_SHOCK EQU $0a
-ANIM_FURY_SWIPES EQU $24
+; Animation constants
+ const_def
+ const ANIM_SPRITE_ID
+ const ANIM_PALETTE_ID
+ const ANIM_SPRITE_ANIM_ID
+ const ANIM_SPRITE_ANIM_FLAGS
+ const ANIM_SOUND_FX_ID
+ const ANIM_HANDLER_FUNCTION
-; Special animations
-ANIM_SHOW_DAMAGE EQU $09
-ANIM_SHAKE1 EQU $fa
-ANIM_SHAKE2 EQU $fb
-ANIM_SHAKE3 EQU $fc
+; Animation duel screen constants (see wDuelAnimationScreen)
+ const_def
+ const DUEL_ANIM_SCREEN_MAIN_SCENE
+ const DUEL_ANIM_SCREEN_PLAYER_PLAY_AREA
+ const DUEL_ANIM_SCREEN_OPP_PLAY_AREA
+
+ const_def
+ ; Normal animations
+ const DUEL_ANIM_NONE ; $00
+ const DUEL_ANIM_GLOW ; $01
+ const DUEL_ANIM_2 ; $02
+ const DUEL_ANIM_3 ; $03
+ const DUEL_ANIM_4 ; $04
+ const DUEL_ANIM_5 ; $05
+ const DUEL_ANIM_6 ; $06
+ const DUEL_ANIM_HIT ; $07
+ const DUEL_ANIM_8 ; $08
+ const DUEL_ANIM_SHOW_DAMAGE ; $09
+ const DUEL_ANIM_THUNDER_SHOCK ; $0a
+ const DUEL_ANIM_11 ; $0b
+ const DUEL_ANIM_12 ; $0c
+ const DUEL_ANIM_13 ; $0d
+ const DUEL_ANIM_14 ; $0e
+ const DUEL_ANIM_15 ; $0f
+ const DUEL_ANIM_16 ; $10
+ const DUEL_ANIM_17 ; $11
+ const DUEL_ANIM_18 ; $12
+ const DUEL_ANIM_19 ; $13
+ const DUEL_ANIM_20 ; $14
+ const DUEL_ANIM_21 ; $15
+ const DUEL_ANIM_22 ; $16
+ const DUEL_ANIM_23 ; $17
+ const DUEL_ANIM_24 ; $18
+ const DUEL_ANIM_25 ; $19
+ const DUEL_ANIM_26 ; $1a
+ const DUEL_ANIM_27 ; $1b
+ const DUEL_ANIM_28 ; $1c
+ const DUEL_ANIM_29 ; $1d
+ const DUEL_ANIM_30 ; $1e
+ const DUEL_ANIM_31 ; $1f
+ const DUEL_ANIM_32 ; $20
+ const DUEL_ANIM_33 ; $21
+ const DUEL_ANIM_34 ; $22
+ const DUEL_ANIM_35 ; $23
+ const DUEL_ANIM_FURY_SWIPES ; $24
+ const DUEL_ANIM_37 ; $25
+ const DUEL_ANIM_38 ; $26
+ const DUEL_ANIM_39 ; $27
+ const DUEL_ANIM_40 ; $28
+ const DUEL_ANIM_41 ; $29
+ const DUEL_ANIM_42 ; $2a
+ const DUEL_ANIM_43 ; $2b
+ const DUEL_ANIM_44 ; $2c
+ const DUEL_ANIM_45 ; $2d
+ const DUEL_ANIM_46 ; $2e
+ const DUEL_ANIM_47 ; $2f
+ const DUEL_ANIM_48 ; $30
+ const DUEL_ANIM_49 ; $31
+ const DUEL_ANIM_50 ; $32
+ const DUEL_ANIM_51 ; $33
+ const DUEL_ANIM_52 ; $34
+ const DUEL_ANIM_53 ; $35
+ const DUEL_ANIM_54 ; $36
+ const DUEL_ANIM_55 ; $37
+ const DUEL_ANIM_56 ; $38
+ const DUEL_ANIM_57 ; $39
+ const DUEL_ANIM_58 ; $3a
+ const DUEL_ANIM_59 ; $3b
+ const DUEL_ANIM_60 ; $3c
+ const DUEL_ANIM_61 ; $3d
+ const DUEL_ANIM_62 ; $3e
+ const DUEL_ANIM_63 ; $3f
+ const DUEL_ANIM_64 ; $40
+ const DUEL_ANIM_65 ; $41
+ const DUEL_ANIM_66 ; $42
+ const DUEL_ANIM_67 ; $43
+ const DUEL_ANIM_68 ; $44
+ const DUEL_ANIM_69 ; $45
+ const DUEL_ANIM_70 ; $46
+ const DUEL_ANIM_71 ; $47
+ const DUEL_ANIM_72 ; $48
+ const DUEL_ANIM_73 ; $49
+ const DUEL_ANIM_74 ; $4a
+ const DUEL_ANIM_75 ; $4b
+ const DUEL_ANIM_76 ; $4c
+ const DUEL_ANIM_77 ; $4d
+ const DUEL_ANIM_78 ; $4e
+ const DUEL_ANIM_79 ; $4f
+ const DUEL_ANIM_80 ; $50
+ const DUEL_ANIM_81 ; $51
+ const DUEL_ANIM_82 ; $52
+ const DUEL_ANIM_83 ; $53
+ const DUEL_ANIM_84 ; $54
+ const DUEL_ANIM_85 ; $55
+ const DUEL_ANIM_86 ; $56
+ const DUEL_ANIM_87 ; $57
+ const DUEL_ANIM_88 ; $58
+ const DUEL_ANIM_89 ; $59
+ const DUEL_ANIM_90 ; $5a
+ const DUEL_ANIM_91 ; $5b
+ const DUEL_ANIM_92 ; $5c
+ const DUEL_ANIM_WIN ; $5d
+ const DUEL_ANIM_LOSS ; $5e
+ const DUEL_ANIM_DRAW ; $5f
+ const DUEL_ANIM_96 ; $60
+
+ ; Special animations
+ const_def $fa
+ const DUEL_ANIM_SHAKE1 ; $fa
+ const DUEL_ANIM_SHAKE2 ; $fb
+ const DUEL_ANIM_SHAKE3 ; $fc