diff options
author | dannye <corrnondacqb@yahoo.com> | 2015-08-30 21:38:41 -0500 |
---|---|---|
committer | dannye <corrnondacqb@yahoo.com> | 2015-08-30 21:38:41 -0500 |
commit | 38065a744de1065cc021a4cafe22476f8425448d (patch) | |
tree | a37a103d7c22f3cc5f62689e5062877961493caa /engine/battle/moveEffects/substitute_effect.asm | |
parent | 1ee9fb408c47c3a15a38b1bb407d86ed1a5d2fcc (diff) |
No more W_
Diffstat (limited to 'engine/battle/moveEffects/substitute_effect.asm')
-rw-r--r-- | engine/battle/moveEffects/substitute_effect.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/battle/moveEffects/substitute_effect.asm b/engine/battle/moveEffects/substitute_effect.asm index c72fffbe..7cac9f62 100644 --- a/engine/battle/moveEffects/substitute_effect.asm +++ b/engine/battle/moveEffects/substitute_effect.asm @@ -3,13 +3,13 @@ SubstituteEffect_: ; 17dad (5:7dad) call DelayFrames ld hl, wBattleMonMaxHP ld de, wPlayerSubstituteHP - ld bc, W_PLAYERBATTSTATUS2 + ld bc, wPlayerBattleStatus2 ld a, [H_WHOSETURN] and a jr z, .notEnemy ld hl, wEnemyMonMaxHP ld de, wEnemySubstituteHP - ld bc, W_ENEMYBATTSTATUS2 + ld bc, wEnemyBattleStatus2 .notEnemy ld a, [bc] bit HasSubstituteUp, a ; user already has substitute? @@ -44,7 +44,7 @@ SubstituteEffect_: ; 17dad (5:7dad) ld h, b ld l, c set HasSubstituteUp, [hl] - ld a, [W_OPTIONS] + ld a, [wOptions] bit 7, a ; battle animation is enabled? ld hl, PlayCurrentMoveAnimation ld b, BANK(PlayCurrentMoveAnimation) |