pokeheartgold/files/battledata/script/subscript/subscript_0205_HeldItemCureConfusion.s
2024-03-07 09:23:13 -05:00

15 lines
472 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:
PlayBattleAnimation BATTLER_CATEGORY_MSG_TEMP, BATTLE_ANIMATION_HELD_ITEM
Wait
// {0}s {1} snapped it out of confusion!
PrintMessage msg_0197_00890, TAG_NICKNAME_ITEM, BATTLER_CATEGORY_MSG_TEMP, BATTLER_CATEGORY_MSG_TEMP
Wait
WaitButtonABTime 30
UpdateMonData OPCODE_FLAG_OFF, BATTLER_CATEGORY_MSG_TEMP, BMON_DATA_STATUS2, STATUS2_CONFUSION
Call BATTLE_SUBSCRIPT_PLUCK_CHECK
End