P+ - Sonic - Common Subroutine 0xd4a4

  1. CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
  2. CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
  3. PreviousInterruptAddRequirement(OnGround)
  4. EnableInterruptGroup(GroundSpecial)
  5. EnableInterruptGroup(GroundItem)
  6. EnableInterruptGroup(GroundCatch)
  7. EnableInterruptGroup(GroundAttack)
  8. EnableInterruptGroup(GroundEscape)
  9. EnableInterruptGroup(GroundGuard)
  10. EnableInterruptGroup(GroundJump)
  11. EnableInterruptGroup(GroundOther)
  12. ToggleInterrupt { interrupt_type: GroundEscape, interrupt_id: 10038 }
  13. ToggleInterrupt { interrupt_type: GroundEscape, interrupt_id: 10039 }
  14. ToggleInterrupt { interrupt_type: GroundOther, interrupt_id: 10048 }
  15. ToggleInterrupt { interrupt_type: GroundOther, interrupt_id: 10046 }
  16. ToggleInterrupt { interrupt_type: GroundOther, interrupt_id: 10044 }
  17. ToggleInterrupt { interrupt_type: GroundOther, interrupt_id: 10059 }
  18. Subroutine(0x80545308)
  19. CreateInterrupt { interrupt_id: Some(10039), action: EscapeB, requirement: (ButtonHeld value(3)) }
  20. PreviousInterruptAddRequirement((InternalConstantInt (0x3f8) GreaterThanOrEqual InternalConstantInt (0xc4d)))
  21. PreviousInterruptAddRequirement((InternalConstantInt (0x5209) LessThan InternalConstantInt (0x59fe)))
  22. PreviousInterruptAddRequirement(OnGround)
  23. ChangeSubactionRestartFrame(Turn)