P+ - Roy - Common Subroutine 0x805466f0

  1. CreateInterrupt { interrupt_id: Some(10106), action: CatchTurn, requirement: ((InternalConstantInt(ControlStickXAxisRelative) LessThanOrEqual InternalConstantInt (0xc3a))) }
  2. PreviousInterruptAddRequirement(ShieldInputHeld value(3))
  3. PreviousInterruptAddRequirement(ButtonPress value(0))
  4. PreviousInterruptAddRequirement(not(HoldingItem))
  5. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  6. Return
  7. CreateInterrupt { interrupt_id: Some(10106), action: CatchTurn, requirement: ((RandomAccessFloat(EnableTurnWhenBelowZero) LessThanOrEqual scalar(0))) }
  8. PreviousInterruptAddRequirement((InternalConstantInt(ControlStickXAxisRelative) LessThanOrEqual InternalConstantInt (0xc3a)))
  9. PreviousInterruptAddRequirement(ShieldInputHeld value(3))
  10. PreviousInterruptAddRequirement(ButtonPress value(0))
  11. PreviousInterruptAddRequirement(not(HoldingItem))
  12. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  13. Return
  14. CreateInterrupt { interrupt_id: Some(10105), action: CatchDash, requirement: (ButtonHeld value(0)) }
  15. PreviousInterruptAddRequirement(OnGround)
  16. PreviousInterruptAddRequirement(not(HoldingItem))
  17. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  18. Return
  19. CreateInterrupt { interrupt_id: Some(10106), action: CatchTurn, requirement: ((InternalConstantInt(ControlStickXAxisRelative) LessThanOrEqual InternalConstantInt (0xc3a))) }
  20. PreviousInterruptAddRequirement(ButtonHeld value(0))
  21. PreviousInterruptAddRequirement(OnGround)
  22. PreviousInterruptAddRequirement(not(HoldingItem))
  23. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  24. Return
  25. CreateInterrupt { interrupt_id: Some(10105), action: CatchDash, requirement: (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: ((InternalConstantInt(ControlStickXAxisRelative) LessThanOrEqual InternalConstantInt (0xc3a))) }
  31. PreviousInterruptAddRequirement(ShieldInputPress value(3))
  32. PreviousInterruptAddRequirement(OnGround)
  33. PreviousInterruptAddRequirement(not(HoldingItem))
  34. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  35. Return
  36. CreateInterrupt { interrupt_id: Some(10106), action: CatchTurn, requirement: (ShieldInputHeld value(3)) }
  37. PreviousInterruptAddRequirement(ButtonPress value(0))
  38. PreviousInterruptAddRequirement(OnGround)
  39. PreviousInterruptAddRequirement(not(HoldingItem))
  40. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  41. Return