fix meltan again

bringing in the new pokemon through the index off
This commit is contained in:
thornAvery 2023-11-11 14:15:41 +11:00 committed by GitHub
parent 5bb500d044
commit 34559f1b39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -844,7 +844,7 @@ FaintEnemyPokemon:
; This checks if the opponent is Meltan, the Jar isn't full, and it's in the bag.
; If so, it increments the amount of candies in the jar. Once full, it stops counting.
ld a, [wEnemyMonSpecies] ; Load species.
cp $E4 ; Is it Meltan?
cp $E6 ; Is it Meltan?
jr nz, .skip ; Continue as normal if not.
ld b, CANDY_JAR ; Ok, we have a Meltan on our hands. Is the Jar in the bag?