aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/moveEffects/substitute_effect.asm
diff options
context:
space:
mode:
authorDaniel Harding <33dannye@gmail.com>2018-02-05 11:13:02 -0600
committerGitHub <noreply@github.com>2018-02-05 11:13:02 -0600
commit37ded1d150197b3784bc351eeeb0a8d9713c2e35 (patch)
treefcb7bd8f3090cb9f7b47a76af7e474122efe36e4 /engine/battle/moveEffects/substitute_effect.asm
parentMerge pull request #174 from Rangi42/master (diff)
parentAdd space between arguments in assembly instructions and remove redundant a i... (diff)
downloadpokeyellow-37ded1d150197b3784bc351eeeb0a8d9713c2e35.tar.gz
pokeyellow-37ded1d150197b3784bc351eeeb0a8d9713c2e35.tar.xz
pokeyellow-37ded1d150197b3784bc351eeeb0a8d9713c2e35.zip
Merge pull request #171 from xCrystal/master
Misc style fixes
Diffstat (limited to 'engine/battle/moveEffects/substitute_effect.asm')
-rw-r--r--engine/battle/moveEffects/substitute_effect.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/moveEffects/substitute_effect.asm b/engine/battle/moveEffects/substitute_effect.asm
index 6cca3eae..b5d006fc 100644
--- a/engine/battle/moveEffects/substitute_effect.asm
+++ b/engine/battle/moveEffects/substitute_effect.asm
@@ -12,7 +12,7 @@ SubstituteEffect_:
ld bc, wEnemyBattleStatus2
.notEnemy
ld a, [bc]
- bit HasSubstituteUp, a ; user already has substitute?
+ bit HAS_SUBSTITUTE_UP, a ; user already has substitute?
jr nz, .alreadyHasSubstitute
; quarter health to remove from user
; assumes max HP is 1023 or lower
@@ -43,7 +43,7 @@ SubstituteEffect_:
ld [hl], d
ld h, b
ld l, c
- set HasSubstituteUp, [hl]
+ set HAS_SUBSTITUTE_UP, [hl]
ld a, [wOptions]
bit 7, a ; battle animation is enabled?
ld hl, PlayCurrentMoveAnimation