mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
Replace Hard-Coded Number With Constant (#381)
Replace a hard coded $a in CheckMapForMon with NUM_WILDMONS
This commit is contained in:
parent
1e689606a3
commit
8b19405590
|
@ -2919,7 +2919,7 @@ FindWildLocationsOfMon:
|
||||||
|
|
||||||
CheckMapForMon:
|
CheckMapForMon:
|
||||||
inc hl
|
inc hl
|
||||||
ld b, $a
|
ld b, NUM_WILDMONS
|
||||||
.loop
|
.loop
|
||||||
ld a, [wd11e]
|
ld a, [wd11e]
|
||||||
cp [hl]
|
cp [hl]
|
||||||
|
|
Loading…
Reference in a new issue