summaryrefslogtreecommitdiff
path: root/items/item_effects.asm
diff options
context:
space:
mode:
Diffstat (limited to 'items/item_effects.asm')
-rw-r--r--items/item_effects.asm18
1 files changed, 9 insertions, 9 deletions
diff --git a/items/item_effects.asm b/items/item_effects.asm
index 8cabdc7e8..5ba74eb8c 100644
--- a/items/item_effects.asm
+++ b/items/item_effects.asm
@@ -452,23 +452,23 @@ endr
push af
set SUBSTATUS_TRANSFORMED, [hl]
bit SUBSTATUS_TRANSFORMED, a
- jr nz, .asm_ea13
- jr .asm_ea1a
+ jr nz, .ditto
+ jr .not_ditto
-.asm_ea13
+.ditto
ld a, DITTO
ld [TempEnemyMonSpecies], a
- jr .asm_ea27
+ jr .load_data
-.asm_ea1a
- set 3, [hl]
- ld hl, wc6f2
+.not_ditto
+ set SUBSTATUS_TRANSFORMED, [hl]
+ ld hl, wEnemyBackupDVs
ld a, [EnemyMonDVs]
ld [hli], a
ld a, [EnemyMonDVs + 1]
ld [hl], a
-.asm_ea27
+.load_data
ld a, [TempEnemyMonSpecies]
ld [CurPartySpecies], a
ld a, [EnemyMonLevel]
@@ -1665,7 +1665,7 @@ RevivePokemon: ; f0d6
ld a, [CurPartyMon]
ld c, a
ld d, 0
- ld hl, wc6fc
+ ld hl, wBattleParticipantsIncludingFainted
ld b, CHECK_FLAG
predef FlagPredef
ld a, c