mirror of https://github.com/zeldaret/tmc.git
				
				
				
			
		
			
				
	
	
		
			30 lines
		
	
	
		
			641 B
		
	
	
	
		
			PHP
		
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			641 B
		
	
	
	
		
			PHP
		
	
	
	
@ Hyrule Castle OBJECT_69 Sanctuary Entrance
 | 
						|
SCRIPT_START script_Object69SanctuaryEntrance
 | 
						|
	CheckPlayerInRegion 0x0088, 0x0048, 0x3030
 | 
						|
	JumpIfNot script_Object69SanctuaryEntrance
 | 
						|
	SetPlayerIdle
 | 
						|
	Call WaitForPlayerNormal
 | 
						|
	Call sub_0807DF28
 | 
						|
	StartPlayerScript script_PlayerAtSanctuaryEntrance
 | 
						|
	WaitForSyncFlagAndClear 0x00000001
 | 
						|
	EzloMessage 0x132d
 | 
						|
	WaitUntilTextboxCloses
 | 
						|
.ifdef JP
 | 
						|
	SetLocalFlag 0x0015
 | 
						|
.else
 | 
						|
.ifdef EU
 | 
						|
	SetLocalFlag 0x0015
 | 
						|
.else
 | 
						|
.ifdef DEMO_JP
 | 
						|
	SetLocalFlag 0x0015 @ TODO deduplicate
 | 
						|
.else
 | 
						|
	SetLocalFlag 0x0014
 | 
						|
.endif
 | 
						|
.endif
 | 
						|
.endif
 | 
						|
	Call sub_0807DF50
 | 
						|
	EnablePlayerControl
 | 
						|
	DoPostScriptAction 0x0006
 | 
						|
SCRIPT_END
 | 
						|
	.2byte 0x0000
 |