summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
Diffstat (limited to 'main.asm')
-rwxr-xr-xmain.asm8
1 files changed, 0 insertions, 8 deletions
diff --git a/main.asm b/main.asm
index c9c7ce72..be045ba5 100755
--- a/main.asm
+++ b/main.asm
@@ -2032,7 +2032,6 @@ _DisplayPokedex: ; 7c18 (1:7c18)
call ReloadMapData
ld c, 10
call DelayFrames
- predef IndexToPokedex
ld a, [wd11e]
dec a
ld c, a
@@ -3632,10 +3631,6 @@ _AddPartyMon: ; f2e5 (3:72e5)
; 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
@@ -3873,9 +3868,6 @@ _AddEnemyMonToPlayerParty: ; f49d (3:749d)
ld bc, NAME_LENGTH
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