//Dagobah_b state Base { ReferenceScript { Script=GeneralParty Source=Global ReturnState=Base Conditions { } } Conditions { if ObstacleAtStart "pad_5" == 1 and if ObstacleAtStart "pad_2" == 0 goto GoToPad ;if ObstacleAtStart "pad_4" == 0 goto GoToPad } Actions { FollowPlayer "1" "add_party_offset" } } state GoToPad { Conditions { if ObstacleAtStart "pad_5" == 0 goto Base } Actions { SetLocator "name=pad_5a" GoToLocator } } state Luke_MiniCut { Conditions { } Actions { Idle "2" UseForce "name=pebble_4" Idle "0.5" OverrideAnimation "from=jump" "to=yipee" PressJumpButton FaceCamera "1" PressJumpButton SetState "Luke_WaitEndMiniCut" } } state Luke_WaitEndMiniCut { Conditions { if OnGround == 1 goto Luke_EndMiniCut } Actions { FaceCamera } } state Luke_EndMiniCut { Conditions { } Actions { FaceCamera "1" OverrideAnimation "reset" EndCameraCut "blend_out_time=0.5" "end_time=0.5" "nXo_borders" } } state Party_MiniCut { Conditions { } Actions { FaceCamera } }