aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/moveEffects/substitute_effect.asm
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2017-06-24 15:01:43 -0500
committerdannye <corrnondacqb@yahoo.com>2017-06-24 15:01:43 -0500
commit7a9a1b1e55f4a7f6c339a86d8cdb7fbf1bee7838 (patch)
treee4717c7da2905505fb10c93d86f1dac8c2a998b1 /engine/battle/moveEffects/substitute_effect.asm
parentTypo: SFX_POKEFLUE → SFX_POKEFLUTE (diff)
downloadpokeyellow-7a9a1b1e55f4a7f6c339a86d8cdb7fbf1bee7838.tar.gz
pokeyellow-7a9a1b1e55f4a7f6c339a86d8cdb7fbf1bee7838.tar.xz
pokeyellow-7a9a1b1e55f4a7f6c339a86d8cdb7fbf1bee7838.zip
Fix typos in comments
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 03314ebf..6cca3eae 100644
--- a/engine/battle/moveEffects/substitute_effect.asm
+++ b/engine/battle/moveEffects/substitute_effect.asm
@@ -37,9 +37,9 @@ SubstituteEffect_:
sbc 0
pop bc
jr c, .notEnoughHP ; underflow means user would be left with negative health
- ; bug: since it only brances on carry, it will possibly leave user with 0 HP
+ ; bug: since it only branches on carry, it will possibly leave user with 0 HP
.userHasZeroOrMoreHP
- ldi [hl], a ; save resulting HP after substraction into current HP
+ ldi [hl], a ; save resulting HP after subtraction into current HP
ld [hl], d
ld h, b
ld l, c