aboutsummaryrefslogtreecommitdiffstats
path: root/engine/items
diff options
context:
space:
mode:
authorChatot4444 <94812895+Chatot4444@users.noreply.github.com>2022-08-11 08:51:18 -0400
committerGitHub <noreply@github.com>2022-08-11 07:51:18 -0500
commit8b194055907d1f69f9e0c7edd232f4e669e3fe48 (patch)
tree03c07c5852039b0f97ca075d07a85a48802bc078 /engine/items
parentPP must be 40 or less (diff)
downloadpokeyellow-8b194055907d1f69f9e0c7edd232f4e669e3fe48.tar.gz
pokeyellow-8b194055907d1f69f9e0c7edd232f4e669e3fe48.tar.xz
pokeyellow-8b194055907d1f69f9e0c7edd232f4e669e3fe48.zip
Replace Hard-Coded Number With Constant (#381)
Replace a hard coded $a in CheckMapForMon with NUM_WILDMONS
Diffstat (limited to 'engine/items')
-rw-r--r--engine/items/item_effects.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/items/item_effects.asm b/engine/items/item_effects.asm
index 02408484..913b8636 100644
--- a/engine/items/item_effects.asm
+++ b/engine/items/item_effects.asm
@@ -2919,7 +2919,7 @@ FindWildLocationsOfMon:
CheckMapForMon:
inc hl
- ld b, $a
+ ld b, NUM_WILDMONS
.loop
ld a, [wd11e]
cp [hl]