aboutsummaryrefslogtreecommitdiffstats
path: root/engine/items
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2023-11-21 20:56:28 -0600
committerdannye <33dannye@gmail.com>2023-11-21 20:56:28 -0600
commit04f7f7f506a1dbb877e4678601261e8157fd0e57 (patch)
treebfe62d3872c5f031ee40df9488910bd58b0e1b15 /engine/items
parentExtend tools/pcm.c to allow decoding .pcm to .wav (diff)
parentFix some map text constants (diff)
downloadpokeyellow-04f7f7f506a1dbb877e4678601261e8157fd0e57.tar.gz
pokeyellow-04f7f7f506a1dbb877e4678601261e8157fd0e57.tar.xz
pokeyellow-04f7f7f506a1dbb877e4678601261e8157fd0e57.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'engine/items')
-rw-r--r--engine/items/item_effects.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/items/item_effects.asm b/engine/items/item_effects.asm
index 4430c6fb..2ce6587e 100644
--- a/engine/items/item_effects.asm
+++ b/engine/items/item_effects.asm
@@ -771,7 +771,7 @@ ItemUseSurfboard:
ld a, b
ld [wSimulatedJoypadStatesEnd], a
xor a
- ld [wWastedByteCD39], a
+ ld [wUnusedCD39], a
inc a
ld [wSimulatedJoypadStatesIndex], a
ret
@@ -873,7 +873,7 @@ Func_d85d:
jr z, .cannotEvolveWithUsedStone
inc hl
inc hl
- cp EV_ITEM
+ cp EVOLVE_ITEM
jr nz, .loop
dec hl
dec hl