P+ - Sonic - Action - 0x8 TurnRun

Entry Script (Common)

  1. CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
  2. Subroutine(0x80546808)
  3. UnknownEvent { namespace: 0x12, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 23082 }), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 1 })] }
  4. CreateInterrupt { interrupt_id: Some(10043), action: JumpSquat, requirement: (ButtonPress value(2)) }
  5. PreviousInterruptAddRequirement(OnGround)
  6. CreateInterrupt { interrupt_id: Some(10042), action: JumpSquat, requirement: ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc45))) }
  7. PreviousInterruptAddRequirement((InternalConstantInt (0x520a) LessThan InternalConstantInt (0x59fb)))
  8. PreviousInterruptAddRequirement(TapJumpOn)
  9. PreviousInterruptAddRequirement(OnGround)
  10. CreateInterrupt { interrupt_id: Some(10011), action: Run, requirement: (AnimationEnd) }
  11. PreviousInterruptAddRequirement((InternalConstantInt(ControlStickXAxisRelative) GreaterThanOrEqual InternalConstantInt (0xc36)))
  12. PreviousInterruptAddRequirement(OnGround)
  13. CreateInterrupt { interrupt_id: None, action: TurnRunBrake, requirement: (BoolIsTrue RandomAccessBool (0x11)) }
  14. PreviousInterruptAddRequirement(not(BoolIsTrue RandomAccessBool(EnableActionTransition)))
  15. PreviousInterruptAddRequirement((InternalConstantInt(ControlStickXAxisAbsolute) LessThan InternalConstantInt (0xc36)))
  16. PreviousInterruptAddRequirement(OnGround)
  17. CreateInterrupt { interrupt_id: None, action: Wait, requirement: (BoolIsTrue RandomAccessBool (0x11)) }
  18. PreviousInterruptAddRequirement(not(BoolIsTrue RandomAccessBool(EnableActionTransition)))
  19. PreviousInterruptAddRequirement((InternalConstantInt(ControlStickXAxisRelativeReverse) GreaterThanOrEqual InternalConstantInt (0xc36)))
  20. PreviousInterruptAddRequirement(OnGround)
  21. ChangeSubactionRestartFrame(TurnRun)
  22. UnknownEvent { namespace: 0x12, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 23001 }), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 })] }
  23. CallEveryFrame { thread_id: 9, script: 0x21b38 }

Exit Script (Common)