PM3.6 - Pit - Action - 0x119
Entry Script
- CreateInterrupt { interrupt_id: None, action: 0x117, requirement: (AnimationEnd) }
- ReverseDirection
- loop Infinite times:
- if (OnGround)
- SetAirGround(6)
- SetEdgeSlide(StayOn)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialNStoS)
- UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(0), Value(5), Bool(true)] }
- else
- ChangeSubactionRestartFrame(SpecialNStoS)
- UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(0), Value(5)] }
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- EnableInterrupt(10000)
- DisableInterrupt(10002)
- UnknownEvent { namespace: 0x4, code: 0x1, unk1: 0x0, arguments: [Value(0), Requirement { flip: false, ty: InAir }] }
- else
- SetAirGround(100)
- SetEdgeSlide(Airbourne)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialAirNStoS)
- UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(0), Value(13), Bool(true)] }
- else
- ChangeSubactionRestartFrame(SpecialAirNStoS)
- UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(0), Value(13)] }
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- EnableInterrupt(10002)
- DisableInterrupt(10000)
- UnknownEvent { namespace: 0x4, code: 0x1, unk1: 0x0, arguments: [Value(1), Requirement { flip: false, ty: OnGround }] }
- LoopRest
Exit Script
- if ((InternalConstantInt(CurrentAction) Equal scalar(279)))
- IfStatementOr ((InternalConstantInt(CurrentAction) Equal scalar(280)))
- IfStatementOr ((InternalConstantInt(CurrentAction) Equal scalar(281)))
- IfStatementOr ((InternalConstantInt(CurrentAction) Equal scalar(282)))
- else
- ArticleAnimation(0)
- ModelChanger { reference: 1, switch_index: 1, bone_group_index: 2 }
- ArticleRemove(1)