summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2015-08-23 23:21:54 -0500
committerdannye <corrnondacqb@yahoo.com>2015-08-23 23:21:54 -0500
commit9b0b36bf3c57b02552d140f465c97172c71a0085 (patch)
treedc5c14d14d979ecb7aee0ca92d78541eb15995f6 /main.asm
parentd9eea7dd660eeb428717f21861ef5f05e1a74418 (diff)
Remove redundant index conversionpokedex-order
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