PM3.02 - Lucario - Action - 0x117

Entry Script

  1. BoolVariableSetFalse { variable: LongtermAccessBool (0x3e) }
  2. IntVariableSet { variable: LongtermAccessInt (0x45), value: 464 }
  3. IntVariableSet { variable: LongtermAccessInt (0x46), value: 465 }
  4. CreateInterrupt { interrupt_id: None, action: 0x11a, requirement: (ShieldInputHeld) }
  5. PreviousInterruptAddRequirement(OnGround)
  6. CreateInterrupt { interrupt_id: None, action: 0x11a, requirement: (ShieldInputHeld) }
  7. PreviousInterruptAddRequirement(InAir)
  8. if (OnGround)
    1. Subroutine(0x18fa8)
  9. else
    1. Subroutine(0x18fe8)
  10. UnknownEvent { namespace: 0x4, code: 0x6, unk1: 0x0, arguments: [Variable(Variable { memory_type: LongtermAccess, data_type: Int, address: 64 })] }
  11. Subroutine(0x1a950)
  12. CallEveryFrame { thread_id: 9, script: 0x27250 }
  13. CreateInterrupt { interrupt_id: None, action: 0x118, requirement: ((LongtermAccessInt(Temp2) GreaterThanOrEqual scalar(4))) }
  14. 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. CreateInterrupt { interrupt_id: None, action: 0x119, requirement: (ButtonPress value(1)) }
    4. LoopRest

Exit Script