Files
tmc/data/scripts/mtCrenel/script_PlayerGetWhiteSword.inc
T
octorock 4d66b468f8 Merge playerUtils
Merge all player utils files, split asm into functions
and decompile a bunch of functions.
2022-03-02 22:33:12 +01:00

13 lines
351 B
SQL

@ Mines Player get white sword
SCRIPT_START script_PlayerGetWhiteSword
SetInventoryValue 0x0002, 0x0001
CallWithArg PutItemAnySlot, 0x00000002
PlaySound SFX_109
CallWithArg SetPlayerAnimation2, 0x000001e2
Call WaitForPlayerFrameHiBit
MessageNoOverlap 0x0502
WaitUntilTextboxCloses
SetSyncFlag 0x00000008
Call SetPlayerActionNormal
SCRIPT_END