More battle command labels

This commit is contained in:
PikalaxALT
2015-11-06 20:55:16 -05:00
parent ae2970d73b
commit d8aa438644
14 changed files with 510 additions and 493 deletions

View File

@@ -26,13 +26,13 @@ BattleCommand_Curse: ; 37588
; Attack
ld a, [bc]
cp 13 ; max
cp MAX_STAT_LEVEL
jr c, .raise
; Defense
inc bc
ld a, [bc]
cp 13 ; max
cp MAX_STAT_LEVEL
jr nc, .cantraise
.raise
@@ -40,19 +40,19 @@ BattleCommand_Curse: ; 37588
; Raise Attack and Defense, and lower Speed.
ld a, $1
ld [wc689], a
ld [wKickCounter], a
call AnimateCurrentMove
ld a, $2
call Function36532
ld a, SPEED
call LowerStat
call BattleCommand_SwitchTurn
call BattleCommand_StatMessageTarget
call BattleCommand_StatDownMessage
call ResetMiss
call BattleCommand_SwitchTurn
call BattleCommand_AttackUp
call BattleCommand_StatMessageUser
call BattleCommand_StatUpMessage
call ResetMiss
call BattleCommand_DefenseUp
jp BattleCommand_StatMessageUser
jp BattleCommand_StatUpMessage
.ghost
@@ -74,7 +74,7 @@ BattleCommand_Curse: ; 37588
call AnimateCurrentMove
ld hl, GetHalfMaxHP
call CallBattleCore
ld hl, Function3cc3f
ld hl, SubtractHPFromUser
call CallBattleCore
call UpdateUserInParty
ld hl, PutACurseText
@@ -89,7 +89,7 @@ BattleCommand_Curse: ; 37588
; Can't raise either stat.
ld b, $8 ; ABILITY
ld b, ABILITY + 1
call GetStatName
call AnimateFailedMove
ld hl, WontRiseAnymoreText

View File

@@ -5,14 +5,14 @@ BattleCommand_Metronome: ; 37418
call Function34548
jr nz, .asm_3742b
ld a, [wc689]
ld a, [wKickCounter]
push af
call BattleCommand_LowerSub
pop af
ld [wc689], a
ld [wKickCounter], a
.asm_3742b
call Function37e36
call PlayPlayerMoveAnim_ClearHiID
.GetMove
call BattleRandom

View File

@@ -40,11 +40,11 @@ BattleCommand_MirrorMove: ; 373c9
call Function34548
jr nz, .done
ld a, [wc689]
ld a, [wKickCounter]
push af
call BattleCommand_LowerSub
pop af
ld [wc689], a
ld [wKickCounter], a
.done
call BattleCommand_MoveDelay