summaryrefslogtreecommitdiff
path: root/items
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-06-03 14:07:10 -0700
committeryenatch <yenatch@gmail.com>2014-06-03 14:07:10 -0700
commit20444d2f63ffc1545d5fda81fd3883235be92a4c (patch)
treee67497366aee9117d9067b6208bfb75feefcac82 /items
parent99fbe3147bfb73ec02c0886dd6c16b6f94e0ebda (diff)
More MAX_LEVEL use.
Diffstat (limited to 'items')
-rw-r--r--items/item_effects.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/items/item_effects.asm b/items/item_effects.asm
index ca5336a07..2a0789a50 100644
--- a/items/item_effects.asm
+++ b/items/item_effects.asm
@@ -1352,7 +1352,7 @@ RareCandy: ; ef14
call GetPartyParamLocation
ld a, [hl]
- cp 100
+ cp MAX_LEVEL
jp nc, Functionee83
inc a