From 89847a3bfcdb96995e5e89a9437e0e8483cb0baf Mon Sep 17 00:00:00 2001 From: Thorn Avery Date: Wed, 4 Oct 2023 15:50:43 +1100 Subject: [PATCH] fixed candy jar --- engine/battle/core.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/battle/core.asm b/engine/battle/core.asm index ac67282b..7e459be3 100644 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -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 $E7 ; Is it Meltan? + cp $E4 ; 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?