Begin A1_DAT_SRT_SetCell

Short Cell
Float Posx
Float Posy
Float Posz
Float Angle
Float MinAngle

Set Cell to "A1_DAT_SRT_TeleCell"
Set PosX to "A1_DAT_SRT_RecPosX"
Set PosY to "A1_DAT_SRT_RecPosY"
Set PosZ to "A1_DAT_SRT_RecPosZ"
Set Angle to "A1_DAT_SRT_TeleAngle"
Set MinAngle to ( Angle * 60 )

If ( Cell == 1 )
	Player->PositionCell, 0, 0, 0, 0, "Mournhold, Plaza Brindisi Dorom" 
ElseIf ( Cell == 2 )
	Player->PositionCell, 0, 0, 0, 0, "Mournhold, Temple Courtyard" 
EndIf

Player->SetPos, X, PosX
Player->SetPos, Y, PosY
Player->SetPos, Z, PosZ
Player->SetAngle, Z, Angle
FadeIn 0.25

StopScript, "A1_DAT_SRT_SetCell"

End