P+ - Sonic - Action - 0x11b
Entry Script
- BoolVariableSetTrue { variable: LongtermAccessBool (0x3a) }
- CallEveryFrame { thread_id: 9, script: 0x2cee4 }
- if ((InternalConstantInt(PreviousAction) Equal scalar(279)))
- IfStatementOr ((InternalConstantInt(PreviousAction) Equal scalar(286)))
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
- ChangeSubactionRestartFrame(SpecialNCancel)
- SetAirGround(0)
- else
- if ((InternalConstantInt(PreviousAction) Equal scalar(289)))
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
- ChangeSubactionRestartFrame(SpecialSKickFall)
- SetAirGround(0)
- else
- if ((LongtermAccessInt (0x45) Equal scalar(1)))
- CreateInterrupt { interrupt_id: None, action: FallSpecial, requirement: (AnimationEnd) }
- ChangeSubactionRestartFrame(SpecialNCancelSpecialFall)
- SetAirGround(0)
- else
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
- ChangeSubactionRestartFrame(SpecialNCancel)
- SetAirGround(0)
- CreateInterrupt { interrupt_id: None, action: 0x11a, requirement: (OnGround) }
- PreviousInterruptAddRequirement((InternalConstantInt(PreviousAction) NotEqual scalar(286)))
- PreviousInterruptAddRequirement((InternalConstantInt(PreviousAction) NotEqual scalar(287)))
- PreviousInterruptAddRequirement((InternalConstantInt(PreviousAction) NotEqual scalar(289)))
- CreateInterrupt { interrupt_id: None, action: LandingLight, requirement: (OnGround) }
Exit Script