CommonEvent 30
Name = "スキル：アイテムをもらう"

  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])
    Loop([])
      ConditionalBranch([1, 101, 0, 1000, 2])
        BreakLoop([])
        Empty([])

      BranchEnd([])
      ControlVariables([101, 101, 0, 0, -1000])
      Empty([])

    RepeatAbove([])
    Script(["common_event = "])
    ScriptMore(["$data_common_events[v(101)+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([])
