mirror of
https://github.com/pret/pokeheartgold.git
synced 2026-05-19 18:28:06 -05:00
18 lines
575 B
ArmAsm
18 lines
575 B
ArmAsm
.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
|