P+ - Roy - Action - 0x9c ThrowItemRun

Entry Script (Common)

  1. FloatVariableSet { variable: RandomAccessFloat(EnableTurnWhenBelowZero), value: InternalConstantInt(CharacterDirection) }
  2. if ((InternalConstantInt(HeldItem) Equal scalar(72)))
    1. UnknownEvent { namespace: 0xc, code: 0x13, unk1: 0x0, arguments: [] }
    2. ChangeSubactionRestartFrame(LightThrowDash)
  3. else
    1. ChangeSubactionRestartFrame(LightThrowDash)
  4. CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
  5. CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
  6. PreviousInterruptAddRequirement(OnGround)
  7. CreateInterrupt { interrupt_id: Some(10111), action: ThrowItem, requirement: (ButtonPress value(0)) }
  8. PreviousInterruptAddRequirement(not(TapJumpOn))
  9. PreviousInterruptAddRequirement((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc56)))
  10. PreviousInterruptAddRequirement(OnGround)
  11. CallEveryFrame { thread_id: 9, script: 0x19bb4 }

Exit Script (Common)

  1. if ((InternalConstantInt(HeldItem) Equal scalar(72)))
    1. UnknownEvent { namespace: 0xc, code: 0x12, unk1: 0x0, arguments: [Value(3)] }
  2. BoolVariableSetFalse { variable: LongtermAccessBool (0x2a) }