P+ - Squirtle - Action - 0x11d
Entry Script
- if ((InternalConstantInt(PreviousAction) Equal scalar(279)))
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(OnGround)
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(InAir)
- loop Infinite times:
- if (OnGround)
- SetEdgeSlide(StayOn)
- SetAirGround(6)
- if (not(BoolIsTrue RandomAccessBool(EnableActionTransition)))
- ChangeSubactionRestartFrame(SpecialNEnd)
- else
- ChangeSubaction(SpecialNEnd)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetEdgeSlide(Airbourne)
- SetAirGround(10)
- if (not(BoolIsTrue RandomAccessBool(EnableActionTransition)))
- ChangeSubactionRestartFrame(AirSpecialNEnd)
- else
- ChangeSubaction(AirSpecialNEnd)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- LoopRest
- else
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(OnGround)
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
- ChangeSubactionRestartFrame(LandingLight)
- SetEdgeSlide(StayOn)
- SetAirGround(6)
Exit Script