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

16 lines
392 B
ArmAsm
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include "macros/btlcmd.inc"
.data
_000:
PrintAttackMessage
Wait
WaitButtonABTime 15
// {0}s {1} was bounced back by Magic Coat!
PrintMessage pl_msg_00000368_00574, TAG_NICKNAME_MOVE, BTLSCR_ATTACKER, BTLSCR_ATTACKER
Wait
WaitButtonABTime 30
MagicCoat
UpdateVar OPCODE_FLAG_OFF, BTLVAR_BATTLE_CTX_STATUS, SYSCTL_PLAYED_MOVE_ANIMATION
End