This commit is contained in:
Remy Oukaour
2017-12-24 17:30:29 -05:00
7 changed files with 11 additions and 11 deletions

View File

@@ -3881,11 +3881,11 @@ BattleCommand_Counter: ; 35813
ld de, StringBuffer1
call GetMoveData
ld a, [StringBuffer1 + 2]
ld a, [StringBuffer1 + MOVE_POWER]
and a
ret z
ld a, [StringBuffer1 + 3]
ld a, [StringBuffer1 + MOVE_TYPE]
cp SPECIAL
ret nc
@@ -7184,7 +7184,7 @@ CheckOpponentWentFirst: ; 36abf
; 36ac9
BattleCommand_KingsRock: ; 36ac9
BattleCommand_HeldFlinch: ; 36ac9
; kingsrock
ld a, [AttackMissed]
@@ -7193,7 +7193,7 @@ BattleCommand_KingsRock: ; 36ac9
call GetUserItem
ld a, b
cp HELD_TRADE_EVOLVE ; Only King's Rock has this effect
cp HELD_FLINCH
ret nz
call CheckSubstituteOpp