mirror of https://github.com/zeldaret/tmc.git
26 lines
625 B
PHP
26 lines
625 B
PHP
@ Sanctuary NPC4E Prevent link from leaving after fusing final sword
|
|
SCRIPT_START script_Npc4EPreventPlayerLeaving
|
|
BeginBlock
|
|
DoPostScriptAction 0x0008
|
|
script_08013B1E:
|
|
EndBlock
|
|
BeginBlock
|
|
CallWithArg sub_0807F6B4, 0x000001c8
|
|
JumpIfNot script_08013B1E
|
|
CheckInventory1 0x0006
|
|
JumpIfNot script_08013B1E
|
|
CheckLocalFlag 0x0078
|
|
JumpIf script_08013B1E
|
|
EndBlock
|
|
SetPlayerIdle
|
|
Call WaitForPlayerNormal
|
|
Call sub_0807DF28
|
|
EzloMessage 0x1507
|
|
WaitUntilTextboxCloses
|
|
StartPlayerScript script_PlayerSanctuary
|
|
WaitForSyncFlagAndClear 0x00000001
|
|
Call sub_0807DF50
|
|
EnablePlayerControl
|
|
Jump script_08013B1E
|
|
.2byte 0x0000
|