P+ - Knuckles - Action - 0x118

Entry Script

  1. if (OnGround)
    1. IntVariableSet { variable: RandomAccessInt(ThrowDataParam1), value: 0 }
  2. else
    1. IntVariableSet { variable: RandomAccessInt(ThrowDataParam1), value: 1 }
  3. CallEveryFrame { thread_id: 9, script: 0x1a2e4 }
  4. loop Infinite times:
    1. UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
    2. Case(0)
    3. SetAirGround(0)
    4. Subroutine(0x1d80c)
    5. ChangeSubactionRestartFrame(SpecialNStart)
    6. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: AnimationEnd }] }
    7. Case(1)
    8. SetAirGround(0)
    9. SetEdgeSlide(Airbourne)
    10. ChangeSubactionRestartFrame(SpecialAirNStart)
    11. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: AnimationEnd }] }
    12. Case(2)
    13. CreateInterrupt { interrupt_id: None, action: FallSpecial, requirement: ((RandomAccessInt (0x5) GreaterThanOrEqual scalar(360))) }
    14. ChangeSubactionRestartFrame(SpecialNWindup)
    15. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    16. Case(3)
    17. Subroutine(0xd698)
    18. SetAirGround(6)
    19. SetEdgeSlide(StayOn)
    20. ChangeSubactionRestartFrame(SpecialNHit)
    21. EndSwitch
    22. LoopRest
    23. UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
    24. Case(0)
    25. Case(1)
    26. if (AnimationEnd)
      1. IntVariableSet { variable: RandomAccessInt(ThrowDataParam1), value: 2 }
    27. Case(2)
    28. if (OnGround)
      1. IntVariableSet { variable: RandomAccessInt(ThrowDataParam1), value: 3 }
    29. EndSwitch

Exit Script