Remove redundant comments referencing labels (#921)

This commit is contained in:
vulcandth 2022-06-06 16:34:54 -05:00 committed by GitHub
parent 3648afda16
commit 73c020074e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
59 changed files with 3 additions and 264 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,4 @@
BattleCommand_Attract:
; attract
ld a, [wAttackMissed]
and a
jr nz, .failed

View File

@ -1,6 +1,4 @@
BattleCommand_BatonPass:
; batonpass
ldh a, [hBattleTurn]
and a
jp nz, .Enemy

View File

@ -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

View File

@ -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.

View File

@ -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]

View File

@ -1,6 +1,4 @@
BattleCommand_Conversion:
; conversion
ld hl, wBattleMonMoves
ld de, wBattleMonType1
ldh a, [hBattleTurn]

View File

@ -1,6 +1,4 @@
BattleCommand_Conversion2:
; conversion2
ld a, [wAttackMissed]
and a
jr nz, .failed

View File

@ -1,6 +1,4 @@
BattleCommand_Counter:
; counter
ld a, 1
ld [wAttackMissed], a
ld a, BATTLE_VARS_LAST_COUNTER_MOVE_OPP

View File

@ -1,6 +1,4 @@
BattleCommand_Curse:
; curse
ld de, wBattleMonType1
ld bc, wPlayerStatLevels
ldh a, [hBattleTurn]

View File

@ -1,6 +1,4 @@
BattleCommand_DestinyBond:
; destinybond
ld a, BATTLE_VARS_SUBSTATUS5
call GetBattleVarAddr
set SUBSTATUS_DESTINY_BOND, [hl]

View File

@ -1,6 +1,4 @@
BattleCommand_Disable:
; disable
ld a, [wAttackMissed]
and a
jr nz, .failed

View File

@ -1,6 +1,4 @@
BattleCommand_Encore:
; encore
ld hl, wEnemyMonMoves
ld de, wEnemyEncoreCount
ldh a, [hBattleTurn]

View File

@ -1,6 +1,4 @@
BattleCommand_Endure:
; endure
; Endure shares code with Protect. See protect.asm.
call ProtectChance

View File

@ -1,6 +1,4 @@
BattleCommand_FalseSwipe:
; falseswipe
; Makes sure wCurDamage < MonHP
ld hl, wEnemyMonHP

View File

@ -1,6 +1,4 @@
BattleCommand_FocusEnergy:
; focusenergy
ld a, BATTLE_VARS_SUBSTATUS4
call GetBattleVarAddr
bit SUBSTATUS_FOCUS_ENERGY, [hl]

View File

@ -1,6 +1,4 @@
BattleCommand_Foresight:
; foresight
ld a, [wAttackMissed]
and a
jr nz, .failed

View File

@ -1,5 +1,4 @@
BattleCommand_FrustrationPower:
; frustrationpower
push bc
ld hl, wBattleMonHappiness
ldh a, [hBattleTurn]

View File

@ -1,6 +1,4 @@
BattleCommand_FuryCutter:
; furycutter
ld hl, wPlayerFuryCutterCount
ldh a, [hBattleTurn]
and a

View File

@ -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