summaryrefslogtreecommitdiff
path: root/data/scripts/dhc/script_Npc4ECastleCollapsing.inc
blob: 64d8aa0ad15db89864b5926381b60316477fc0b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@ DHC NPC4E Castle collapsing
SCRIPT_START script_Npc4ECastleCollapsing
	Wait 0x003c
	PlayBgm BGM_CASTLE_COLLAPSE
	StartPlayerScript script_PlayerStonesFall
	WaitForSyncFlagAndClear 0x00000006
	EzloMessage TEXT_VAATI2, 0x46
	WaitUntilTextboxCloses
	SetSyncFlag 0x00000001
	StartPlayerScript script_PlayerCastleCollapsing
	CameraTargetPlayer
	SetFadeTime 0x0004
	_0807E80C 0x00000000
	WaitForFadeFinish
	CallWithArg DeleteRepeatedSoundManager, 0x00000001
	_0807F0C8 0x0000, 0x0000
	SetLocalFlag 0x0079
	CallWithArg NPC4E_DoScreenTransition, 2
	Call EnablePauseMenu
	EnablePlayerControl
	DoPostScriptAction 0x0006
SCRIPT_END