diff options
author | dannye <corrnondacqb@yahoo.com> | 2015-08-23 23:21:54 -0500 |
---|---|---|
committer | dannye <corrnondacqb@yahoo.com> | 2015-08-23 23:21:54 -0500 |
commit | 9b0b36bf3c57b02552d140f465c97172c71a0085 (patch) | |
tree | dc5c14d14d979ecb7aee0ca92d78541eb15995f6 /main.asm | |
parent | d9eea7dd660eeb428717f21861ef5f05e1a74418 (diff) |
Remove redundant index conversionpokedex-order
Diffstat (limited to 'main.asm')
-rwxr-xr-x | main.asm | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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 |