PM3.6 - Kirby - Action - 0x146
Entry Script
- CreateInterrupt { interrupt_id: None, action: 0x147, requirement: ((RandomAccessInt (0x0) GreaterThanOrEqual InternalConstantInt (0x5de9))) }
- CreateInterrupt { interrupt_id: None, action: 0x147, requirement: (ButtonNotPressed value(1)) }
- PreviousInterruptAddRequirement((RandomAccessInt (0x0) GreaterThanOrEqual InternalConstantInt (0x5de8)))
- CallEveryFrame { thread_id: 9, script: 0x3855c }
- loop Infinite times:
- if (OnGround)
- SetAirGround(6)
- SetEdgeSlide(Unknown(2))
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialN_4)
- else
- ChangeSubactionRestartFrame(SpecialN_4)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetAirGround(10)
- SetEdgeSlide(Airbourne)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialAirN_4)
- else
- ChangeSubactionRestartFrame(SpecialAirN_4)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
Exit Script
- UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(10), Value(-1)] }
- UnknownEvent { namespace: 0x10, code: 0x11, unk1: 0x0, arguments: [Value(10)] }