summaryrefslogtreecommitdiff
path: root/data/battle_scripts_2.s
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-04-02 02:27:12 -0400
committerGriffinR <griffin.g.richards@gmail.com>2021-04-03 11:49:06 -0400
commit9ea9ffde09c9f3ca1772045935b3b0bd858232a0 (patch)
treed4af51f0ee17fcc2bd51cc19fd62f5524a526ef9 /data/battle_scripts_2.s
parenta836bd1085c64f34d58584cb0e510d9af72a586c (diff)
Add remaining multistring chooser constants
Diffstat (limited to 'data/battle_scripts_2.s')
-rw-r--r--data/battle_scripts_2.s52
1 files changed, 26 insertions, 26 deletions
diff --git a/data/battle_scripts_2.s b/data/battle_scripts_2.s
index caa6cddac..4b8ca0d87 100644
--- a/data/battle_scripts_2.s
+++ b/data/battle_scripts_2.s
@@ -69,16 +69,16 @@ BattleScript_PrintCaughtMonInfo::
trysetcaughtmondexflags BattleScript_TryNicknameCaughtMon
printstring STRINGID_PKMNDATAADDEDTODEX
waitstate
- setbyte gBattleCommunication, 0x0
+ setbyte gBattleCommunication, 0
displaydexinfo
BattleScript_TryNicknameCaughtMon::
printstring STRINGID_GIVENICKNAMECAPTURED
waitstate
- setbyte gBattleCommunication, 0x0
+ setbyte gBattleCommunication, 0
trygivecaughtmonnick BattleScript_GiveCaughtMonEnd
givecaughtmon
printfromtable gCaughtMonStringIds
- waitmessage 0x40
+ waitmessage B_WAIT_TIME_LONG
goto BattleScript_SuccessBallThrowEnd
BattleScript_GiveCaughtMonEnd::
givecaughtmon
@@ -93,21 +93,21 @@ BattleScript_WallyBallThrow::
BattleScript_ShakeBallThrow::
printfromtable gBallEscapeStringIds
- waitmessage 0x40
+ waitmessage B_WAIT_TIME_LONG
jumpifword CMP_NO_COMMON_BITS, gBattleTypeFlags, BATTLE_TYPE_SAFARI, BattleScript_ShakeBallThrowEnd
jumpifbyte CMP_NOT_EQUAL, gNumSafariBalls, 0x0, BattleScript_ShakeBallThrowEnd
printstring STRINGID_OUTOFSAFARIBALLS
- waitmessage 0x40
+ waitmessage B_WAIT_TIME_LONG
setbyte gBattleOutcome, B_OUTCOME_NO_SAFARI_BALLS
BattleScript_ShakeBallThrowEnd::
finishaction
BattleScript_TrainerBallBlock::
- waitmessage 0x40
+ waitmessage B_WAIT_TIME_LONG
printstring STRINGID_TRAINERBLOCKEDBALL
- waitmessage 0x40
+ waitmessage B_WAIT_TIME_LONG
printstring STRINGID_DONTBEATHIEF
- waitmessage 0x40
+ waitmessage B_WAIT_TIME_LONG
finishaction
BattleScript_PlayerUsesItem::
@@ -117,16 +117,16 @@ BattleScript_PlayerUsesItem::
BattleScript_OpponentUsesHealItem::
printstring STRINGID_EMPTYSTRING3
- pause 0x30
+ pause B_WAIT_TIME_MED
playse SE_USE_ITEM
printstring STRINGID_TRAINER1USEDITEM
- waitmessage 0x40
+ waitmessage B_WAIT_TIME_LONG
useitemonopponent
orword gHitMarker, HITMARKER_IGNORE_SUBSTITUTE
healthbarupdate BS_ATTACKER
datahpupdate BS_ATTACKER
printstring STRINGID_PKMNSITEMRESTOREDHEALTH
- waitmessage 0x40
+ waitmessage B_WAIT_TIME_LONG
updatestatusicon BS_ATTACKER
setbyte sMOVEEND_STATE, 0xF
moveend 0x1, 0x0
@@ -134,13 +134,13 @@ BattleScript_OpponentUsesHealItem::
BattleScript_OpponentUsesStatusCureItem::
printstring STRINGID_EMPTYSTRING3
- pause 0x30
+ pause B_WAIT_TIME_MED
playse SE_USE_ITEM
printstring STRINGID_TRAINER1USEDITEM
- waitmessage 0x40
+ waitmessage B_WAIT_TIME_LONG
useitemonopponent
printfromtable gTrainerItemCuredStatusStringIds
- waitmessage 0x40
+ waitmessage B_WAIT_TIME_LONG
updatestatusicon BS_ATTACKER
setbyte sMOVEEND_STATE, 0xF
moveend 0x1, 0x0
@@ -148,26 +148,26 @@ BattleScript_OpponentUsesStatusCureItem::
BattleScript_OpponentUsesXItem::
printstring STRINGID_EMPTYSTRING3
- pause 0x30
+ pause B_WAIT_TIME_MED
playse SE_USE_ITEM
printstring STRINGID_TRAINER1USEDITEM
- waitmessage 0x40
+ waitmessage B_WAIT_TIME_LONG
useitemonopponent
printfromtable gStatUpStringIds
- waitmessage 0x40
+ waitmessage B_WAIT_TIME_LONG
setbyte sMOVEEND_STATE, 0xF
moveend 0x1, 0x0
finishaction
BattleScript_OpponentUsesGuardSpecs::
printstring STRINGID_EMPTYSTRING3
- pause 0x30
+ pause B_WAIT_TIME_MED
playse SE_USE_ITEM
printstring STRINGID_TRAINER1USEDITEM
- waitmessage 0x40
+ waitmessage B_WAIT_TIME_LONG
useitemonopponent
printfromtable gMistUsedStringIds
- waitmessage 0x40
+ waitmessage B_WAIT_TIME_LONG
setbyte sMOVEEND_STATE, 0xF
moveend 0x1, 0x0
finishaction
@@ -179,29 +179,29 @@ BattleScript_RunByUsingItem::
BattleScript_ActionWatchesCarefully:
printstring STRINGID_PKMNWATCHINGCAREFULLY
- waitmessage 0x40
+ waitmessage B_WAIT_TIME_LONG
end2
BattleScript_ActionGetNear:
printfromtable gSafariGetNearStringIds
- waitmessage 0x40
+ waitmessage B_WAIT_TIME_LONG
end2
BattleScript_ActionThrowPokeblock:
printstring STRINGID_THREWPOKEBLOCKATPKMN
- waitmessage 0x40
+ waitmessage B_WAIT_TIME_LONG
playanimation BS_ATTACKER, B_ANIM_POKEBLOCK_THROW, NULL
printfromtable gSafariPokeblockResultStringIds
- waitmessage 0x40
+ waitmessage B_WAIT_TIME_LONG
end2
BattleScript_ActionWallyThrow:
printstring STRINGID_RETURNMON
- waitmessage 0x40
+ waitmessage B_WAIT_TIME_LONG
returnatktoball
waitstate
trainerslidein BS_TARGET
waitstate
printstring STRINGID_YOUTHROWABALLNOWRIGHT
- waitmessage 0x40
+ waitmessage B_WAIT_TIME_LONG
end2