diff options
author | Remy Oukaour <remy.oukaour@gmail.com> | 2018-01-12 03:15:58 -0500 |
---|---|---|
committer | Remy Oukaour <remy.oukaour@gmail.com> | 2018-01-12 03:15:58 -0500 |
commit | 0e1148fb2c754c579284b609c4edbfd676c8d044 (patch) | |
tree | 7e0549c9e725c6e97f9f03a4c353f8234f3ce882 /data | |
parent | bdc95598d7796d2802295f221d08eef3abb68cec (diff) |
Move code out of data/
Diffstat (limited to 'data')
-rw-r--r-- | data/items/descriptions.asm | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/data/items/descriptions.asm b/data/items/descriptions.asm index e5b01e8fd..20542b9e0 100644 --- a/data/items/descriptions.asm +++ b/data/items/descriptions.asm @@ -1,36 +1,3 @@ -PrintItemDescription: ; 0x1c8955 -; Print the description for item [CurSpecies] at de. - - ld a, [CurSpecies] - cp TM01 - jr c, .not_a_tm - - ld [CurItem], a - push de - farcall GetTMHMItemMove - pop hl - ld a, [wd265] - ld [CurSpecies], a - predef PrintMoveDesc - ret - -.not_a_tm - push de - ld hl, ItemDescriptions - ld a, [CurSpecies] - dec a - ld c, a - ld b, 0 - add hl, bc - add hl, bc - ld e, [hl] - inc hl - ld d, [hl] - pop hl - jp PlaceString -; 0x1c8987 - - ItemDescriptions: dw MasterBallDesc dw UltraBallDesc |