mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Remove redundant comments referencing labels (#921)
This commit is contained in:
parent
3648afda16
commit
73c020074e
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,4 @@
|
||||
BattleCommand_Attract:
|
||||
; attract
|
||||
ld a, [wAttackMissed]
|
||||
and a
|
||||
jr nz, .failed
|
||||
|
@ -1,6 +1,4 @@
|
||||
BattleCommand_BatonPass:
|
||||
; batonpass
|
||||
|
||||
ldh a, [hBattleTurn]
|
||||
and a
|
||||
jp nz, .Enemy
|
||||
|
@ -1,6 +1,4 @@
|
||||
BattleCommand_BeatUp:
|
||||
; beatup
|
||||
|
||||
call ResetDamage
|
||||
ldh a, [hBattleTurn]
|
||||
and a
|
||||
@ -198,8 +196,6 @@ BattleCommand_BeatUp:
|
||||
jp SkipToBattleCommand
|
||||
|
||||
BattleCommand_BeatUpFailText:
|
||||
; beatupfailtext
|
||||
|
||||
ld a, [wBeatUpHitAtLeastOnce]
|
||||
and a
|
||||
ret nz
|
||||
|
@ -1,5 +1,4 @@
|
||||
BattleCommand_BellyDrum:
|
||||
; bellydrum
|
||||
; This command is buggy because it raises the user's attack
|
||||
; before checking that it has enough HP to use the move.
|
||||
; Swap the order of these two blocks to fix.
|
||||
|
@ -1,6 +1,4 @@
|
||||
BattleCommand_StoreEnergy:
|
||||
; storeenergy
|
||||
|
||||
ld a, BATTLE_VARS_SUBSTATUS3
|
||||
call GetBattleVar
|
||||
bit SUBSTATUS_BIDE, a
|
||||
@ -70,8 +68,6 @@ BattleCommand_StoreEnergy:
|
||||
jp EndMoveEffect
|
||||
|
||||
BattleCommand_UnleashEnergy:
|
||||
; unleashenergy
|
||||
|
||||
ld de, wPlayerDamageTaken
|
||||
ld bc, wPlayerRolloutCount
|
||||
ldh a, [hBattleTurn]
|
||||
|
@ -1,6 +1,4 @@
|
||||
BattleCommand_Conversion:
|
||||
; conversion
|
||||
|
||||
ld hl, wBattleMonMoves
|
||||
ld de, wBattleMonType1
|
||||
ldh a, [hBattleTurn]
|
||||
|
@ -1,6 +1,4 @@
|
||||
BattleCommand_Conversion2:
|
||||
; conversion2
|
||||
|
||||
ld a, [wAttackMissed]
|
||||
and a
|
||||
jr nz, .failed
|
||||
|
@ -1,6 +1,4 @@
|
||||
BattleCommand_Counter:
|
||||
; counter
|
||||
|
||||
ld a, 1
|
||||
ld [wAttackMissed], a
|
||||
ld a, BATTLE_VARS_LAST_COUNTER_MOVE_OPP
|
||||
|
@ -1,6 +1,4 @@
|
||||
BattleCommand_Curse:
|
||||
; curse
|
||||
|
||||
ld de, wBattleMonType1
|
||||
ld bc, wPlayerStatLevels
|
||||
ldh a, [hBattleTurn]
|
||||
|
@ -1,6 +1,4 @@
|
||||
BattleCommand_DestinyBond:
|
||||
; destinybond
|
||||
|
||||
ld a, BATTLE_VARS_SUBSTATUS5
|
||||
call GetBattleVarAddr
|
||||
set SUBSTATUS_DESTINY_BOND, [hl]
|
||||
|
@ -1,6 +1,4 @@
|
||||
BattleCommand_Disable:
|
||||
; disable
|
||||
|
||||
ld a, [wAttackMissed]
|
||||
and a
|
||||
jr nz, .failed
|
||||
|
@ -1,6 +1,4 @@
|
||||
BattleCommand_Encore:
|
||||
; encore
|
||||
|
||||
ld hl, wEnemyMonMoves
|
||||
ld de, wEnemyEncoreCount
|
||||
ldh a, [hBattleTurn]
|
||||
|
@ -1,6 +1,4 @@
|
||||
BattleCommand_Endure:
|
||||
; endure
|
||||
|
||||
; Endure shares code with Protect. See protect.asm.
|
||||
|
||||
call ProtectChance
|
||||
|
@ -1,6 +1,4 @@
|
||||
BattleCommand_FalseSwipe:
|
||||
; falseswipe
|
||||
|
||||
; Makes sure wCurDamage < MonHP
|
||||
|
||||
ld hl, wEnemyMonHP
|
||||
|
@ -1,6 +1,4 @@
|
||||
BattleCommand_FocusEnergy:
|
||||
; focusenergy
|
||||
|
||||
ld a, BATTLE_VARS_SUBSTATUS4
|
||||
call GetBattleVarAddr
|
||||
bit SUBSTATUS_FOCUS_ENERGY, [hl]
|
||||
|
@ -1,6 +1,4 @@
|
||||
BattleCommand_Foresight:
|
||||
; foresight
|
||||
|
||||
ld a, [wAttackMissed]
|
||||
and a
|
||||
jr nz, .failed
|
||||
|
@ -1,5 +1,4 @@
|
||||
BattleCommand_FrustrationPower:
|
||||
; frustrationpower
|
||||
push bc
|
||||
ld hl, wBattleMonHappiness
|
||||
ldh a, [hBattleTurn]
|
||||
|
@ -1,6 +1,4 @@
|
||||
BattleCommand_FuryCutter:
|
||||
; furycutter
|
||||
|
||||
ld hl, wPlayerFuryCutterCount
|
||||
ldh a, [hBattleTurn]
|
||||
and a
|
||||
|
@ -1,6 +1,4 @@
|
||||
BattleCommand_CheckFutureSight:
|
||||
; checkfuturesight
|
||||
|
||||
ld hl, wPlayerFutureSightCount
|
||||
ld de, wPlayerFutureSightDamage
|
||||
ldh a, [hBattleTurn]
|
||||
@ -26,8 +24,6 @@ BattleCommand_CheckFutureSight:
|
||||
jp SkipToBattleCommand
|
||||
|
||||
BattleCommand_FutureSight:
|
||||
; futuresight
|
||||
|
||||
call CheckUserIsCharging
|
||||
jr nz, .AlreadyChargingFutureSight
|
||||
ld a, BATTLE_VARS_MOVE_ANIM
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user