P+ - Roy - Common Subroutine 0x805466c8

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