mirror of https://github.com/zeldaret/tmc.git
60 lines
1.3 KiB
PHP
60 lines
1.3 KiB
PHP
@ Farore moved in
|
|
SCRIPT_START script_FaroreMovedIn
|
|
BeginBlock
|
|
Call sub_08064A28
|
|
SetAnimationState 0x0004
|
|
DoPostScriptAction 0x0001
|
|
DoPostScriptAction 0x000a
|
|
EndBlock
|
|
script_08012152:
|
|
CheckEntityInteractType
|
|
JumpIfNot script_08012152
|
|
SetPlayerIdle
|
|
FacePlayer
|
|
DoPostScriptAction 0x0000
|
|
CheckLocalFlag MHOUSE_FARORE_TALK
|
|
JumpIf script_08012176
|
|
MessageNoOverlap TEXT_GORMAN_ORACLES, 0x1c
|
|
WaitUntilTextboxCloses
|
|
SetLocalFlag MHOUSE_FARORE_TALK
|
|
Jump script_080121B6
|
|
script_08012176:
|
|
CheckBottleContaining BOTTLE_CHARM_FARORE
|
|
JumpIfNot script_08012188
|
|
MessageNoOverlap TEXT_GORMAN_ORACLES, 0x1d
|
|
WaitUntilTextboxCloses
|
|
Jump script_080121B6
|
|
script_08012188:
|
|
MessageNoOverlap TEXT_GORMAN_ORACLES, 0x1e
|
|
WaitUntilTextboxCloses
|
|
CheckTextboxResult
|
|
JumpIfNot script_080121B6
|
|
CheckBottleContaining ITEM_BOTTLE_EMPTY
|
|
JumpIfNot script_080121B2
|
|
MessageNoOverlap TEXT_GORMAN_ORACLES, 0x1f
|
|
WaitUntilTextboxCloses
|
|
GivePlayerItem BOTTLE_CHARM_FARORE
|
|
WaitPlayerGetItem
|
|
.ifdef USA
|
|
Call sub_0807FC24
|
|
.else
|
|
.ifdef DEMO_USA
|
|
Call sub_0807FC24
|
|
.else
|
|
.ifdef DEMO_JP
|
|
Call sub_0807FC24
|
|
.endif
|
|
.endif
|
|
.endif
|
|
Jump script_080121B6
|
|
script_080121B2:
|
|
MessageNoOverlap TEXT_GORMAN_ORACLES, 0x21
|
|
script_080121B6:
|
|
WaitUntilTextboxCloses
|
|
EnablePlayerControl
|
|
SetAnimationState 0x0004
|
|
DoPostScriptAction 0x0001
|
|
Jump script_08012152
|
|
.align 2, 0
|
|
|