mirror of https://github.com/zeldaret/tmc.git
				
				
				
			
		
			
				
	
	
		
			92 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			PHP
		
	
	
	
			
		
		
	
	
			92 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			PHP
		
	
	
	
| @ DHC guard stone 2
 | |
| SCRIPT_START script_GuardStone2
 | |
| 	BeginBlock
 | |
| 	SetEntitySpeed 0x0100
 | |
| 	SetAnimationState 0x0004
 | |
| 	DoPostScriptAction 0x000a
 | |
| 	CheckLocalFlag 0x0073
 | |
| 	JumpIfNot script_0800E232
 | |
| 	_0807E9D4
 | |
| 	SetEntityPositionRelative 0x0070, 0x0168
 | |
| 	SetAnimationState 0x0002
 | |
| 	CallWithArg sub_0807F3D8, 0x00000000
 | |
| 	EndBlock
 | |
| 	Jump script_0800E32E
 | |
| script_0800E232:
 | |
| 	CheckLocalFlag 0x0095
 | |
| 	JumpIf script_0800E29A
 | |
| 	SetAnimation 0x0010
 | |
| 	CallWithArg sub_0807F8E8, 0x00000002
 | |
| 	EndBlock
 | |
| script_0800E24A:
 | |
| 	CheckRoomFlag 0x0002
 | |
| 	JumpIfNot script_0800E24A
 | |
| 	SetPlayerIdle
 | |
| 	Wait 0x001e
 | |
| 	DoPostScriptAction 0x0010
 | |
| 	PlaySound SFX_1C9
 | |
| 	SetAnimation 0x0015
 | |
| 	Wait 0x003c
 | |
| 	PlaySound SFX_1CA
 | |
| 	DoPostScriptAction 0x0010
 | |
| 	Wait 0x001e
 | |
| 	PlaySound SFX_SECRET
 | |
| 	Wait 0x0078
 | |
| 	DoPostScriptAction 0x0004
 | |
| 	Wait 0x001e
 | |
| 	DoPostScriptAction 0x0000
 | |
| 	FaceAwayFromPlayer
 | |
| 	FacePlayer
 | |
| 	CallWithArg sub_0807F3D8, 0x00000000
 | |
| 	SetLocalFlag 0x0095
 | |
| script_0800E29A:
 | |
| 	DoPostScriptAction 0x0000
 | |
| 	CallWithArg sub_0807F3D8, 0x00000000
 | |
| 	_0807E9D4
 | |
| 	EnablePlayerControl
 | |
| 	EndBlock
 | |
| script_0800E2AE:
 | |
| 	EndBlock
 | |
| 	BeginBlock
 | |
| 	CheckEntityInteractType
 | |
| 	JumpIf script_0800E312
 | |
| 	CheckLocalFlag 0x0093
 | |
| 	JumpIfNot script_0800E2AE
 | |
| 	CheckLocalFlag 0x0094
 | |
| 	JumpIfNot script_0800E2AE
 | |
| 	CheckLocalFlag 0x0095
 | |
| 	JumpIfNot script_0800E2AE
 | |
| 	_0807E9DC
 | |
| 	SetLocalFlag 0x0073
 | |
| 	EndBlock
 | |
| 	SetAnimationState 0x0000
 | |
| 	CallWithArg sub_0807F3D8, 0x00000004
 | |
| 	MoveTo 0x0088, 0x0168
 | |
| 	SetAnimationState 0x0006
 | |
| 	CallWithArg sub_0807F3D8, 0x00000004
 | |
| 	MoveTo 0x0070, 0x0168
 | |
| 	FacePlayer
 | |
| 	CallWithArg sub_0807F3D8, 0x00000000
 | |
| 	_0807E9D4
 | |
| 	Jump script_0800E32E
 | |
| script_0800E312:
 | |
| 	SetPlayerIdle
 | |
| 	FacePlayer
 | |
| 	CallWithArg sub_0807F3D8, 0x00000000
 | |
| 	EndBlock
 | |
| 	MessageNoOverlap TEXT_BREAK_VAATI_CURSE, 0x04
 | |
| 	WaitUntilTextboxCloses
 | |
| 	EnablePlayerControl
 | |
| 	Jump script_0800E2AE
 | |
| script_0800E32E:
 | |
| 	CheckEntityInteractType
 | |
| 	JumpIfNot script_0800E32E
 | |
| 	SetPlayerIdle
 | |
| 	FacePlayer
 | |
| 	CallWithArg sub_0807F3D8, 0x00000000
 | |
| 	MessageNoOverlap TEXT_BREAK_VAATI_CURSE, 0x03
 | |
| 	WaitUntilTextboxCloses
 | |
| 	EnablePlayerControl
 | |
| 	Jump script_0800E32E
 | |
| 	.2byte 0x0000
 |