pokeheartgold/files/battledata/script/subscript/subscript_0084_Spite.s
Adrienn Tindall 2083be2810 Rename scripts 1
I stopped at yawn bc I'm sleepy
2024-03-07 04:57:08 -05:00

18 lines
575 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:
CompareVarToValue OPCODE_FLAG_SET, BSCRIPT_VAR_MOVE_STATUS_FLAGS, MOVE_STATUS_MISSED|MOVE_STATUS_SEMI_INVULNERABLE, _018
TrySpite _018
Call BATTLE_SUBSCRIPT_ATTACK_MESSAGE_AND_ANIMATION
// It reduced the PP of {0}s {1} by {2}!
PrintMessage msg_0197_00398, TAG_NICKNAME_MOVE_NUMBER, BATTLER_CATEGORY_DEFENDER, BATTLER_CATEGORY_MSG_TEMP, BATTLER_CATEGORY_MSG_TEMP
Wait
WaitButtonABTime 30
End
_018:
UpdateVar OPCODE_FLAG_ON, BSCRIPT_VAR_MOVE_STATUS_FLAGS, MOVE_STATUS_FAILED
End