Replace Hard-Coded Number With Constant (#381)

Replace a hard coded $a in CheckMapForMon with NUM_WILDMONS
This commit is contained in:
Chatot4444 2022-08-11 08:51:18 -04:00 committed by GitHub
parent 1e689606a3
commit 8b19405590
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2919,7 +2919,7 @@ FindWildLocationsOfMon:
CheckMapForMon:
inc hl
ld b, $a
ld b, NUM_WILDMONS
.loop
ld a, [wd11e]
cp [hl]