PM3.02 - Kirby - Action - 0x147

Entry Script

  1. CreateInterrupt { interrupt_id: Some(10002), action: Fall, requirement: (AnimationEnd) }
  2. PreviousInterruptAddRequirement(InAir)
  3. CreateInterrupt { interrupt_id: Some(10000), action: Wait, requirement: (AnimationEnd) }
  4. PreviousInterruptAddRequirement(OnGround)
  5. loop Infinite times:
    1. if (OnGround)
      1. SetAirGround(6)
      2. SetEdgeSlide(Unknown(2))
      3. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialNEnd_5)
      4. else
        1. ChangeSubactionRestartFrame(SpecialNEnd_5)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
    2. else
      1. SetAirGround(10)
      2. SetEdgeSlide(Airbourne)
      3. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialAirNEnd_5)
      4. else
        1. ChangeSubactionRestartFrame(SpecialAirNEnd_5)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. LoopRest

Exit Script

  1. UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(10), Value(-1)] }
  2. UnknownEvent { namespace: 0x10, code: 0x11, unk1: 0x0, arguments: [Value(10)] }