P+ - Olimar - Common Subroutine 0xf464
- if (BoolIsTrue RandomAccessBool(SpecialsMovement))
- ToggleInterrupt { interrupt_type: GroundOther, interrupt_id: 10053 }
- EnableInterrupt(10051)
- BoolVariableSetFalse { variable: RandomAccessBool(SpecialsMovement) }
- if (not(BoolIsTrue RandomAccessBool (0x11)))
- IfStatementAnd (BoolIsTrue RandomAccessBool(EnableActionTransition))
- EnableInterruptGroup(GroundSpecial)
- EnableInterruptGroup(GroundItem)
- EnableInterruptGroup(GroundCatch)
- EnableInterruptGroup(GroundAttack)
- EnableInterruptGroup(GroundEscape)
- EnableInterruptGroup(GroundGuard)
- EnableInterruptGroup(GroundJump)
- EnableInterruptGroup(GroundOther)
- ToggleInterrupt { interrupt_type: GroundOther, interrupt_id: 10051 }
- CreateInterrupt { interrupt_id: Some(10053), action: SquatWait, requirement: ((InternalConstantInt(ControlStickYAxis) LessThanOrEqual InternalConstantInt (0xc3d))) }
- PreviousInterruptAddRequirement(OnGround)
- BoolVariableSetTrue { variable: RandomAccessBool(SpecialsMovement) }
- BoolVariableSetTrue { variable: RandomAccessBool (0x11) }
- if (BoolIsTrue RandomAccessBool(EnableGlide))
- EnableInterrupt(10010)
- BoolVariableSetFalse { variable: RandomAccessBool(EnableGlide) }
- else
- DisableInterrupt(10010)