PM3.6 - Luigi - Subroutine - 0x23a44

  1. if ((LongtermAccessInt (0x5b) GreaterThanOrEqual scalar(7)))
    1. IfStatementAnd (not(BoolIsTrue RandomAccessBool (0x22)))
    2. if (not(BoolIsTrue LongtermAccessBool (0x71)))
      1. if ((RandomAccessInt (0xa) Equal scalar(0)))
        1. if (BoolIsTrue LongtermAccessBool (0x72))
          1. FlashEffectOverlay { red: 12, green: 220, blue: 1, alpha: 112 }
        2. else
          1. FlashEffectOverlay { red: 12, green: 220, blue: 1, alpha: 208 }
          2. BoolVariableSetTrue { variable: LongtermAccessBool (0x72) }
        3. SetColorOfFlashEffectOverlay { transition_time: 6, red: 20, green: 208, blue: 10, alpha: 0 }
      2. if (ShieldInputHeld)
        1. ExternalGraphicEffect(ExternalGraphicEffect { file: 0, graphic: 53, bone: 0, x_offset: 0.0, y_offset: 9.5, z_offset: 0.0, x_rotation: 0.0, y_rotation: 0.0, z_rotation: 0.0, scale: 1.5, randomize: None, terminate_with_animation: false })
        2. SoundEffect1(1309)
        3. SoundEffect1(3405)
        4. FlashEffectOverlay { red: 12, green: 220, blue: 1, alpha: 208 }
        5. SetColorOfFlashEffectOverlay { transition_time: 12, red: 160, green: 160, blue: 160, alpha: 0 }
        6. IntVariableSet { variable: RandomAccessInt (0xa), value: 0 }
        7. BoolVariableSetTrue { variable: RandomAccessBool (0x21) }
        8. BoolVariableSetTrue { variable: LongtermAccessBool (0x71) }
        9. if ((LongtermAccessInt (0x5c) GreaterThan scalar(15)))
          1. IntVariableSubtract { variable: LongtermAccessInt (0x5c), value: 3 }
    3. IntVariableIncrement { variable: RandomAccessInt (0xa) }
    4. if ((RandomAccessInt (0xa) Equal scalar(6)))
      1. IfStatementAnd (not(BoolIsTrue RandomAccessBool (0x21)))
      2. IfStatementOr ((RandomAccessInt (0xa) Equal scalar(12)))
      3. RemoveFlashEffect
      4. IntVariableSet { variable: RandomAccessInt (0xa), value: 0 }
      5. BoolVariableSetFalse { variable: RandomAccessBool (0x21) }
  2. if ((RandomAccessInt (0x0) LessThan InternalConstantInt (0x5dc0)))
    1. IfStatementAnd ((InternalConstantInt(CurrentAction) Equal scalar(279)))
    2. IntVariableIncrement { variable: RandomAccessInt (0x0) }
    3. if ((RandomAccessInt (0x0) GreaterThanOrEqual InternalConstantInt (0x5dc0)))
      1. FrameSpeedModifier { multiplier: 0.0, unk: 0 }
  3. if ((RandomAccessInt (0x0) GreaterThanOrEqual InternalConstantInt (0x5dc0)))
    1. IfStatementAnd (not(BoolIsTrue RandomAccessBool (0x21)))
    2. IfStatementAnd (not(BoolIsTrue RandomAccessBool (0x22)))
    3. if ((LongtermAccessInt (0x5b) LessThan scalar(7)))
      1. IfStatementOr (BoolIsTrue LongtermAccessBool (0x71))
      2. UnknownEvent { namespace: 0x11, code: 0x1e, unk1: 0x0, arguments: [Value(26)] }
      3. BoolVariableSetTrue { variable: RandomAccessBool (0x22) }