mirror of https://github.com/zeldaret/tmc.git
50 lines
1.1 KiB
PHP
50 lines
1.1 KiB
PHP
@ All Windcrests
|
|
SCRIPT_START script_Windcrest
|
|
BeginBlock
|
|
Call sub_0807F934
|
|
Call sub_080A2124
|
|
DoPostScriptAction 0x000a
|
|
DoPostScriptAction 0x0007
|
|
EndBlock
|
|
script_0800B024:
|
|
CheckEntityInteractType
|
|
JumpIfNot script_0800B024
|
|
SetPlayerIdle
|
|
Call DisablePauseMenuAndPutAwayItems
|
|
CheckGlobalFlag WARP_1ST
|
|
JumpIf script_0800B082
|
|
CheckGlobalFlag WARP_MONUMENT
|
|
JumpIf script_0800B064
|
|
MessageNoOverlap TEXT_TINGLE, 0x32
|
|
WaitUntilTextboxCloses
|
|
DoPostScriptAction 0x0008
|
|
Call Windcrest_Unlock
|
|
Wait 0x003c
|
|
EzloMessage TEXT_EZLO, 0x5c
|
|
WaitUntilTextboxCloses
|
|
SetGlobalFlag WARP_MONUMENT
|
|
Jump script_0800B09C
|
|
script_0800B064:
|
|
MessageNoOverlap TEXT_TINGLE, 0x32
|
|
WaitUntilTextboxCloses
|
|
DoPostScriptAction 0x0008
|
|
Call Windcrest_Unlock
|
|
Wait 0x003c
|
|
EzloMessage TEXT_EZLO, 0x5d
|
|
WaitUntilTextboxCloses
|
|
Jump script_0800B09C
|
|
script_0800B082:
|
|
MessageNoOverlap TEXT_TINGLE, 0x32
|
|
WaitUntilTextboxCloses
|
|
DoPostScriptAction 0x0008
|
|
Call Windcrest_Unlock
|
|
Wait 0x003c
|
|
EzloMessage TEXT_EZLO, 0x5e
|
|
WaitUntilTextboxCloses
|
|
script_0800B09C:
|
|
Call EnablePauseMenu
|
|
EnablePlayerControl
|
|
DoPostScriptAction 0x0006
|
|
SCRIPT_END
|
|
.2byte 0x0000
|