diff options
author | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2018-01-23 17:39:09 -0500 |
---|---|---|
committer | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2018-01-23 17:39:09 -0500 |
commit | a1951cefc09035e11077a433b28ec8c66b3b03db (patch) | |
tree | 4de98db5a6edb6d74192028d50893da2b764421f /engine/routines/printitemdescription.asm | |
parent | 79bd48f85c7dd1868264e290b12dad17a6e25b95 (diff) |
Prefix wram labels with w, part 2.
Diffstat (limited to 'engine/routines/printitemdescription.asm')
-rw-r--r-- | engine/routines/printitemdescription.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/routines/printitemdescription.asm b/engine/routines/printitemdescription.asm index e6d087dae..2a9007b97 100644 --- a/engine/routines/printitemdescription.asm +++ b/engine/routines/printitemdescription.asm @@ -1,23 +1,23 @@ PrintItemDescription: ; 0x1c8955 -; Print the description for item [CurSpecies] at de. +; Print the description for item [wCurSpecies] at de. - ld a, [CurSpecies] + ld a, [wCurSpecies] cp TM01 jr c, .not_a_tm - ld [CurItem], a + ld [wCurItem], a push de farcall GetTMHMItemMove pop hl ld a, [wd265] - ld [CurSpecies], a + ld [wCurSpecies], a predef PrintMoveDesc ret .not_a_tm push de ld hl, ItemDescriptions - ld a, [CurSpecies] + ld a, [wCurSpecies] dec a ld c, a ld b, 0 |