PM3.02 - Luigi - Action - 0x117
Entry Script
- CreateInterrupt { interrupt_id: None, action: 0x118, requirement: (ButtonNotPressed value(1)) }
- CallEveryFrame { thread_id: 9, script: 0x17fa0 }
- loop Infinite times:
- if (OnGround)
- SetAirGround(6)
- SetEdgeSlide(StayOn)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialSHold)
- else
- ChangeSubactionRestartFrame(SpecialSHold)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- if ((RandomAccessInt (0x0) GreaterThanOrEqual InternalConstantInt (0x5dc0)))
- FrameSpeedModifier { multiplier: 0.0, unk: 0 }
- UnknownEvent { namespace: 0x4, code: 0x1, unk1: 0x0, arguments: [Value(0), Requirement { flip: false, ty: InAir }] }
- else
- SetAirGround(10)
- SetEdgeSlide(Airbourne)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialAirSHold)
- else
- ChangeSubactionRestartFrame(SpecialAirSHold)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- if ((RandomAccessInt (0x0) GreaterThanOrEqual InternalConstantInt (0x5dc0)))
- FrameSpeedModifier { multiplier: 0.0, unk: 0 }
- UnknownEvent { namespace: 0x4, code: 0x1, unk1: 0x0, arguments: [Value(1), Requirement { flip: false, ty: OnGround }] }
- LoopRest
Exit Script
- if (RollADie value(4))
- BoolVariableSetTrue { variable: RandomAccessBool(SpecialsMovement) }
- UnknownEvent { namespace: 0x11, code: 0x1f, unk1: 0x0, arguments: [Value(26)] }