blob: 5bd9c95291c7f7ecfc35680e33f2632dd05dee72 (
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
36
37
38
39
40
41
42
|
@ Librari
SCRIPT_START script_Librari
BeginBlock
DoPostScriptAction 0x000a
SetAnimationState 0x0004
SetAnimation 0x0000
EndBlock
script_0800E974:
CheckEntityInteractType
JumpIfNot script_0800E974
SetPlayerIdle
SetAnimation 0x0008
Call WaitForAnimDone
SetAnimation 0x0009
Call sub_0806B260
JumpIfNot script_0800E9E4
WaitUntilTextboxCloses
DoPostScriptAction 0x000b
StartPlayerScript script_PlayerStepOnTrap
WaitForSyncFlagAndClear 0x00000001
DoPostScriptAction 0x000a
MessageFromTarget TEXT_TOWN_MINISH1, 0x24
WaitUntilTextboxCloses
SetAnimation 0x000a
Wait 0x0014
MessageFromTarget TEXT_TOWN_MINISH1, 0x25
WaitUntilTextboxCloses
SetAnimation 0x0000
StartPlayerScript script_PlayerActivatedTrapCard
WaitForSyncFlagAndClear 0x00000001
SetLocalFlag MIZUKAKI_STAIR
PlaySound SFX_SECRET
Wait 0x00f0
MessageFromTarget TEXT_TOWN_MINISH1, 0x26
WaitUntilTextboxCloses
SetLocalFlag MIZUKAKI_STAIR_WARP_OK
script_0800E9E4:
WaitUntilTextboxCloses
Wait 0x000f
EnablePlayerControl
SetAnimation 0x0000
Jump script_0800E974
|