PM3.02 - Squirtle - Action - 0x117
Entry Script
- CreateInterrupt { interrupt_id: None, action: 0x118, requirement: (ButtonNotPressed value(1)) }
- CreateInterrupt { interrupt_id: None, action: 0x11d, requirement: (InAir) }
- PreviousInterruptAddRequirement(ShieldInputPress)
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
- PreviousInterruptAddRequirement((LongtermAccessInt(Temp1) GreaterThanOrEqual InternalConstantInt (0x5dc0)))
- CreateInterrupt { interrupt_id: None, action: 0x11d, requirement: (OnGround) }
- PreviousInterruptAddRequirement(ShieldInputPress)
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (OnGround) }
- PreviousInterruptAddRequirement((LongtermAccessInt(Temp1) GreaterThanOrEqual InternalConstantInt (0x5dc0)))
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (OnGround) }
- PreviousInterruptAddRequirement((LongtermAccessInt (0x4c) Equal scalar(1)))
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
- PreviousInterruptAddRequirement((LongtermAccessInt (0x4c) Equal scalar(1)))
- CreateInterrupt { interrupt_id: None, action: EscapeF, requirement: ((InternalConstantInt(ControlStickXAxisRelative) GreaterThanOrEqual InternalConstantInt (0xc4d))) }
- PreviousInterruptAddRequirement((InternalConstantInt (0x5209) LessThan InternalConstantInt (0x59fe)))
- PreviousInterruptAddRequirement(OnGround)
- CreateInterrupt { interrupt_id: None, action: EscapeB, requirement: ((InternalConstantInt(ControlStickXAxisRelativeReverse) GreaterThanOrEqual InternalConstantInt (0xc4d))) }
- PreviousInterruptAddRequirement((InternalConstantInt (0x5209) LessThan InternalConstantInt (0x59fe)))
- PreviousInterruptAddRequirement(OnGround)
- CallEveryFrame { thread_id: 9, script: 0x18800 }
- loop Infinite times:
- if (OnGround)
- SetAirGround(6)
- SetEdgeSlide(Unknown(2))
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialNHold)
- else
- ChangeSubactionRestartFrame(SpecialNHold)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetAirGround(10)
- SetEdgeSlide(Airbourne)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialAirNHold)
- else
- ChangeSubactionRestartFrame(SpecialAirNHold)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
Exit Script
- Goto(0x22388)