Point out a bug with enemy usage of Teleport

Also point out a redundancy in ThunderAccuracy
This commit is contained in:
Fredrik Ljungdahl 2016-10-29 02:08:18 +02:00
parent 64e4300f4d
commit 146d12d6e5

View File

@ -6682,6 +6682,10 @@ BattleCommand_Teleport: ; 36778
srl b srl b
srl b srl b
cp 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 jr nc, .run_away
.run_away .run_away
call UpdateBattleMonInParty call UpdateBattleMonInParty
@ -9745,6 +9749,7 @@ BattleCommand_ThunderAccuracy: ; 37d94
ret ret
.rain .rain
; Redundant with CheckHit guranteeing hit
ld [hl], 100 percent ld [hl], 100 percent
ret ret