Remove all address comments

This commit is contained in:
mid-kid
2018-06-24 16:09:41 +02:00
parent 131875d3e3
commit 1d9a68dbdd
616 changed files with 12133 additions and 20380 deletions

View File

@@ -1,4 +1,4 @@
BattleCommand_Attract: ; 377ce
BattleCommand_Attract:
; attract
ld a, [wAttackMissed]
and a
@@ -21,10 +21,9 @@ BattleCommand_Attract: ; 377ce
.failed
jp FailMove
; 377f5
CheckOppositeGender: ; 377f5
CheckOppositeGender:
ld a, MON_SPECIES
call BattlePartyAttr
ld a, [hl]
@@ -76,4 +75,3 @@ CheckOppositeGender: ; 377f5
.genderless_samegender
scf
ret
; 3784b

View File

@@ -1,4 +1,4 @@
BattleCommand_BatonPass: ; 379c9
BattleCommand_BatonPass:
; batonpass
ld a, [hBattleTurn]
@@ -81,10 +81,9 @@ BattleCommand_BatonPass: ; 379c9
jr ResetBatonPassStatus
; 37a67
BatonPass_LinkPlayerSwitch: ; 37a67
BatonPass_LinkPlayerSwitch:
ld a, [wLinkMode]
and a
ret z
@@ -101,10 +100,9 @@ BatonPass_LinkPlayerSwitch: ; 37a67
ld [wBattlePlayerAction], a
ret
; 37a82
BatonPass_LinkEnemySwitch: ; 37a82
BatonPass_LinkEnemySwitch:
ld a, [wLinkMode]
and a
ret z
@@ -129,17 +127,15 @@ BatonPass_LinkEnemySwitch: ; 37a82
.switch
jp CloseWindow
; 37aab
FailedBatonPass: ; 37aab
FailedBatonPass:
call AnimateFailedMove
jp PrintButItFailed
; 37ab1
ResetBatonPassStatus: ; 37ab1
ResetBatonPassStatus:
; Reset status changes that aren't passed by Baton Pass.
; Nightmare isn't passed.
@@ -178,10 +174,9 @@ ResetBatonPassStatus: ; 37ab1
ld [wEnemyWrapCount], a
ret
; 37ae9
CheckAnyOtherAlivePartyMons: ; 37ae9
CheckAnyOtherAlivePartyMons:
ld hl, wPartyMon1HP
ld a, [wPartyCount]
ld d, a
@@ -189,10 +184,9 @@ CheckAnyOtherAlivePartyMons: ; 37ae9
ld e, a
jr CheckAnyOtherAliveMons
; 37af6
CheckAnyOtherAliveEnemyMons: ; 37af6
CheckAnyOtherAliveEnemyMons:
ld hl, wOTPartyMon1HP
ld a, [wOTPartyCount]
ld d, a
@@ -200,9 +194,8 @@ CheckAnyOtherAliveEnemyMons: ; 37af6
ld e, a
; fallthrough
; 37b01
CheckAnyOtherAliveMons: ; 37b01
CheckAnyOtherAliveMons:
; Check for nonzero HP starting from partymon
; HP at hl for d partymons, besides current mon e.
@@ -238,4 +231,3 @@ CheckAnyOtherAliveMons: ; 37b01
and a
ret
; 37b1d

View File

@@ -1,4 +1,4 @@
BattleCommand_BeatUp: ; 35461
BattleCommand_BeatUp:
; beatup
call ResetDamage
@@ -193,17 +193,15 @@ BattleCommand_BeatUp: ; 35461
ld d, a
ret
; 355b0
.beatup_fail ; 355b0
.beatup_fail
ld b, buildopponentrage_command
jp SkipToBattleCommand
; 355b5
BattleCommand_BeatUpFailText: ; 355b5
BattleCommand_BeatUpFailText:
; beatupfailtext
ld a, [wBeatUpHitAtLeastOnce]
@@ -212,10 +210,9 @@ BattleCommand_BeatUpFailText: ; 355b5
jp PrintButItFailed
; 355bd
GetBeatupMonLocation: ; 355bd
GetBeatupMonLocation:
push bc
ld c, a
ld b, 0

View File

@@ -1,4 +1,4 @@
BattleCommand_BellyDrum: ; 37c1a
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.
@@ -33,4 +33,3 @@ BattleCommand_BellyDrum: ; 37c1a
call AnimateFailedMove
jp PrintButItFailed
; 37c55

View File

@@ -1,4 +1,4 @@
BattleCommand_StoreEnergy: ; 36671
BattleCommand_StoreEnergy:
; storeenergy
ld a, BATTLE_VARS_SUBSTATUS3
@@ -69,10 +69,9 @@ BattleCommand_StoreEnergy: ; 36671
call StdBattleTextBox
jp EndMoveEffect
; 366e5
BattleCommand_UnleashEnergy: ; 366e5
BattleCommand_UnleashEnergy:
; unleashenergy
ld de, wPlayerDamageTaken
@@ -102,4 +101,3 @@ BattleCommand_UnleashEnergy: ; 366e5
call AnimateCurrentMove
jp EndMoveEffect
; 3671a

View File

@@ -1,4 +1,4 @@
BattleCommand_Conversion: ; 3707f
BattleCommand_Conversion:
; conversion
ld hl, wBattleMonMoves
@@ -95,4 +95,3 @@ BattleCommand_Conversion: ; 3707f
ld hl, TransformedTypeText
jp StdBattleTextBox
; 3710e

View File

@@ -1,4 +1,4 @@
BattleCommand_Conversion2: ; 359e6
BattleCommand_Conversion2:
; conversion2
ld a, [wAttackMissed]
@@ -63,4 +63,3 @@ BattleCommand_Conversion2: ; 359e6
.failed
jp FailMove
; 35a53

View File

@@ -1,4 +1,4 @@
BattleCommand_Counter: ; 35813
BattleCommand_Counter:
; counter
ld a, 1
@@ -57,4 +57,3 @@ BattleCommand_Counter: ; 35813
ld [wAttackMissed], a
ret
; 35864

View File

@@ -1,4 +1,4 @@
BattleCommand_Curse: ; 37588
BattleCommand_Curse:
; curse
ld de, wBattleMonType1
@@ -94,4 +94,3 @@ BattleCommand_Curse: ; 37588
call AnimateFailedMove
ld hl, WontRiseAnymoreText
jp StdBattleTextBox
; 37618

View File

@@ -1,4 +1,4 @@
BattleCommand_DestinyBond: ; 35bff
BattleCommand_DestinyBond:
; destinybond
ld a, BATTLE_VARS_SUBSTATUS5
@@ -8,4 +8,3 @@ BattleCommand_DestinyBond: ; 35bff
ld hl, DestinyBondEffectText
jp StdBattleTextBox
; 35c0f

View File

@@ -1,4 +1,4 @@
BattleCommand_Disable: ; 36fed
BattleCommand_Disable:
; disable
ld a, [wAttackMissed]
@@ -71,4 +71,3 @@ BattleCommand_Disable: ; 36fed
.failed
jp FailMove
; 3705c

View File

@@ -1,4 +1,4 @@
BattleCommand_Encore: ; 35864
BattleCommand_Encore:
; encore
ld hl, wEnemyMonMoves
@@ -119,4 +119,3 @@ BattleCommand_Encore: ; 35864
.failed
jp PrintDidntAffect2
; 35926

View File

@@ -1,4 +1,4 @@
BattleCommand_Endure: ; 3766f
BattleCommand_Endure:
; endure
; Endure shares code with Protect. See protect.asm.
@@ -14,4 +14,3 @@ BattleCommand_Endure: ; 3766f
ld hl, BracedItselfText
jp StdBattleTextBox
; 37683

View File

@@ -1,4 +1,4 @@
BattleCommand_FalseSwipe: ; 35c94
BattleCommand_FalseSwipe:
; falseswipe
; Makes sure wCurDamage < MonHP
@@ -47,4 +47,3 @@ BattleCommand_FalseSwipe: ; 35c94
and a
ret
; 35cc9

View File

@@ -1,4 +1,4 @@
BattleCommand_FocusEnergy: ; 36c98
BattleCommand_FocusEnergy:
; focusenergy
ld a, BATTLE_VARS_SUBSTATUS4
@@ -14,4 +14,3 @@ BattleCommand_FocusEnergy: ; 36c98
call AnimateFailedMove
jp PrintButItFailed
; 36cb2

View File

@@ -1,4 +1,4 @@
BattleCommand_Foresight: ; 376a0
BattleCommand_Foresight:
; foresight
ld a, [wAttackMissed]
@@ -20,4 +20,3 @@ BattleCommand_Foresight: ; 376a0
.failed
jp FailMove
; 376c2

View File

@@ -1,4 +1,4 @@
BattleCommand_FrustrationPower: ; 3790e
BattleCommand_FrustrationPower:
; frustrationpower
push bc
@@ -26,4 +26,3 @@ BattleCommand_FrustrationPower: ; 3790e
pop bc
ret
; 37939

View File

@@ -1,4 +1,4 @@
BattleCommand_FuryCutter: ; 37792
BattleCommand_FuryCutter:
; furycutter
ld hl, wPlayerFuryCutterCount
@@ -38,10 +38,9 @@ BattleCommand_FuryCutter: ; 37792
ld [hl], a
ret
; 377be
ResetFuryCutterCount: ; 377be
ResetFuryCutterCount:
push hl
@@ -58,4 +57,3 @@ ResetFuryCutterCount: ; 377be
pop hl
ret
; 377ce

View File

@@ -1,4 +1,4 @@
BattleCommand_CheckFutureSight: ; 37d0d
BattleCommand_CheckFutureSight:
; checkfuturesight
ld hl, wPlayerFutureSightCount
@@ -25,9 +25,8 @@ BattleCommand_CheckFutureSight: ; 37d0d
ld b, futuresight_command
jp SkipToBattleCommand
; 37d34
BattleCommand_FutureSight: ; 37d34
BattleCommand_FutureSight:
; futuresight
call CheckUserIsCharging
@@ -82,4 +81,3 @@ BattleCommand_FutureSight: ; 37d34
call PrintButItFailed
jp EndMoveEffect
; 37d94

View File

@@ -1,4 +1,4 @@
BattleCommand_HealBell: ; 35cc9
BattleCommand_HealBell:
; healbell
ld a, BATTLE_VARS_SUBSTATUS1
@@ -33,4 +33,3 @@ BattleCommand_HealBell: ; 35cc9
jp z, CalcPlayerStats
jp CalcEnemyStats
; 35d00

Some files were not shown because too many files have changed in this diff Show More