mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
fixed candy jar
This commit is contained in:
parent
9de2076f7e
commit
89847a3bfc
|
@ -844,7 +844,7 @@ FaintEnemyPokemon:
|
||||||
; This checks if the opponent is Meltan, the Jar isn't full, and it's in the bag.
|
; 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.
|
; If so, it increments the amount of candies in the jar. Once full, it stops counting.
|
||||||
ld a, [wEnemyMonSpecies] ; Load species.
|
ld a, [wEnemyMonSpecies] ; Load species.
|
||||||
cp $E7 ; Is it Meltan?
|
cp $E4 ; Is it Meltan?
|
||||||
jr nz, .skip ; Continue as normal if not.
|
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?
|
ld b, CANDY_JAR ; Ok, we have a Meltan on our hands. Is the Jar in the bag?
|
||||||
|
|
Loading…
Reference in a new issue