mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Fix some StatUp-related labels
This commit is contained in:
parent
2e147d1128
commit
79cf90ab5e
@ -806,7 +806,7 @@ EnemyUsedXItem:
|
||||
push bc
|
||||
call PrintText_UsedItemOn
|
||||
pop bc
|
||||
farcall CheckIfStatCanBeRaised
|
||||
farcall RaiseStat
|
||||
jp AIUpdateHUD
|
||||
|
||||
; Parameter
|
||||
|
@ -4181,13 +4181,13 @@ BattleCommand_EvasionUp2:
|
||||
|
||||
BattleCommand_StatUp:
|
||||
; statup
|
||||
call CheckIfStatCanBeRaised
|
||||
call RaiseStat
|
||||
ld a, [wFailedMessage]
|
||||
and a
|
||||
ret nz
|
||||
jp StatUpAnimation
|
||||
jp MinimizeDropSub
|
||||
|
||||
CheckIfStatCanBeRaised:
|
||||
RaiseStat:
|
||||
ld a, b
|
||||
ld [wLoweredStat], a
|
||||
ld hl, wPlayerStatLevels
|
||||
@ -4283,7 +4283,9 @@ CheckIfStatCanBeRaised:
|
||||
ld [wFailedMessage], a
|
||||
ret
|
||||
|
||||
StatUpAnimation:
|
||||
MinimizeDropSub:
|
||||
; Lower the substitute if we're minimizing
|
||||
|
||||
ld bc, wPlayerMinimized
|
||||
ld hl, DropPlayerSub
|
||||
ld a, [hBattleTurn]
|
||||
|
@ -2159,7 +2159,7 @@ XItemEffect:
|
||||
ld [hBattleTurn], a
|
||||
ld [wAttackMissed], a
|
||||
ld [wEffectFailed], a
|
||||
farcall CheckIfStatCanBeRaised
|
||||
farcall RaiseStat
|
||||
call WaitSFX
|
||||
|
||||
farcall BattleCommand_StatUpMessage
|
||||
|
Loading…
x
Reference in New Issue
Block a user