LXP2.1 - Ridley-Classic - Action - 0x11f
Entry Script
- BoolVariableSetTrue { variable: RandomAccessBool (0x11) }
- BoolVariableSetFalse { variable: RandomAccessBool(SpecialsMovement) }
- CreateInterrupt { interrupt_id: Some(10002), action: Fall, requirement: (InAir) }
- CreateInterrupt { interrupt_id: Some(10029), action: LandingFallSpecial, requirement: (OnGround) }
- DisableInterrupt(10029)
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(OnGround)
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(InAir)
- CreateInterrupt { interrupt_id: None, action: 0x11c, requirement: (TouchingAFloorWallOrCeiling value(4)) }
- PreviousInterruptAddRequirement(BoolIsTrue RandomAccessBool(SpecialsMovement))
- PreviousInterruptAddRequirement((InternalConstantInt(CharacterDirection) GreaterThanOrEqual scalar(0)))
- CreateInterrupt { interrupt_id: None, action: 0x11c, requirement: (TouchingAFloorWallOrCeiling value(2)) }
- PreviousInterruptAddRequirement(BoolIsTrue RandomAccessBool(SpecialsMovement))
- PreviousInterruptAddRequirement((InternalConstantInt(CharacterDirection) LessThan scalar(0)))
- UnknownEvent { namespace: 0x8, code: 0x2, unk1: 0x0, arguments: [Value(2)] }
- CallEveryFrame { thread_id: 9, script: 0x1da20 }
- loop Infinite times:
- if (OnGround)
- SetAirGround(15)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialLw)
- else
- ChangeSubactionRestartFrame(SpecialLw)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetEdgeSlide(Airbourne)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialLwAir)
- else
- ChangeSubactionRestartFrame(SpecialLwAir)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
Exit Script