From 8f369bfaee2b17d3537506d3ad8f8d48840ee7e4 Mon Sep 17 00:00:00 2001 From: Chatot4444 <94812895+Chatot4444@users.noreply.github.com> Date: Mon, 8 Aug 2022 17:37:08 -0400 Subject: Replace Hard-Coded Number With Constant Replace a hard coded $a in CheckMapForMon with NUM_WILDMONS --- engine/items/item_effects.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/items/item_effects.asm b/engine/items/item_effects.asm index cc1e106b..47d48062 100644 --- a/engine/items/item_effects.asm +++ b/engine/items/item_effects.asm @@ -3165,7 +3165,7 @@ FindWildLocationsOfMon: CheckMapForMon: inc hl - ld b, $a + ld b, NUM_WILDMONS .loop ld a, [wd11e] cp [hl] -- cgit v1.3.1-sl0p