pokeplatinum/res/battle/scripts/subscripts/subscript_escape_success.s
2024-07-16 12:01:40 -07:00

16 lines
344 B
ArmAsm

#include "macros/btlcmd.inc"
.data
_000:
PlaySound BTLSCR_ATTACKER, 1791
// Got away safely!
PrintMessage pl_msg_00000368_00781, TAG_NONE
Wait
WaitButtonABTime 30
FadeOutBattle
Wait
UpdateVar OPCODE_FLAG_ON, BTLVAR_RESULT_MASK, BATTLE_RESULT_WIN|BATTLE_RESULT_TRY_FLEE
SetLinkBattleResult
End