summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-07-16 20:12:12 -0400
committerGriffinR <griffin.g.richards@gmail.com>2020-07-18 18:10:15 -0400
commitaba42513d3a33cec1d8e6cd199b07317b2eece87 (patch)
treec2b84688631f2b659f5fcf1a3f19b61c7e63f144 /data
parent0c4f3b269ecc69ccd30f5529f120c9150d7798e8 (diff)
Clean up some battle scr cmd data
Diffstat (limited to 'data')
-rw-r--r--data/battle_scripts_1.s28
1 files changed, 14 insertions, 14 deletions
diff --git a/data/battle_scripts_1.s b/data/battle_scripts_1.s
index f2f82ee50..3db9f28ff 100644
--- a/data/battle_scripts_1.s
+++ b/data/battle_scripts_1.s
@@ -3153,8 +3153,8 @@ BattleScript_PursuitDmgOnSwitchOut::
waitmessage 0x40
tryfaintmon BS_TARGET, FALSE, NULL
moveendfromto MOVEEND_ON_DAMAGE_ABILITIES, MOVEEND_CHOICE_MOVE
- various4 BS_TARGET
- jumpifbyte CMP_EQUAL, gBattleCommunication, 0x0, BattleScript_PursuitDmgOnSwitchOutRet
+ getbattlerfainted BS_TARGET
+ jumpifbyte CMP_EQUAL, gBattleCommunication, FALSE, BattleScript_PursuitDmgOnSwitchOutRet
setbyte sGIVEEXP_STATE, 0x0
getexp BS_TARGET
BattleScript_PursuitDmgOnSwitchOutRet:
@@ -4442,18 +4442,18 @@ BattleScript_FlushMessageBox::
printstring STRINGID_EMPTYSTRING3
return
-BattleScript_82DB881::
- setbyte gBattleCommunication + 1, 0x0
-BattleScript_82DB887::
- various8 BS_ATTACKER
- jumpifbyte CMP_NOT_EQUAL, gBattleCommunication, 0x1, BattleScript_82DB89D
- printfromtable gStringIds_85CCF0A
- waitmessage 0x40
-BattleScript_82DB89D::
- addbyte gBattleCommunication + 1, 0x1
- jumpifbytenotequal gBattleCommunication + 1, gBattlersCount, BattleScript_82DB887
- setbyte gBattleCommunication, 0x0
- setbyte gBattleCommunication + 1, 0x0
+BattleScript_PalacePrintFlavorText::
+ setbyte gBattleCommunication + 1, 0
+BattleScript_PalaceTryBattlerFlavorText::
+ palaceflavortext BS_ATTACKER @ BS_ATTACKER here overwritten by gBattleCommunication + 1
+ jumpifbyte CMP_NOT_EQUAL, gBattleCommunication, TRUE, BattleScript_PalaceEndFlavorText
+ printfromtable gBattlePalaceFlavorTextTable
+ waitmessage 0x40
+BattleScript_PalaceEndFlavorText::
+ addbyte gBattleCommunication + 1, 1
+ jumpifbytenotequal gBattleCommunication + 1, gBattlersCount, BattleScript_PalaceTryBattlerFlavorText
+ setbyte gBattleCommunication, 0
+ setbyte gBattleCommunication + 1, 0
end2
BattleScript_ArenaTurnBeginning::