P+ - Lucario - Action - 0x112 SpecialN

Entry Script

  1. BoolVariableSetFalse { variable: LongtermAccessBool (0x3e) }
  2. IntVariableSet { variable: LongtermAccessInt (0x45), value: 462 }
  3. IntVariableSet { variable: LongtermAccessInt (0x46), value: 463 }
  4. Subroutine(0x26da8)
  5. CreateInterrupt { interrupt_id: None, action: 0x118, requirement: (ButtonPress value(0)) }
  6. PreviousInterruptAddRequirement((LongtermAccessFloat (0x1b) GreaterThanOrEqual scalar(60)))
  7. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  8. CreateInterrupt { interrupt_id: Some(10146), action: 0x117, requirement: (AnimationEnd) }
  9. CreateInterrupt { interrupt_id: Some(10147), action: 0x119, requirement: (AnimationEnd) }
  10. EnableInterrupt(10146)
  11. DisableInterrupt(10147)
  12. CallEveryFrame { thread_id: 9, script: 0x1a6a0 }
  13. 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. LoopRest

Exit Script

  1. if ((InternalConstantInt(CurrentAction) NotEqual scalar(279)))
    1. IfStatementAnd ((InternalConstantInt(CurrentAction) NotEqual scalar(280)))
    2. IfStatementAnd ((InternalConstantInt(CurrentAction) NotEqual scalar(281)))
    3. Subroutine(0xd808)