summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2012-02-18 14:29:57 -0800
committerYamaArashi <shadow962@live.com>2012-02-18 14:29:57 -0800
commita6bce22ca9021e2b644e0da09f6872d08a5ed1ed (patch)
tree0ad56073e4c09884653b50a633873357024f9b11
parent9391ee1da476dc6e28f879925ecca76d6697fc02 (diff)
fix some labels/comments regarding stat names
hg-commit-id: 252f18ba93f8
-rw-r--r--main.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/main.asm b/main.asm
index 2e0f7176..dbc7d01e 100644
--- a/main.asm
+++ b/main.asm
@@ -16495,20 +16495,20 @@ ItemUseMedicine: ; 5ABB
ld a,[$cf91]
sub a,HP_UP - 1
ld c,a
-.vitaminNameLoop\@ ; loop to get the address of the name of the vitamin
+.statNameLoop\@ ; loop to get the address of the name of the stat the vitamin increases
dec c
- jr z,.next34\@
-.vitaminNameInnerLoop\@
+ jr z,.gotStatName\@
+.statNameInnerLoop\@
ld a,[hli]
ld b,a
ld a,$50
cp b
- jr nz,.vitaminNameInnerLoop\@
- jr .vitaminNameLoop\@
-.next34\@
+ jr nz,.statNameInnerLoop\@
+ jr .statNameLoop\@
+.gotStatName\@
ld de,$cf4b
ld bc,10
- call CopyData ; copy the vitamin's name to $cf4b
+ call CopyData ; copy the stat's name to $cf4b
ld a,$8e
call $23b1 ; play sound
ld hl,VitaminStatRoseText