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 /engine/palettes.asm | |
parent | aa1e3eac34137d88d6bc1df4fac6f32ceab404b6 (diff) |
Remove redundant index conversionpokedex-order
Diffstat (limited to 'engine/palettes.asm')
-rwxr-xr-x | engine/palettes.asm | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/engine/palettes.asm b/engine/palettes.asm index 4f535413..1dcfd28f 100755 --- a/engine/palettes.asm +++ b/engine/palettes.asm @@ -275,13 +275,6 @@ DeterminePaletteID: ld a, [hl] DeterminePaletteIDOutOfBattle: ld [wd11e], a - and a ; is the mon index 0? - jr z, .skipDexNumConversion - push bc - predef IndexToPokedex - pop bc - ld a, [wd11e] -.skipDexNumConversion ld e, a ld d, 0 ld hl, MonsterPalettes ; not just for Pokemon, Trainers use it too |