SCRIPT_START script_080138B4
	BeginBlock 
	DoPostScriptAction 0x0008
	EndBlock 
	BeginBlock 
	Call sub_0807F92C
	CallWithArg sub_0806DA04, 0x00000003
	EndBlock 
script_080138D0:
	CheckEntityInteractType 
	JumpIfNot script_080138D0
	_0807E864 
	Call sub_0807DF28
	StartPlayerScript script_080136D8
	WaitForSomething2 0x00000001
	CallWithArg sub_08095A1C, script_08013F64
	PlaySound SFX_ELEMENT_PLACE
	Wait 0x005a
	BeginBlock 
	PlaySound SFX_ELEMENT_FLOAT
	CallWithArg sub_08095D54, script_08013E70
	EndBlock 
	WaitForSomething2 0x40000000
	BeginBlock 
	PlaySound SFX_ELEMENT_CHARGE
	CallWithArg sub_08095D8C, script_08014054
	CallWithArg sub_08095D8C, script_08014074
	CallWithArg sub_08095D8C, script_08014094
	CallWithArg sub_08095D8C, script_080140B8
	EndBlock 
	Wait 0x001e
	BeginBlock 
	PlaySound SFX_1D0
	CallWithArg sub_08095D8C, script_080140DC
	CallWithArg sub_08095D8C, script_08014118
	CallWithArg sub_08095D8C, script_08014154
	CallWithArg sub_08095D8C, script_08014198
	EndBlock 
	Wait 0x003c
	CallWithArg sub_0805DDEC, 0x00000000
	_0807E5F8 0x00000200
	WaitForSomething2 0x00002000
	PlaySound SFX_1D2
	CallWithArg sub_08095D8C, script_080141DC
	CallWithArg sub_08095D8C, script_08014210
	_0807E5F8 0x00000400
	WaitForSomething2 0x00004000
	_0807E5F8 0x00000800
	WaitForSomething2 0x00008000
	_0807E5F8 0x00001000
	WaitForSomething2 0x00010000
	Wait 0x0078
	_0807E5F8 0x00000060
	CallWithArg sub_0805DE18, 0x00000000
	Wait 0x0078
	_0807E5F8 0x00000080
	WaitForSomething2 0x00000100
	Wait 0x003c
	StartPlayerScript script_08013BA8
	_0807E5F8 0x00000080
	_0807F078 0x0006, 0x0001
	Call sub_0807AEE4
	Call sub_0806DC3C
	Call sub_0806DC58
	Call sub_0807F304
	Wait 0x003c
	_0807E778 0x0004
	DoFade7 
	PlaySound SFX_EVAPORATE
	WaitFor_2 
	Wait 0x003c
	_0807E5F8 0x00000010
	_0807E778 0x0002
	DoFade6 
	WaitFor_2 
	PlaySound SFX_109
	TextboxNoOverlapFollowPos 0x0505, 0x000c
	_0807EA94 
	_0807E5F8 0x00040000
.ifndef EU
	_0807F0B4 0x0002
	SetEntityPositionRelative 0x00e8, 0x00d8
	CameraTargetEntity 
.endif
	Call sub_0806DC3C
	CallWithArg sub_0807F244, 0x00010001
	CallWithArg sub_0807F29C, gUnk_080049FE
	Wait 0x00c8
	CallWithArg sub_0807F29C, 0x00000000
	Call sub_0806DC58
script_08013A8E:
.ifndef EU
	CheckRoomFlag 0x0004
	JumpIfNot script_08013A8E
.endif
	CallWithArg sub_0805DDEC, 0x00000001
	_0807F0C8 0xffff, 0x0000
