mirror of https://github.com/zeldaret/tmc.git
				
				
				
			
		
			
				
	
	
		
			56 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			PHP
		
	
	
	
			
		
		
	
	
			56 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			PHP
		
	
	
	
| @ Intro Ceremony Chest carrying Guard
 | |
| @ and guard bottom left?
 | |
| SCRIPT_START script_GuardCarryingChest
 | |
| 	BeginBlock
 | |
| 	DoPostScriptAction 0x0008
 | |
| 	SetEntitySpeed 0x0100
 | |
| 	Call sub_08095244
 | |
| 	Call DeleteHitbox
 | |
| 	EndBlock
 | |
| 	WaitForSyncFlag 0x0002a800
 | |
| 	DoPostScriptAction 0x0007
 | |
| 	SetAnimation 0x0006
 | |
| 	WalkSouth 0x0010
 | |
| 	Wait 0x003c
 | |
| 	WalkSouth 0x0010
 | |
| 	Wait 0x003c
 | |
| 	WalkSouth 0x0010
 | |
| 	SetAnimation 0x0002
 | |
| 	Call sub_08064050
 | |
| 	JumpTable script_08011312, script_GuardBottomRight, script_GuardTopLeft, script_GuardTopRight
 | |
| @ Guard bottom left:
 | |
| script_08011312:
 | |
| 	ClearSyncFlag 0x00000800
 | |
| 	SetSyncFlag 0x00001000
 | |
| 	WaitForSyncFlagAndClear 0x00000800
 | |
| 	SetAnimation 0x0007
 | |
| 	SetAnimationState 0x0006
 | |
| 	WalkWest 0x0010
 | |
| 	SetAnimationState 0x0004
 | |
| 	SetAnimation 0x0002
 | |
| 	SetSyncFlag 0x00001000
 | |
| 	WaitForSyncFlagAndClear 0x00000800
 | |
| 	DoPostScriptAction 0x0004
 | |
| 	Wait 0x003c
 | |
| 	SetAnimation 0x0012
 | |
| 	PlaySound SFX_EM_MOBLIN_SPEAR
 | |
| 	Wait 0x003c
 | |
| 	SetAnimation 0x0014
 | |
| 	SetEntitySpeed 0x0100
 | |
| 	MoveTo 0x01f0, 0x0098
 | |
| 	MoveTo 0x01f0, 0x00c8
 | |
| 	SetAnimation 0x0013
 | |
| 	SetSyncFlag 0x00001000
 | |
| 	WaitForSyncFlagAndClear 0x00000800
 | |
| 	DoPostScriptAction 0x0010
 | |
| 	Wait 0x000a
 | |
| 	DoPostScriptAction 0x0010
 | |
| 	Call sub_0807F3C8
 | |
| 	SetAnimation 0x0014
 | |
| 	SetEntitySpeed 0x0400
 | |
| 	SetEntityDirection 0x001e
 | |
| 	WalkForward 0x003c
 | |
| 	SetSyncFlag 0x00001000
 | |
| 	DoPostScriptAction 0x0006
 | |
| SCRIPT_END
 |