Skip to content

Commit

Permalink
Rangi Suggestions part1
Browse files Browse the repository at this point in the history
  • Loading branch information
vulcandth committed Jun 22, 2023
1 parent 48eb31c commit 9c483d9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions constants/battle_anim_constants.asm
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ DEF BATTLEANIM_BASE_TILE EQU 7 * 7 ; Maximum size of a pokemon picture
const BATTLE_ANIM_INDEX_PLAYERHEAD_1ROW
const BATTLE_ANIM_INDEX_ENEMYFEET_2ROW
const BATTLE_ANIM_INDEX_PLAYERHEAD_2ROW
DEF NUM_ANIM_OBJS EQU const_value
DEF NUM_BATTLE_ANIM_INDEXES EQU const_value

; DoBattleAnimFrame arguments (see engine/battle_anims/functions.asm)
; DoBattleAnimFrame.Jumptable indexes (see engine/battle_anims/functions.asm)
const_def
const BATTLE_ANIM_SEQ_NULL
const BATTLE_ANIM_SEQ_USER_TO_TARGET
Expand Down Expand Up @@ -491,7 +491,7 @@ DEF NUM_BATTLEANIMFUNCS EQU const_value
const BATTLE_ANIM_FRAMESET_B6
const BATTLE_ANIM_FRAMESET_B7
const BATTLE_ANIM_FRAMESET_B8
DEF NUM_BATTLEANIMFRAMESETS EQU const_value
DEF NUM_BATTLE_ANIM_FRAMESETS EQU const_value

; BattleAnimOAMData indexes (see data/battle_anims/oam.asm)
const_def
Expand Down
2 changes: 1 addition & 1 deletion data/battle_anims/framesets.asm
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ BattleAnimFrameData:
dw .Frameset_b6 ; BATTLE_ANIM_FRAMESET_B6
dw .Frameset_b7 ; BATTLE_ANIM_FRAMESET_B7
dw .Frameset_b8 ; BATTLE_ANIM_FRAMESET_B8
assert_table_length NUM_BATTLEANIMFRAMESETS
assert_table_length NUM_BATTLE_ANIM_FRAMESETS

.Frameset_00:
oamframe BATTLE_ANIM_OAMSET_00, 6
Expand Down
2 changes: 1 addition & 1 deletion data/battle_anims/objects.asm
Original file line number Diff line number Diff line change
Expand Up @@ -395,4 +395,4 @@ BattleAnimObjects:
battleanimobj ABSOLUTE_X, $00, BATTLE_ANIM_FRAMESET_B7, BATTLE_ANIM_SEQ_NULL, PAL_BATTLE_OB_ENEMY, ANIM_GFX_PLAYERHEAD
; BATTLE_ANIM_INDEX_PLAYERHEAD_2ROW
battleanimobj ABSOLUTE_X, $00, BATTLE_ANIM_FRAMESET_B8, BATTLE_ANIM_SEQ_NULL, PAL_BATTLE_OB_PLAYER, ANIM_GFX_ENEMYFEET
assert_table_length NUM_ANIM_OBJS
assert_table_length NUM_BATTLE_ANIM_INDEXES

0 comments on commit 9c483d9

Please sign in to comment.