PM3.6 - Lucario - Action - 0x11e
Entry Script
- if ((InternalConstantInt(PreviousAction) Equal scalar(50)))
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(OnGround)
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(InAir)
- SetEdgeSlide(Airbourne)
- SetAirGround(17)
- ChangeSubactionRestartFrame(AttackHi4)
- else
- if ((InternalConstantInt(PreviousAction) Equal scalar(279)))
- IfStatementOr ((InternalConstantInt(PreviousAction) Equal scalar(280)))
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(OnGround)
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(InAir)
- BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
- loop Infinite times:
- if (OnGround)
- SetEdgeSlide(StayOn)
- SetAirGround(6)
- if (not(BoolIsTrue RandomAccessBool(EnableActionTransition)))
- ChangeSubactionRestartFrame(SpecialNCancel)
- else
- ChangeSubaction(SpecialNCancel)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetEdgeSlide(Airbourne)
- SetAirGround(0)
- if (not(BoolIsTrue RandomAccessBool(EnableActionTransition)))
- ChangeSubactionRestartFrame(SpecialAirNCancel)
- else
- ChangeSubaction(SpecialAirNCancel)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- LoopRest
- else
- UnknownEvent { namespace: 0x12, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 24004 }), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 })] }
- CreateInterrupt { interrupt_id: None, action: 0x11f, requirement: ((RandomAccessInt (0x0) LessThanOrEqual scalar(0))) }
- CallEveryFrame { thread_id: 9, script: 0x19ad8 }
- Subroutine(0x19110)
- SetAirGround(10)
- ChangeSubactionRestartFrame(SpecialLwSplit)
Exit Script
- if ((InternalConstantInt(CurrentAction) NotEqual scalar(287)))
- UnknownEvent { namespace: 0xb, code: 0x2, unk1: 0x0, arguments: [Bool(true)] }