mirror of https://github.com/zeldaret/tmc.git
				
				
				
			
		
			
				
	
	
		
			63 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			PHP
		
	
	
	
			
		
		
	
	
			63 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			PHP
		
	
	
	
| @ DHC King Daltus stone
 | |
| SCRIPT_START script_KingDaltusStone
 | |
| 	BeginBlock
 | |
| 	SetAnimationState 0x0004
 | |
| 	DoPostScriptAction 0x000a
 | |
| 	CheckLocalFlag LV6_1d_KEYGET
 | |
| 	JumpIf script_0800E3E8
 | |
| 	CheckLocalFlag LV6_39_KING
 | |
| 	JumpIf script_0800E3BE
 | |
| 	SetAnimation 0x000c
 | |
| 	CallWithArg sub_0807F8E8, 0x00000000
 | |
| 	EndBlock
 | |
| script_0800E37A:
 | |
| 	CheckRoomFlag 0x0000
 | |
| 	JumpIfNot script_0800E37A
 | |
| 	SetPlayerIdle
 | |
| 	Wait 0x001e
 | |
| 	DoPostScriptAction 0x0010
 | |
| 	PlaySound SFX_1C9
 | |
| 	SetAnimation 0x000d
 | |
| 	Wait 0x003c
 | |
| 	PlaySound SFX_1CA
 | |
| 	DoPostScriptAction 0x0010
 | |
| 	Wait 0x001e
 | |
| 	PlaySound SFX_SECRET
 | |
| 	Wait 0x0078
 | |
| 	DoPostScriptAction 0x0004
 | |
| 	Wait 0x001e
 | |
| 	DoPostScriptAction 0x0000
 | |
| 	FacePlayer
 | |
| 	SetLocalFlag LV6_39_KING
 | |
| script_0800E3BE:
 | |
| 	DoPostScriptAction 0x0000
 | |
| 	_0807E9D4
 | |
| 	EnablePlayerControl
 | |
| 	EndBlock
 | |
| script_0800E3C8:
 | |
| 	CheckEntityInteractType
 | |
| 	JumpIfNot script_0800E3C8
 | |
| 	SetPlayerIdle
 | |
| 	FacePlayer
 | |
| 	MessageNoOverlap TEXT_BREAK_VAATI_CURSE, 0x0c
 | |
| 	WaitUntilTextboxCloses
 | |
| 	Wait 0x000f
 | |
| 	GivePlayerItem ITEM_SMALL_KEY
 | |
| 	WaitPlayerGetItem
 | |
| 	SetLocalFlag LV6_1d_KEYGET
 | |
| 	EnablePlayerControl
 | |
| script_0800E3E8:
 | |
| 	_0807E9D4
 | |
| 	EnablePlayerControl
 | |
| 	EndBlock
 | |
| script_0800E3EE:
 | |
| 	CheckEntityInteractType
 | |
| 	JumpIfNot script_0800E3EE
 | |
| 	SetPlayerIdle
 | |
| 	FacePlayer
 | |
| 	MessageNoOverlap TEXT_BREAK_VAATI_CURSE, 0x0d
 | |
| 	WaitUntilTextboxCloses
 | |
| 	Wait 0x000f
 | |
| 	EnablePlayerControl
 | |
| 	Jump script_0800E3EE
 |