From dc4d81edc23507c2be684bbd4312431810612a31 Mon Sep 17 00:00:00 2001 From: aaaaaa123456789 Date: Fri, 19 Jul 2019 03:32:21 -0300 Subject: [PATCH] Fix Ditto assumption bug --- engine/items/item_effects.asm | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/engine/items/item_effects.asm b/engine/items/item_effects.asm index d04851e6..ff1c1bd6 100644 --- a/engine/items/item_effects.asm +++ b/engine/items/item_effects.asm @@ -440,18 +440,9 @@ PokeBallEffect: push af set SUBSTATUS_TRANSFORMED, [hl] -; BUG: Catching a Transformed Pokémon always catches a Ditto (see docs/bugs_and_glitches.md) bit SUBSTATUS_TRANSFORMED, a - jr nz, .ditto - jr .not_ditto + jr nz, .load_data -.ditto - ld a, DITTO - ld [wTempEnemyMonSpecies], a - jr .load_data - -.not_ditto - set SUBSTATUS_TRANSFORMED, [hl] ld hl, wEnemyBackupDVs ld a, [wEnemyMonDVs] ld [hli], a