You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Fix triple newlines left over from removing address comments
This commit is contained in:
@@ -22,7 +22,6 @@ BattleCommand_Attract:
|
||||
.failed
|
||||
jp FailMove
|
||||
|
||||
|
||||
CheckOppositeGender:
|
||||
ld a, MON_SPECIES
|
||||
call BattlePartyAttr
|
||||
|
@@ -5,7 +5,6 @@ BattleCommand_BatonPass:
|
||||
and a
|
||||
jp nz, .Enemy
|
||||
|
||||
|
||||
; Need something to switch to
|
||||
call CheckAnyOtherAlivePartyMons
|
||||
jp z, FailedBatonPass
|
||||
@@ -45,7 +44,6 @@ BattleCommand_BatonPass:
|
||||
call ResetBatonPassStatus
|
||||
ret
|
||||
|
||||
|
||||
.Enemy:
|
||||
|
||||
; Wildmons don't have anything to switch to
|
||||
@@ -82,7 +80,6 @@ BattleCommand_BatonPass:
|
||||
jr ResetBatonPassStatus
|
||||
|
||||
|
||||
|
||||
BatonPass_LinkPlayerSwitch:
|
||||
ld a, [wLinkMode]
|
||||
and a
|
||||
@@ -101,7 +98,6 @@ BatonPass_LinkPlayerSwitch:
|
||||
ret
|
||||
|
||||
|
||||
|
||||
BatonPass_LinkEnemySwitch:
|
||||
ld a, [wLinkMode]
|
||||
and a
|
||||
@@ -128,13 +124,11 @@ BatonPass_LinkEnemySwitch:
|
||||
jp CloseWindow
|
||||
|
||||
|
||||
|
||||
FailedBatonPass:
|
||||
call AnimateFailedMove
|
||||
jp PrintButItFailed
|
||||
|
||||
|
||||
|
||||
ResetBatonPassStatus:
|
||||
; Reset status changes that aren't passed by Baton Pass.
|
||||
|
||||
@@ -175,7 +169,6 @@ ResetBatonPassStatus:
|
||||
ret
|
||||
|
||||
|
||||
|
||||
CheckAnyOtherAlivePartyMons:
|
||||
ld hl, wPartyMon1HP
|
||||
ld a, [wPartyCount]
|
||||
@@ -185,7 +178,6 @@ CheckAnyOtherAlivePartyMons:
|
||||
jr CheckAnyOtherAliveMons
|
||||
|
||||
|
||||
|
||||
CheckAnyOtherAliveEnemyMons:
|
||||
ld hl, wOTPartyMon1HP
|
||||
ld a, [wOTPartyCount]
|
||||
|
@@ -194,13 +194,11 @@ BattleCommand_BeatUp:
|
||||
ret
|
||||
|
||||
|
||||
|
||||
.beatup_fail
|
||||
ld b, buildopponentrage_command
|
||||
jp SkipToBattleCommand
|
||||
|
||||
|
||||
|
||||
BattleCommand_BeatUpFailText:
|
||||
; beatupfailtext
|
||||
|
||||
@@ -211,7 +209,6 @@ BattleCommand_BeatUpFailText:
|
||||
jp PrintButItFailed
|
||||
|
||||
|
||||
|
||||
GetBeatupMonLocation:
|
||||
push bc
|
||||
ld c, a
|
||||
|
@@ -70,7 +70,6 @@ BattleCommand_StoreEnergy:
|
||||
jp EndMoveEffect
|
||||
|
||||
|
||||
|
||||
BattleCommand_UnleashEnergy:
|
||||
; unleashenergy
|
||||
|
||||
|
@@ -21,7 +21,6 @@ BattleCommand_Curse:
|
||||
cp GHOST
|
||||
jr z, .ghost
|
||||
|
||||
|
||||
; If no stats can be increased, don't.
|
||||
|
||||
; Attack
|
||||
@@ -54,7 +53,6 @@ BattleCommand_Curse:
|
||||
call BattleCommand_DefenseUp
|
||||
jp BattleCommand_StatUpMessage
|
||||
|
||||
|
||||
.ghost
|
||||
|
||||
; Cut HP in half and put a curse on the opponent.
|
||||
@@ -84,7 +82,6 @@ BattleCommand_Curse:
|
||||
call AnimateFailedMove
|
||||
jp PrintButItFailed
|
||||
|
||||
|
||||
.cantraise
|
||||
|
||||
; Can't raise either stat.
|
||||
|
@@ -39,7 +39,6 @@ BattleCommand_FuryCutter:
|
||||
ret
|
||||
|
||||
|
||||
|
||||
ResetFuryCutterCount:
|
||||
|
||||
push hl
|
||||
|
@@ -25,7 +25,6 @@ BattleCommand_CheckFutureSight:
|
||||
ld b, futuresight_command
|
||||
jp SkipToBattleCommand
|
||||
|
||||
|
||||
BattleCommand_FutureSight:
|
||||
; futuresight
|
||||
|
||||
|
@@ -34,12 +34,10 @@ BattleCommand_Metronome:
|
||||
call CheckUserMove
|
||||
jr z, .GetMove
|
||||
|
||||
|
||||
ld a, BATTLE_VARS_MOVE
|
||||
call GetBattleVarAddr
|
||||
ld [hl], b
|
||||
call UpdateMoveData
|
||||
jp ResetTurn
|
||||
|
||||
|
||||
INCLUDE "data/battle/metronome_exception_moves.asm"
|
||||
|
@@ -89,7 +89,6 @@ BattleCommand_PainSplit:
|
||||
ld [wBuffer6], a
|
||||
ret
|
||||
|
||||
|
||||
.ButItFailed:
|
||||
jp PrintDidntAffect2
|
||||
|
||||
|
@@ -1,7 +1,6 @@
|
||||
BattleCommand_PerishSong:
|
||||
; perishsong
|
||||
|
||||
|
||||
ld hl, wPlayerSubStatus1
|
||||
ld de, wEnemySubStatus1
|
||||
bit SUBSTATUS_PERISH, [hl]
|
||||
|
@@ -12,7 +12,6 @@ BattleCommand_Protect:
|
||||
ld hl, ProtectedItselfText
|
||||
jp StdBattleTextBox
|
||||
|
||||
|
||||
ProtectChance:
|
||||
|
||||
ld de, wPlayerProtectCount
|
||||
@@ -68,7 +67,6 @@ ProtectChance:
|
||||
and a
|
||||
ret
|
||||
|
||||
|
||||
.failed
|
||||
xor a
|
||||
ld [de], a
|
||||
|
@@ -1,6 +1,5 @@
|
||||
MAX_ROLLOUT_COUNT EQU 5
|
||||
|
||||
|
||||
BattleCommand_CheckCurl:
|
||||
; checkcurl
|
||||
|
||||
@@ -23,7 +22,6 @@ BattleCommand_CheckCurl:
|
||||
ld [de], a
|
||||
ret
|
||||
|
||||
|
||||
BattleCommand_RolloutPower:
|
||||
; rolloutpower
|
||||
|
||||
|
@@ -50,7 +50,6 @@ BattleCommand_Thief:
|
||||
ld [de], a
|
||||
jr .stole
|
||||
|
||||
|
||||
.enemy
|
||||
|
||||
; The enemy can't already have an item.
|
||||
@@ -91,13 +90,11 @@ BattleCommand_Thief:
|
||||
ld [hl], a
|
||||
ld [de], a
|
||||
|
||||
|
||||
.stole
|
||||
call GetItemName
|
||||
ld hl, StoleText
|
||||
jp StdBattleTextBox
|
||||
|
||||
|
||||
.playeritem
|
||||
ld a, 1
|
||||
call BattlePartyAttr
|
||||
|
@@ -27,7 +27,6 @@ BattleCommand_TripleKick:
|
||||
ret
|
||||
|
||||
|
||||
|
||||
BattleCommand_KickCounter:
|
||||
; kickcounter
|
||||
|
||||
|
Reference in New Issue
Block a user