summaryrefslogtreecommitdiff
path: root/data/scripts/sanctuary/script_Npc4EFinalSwordRumble.inc
blob: afa05cc53f52b435bfa72161df1e6ab8cb8ceb1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@ Sanctuary NPC4E Rumble after fusing final sword
SCRIPT_START script_Npc4EFinalSwordRumble
	Call CreatePlayerExclamationMark
	Wait 0x003c
.ifdef EU
	SetScrollSpeed 7
	SetEntityPositionRelative 0x00e8, 0x00a8
	CameraTargetEntity
	Wait 0x003c
.endif
	SetSyncFlag 0x00000008
	Wait 0x0078
	CallWithArg DeleteRepeatedSoundManager, 0x00000001
	_0807F0C8 0x0000, 0x0000
	Wait 0x003c
	SetScrollSpeed 4
	SetEntityPositionRelative 0x00e8, 0x0050
	CameraTargetEntity
	Wait 0x003c
	LoadRoomEntityList gUnk_080F55D8
	Wait 0x0078
	SetScrollSpeed 7
	MoveEntityToPlayer
	CameraTargetEntity
	Wait 0x003c
	EzloMessage TEXT_PANEL_TUTORIAL, 0x02
	WaitUntilTextboxCloses
	SetScrollSpeed 4
	CameraTargetPlayer
	SetLocalFlag 0x007c
	Call sub_08053250
	Call EnablePauseMenu
	EnablePlayerControl
	DoPostScriptAction 0x0006
SCRIPT_END