tmc/data/scripts/cutscene/introCeremony/script_Npc4EMonsters.inc

57 lines
1.5 KiB
PHP

@ Intro Ceremony NPC4E monsters
SCRIPT_START script_Npc4EMonsters
Wait 0x001e
PlaySound SFX_125
CallWithArg sub_0807FB28, 0x00000003
Wait 0x003c
PlaySound SFX_125
CallWithArg sub_0807FB28, 0x00000003
Wait 0x0004
PlaySound SFX_125
CallWithArg sub_0807FB28, 0x00000003
Wait 0x001e
PlaySound SFX_12C
SetSyncFlag 0x00800000
WaitForSyncFlagAndClear 0x01000000
SetFadeTime 0x0004
SetFade7
WaitForFadeFinish
Wait 0x003c
PlaySound SFX_SPIRITS_RELEASE
PlaySound SFX_1C2
LoadRoomEntityList gUnk_080F0770
SetSyncFlag 0x00000010
WaitForSyncFlagAndClear 0x00000020
SetFadeTime 0x0002
SetFade6
WaitForFadeFinish
CallWithArg DeleteRepeatedSoundManager, 0x00000002
_0807F0C8 0x0000, 0x0000
Call NPC4E_SaveEquippedItems
Call SetPlayerActionNormal
CallWithArg EquipItem, ITEM_SHIELD
CallWithArg SetPlayerMacro, gUnk_080049F6
SetScrollSpeed 1
SetEntityPositionRelative 0x01f8, 0x0068
SetSyncFlag 0x00000004
Wait 0x001e
SetSyncFlag 0x00000040
WaitForSyncFlagAndClear 0x00000008
WaitForSyncFlagAndClear 0x00000080
PlaySound SFX_1C3
SetSyncFlag 0x20000000
Wait 0x0078
CallWithArg SetPlayerMacro, 0x00000000
Call NPC4E_RestoreEquippedItems
SetSyncFlag 0x40000000
SetSyncFlag 0x00000010
SetSyncFlag 0x00000100
WaitForSyncFlagAndClear 0x00000020
WaitForSyncFlagAndClear 0x00000200
MessageFromTargetPos TEXT_PROLOGUE, 0x45, 0x000c
WaitUntilTextboxCloses
MessageFromTargetPos TEXT_PROLOGUE, 0x46, 0x0000
WaitUntilTextboxCloses
CallWithArg CreateRepeatedSoundManager, 0x00000002
_0807F0C8 0xffff, 0x0000