P+ - Sonic - Common Subroutine 0x805467b0

  1. CreateInterrupt { interrupt_id: Some(10105), action: CatchDash, requirement: (ShieldInputPress value(3)) }
  2. PreviousInterruptAddRequirement(OnGround)
  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(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: (ShieldInputHeld value(3)) }
  13. PreviousInterruptAddRequirement(ButtonPress value(0))
  14. PreviousInterruptAddRequirement(OnGround)
  15. PreviousInterruptAddRequirement(not(HoldingItem))
  16. PreviousInterruptAddRequirement(not(ButtonPress value(15)))
  17. Return