summaryrefslogtreecommitdiff
path: root/engine/battle/move_effects/protect.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2018-06-24 19:54:03 -0400
committerGitHub <noreply@github.com>2018-06-24 19:54:03 -0400
commit0cbe04da44744073c4c164df970b1571b1fda1a6 (patch)
tree3af0a92f5f7dc10f32eed04d9daae52749fc33c2 /engine/battle/move_effects/protect.asm
parent131875d3e37044ec995287af7c93decd86a0d659 (diff)
parent1d9a68dbdd0132035f1fc7b7ea8f7fdc24741507 (diff)
Merge pull request #531 from mid-kid/master
Remove all address comments
Diffstat (limited to 'engine/battle/move_effects/protect.asm')
-rw-r--r--engine/battle/move_effects/protect.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/engine/battle/move_effects/protect.asm b/engine/battle/move_effects/protect.asm
index 6c65e0ed1..768e51cbb 100644
--- a/engine/battle/move_effects/protect.asm
+++ b/engine/battle/move_effects/protect.asm
@@ -1,4 +1,4 @@
-BattleCommand_Protect: ; 37618
+BattleCommand_Protect:
; protect
call ProtectChance
ret c
@@ -11,10 +11,9 @@ BattleCommand_Protect: ; 37618
ld hl, ProtectedItselfText
jp StdBattleTextBox
-; 3762c
-ProtectChance: ; 3762c
+ProtectChance:
ld de, wPlayerProtectCount
ld a, [hBattleTurn]
@@ -77,4 +76,3 @@ ProtectChance: ; 3762c
call PrintButItFailed
scf
ret
-; 3766f