P+ - Sonic - Common Subroutine 0x805466a0

  1. CreateInterrupt { interrupt_id: Some(10104), action: Catch, requirement: (ShieldInputHeld value(3)) }
  2. PreviousInterruptAddRequirement(ButtonPress value(0))
  3. PreviousInterruptAddRequirement(OnGround)
  4. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  5. Return
  6. CreateInterrupt { interrupt_id: Some(10105), action: CatchDash, requirement: (ShieldInputHeld value(3)) }
  7. PreviousInterruptAddRequirement(ButtonPress value(0))
  8. PreviousInterruptAddRequirement(not(HoldingItem))
  9. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  10. Return
  11. CreateInterrupt { interrupt_id: Some(10106), action: CatchTurn, requirement: ((InternalConstantInt(ControlStickXAxisRelative) LessThanOrEqual InternalConstantInt (0xc3a))) }
  12. PreviousInterruptAddRequirement(ShieldInputHeld value(3))
  13. PreviousInterruptAddRequirement(ButtonPress value(0))
  14. PreviousInterruptAddRequirement(not(HoldingItem))
  15. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  16. Return
  17. CreateInterrupt { interrupt_id: Some(10106), action: CatchTurn, requirement: ((RandomAccessFloat(EnableTurnWhenBelowZero) LessThanOrEqual scalar(0))) }
  18. PreviousInterruptAddRequirement((InternalConstantInt(ControlStickXAxisRelative) LessThanOrEqual InternalConstantInt (0xc3a)))
  19. PreviousInterruptAddRequirement(ShieldInputHeld value(3))
  20. PreviousInterruptAddRequirement(ButtonPress value(0))
  21. PreviousInterruptAddRequirement(not(HoldingItem))
  22. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  23. Return
  24. CreateInterrupt { interrupt_id: Some(10105), action: CatchDash, requirement: (ButtonHeld value(0)) }
  25. PreviousInterruptAddRequirement(OnGround)
  26. PreviousInterruptAddRequirement(not(HoldingItem))
  27. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  28. Return
  29. CreateInterrupt { interrupt_id: Some(10106), action: CatchTurn, requirement: ((InternalConstantInt(ControlStickXAxisRelative) LessThanOrEqual InternalConstantInt (0xc3a))) }
  30. PreviousInterruptAddRequirement(ButtonHeld value(0))
  31. PreviousInterruptAddRequirement(OnGround)
  32. PreviousInterruptAddRequirement(not(HoldingItem))
  33. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  34. Return
  35. CreateInterrupt { interrupt_id: Some(10105), action: CatchDash, requirement: (ShieldInputPress value(3)) }
  36. PreviousInterruptAddRequirement(OnGround)
  37. PreviousInterruptAddRequirement(not(HoldingItem))
  38. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  39. Return
  40. CreateInterrupt { interrupt_id: Some(10106), action: CatchTurn, requirement: ((InternalConstantInt(ControlStickXAxisRelative) LessThanOrEqual InternalConstantInt (0xc3a))) }
  41. PreviousInterruptAddRequirement(ShieldInputPress value(3))
  42. PreviousInterruptAddRequirement(OnGround)
  43. PreviousInterruptAddRequirement(not(HoldingItem))
  44. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  45. Return
  46. CreateInterrupt { interrupt_id: Some(10106), action: CatchTurn, requirement: (ShieldInputHeld value(3)) }
  47. PreviousInterruptAddRequirement(ButtonPress value(0))
  48. PreviousInterruptAddRequirement(OnGround)
  49. PreviousInterruptAddRequirement(not(HoldingItem))
  50. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  51. Return