P+ - Lucario - Action - 0x117

Entry Script

  1. BoolVariableSetTrue { variable: LongtermAccessBool (0x3e) }
  2. BoolVariableSetFalse { variable: LongtermAccessBool (0x46) }
  3. IntVariableSet { variable: LongtermAccessInt (0x45), value: 464 }
  4. IntVariableSet { variable: LongtermAccessInt (0x46), value: 465 }
  5. UnknownEvent { namespace: 0x4, code: 0x6, unk1: 0x0, arguments: [Variable(Variable { memory_type: LongtermAccess, data_type: Int, address: 64 })] }
  6. Subroutine(0x1a950)
  7. CallEveryFrame { thread_id: 9, script: 0x26840 }
  8. CreateInterrupt { interrupt_id: None, action: 0x118, requirement: ((LongtermAccessInt(Temp2) GreaterThanOrEqual scalar(4))) }
  9. CreateInterrupt { interrupt_id: None, action: 0x119, requirement: (ButtonPress value(1)) }
  10. CreateInterrupt { interrupt_id: None, action: 0x11e, requirement: (ShieldInputHeld) }
  11. loop Infinite times:
    1. if (OnGround)
      1. Subroutine(0x190c8)
      2. Subroutine(0x18fa8)
      3. SetAirGround(6)
      4. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
    2. else
      1. Subroutine(0x19110)
      2. Subroutine(0x18fe8)
      3. SetAirGround(10)
      4. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. FrameSpeedModifier { multiplier: 2.0, unk: 0 }
    4. LoopRest

Exit Script

  1. if ((LongtermAccessInt(Temp2) GreaterThanOrEqual scalar(4)))
    1. IfStatementAnd (not(BoolIsTrue LongtermAccessBool (0x46)))
    2. BoolVariableSetTrue { variable: LongtermAccessBool (0x46) }
    3. ExternalGraphicEffect(ExternalGraphicEffect { file: 34, graphic: 8, bone: 29, x_offset: 0.0, y_offset: 0.0, z_offset: 0.0, x_rotation: 0.0, y_rotation: 0.0, z_rotation: 0.0, scale: 1.0, randomize: None, terminate_with_animation: false })
    4. ExternalGraphicEffect(ExternalGraphicEffect { file: 34, graphic: 9, bone: 49, x_offset: 0.0, y_offset: 0.0, z_offset: 0.0, x_rotation: 0.0, y_rotation: 0.0, z_rotation: 0.0, scale: 1.0, randomize: None, terminate_with_animation: false })
  2. else
    1. UnknownEvent { namespace: 0x11, code: 0x15, unk1: 0x0, arguments: [Value(2228232), Bool(true), Bool(true)] }
    2. UnknownEvent { namespace: 0x11, code: 0x15, unk1: 0x0, arguments: [Value(2228233), Bool(true), Bool(true)] }
  3. if ((InternalConstantInt(CurrentAction) NotEqual scalar(31)))
    1. IfStatementAnd ((InternalConstantInt(CurrentAction) NotEqual scalar(32)))
    2. IfStatementAnd ((InternalConstantInt(CurrentAction) NotEqual scalar(280)))
    3. IfStatementAnd ((InternalConstantInt(CurrentAction) NotEqual scalar(281)))
    4. IfStatementAnd ((InternalConstantInt(CurrentAction) NotEqual scalar(286)))
    5. Subroutine(0xd808)