PM3.02 - Kirby - Action - 0x144
Entry Script
- BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
- BoolVariableSetFalse { variable: RandomAccessBool (0x11) }
- BoolVariableSetFalse { variable: RandomAccessBool(SpecialsMovement) }
- IntVariableSet { variable: RandomAccessInt(ThrowDataParam1), value: 0 }
- CreateInterrupt { interrupt_id: Some(10147), action: Wait, requirement: (AnimationEnd) }
- DisableInterrupt(10147)
- CreateInterrupt { interrupt_id: Some(10148), action: Fall, requirement: (AnimationEnd) }
- DisableInterrupt(10148)
- CallEveryFrame { thread_id: 9, script: 0x37bc4 }
- loop Infinite times:
- if (OnGround)
- SetEdgeSlide(Unknown(2))
- UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
- Case(0)
- SetAirGround(15)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialNStart_5)
- else
- ChangeSubactionRestartFrame(SpecialNStart_5)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: AnimationEnd }] }
- Case(1)
- SetAirGround(6)
- if (BoolIsTrue RandomAccessBool (0x11))
- ChangeSubaction(SpecialN_3)
- else
- ChangeSubactionRestartFrame(SpecialN_3)
- BoolVariableSetTrue { variable: RandomAccessBool (0x11) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: ButtonNotPressed }, Value(1)] }
- UnknownEvent { namespace: 0x4, code: 0x3, unk1: 0x0, arguments: [Requirement { flip: false, ty: Comparison }, Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 1 }), Value(4), Scalar(1.0)] }
- UnknownEvent { namespace: 0x4, code: 0x3, unk1: 0x0, arguments: [Requirement { flip: false, ty: Comparison }, Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 }), Value(4), Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 24036 })] }
- Case(2)
- SetAirGround(6)
- if (BoolIsTrue RandomAccessBool(SpecialsMovement))
- ChangeSubaction(SpecialNEnd_4)
- else
- ChangeSubactionRestartFrame(SpecialNEnd_4)
- BoolVariableSetTrue { variable: RandomAccessBool(SpecialsMovement) }
- EnableInterrupt(10147)
- DisableInterrupt(10148)
- EndSwitch
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetAirGround(10)
- SetEdgeSlide(Airbourne)
- UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
- Case(0)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialAirNStart_5)
- else
- ChangeSubactionRestartFrame(SpecialAirNStart_5)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: AnimationEnd }] }
- Case(1)
- if (BoolIsTrue RandomAccessBool (0x11))
- ChangeSubaction(SpecialAirN_3)
- else
- ChangeSubactionRestartFrame(SpecialAirN_3)
- BoolVariableSetTrue { variable: RandomAccessBool (0x11) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: ButtonNotPressed }, Value(1)] }
- UnknownEvent { namespace: 0x4, code: 0x3, unk1: 0x0, arguments: [Requirement { flip: false, ty: Comparison }, Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 1 }), Value(4), Scalar(1.0)] }
- UnknownEvent { namespace: 0x4, code: 0x3, unk1: 0x0, arguments: [Requirement { flip: false, ty: Comparison }, Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 }), Value(4), Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 24036 })] }
- Case(2)
- if (BoolIsTrue RandomAccessBool(SpecialsMovement))
- ChangeSubaction(SpecialAirNEnd_4)
- else
- ChangeSubactionRestartFrame(SpecialAirNEnd_4)
- BoolVariableSetTrue { variable: RandomAccessBool(SpecialsMovement) }
- DisableInterrupt(10147)
- EnableInterrupt(10148)
- EndSwitch
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
- UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
- Case(0)
- if (AnimationEnd)
- IntVariableSet { variable: RandomAccessInt(ThrowDataParam1), value: 1 }
- Case(1)
- if (ButtonNotPressed value(1))
- IfStatementAnd ((RandomAccessInt (0x1) GreaterThanOrEqual scalar(1)))
- IfStatementAnd ((RandomAccessInt (0x0) GreaterThanOrEqual InternalConstantInt (0x5de4)))
- IntVariableSet { variable: RandomAccessInt(ThrowDataParam1), value: 2 }
- Case(2)
- EndSwitch
Exit Script