tmc/data/scripts/cutscene/introAssembly/script_Npc4EIntroAssembly.inc

78 lines
1.8 KiB
PHP

@ Intro Assembly NPC4E
SCRIPT_START script_Npc4EIntroAssembly
BeginBlock
SetEntityPositionRelative 0x0088, 0x0078
EndBlock
script_08008E12:
CheckPlayerInRegion 0x00d8, 0x0098, 0x4020
JumpIfNot script_08008E12
_0807E864
Call sub_0807F9A4
Call sub_0807DF28
_0807F0B4 0x0001
CameraTargetEntity
WaitForPlayerAction0x17
Wait 0x003c
StartPlayerScript script_PlayerEnters
WaitForSomething2 0x00000020
_0807E5F8 0x00000001
WaitForSomething2 0x00000002
_0807E5F8 0x00000001
WaitForSomething2 0x00000002
Wait 0x003c
_0807E5F8 0x00000080
WaitForSomething2 0x00000100
_0807E5F8 0x00000001
WaitForSomething2 0x00000002
Wait 0x000f
_0807E5F8 0x00000080
WaitForSomething2 0x00000100
_0807E5F8 0x00000004
WaitForSomething2 0x00000008
MessageFromTargetPos 0x1053, 0x000e
WaitUntilTextboxCloses
_0807E5F8 0x00000080
WaitForSomething2 0x00000100
_0807E5F8 0x00000080
WaitForSomething2 0x00000100
_0807E5F8 0x00000004
WaitForSomething2 0x00000008
_0807E5F8 0x00000001
WaitForSomething2 0x00000002
_0807E5F8 0x00000080
WaitForSomething2 0x00000100
_0807E5F8 0x00000040
WaitForSomething2 0x00000020
_0807E5F8 0x00000001
WaitForSomething2 0x00000002
_0807F034 0x0035
WaitPlayerGetItem
StartPlayerScript script_PlayerGetSword
WaitForSomething2 0x00000020
_0807E8E4_0
_0807E5F8 0x00000080
WaitForSomething2 0x00000100
_0807E5F8 0x00000010
Wait 0x0078
_0807E5F8 0x00000080
WaitForSomething2 0x00000100
_0807E8E4_1
_0807E5F8 0x00000001
WaitForSomething2 0x00000002
_0807F034 0x0047
WaitPlayerGetItem
SetIntVariable 0x00000003
Call sub_0807F420
_0807E8E4_0
_0807E5F8 0x00000080
WaitForSomething2 0x00000100
_0807F0B4 0x0004
CameraTargetPlayer
SetGlobalFlag 0x0015
Call sub_0806DCC0
Call sub_0807DF50
_0807E878
DoPostScriptAction 0x0006
SCRIPT_END
.2byte 0x0000