P+ - Zelda - Action - 0x112 SpecialN

Entry Script

  1. UnknownEvent { namespace: 0x12, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 24000 }), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 })] }
  2. CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
  3. PreviousInterruptAddRequirement(OnGround)
  4. CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
  5. PreviousInterruptAddRequirement(InAir)
  6. CallEveryFrame { thread_id: 9, script: 0x18bc0 }
  7. ResetVerticalVelocityAndAcceleration(true)
  8. ResetVerticalVelocityAndAcceleration(false)
  9. loop Infinite times:
    1. if (OnGround)
      1. SetEdgeSlide(StayOn)
      2. SetAirGround(6)
      3. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialN)
      4. else
        1. ChangeSubactionRestartFrame(SpecialN)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
    2. else
      1. SetEdgeSlide(Airbourne)
      2. SetAirGround(100)
      3. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialAirN)
      4. else
        1. ChangeSubactionRestartFrame(SpecialAirN)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. LoopRest

Exit Script