LXP2.1 - Ganon-Mage - Subroutine - 0x15508

  1. if (not(BoolIsTrue LongtermAccessInt (0x61)))
    1. IfStatementAnd ((InternalConstantInt(CurrentAction) NotEqual scalar(282)))
    2. if ((LongtermAccessInt(JumpsUsed) NotEqual InternalConstantInt(MaxJumpCount)))
      1. if (ButtonPress value(2))
        1. CreateInterrupt { interrupt_id: Some(10146), action: JumpAerial, requirement: (ButtonHeld value(2)) }
      2. else
        1. if (ButtonHeld value(2))
          1. CreateInterrupt { interrupt_id: Some(10146), action: 0x120, requirement: (ButtonHeld value(2)) }
        2. else
          1. DisableInterrupt(10146)
          2. FloatVariableSet { variable: LongtermAccessFloat (0x51), value: 0 }
  2. else
    1. DisableInterruptGroup(AirSpecial)
    2. DisableInterruptGroup(AirAttack)
    3. DisableInterruptGroup(AirTreadjump)
    4. FloatVariableSet { variable: LongtermAccessFloat (0x73), value: 3 }
  3. Subroutine(0x155d8)