CommonEvent 30
Name = "Skill: Beg for Items"

  999([30])
  ConditionalBranch([0, 41, 0])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["You didn't receive any response!"])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  Script(["change_friend_n(-10)"])
  ControlVariables([11, 11, 0, 2, 1, 100])
  ConditionalBranch([1, 11, 1, 106, 2])
    ControlVariables([20, 20, 0, 0, 4])
    ControlVariables([25, 25, 0, 0, 2])
    ControlVariables([51, 51, 0, 1, 101])
    ControlVariables([12, 12, 0, 1, 101])
    Loop([])
      ConditionalBranch([1, 12, 0, 1000, 2])
        BreakLoop([])
        Empty([])

      BranchEnd([])
      ControlVariables([12, 12, 2, 0, 1000])
      Empty([])

    RepeatAbove([])
    Script(["common_event = "])
    ScriptMore(["$data_common_events[v(12)+1000]"])
    ScriptMore(["child = Game_Interpreter.new(@depth+1)"])
    ScriptMore(["child.setup(common_event.list, 0)"])
    ScriptMore(["child.run"])
    Empty([])

  Else([])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["...but was ignored."])
    Empty([])

  BranchEnd([])
  Empty([])
