PM3.02 - Pit - Action - 0x11a
Entry Script
- CreateInterrupt { interrupt_id: Some(10000), action: Wait, requirement: (AnimationEnd) }
- CreateInterrupt { interrupt_id: Some(10002), action: Fall, requirement: (AnimationEnd) }
- if (BoolIsTrue RandomAccessBool (0x11))
- IntVariableSet { variable: RandomAccessInt (0x1), value: 468 }
- IntVariableSet { variable: RandomAccessInt(ThrowDataParam1), value: 476 }
- IntVariableSet { variable: RandomAccessInt(ThrowDataParam2), value: 6 }
- IntVariableSet { variable: RandomAccessInt(ThrowDataParam3), value: 14 }
- else
- IntVariableSet { variable: RandomAccessInt (0x1), value: 469 }
- IntVariableSet { variable: RandomAccessInt(ThrowDataParam1), value: 477 }
- IntVariableSet { variable: RandomAccessInt(ThrowDataParam2), value: 7 }
- IntVariableSet { variable: RandomAccessInt(ThrowDataParam3), value: 15 }
- loop Infinite times:
- if (OnGround)
- SetAirGround(6)
- SetEdgeSlide(StayOn)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 1 }), Bool(true)] }
- UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(0), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 3 }), Bool(true)] }
- else
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 1 })] }
- UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(0), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 3 })] }
- 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))
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 }), Bool(true)] }
- UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(0), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 4 }), Bool(true)] }
- else
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
- UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(0), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 4 })] }
- 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)