PM3.02 - Ness - Action - 0x120

Entry Script

  1. CreateInterrupt { interrupt_id: Some(0), action: Wait, requirement: (AnimationEnd) }
  2. CreateInterrupt { interrupt_id: Some(1), action: Fall, requirement: (AnimationEnd) }
  3. CallEveryFrame { thread_id: 9, script: 0x17888 }
  4. BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
  5. loop Infinite times:
    1. if (OnGround)
      1. SetEdgeSlide(StayOn)
      2. SetAirGround(6)
      3. if (not(BoolIsTrue RandomAccessBool(EnableActionTransition)))
        1. ChangeSubactionRestartFrame(SpecialLwEnd)
      4. else
        1. ChangeSubaction(SpecialLwEnd)
      5. EnableInterrupt(0)
      6. DisableInterrupt(1)
      7. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
    2. else
      1. SetEdgeSlide(Airbourne)
      2. SetAirGround(105)
      3. if (not(BoolIsTrue RandomAccessBool(EnableActionTransition)))
        1. ChangeSubactionRestartFrame(SpecialAirLwEnd)
      4. else
        1. ChangeSubaction(SpecialAirLwEnd)
      5. DisableInterrupt(0)
      6. EnableInterrupt(1)
      7. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
    4. LoopRest

Exit Script