PM3.02 - Mewtwo - Action - 0x11a
Entry Script
- if ((InternalConstantInt(PreviousAction) Equal scalar(275)))
- BoolVariableSetFalse { variable: LongtermAccessBool (0x3e) }
- IntVariableSet { variable: LongtermAccessInt (0x45), value: 472 }
- IntVariableSet { variable: LongtermAccessInt (0x46), value: 61 }
- IntVariableSet { variable: RandomAccessInt (0x0), value: -1 }
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(OnGround)
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
- PreviousInterruptAddRequirement(AnimationEnd)
- CallEveryFrame { thread_id: 9, script: 0x19370 }
- loop Infinite times:
- if (OnGround)
- Subroutine(0x19328)
- Subroutine(0x19230)
- SetAirGround(6)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- Subroutine(0x19350)
- Subroutine(0x19298)
- SetAirGround(10)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
- else
- 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(10)
- 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
Exit Script