PM3.02 - Kirby - Action - 0x149
Entry Script
- CreateInterrupt { interrupt_id: None, action: 0x14a, requirement: (ButtonPress value(1)) }
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
- PreviousInterruptAddRequirement(ButtonPress value(3))
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
- PreviousInterruptAddRequirement((LongtermAccessInt(Temp1) GreaterThanOrEqual InternalConstantInt (0x5dea)))
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (OnGround) }
- PreviousInterruptAddRequirement(ButtonPress value(3))
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (OnGround) }
- PreviousInterruptAddRequirement((LongtermAccessInt(Temp1) GreaterThanOrEqual InternalConstantInt (0x5dea)))
- CreateInterrupt { interrupt_id: None, action: EscapeF, requirement: ((InternalConstantInt(ControlStickXAxisRelative) GreaterThanOrEqual InternalConstantInt (0xc4d))) }
- PreviousInterruptAddRequirement((InternalConstantInt (0x5209) LessThan InternalConstantInt (0x59fe)))
- PreviousInterruptAddRequirement(OnGround)
- CreateInterrupt { interrupt_id: None, action: EscapeB, requirement: ((InternalConstantInt(ControlStickXAxisRelativeReverse) GreaterThanOrEqual InternalConstantInt (0xc4d))) }
- PreviousInterruptAddRequirement((InternalConstantInt (0x5209) LessThan InternalConstantInt (0x59fe)))
- PreviousInterruptAddRequirement(OnGround)
- CallEveryFrame { thread_id: 9, script: 0x38c6c }
- loop Infinite times:
- if (OnGround)
- SetAirGround(6)
- SetEdgeSlide(Unknown(2))
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialNHold)
- else
- ChangeSubactionRestartFrame(SpecialNHold)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetAirGround(0)
- SetEdgeSlide(Airbourne)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialAirNHold)
- else
- ChangeSubactionRestartFrame(SpecialAirNHold)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
Exit Script