P+ - Sonic - Common Subroutine 0x80546780

  1. CreateInterrupt { interrupt_id: Some(10106), action: CatchTurn, requirement: ((InternalConstantInt(ControlStickXAxisRelative) LessThanOrEqual InternalConstantInt (0xc3a))) }
  2. PreviousInterruptAddRequirement(ButtonHeld value(0))
  3. PreviousInterruptAddRequirement(OnGround)
  4. PreviousInterruptAddRequirement(not(HoldingItem))
  5. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  6. Return
  7. CreateInterrupt { interrupt_id: Some(10105), action: CatchDash, requirement: (ShieldInputPress value(3)) }
  8. PreviousInterruptAddRequirement(OnGround)
  9. PreviousInterruptAddRequirement(not(HoldingItem))
  10. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  11. Return
  12. CreateInterrupt { interrupt_id: Some(10106), action: CatchTurn, requirement: ((InternalConstantInt(ControlStickXAxisRelative) LessThanOrEqual InternalConstantInt (0xc3a))) }
  13. PreviousInterruptAddRequirement(ShieldInputPress value(3))
  14. PreviousInterruptAddRequirement(OnGround)
  15. PreviousInterruptAddRequirement(not(HoldingItem))
  16. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  17. Return
  18. CreateInterrupt { interrupt_id: Some(10106), action: CatchTurn, requirement: (ShieldInputHeld value(3)) }
  19. PreviousInterruptAddRequirement(ButtonPress value(0))
  20. PreviousInterruptAddRequirement(OnGround)
  21. PreviousInterruptAddRequirement(not(HoldingItem))
  22. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  23. Return