summaryrefslogtreecommitdiff
path: root/battle/effect_commands.asm
diff options
context:
space:
mode:
authorYamaArashi <YamaArashi@users.noreply.github.com>2016-10-28 22:12:17 -0700
committerGitHub <noreply@github.com>2016-10-28 22:12:17 -0700
commit51bad5a606d7b2e8f72638a3c688e9792ca60944 (patch)
treecc2bb6c2efc3196f423e10c28fc2700803b73854 /battle/effect_commands.asm
parent700321a7fb2d6c852ffc91cc0b8867526cb76813 (diff)
parent146d12d6e50ed468bcb4866b23483bdebf4e5874 (diff)
Merge pull request #352 from FredrIQ/comments
Comments
Diffstat (limited to 'battle/effect_commands.asm')
-rw-r--r--battle/effect_commands.asm5
1 files changed, 5 insertions, 0 deletions
diff --git a/battle/effect_commands.asm b/battle/effect_commands.asm
index c585bae23..8e0c694b3 100644
--- a/battle/effect_commands.asm
+++ b/battle/effect_commands.asm
@@ -6682,6 +6682,10 @@ BattleCommand_Teleport: ; 36778
srl b
srl b
cp b
+ ; This does the wrong thing. What was
+ ; probably intended was jr c, .failed
+ ; The way this is made makes enemy use
+ ; of Teleport always succeed if able
jr nc, .run_away
.run_away
call UpdateBattleMonInParty
@@ -9745,6 +9749,7 @@ BattleCommand_ThunderAccuracy: ; 37d94
ret
.rain
+ ; Redundant with CheckHit guranteeing hit
ld [hl], 100 percent
ret