mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-07-04 00:51:34 -05:00
23 lines
531 B
ArmAsm
23 lines
531 B
ArmAsm
#include "macros/btlcmd.inc"
|
||
|
||
.data
|
||
|
||
_000:
|
||
CompareVarToValue OPCODE_EQU, BTLVAR_CURRENT_MOVE, MOVE_FEINT, _015
|
||
IfTurnFlag BTLSCR_DEFENDER, TURN_FLAG_PROTECTING, 0, _022
|
||
// It broke through {0}’s protection!
|
||
PrintMessage pl_msg_00000368_01243, TAG_NICKNAME, BTLSCR_DEFENDER
|
||
GoTo _019
|
||
|
||
_015:
|
||
// {0} fell for the feint!
|
||
PrintMessage pl_msg_00000368_01048, TAG_NICKNAME, BTLSCR_DEFENDER
|
||
|
||
_019:
|
||
Wait
|
||
WaitButtonABTime 30
|
||
|
||
_022:
|
||
SetTurnFlag BTLSCR_DEFENDER, TURN_FLAG_PROTECTING, 0
|
||
End
|