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

23 lines
565 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_EQU, BSCRIPT_VAR_MOVE_NO_CUR, MOVE_FEINT, _015
IfTurnFlag BATTLER_CATEGORY_DEFENDER, TURN_FLAG_PROTECTING, 0, _022
// It broke through {0}s protection!
PrintMessage msg_0197_01243, TAG_NICKNAME, BATTLER_CATEGORY_DEFENDER
GoTo _019
_015:
// {0} fell for the feint!
PrintMessage msg_0197_01048, TAG_NICKNAME, BATTLER_CATEGORY_DEFENDER
_019:
Wait
WaitButtonABTime 30
_022:
SetTurnFlag BATTLER_CATEGORY_DEFENDER, TURN_FLAG_PROTECTING, 0
End