summaryrefslogtreecommitdiff
path: root/home.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 /home.asm
parentd9eea7dd660eeb428717f21861ef5f05e1a74418 (diff)
Remove redundant index conversionpokedex-order
Diffstat (limited to 'home.asm')
-rw-r--r--home.asm4
1 files changed, 0 insertions, 4 deletions
diff --git a/home.asm b/home.asm
index bc9e40b2..a6cba63d 100644
--- a/home.asm
+++ b/home.asm
@@ -275,10 +275,7 @@ LoadFrontSpriteByMonIndex:: ; 1389 (0:1389)
ld a, [wd11e]
push af
ld a, [wcf91]
- ld [wd11e], a
- predef IndexToPokedex
ld hl, wd11e
- ld a, [hl]
pop bc
ld [hl], b
and a
@@ -580,7 +577,6 @@ GetMonHeader:: ; 1537 (0:1537)
jr z,.specialID
cp a,MEW
jr z,.mew
- predef IndexToPokedex ; convert pokemon ID in [wd11e] to pokedex number
ld a,[wd11e]
dec a
ld bc,MonBaseStatsEnd - MonBaseStats