Prefix wram labels with w, part 2.

This commit is contained in:
luckytyphlosion
2018-01-23 17:39:09 -05:00
parent 79bd48f85c
commit a1951cefc0
323 changed files with 8581 additions and 8581 deletions

View File

@@ -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