summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-04-20 02:29:39 -0400
committeryenatch <yenatch@gmail.com>2013-04-20 02:38:56 -0400
commit8f55647441707de49e472d9f75a3939967d172ad (patch)
tree373f885553163540ffb0a65a70db4d246ee0804f
parent7503f9074c9bac623ac436798c4acdae1a0e48b8 (diff)
Clarify species-item boost functions
-rw-r--r--battle/effect_commands.asm14
1 files changed, 10 insertions, 4 deletions
diff --git a/battle/effect_commands.asm b/battle/effect_commands.asm
index 726dc0371..88be8a7c1 100644
--- a/battle/effect_commands.asm
+++ b/battle/effect_commands.asm
@@ -3580,8 +3580,10 @@ GetDamageStats: ; 3537e
ThickClubBoost: ; 353b5
+; Return in hl the stat value at hl.
+
; If the attacking monster is Cubone or Marowak and
-; it's holding a Thick Club, double stat value hl.
+; it's holding a Thick Club, double it.
push bc
push de
ld b, CUBONE
@@ -3595,8 +3597,10 @@ ThickClubBoost: ; 353b5
LightBallBoost: ; 353c3
+; Return in hl the stat value at hl.
+
; If the attacking monster is Pikachu and it's
-; holding a Light Ball, double stat value hl.
+; holding a Light Ball, double it.
push bc
push de
ld b, PIKACHU
@@ -3610,8 +3614,10 @@ LightBallBoost: ; 353c3
SpeciesItemBoost: ; 353d1
+; Return in hl the stat value at hl.
+
; If the attacking monster is species b or c and
-; it's holding item d, double stat value hl.
+; it's holding item d, double it.
ld a, [hli]
ld l, [hl]
@@ -3998,7 +4004,7 @@ BattleCommand62: ; 35612
cp $7
jr nz, .asm_35620 ; 35619 $5
srl c
- jr nz, .asm_35620 ; 3561d $1
+ jr nz, .asm_35620 ; $3561d $1
inc c
.asm_35620
cp $1d