P+ - Sonic - Common Subroutine 0x219c8

  1. if ((InternalConstantInt (0x5a91) Equal scalar(1)))
    1. CreateInterrupt { interrupt_id: Some(10061), action: JumpAerial, requirement: ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc42))) }
    2. PreviousInterruptAddRequirement((InternalConstantInt (0x520a) LessThan InternalConstantInt (0x59fb)))
    3. PreviousInterruptAddRequirement((LongtermAccessInt(JumpsUsed) LessThan InternalConstantInt(MaxJumpCount)))
    4. PreviousInterruptAddRequirement(TapJumpOn)
    5. PreviousInterruptAddRequirement(InAir)
    6. CreateInterrupt { interrupt_id: Some(10062), action: JumpAerial, requirement: (ButtonPress value(2)) }
    7. PreviousInterruptAddRequirement((LongtermAccessInt(JumpsUsed) LessThan InternalConstantInt(MaxJumpCount)))
    8. PreviousInterruptAddRequirement(InAir)
  2. else
    1. CreateInterrupt { interrupt_id: Some(10067), action: Multijump, requirement: ((LongtermAccessInt(JumpsUsed) Equal scalar(1))) }
    2. PreviousInterruptAddRequirement(ButtonPress value(2))
    3. PreviousInterruptAddRequirement(InAir)
    4. CreateInterrupt { interrupt_id: Some(10066), action: Multijump, requirement: ((LongtermAccessInt(JumpsUsed) Equal scalar(1))) }
    5. PreviousInterruptAddRequirement((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc42)))
    6. PreviousInterruptAddRequirement((InternalConstantInt (0x520a) LessThan InternalConstantInt (0x59fb)))
    7. PreviousInterruptAddRequirement(TapJumpOn)
    8. PreviousInterruptAddRequirement(InAir)
    9. CreateInterrupt { interrupt_id: Some(10068), action: Multijump, requirement: (Unknown(10000)) }
    10. PreviousInterruptAddRequirement((LongtermAccessInt(JumpsUsed) LessThan InternalConstantInt(MaxJumpCount)))
    11. PreviousInterruptAddRequirement(InAir)