From e717bccded4f0fed817e7897491e798cfdc67c8d Mon Sep 17 00:00:00 2001 From: jidoc01 Date: Tue, 1 Oct 2019 16:43:32 +0200 Subject: Analyze animation data & Add animation constants Analyzed data structure for animation, and formatted data in "move_animations.asm". But still needs analysis on which effect using which code. --- src/constants/animation_constants.asm | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/constants/animation_constants.asm (limited to 'src/constants') diff --git a/src/constants/animation_constants.asm b/src/constants/animation_constants.asm new file mode 100644 index 0000000..87e8d9b --- /dev/null +++ b/src/constants/animation_constants.asm @@ -0,0 +1,11 @@ +; Normal animations +ANI_SPELL_MOVE EQU $01 +ANI_GET_HIT EQU $07 +ANI_THUNDER_SHOCK EQU $0a +ANI_FURY_SWEEPES EQU $24 + +; Special animations +ANI_SHOW_DAMAGE EQU $09 +ANI_SHAKE1 EQU $fa +ANI_SHAKE2 EQU $fb +ANI_SHAKE3 EQU $fc \ No newline at end of file -- cgit v1.2.3 From d65df63f9b40ac9a8e6613f9e81e2d601b361260 Mon Sep 17 00:00:00 2001 From: jidoc01 Date: Mon, 7 Oct 2019 11:51:17 +0200 Subject: Remove tabs for readability --- src/constants/animation_constants.asm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/constants') diff --git a/src/constants/animation_constants.asm b/src/constants/animation_constants.asm index 87e8d9b..7060ea6 100644 --- a/src/constants/animation_constants.asm +++ b/src/constants/animation_constants.asm @@ -1,11 +1,11 @@ ; Normal animations -ANI_SPELL_MOVE EQU $01 +ANI_SPELL_MOVE EQU $01 ANI_GET_HIT EQU $07 ANI_THUNDER_SHOCK EQU $0a ANI_FURY_SWEEPES EQU $24 ; Special animations -ANI_SHOW_DAMAGE EQU $09 -ANI_SHAKE1 EQU $fa -ANI_SHAKE2 EQU $fb -ANI_SHAKE3 EQU $fc \ No newline at end of file +ANI_SHOW_DAMAGE EQU $09 +ANI_SHAKE1 EQU $fa +ANI_SHAKE2 EQU $fb +ANI_SHAKE3 EQU $fc \ No newline at end of file -- cgit v1.2.3 From 14ac0d098d60b69e23fc31d95c196b553d5bbe11 Mon Sep 17 00:00:00 2001 From: jidoc01 Date: Mon, 7 Oct 2019 14:13:39 +0200 Subject: Clean up codes in animation Now I will use only a tab(no 4 spaces) when a new line initiates a instruction or a macro. And for code alignment, I will use spaces(no tabs) between code and operands. Even though you could see aligned codes just with tabs in editors, some of environments, like a web, print them in various ways. --- src/constants/animation_constants.asm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/constants') diff --git a/src/constants/animation_constants.asm b/src/constants/animation_constants.asm index 7060ea6..f326d5e 100644 --- a/src/constants/animation_constants.asm +++ b/src/constants/animation_constants.asm @@ -1,11 +1,11 @@ ; Normal animations -ANI_SPELL_MOVE EQU $01 -ANI_GET_HIT EQU $07 -ANI_THUNDER_SHOCK EQU $0a -ANI_FURY_SWEEPES EQU $24 +ANIM_SPELL_MOVE EQU $01 +ANIM_GET_HIT EQU $07 +ANIM_THUNDER_SHOCK EQU $0a +ANIM_FURY_SWEEPES EQU $24 ; Special animations -ANI_SHOW_DAMAGE EQU $09 -ANI_SHAKE1 EQU $fa -ANI_SHAKE2 EQU $fb -ANI_SHAKE3 EQU $fc \ No newline at end of file +ANIM_SHOW_DAMAGE EQU $09 +ANIM_SHAKE1 EQU $fa +ANIM_SHAKE2 EQU $fb +ANIM_SHAKE3 EQU $fc \ No newline at end of file -- cgit v1.2.3