summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2016-08-12 13:41:52 -0500
committerdannye <corrnondacqb@yahoo.com>2016-08-12 13:41:52 -0500
commit3feff214d6ce2e3c6b4ae504c50bcdf09b47eac9 (patch)
treeb5c62e6af4cac0ee4a2031da318750241131b313 /main.asm
parentaa1e3eac34137d88d6bc1df4fac6f32ceab404b6 (diff)
Remove redundant index conversionpokedex-order
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