pokeplatinum/res/battle/scripts/subscripts/subscript_continue_perish_song.s
2024-07-16 12:01:40 -07:00

15 lines
384 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:
// {0}s perish count fell to {1}!
PrintMessage pl_msg_00000368_00439, TAG_NICKNAME_NUM, BTLSCR_MSG_TEMP, BTLSCR_MSG_TEMP
Wait
WaitButtonABTime 30
CompareMonDataToValue OPCODE_FLAG_SET, BTLSCR_MSG_TEMP, BATTLEMON_MOVE_EFFECTS_MASK, MOVE_EFFECT_PERISH_SONG, _015
Call BATTLE_SUBSCRIPT_UPDATE_HP
_015:
End