summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
Diffstat (limited to 'main.asm')
-rwxr-xr-xmain.asm7
1 files changed, 0 insertions, 7 deletions
diff --git a/main.asm b/main.asm
index c31f9fa4..b9ba9c18 100755
--- a/main.asm
+++ b/main.asm
@@ -2039,7 +2039,6 @@ _DisplayPokedex:
call ReloadMapData
ld c, 10
call DelayFrames
- predef IndexToPokedex
ld a, [wd11e]
dec a
ld c, a
@@ -3642,10 +3641,6 @@ _AddPartyMon:
; If the mon is being added to the player's party, update the pokedex.
ld a, [wcf91]
ld [wd11e], a
- push de
- predef IndexToPokedex
- pop de
- ld a, [wd11e]
dec a
ld c, a
ld b, FLAG_TEST
@@ -3884,8 +3879,6 @@ _AddEnemyMonToPlayerParty:
call CopyData ; write new mon's nickname (from an enemy mon)
ld a, [wcf91]
ld [wd11e], a
- predef IndexToPokedex
- ld a, [wd11e]
dec a
ld c, a
ld b, FLAG_SET