tmc/data/scripts/mtCrenel/script_PlayerGetWhiteSword.inc

13 lines
363 B
SQL

@ Mines Player get white sword
SCRIPT_START script_PlayerGetWhiteSword
SetInventoryValue 0x0002, 0x0001
CallWithArg PutItemAnySlot, 0x00000002
PlaySound SFX_ITEM_GET
CallWithArg SetPlayerAnimation2, 0x000001e2
Call WaitForPlayerAnim
MessageNoOverlap TEXT_ITEM_GET, 0x02
WaitUntilTextboxCloses
SetSyncFlag 0x00000008
Call SetPlayerActionNormal
SCRIPT_END