mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Clarify species-item boost functions
This commit is contained in:
parent
7503f9074c
commit
8f55647441
@ -3580,8 +3580,10 @@ GetDamageStats: ; 3537e
|
|||||||
|
|
||||||
|
|
||||||
ThickClubBoost: ; 353b5
|
ThickClubBoost: ; 353b5
|
||||||
|
; Return in hl the stat value at hl.
|
||||||
|
|
||||||
; If the attacking monster is Cubone or Marowak and
|
; 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 bc
|
||||||
push de
|
push de
|
||||||
ld b, CUBONE
|
ld b, CUBONE
|
||||||
@ -3595,8 +3597,10 @@ ThickClubBoost: ; 353b5
|
|||||||
|
|
||||||
|
|
||||||
LightBallBoost: ; 353c3
|
LightBallBoost: ; 353c3
|
||||||
|
; Return in hl the stat value at hl.
|
||||||
|
|
||||||
; If the attacking monster is Pikachu and it's
|
; 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 bc
|
||||||
push de
|
push de
|
||||||
ld b, PIKACHU
|
ld b, PIKACHU
|
||||||
@ -3610,8 +3614,10 @@ LightBallBoost: ; 353c3
|
|||||||
|
|
||||||
|
|
||||||
SpeciesItemBoost: ; 353d1
|
SpeciesItemBoost: ; 353d1
|
||||||
|
; Return in hl the stat value at hl.
|
||||||
|
|
||||||
; If the attacking monster is species b or c and
|
; 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 a, [hli]
|
||||||
ld l, [hl]
|
ld l, [hl]
|
||||||
@ -3998,7 +4004,7 @@ BattleCommand62: ; 35612
|
|||||||
cp $7
|
cp $7
|
||||||
jr nz, .asm_35620 ; 35619 $5
|
jr nz, .asm_35620 ; 35619 $5
|
||||||
srl c
|
srl c
|
||||||
jr nz, .asm_35620 ; 3561d $1
|
jr nz, .asm_35620 ; $3561d $1
|
||||||
inc c
|
inc c
|
||||||
.asm_35620
|
.asm_35620
|
||||||
cp $1d
|
cp $1d
|
||||||
|
Loading…
Reference in New Issue
Block a user