diff options
| author | Chatot4444 <94812895+Chatot4444@users.noreply.github.com> | 2022-08-08 17:37:08 -0400 |
|---|---|---|
| committer | dannye <33dannye@gmail.com> | 2022-08-11 07:50:11 -0500 |
| commit | 8f369bfaee2b17d3537506d3ad8f8d48840ee7e4 (patch) | |
| tree | 11b02cb18b039cf54c73772d4065bda04a5c1804 /engine | |
| parent | PP must be 40 or less (diff) | |
| download | pokeyellow-8f369bfaee2b17d3537506d3ad8f8d48840ee7e4.tar.gz pokeyellow-8f369bfaee2b17d3537506d3ad8f8d48840ee7e4.tar.xz pokeyellow-8f369bfaee2b17d3537506d3ad8f8d48840ee7e4.zip | |
Replace Hard-Coded Number With Constant
Replace a hard coded $a in CheckMapForMon with NUM_WILDMONS
Diffstat (limited to 'engine')
| -rw-r--r-- | engine/items/item_effects.asm | 2 |
1 files changed, 1 insertions, 1 deletions
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] |
