P+ - Sonic - Common Subroutine 0x80546720

  1. CreateInterrupt { interrupt_id: Some(10106), action: CatchTurn, requirement: ((RandomAccessFloat(EnableTurnWhenBelowZero) LessThanOrEqual scalar(0))) }
  2. PreviousInterruptAddRequirement((InternalConstantInt(ControlStickXAxisRelative) LessThanOrEqual InternalConstantInt (0xc3a)))
  3. PreviousInterruptAddRequirement(ShieldInputHeld value(3))
  4. PreviousInterruptAddRequirement(ButtonPress value(0))
  5. PreviousInterruptAddRequirement(not(HoldingItem))
  6. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  7. Return
  8. CreateInterrupt { interrupt_id: Some(10105), action: CatchDash, requirement: (ButtonHeld value(0)) }
  9. PreviousInterruptAddRequirement(OnGround)
  10. PreviousInterruptAddRequirement(not(HoldingItem))
  11. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  12. Return
  13. CreateInterrupt { interrupt_id: Some(10106), action: CatchTurn, requirement: ((InternalConstantInt(ControlStickXAxisRelative) LessThanOrEqual InternalConstantInt (0xc3a))) }
  14. PreviousInterruptAddRequirement(ButtonHeld value(0))
  15. PreviousInterruptAddRequirement(OnGround)
  16. PreviousInterruptAddRequirement(not(HoldingItem))
  17. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  18. Return
  19. CreateInterrupt { interrupt_id: Some(10105), action: CatchDash, requirement: (ShieldInputPress value(3)) }
  20. PreviousInterruptAddRequirement(OnGround)
  21. PreviousInterruptAddRequirement(not(HoldingItem))
  22. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  23. Return
  24. CreateInterrupt { interrupt_id: Some(10106), action: CatchTurn, requirement: ((InternalConstantInt(ControlStickXAxisRelative) LessThanOrEqual InternalConstantInt (0xc3a))) }
  25. PreviousInterruptAddRequirement(ShieldInputPress value(3))
  26. PreviousInterruptAddRequirement(OnGround)
  27. PreviousInterruptAddRequirement(not(HoldingItem))
  28. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  29. Return
  30. CreateInterrupt { interrupt_id: Some(10106), action: CatchTurn, requirement: (ShieldInputHeld value(3)) }
  31. PreviousInterruptAddRequirement(ButtonPress value(0))
  32. PreviousInterruptAddRequirement(OnGround)
  33. PreviousInterruptAddRequirement(not(HoldingItem))
  34. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  35. Return