P+ - Sonic - Action - 0xe2

Entry Script (Common)

  1. CreateInterrupt { interrupt_id: None, action: Wait, requirement: (not(BoolIsTrue LongtermAccessBool(HasHammer))) }
  2. PreviousInterruptAddRequirement(OnGround)
  3. CreateInterrupt { interrupt_id: None, action: 0xe3, requirement: ((RandomAccessInt (0x0) GreaterThan InternalConstantInt(JumpStartTimer))) }
  4. PreviousInterruptAddRequirement(OnGround)
  5. CreateInterrupt { interrupt_id: None, action: 0xe4, requirement: (InAir) }
  6. IntVariableSet { variable: RandomAccessInt (0x5), value: 322 }
  7. Subroutine(0x1ddec)
  8. if ((InternalConstantInt (0x520a) GreaterThanOrEqual InternalConstantInt (0x59fb)))
    1. IfStatementOr ((InternalConstantInt (0x5210) LessThanOrEqual scalar(0)))
    2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
  9. CallEveryFrame { thread_id: 9, script: 0x1e22c }

Exit Script (Common)

  1. if (BoolIsTrue LongtermAccessBool(HasHammer))
    1. UnknownEvent { namespace: 0xc, code: 0x12, unk1: 0x0, arguments: [Value(2)] }