PM3.02 - Kirby - Action - 0x12d

Entry Script

  1. BoolVariableSetFalse { variable: LongtermAccessBool(Deflection) }
  2. IntVariableSet { variable: LongtermAccessInt (0x45), value: 503 }
  3. IntVariableSet { variable: LongtermAccessInt (0x46), value: 507 }
  4. ArticleAnimation(3)
  5. UnknownEvent { namespace: 0xb, code: 0x2, unk1: 0x0, arguments: [Bool(true)] }
  6. CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
  7. CallEveryFrame { thread_id: 9, script: 0x48af4 }
  8. if (InAir)
    1. SetAirGround(19)
    2. BoolVariableSetTrue { variable: LongtermAccessBool(CanNotTeeter) }
    3. SetOrAddVelocity(SetOrAddVelocity { x_vel: 0.0, y_vel: 1.5, x_set: true, y_set: true })
    4. BoolVariableSetFalse { variable: LongtermAccessBool(CanNotTeeter) }
    5. if ((LongtermAccessInt(JumpsUsed) LessThan scalar(6)))
      1. IntVariableIncrement { variable: LongtermAccessInt(JumpsUsed) }
  9. else
    1. BoolVariableSetTrue { variable: LongtermAccessBool(CanNotTeeter) }
    2. SetOrAddVelocity(SetOrAddVelocity { x_vel: 0.0, y_vel: 1.5, x_set: true, y_set: true })
    3. BoolVariableSetFalse { variable: LongtermAccessBool(CanNotTeeter) }
  10. loop Infinite times:
    1. if (OnGround)
      1. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
    2. else
      1. UnknownEvent { namespace: 0x9, code: 0x0, unk1: 0x0, arguments: [Value(2)] }
      2. SetEdgeSlide(Airbourne)
      3. SetAirGround(0)
      4. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. Subroutine(0x344c4)
    4. LoopRest

Exit Script