From 3e28a3d021d72e201c90a040cd263f4bdc1bce9d Mon Sep 17 00:00:00 2001 From: robjlyons <81177492+robjlyons@users.noreply.github.com> Date: Wed, 11 Feb 2026 06:15:05 +0000 Subject: [PATCH] Update item_effects.asm --- engine/items/item_effects.asm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/engine/items/item_effects.asm b/engine/items/item_effects.asm index a5cd0b16..e28b8aa9 100644 --- a/engine/items/item_effects.asm +++ b/engine/items/item_effects.asm @@ -531,9 +531,11 @@ ItemUseBall: ld [hl], a ld a, [wEnemyMonSpecies] ld [wCapturedMonSpecies], a + push af + call MarkWildEncounterCatchUsedItem + pop af ld [wCurPartySpecies], a ld [wPokedexNum], a - call MarkWildEncounterCatchUsedItem ld a, [wBattleType] cp BATTLE_TYPE_OLD_MAN ; is this the old man battle? jp z, .oldManCaughtMon ; if so, don't give the player the caught Pokémon