summaryrefslogtreecommitdiff
path: root/data/scripts/hyruleTown/script_SimonsDoor.inc
blob: c63209c35da6faff138181978a5f7f77d6cc4587 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@ Hyrule Town locked door NPC4E for Simons Simulations
SCRIPT_START script_SimonsDoor
	CheckPlayerInRegion2 0x0808
	JumpIfNot script_SimonsDoor
	SetPlayerIdle
	Call WaitForPlayerNormal
	Call DisablePauseMenuAndPutAwayItems
	StartPlayerScript script_PlayerCannotEnter
	WaitForSyncFlagAndClear 0x00000001
	CheckRoomFlag 0x0001
	JumpIf script_08010994
	EzloMessage TEXT_EZLO, 0x63
	WaitUntilTextboxCloses
script_08010994:
	Call EnablePauseMenu
	EnablePlayerControl
	Jump script_SimonsDoor