diff options
author | dannye <corrnondacqb@yahoo.com> | 2016-08-12 13:41:52 -0500 |
---|---|---|
committer | dannye <corrnondacqb@yahoo.com> | 2016-08-12 13:41:52 -0500 |
commit | 3feff214d6ce2e3c6b4ae504c50bcdf09b47eac9 (patch) | |
tree | b5c62e6af4cac0ee4a2031da318750241131b313 /home.asm | |
parent | aa1e3eac34137d88d6bc1df4fac6f32ceab404b6 (diff) |
Remove redundant index conversionpokedex-order
Diffstat (limited to 'home.asm')
-rw-r--r-- | home.asm | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -269,18 +269,8 @@ LoadFlippedFrontSpriteByMonIndex:: ld [wSpriteFlipped], a LoadFrontSpriteByMonIndex:: - push hl - 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 - pop hl jr z, .invalidDexNumber ; dex #0 invalid cp NUM_POKEMON + 1 jr c, .validDexNumber ; dex >#151 invalid @@ -578,7 +568,6 @@ GetMonHeader:: 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 |