summaryrefslogtreecommitdiff
path: root/battle/effect_commands.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-01-20 00:07:51 -0500
committeryenatch <yenatch@gmail.com>2014-01-20 00:07:51 -0500
commit08a0462c1e588c2efb99097cf1e9b314f600b009 (patch)
tree8e4477cfd7b8ef0e2f4ee2511b252d6e19f40ec2 /battle/effect_commands.asm
parent04f5c5175343dde082e277420339341951a0b6fc (diff)
use constants for berserk gene, kings rock, scope lens effects
Diffstat (limited to 'battle/effect_commands.asm')
-rw-r--r--battle/effect_commands.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/battle/effect_commands.asm b/battle/effect_commands.asm
index 33a95017a..b9de61922 100644
--- a/battle/effect_commands.asm
+++ b/battle/effect_commands.asm
@@ -1313,7 +1313,7 @@ BattleCommand05: ; 34631
push bc
call GetUserItem
ld a, b
- cp $49 ; Increased critical chance. Only Scope Lens has this.
+ cp HELD_CRITICAL_UP ; Increased critical chance. Only Scope Lens has this.
pop bc
jr nz, .Tally
@@ -7654,7 +7654,7 @@ BattleCommand4d: ; 36ac9
call GetUserItem
ld a, b
- cp $4b ; king's rock
+ cp HELD_TRADE_EVOLVE ; king's rock
ret nz
call CheckSubstituteOpp