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 /main.asm | |
parent | aa1e3eac34137d88d6bc1df4fac6f32ceab404b6 (diff) |
Remove redundant index conversionpokedex-order
Diffstat (limited to 'main.asm')
-rwxr-xr-x | main.asm | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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 |