Use offsets from ANIM_*
constants for wBattleAfterAnim
(formerly wNumHits
) (#1184)
This commit is contained in:
@@ -7,7 +7,7 @@ BattleCommand_Transform:
|
||||
call CheckHiddenOpponent
|
||||
jp nz, BattleEffect_ButItFailed
|
||||
xor a
|
||||
ld [wNumHits], a
|
||||
ld [wBattleAfterAnim], a
|
||||
ld [wFXAnimID + 1], a
|
||||
ld a, $1
|
||||
ld [wBattleAnimParam], a
|
||||
@@ -125,7 +125,7 @@ BattleCommand_Transform:
|
||||
call BattleCommand_RaiseSubNoAnim
|
||||
.after_anim
|
||||
xor a
|
||||
ld [wNumHits], a
|
||||
ld [wBattleAfterAnim], a
|
||||
ld [wFXAnimID + 1], a
|
||||
ld a, $2
|
||||
ld [wBattleAnimParam], a
|
||||
|
Reference in New Issue
Block a user