P+ - R.O.B - Common Subroutine 0xdf94

  1. if (HoldingItem)
    1. IfStatementAnd (ButtonPress value(0))
    2. IfStatementAnd (ButtonHeld value(3))
    3. IfStatementAnd ((InternalConstantInt(ControlStickXAxisAbsolute) LessThan InternalConstantInt (0xc5c)))
    4. IfStatementAnd ((InternalConstantInt(ControlStickYAxisAbsolute) LessThan InternalConstantInt (0xc5d)))
    5. IfStatementAnd (not(HoldingItemOfType value(4194304)))
    6. if ((InternalConstantInt(HeldItem) Equal scalar(72)))
      1. ItemDrop
    7. else
      1. ItemThrow2 { unk1: 0, unk2: 0, unk3: InternalConstantInt (0xbfa)}
    8. ControllerUnk02
    9. BoolVariableSetTrue { variable: LongtermAccessBool (0x4) }