CommonEvent 1000
Name = "敵から話し掛けてきた"

  999([1000])
  ControlVariables([11, 11, 0, 2, 1, 100])
  ConditionalBranch([1, 106, 0, 80, 2])
    ConditionalBranch([1, 11, 0, 20, 2])
      ControlVariables([20, 20, 0, 0, 3])
      JumpToLabel(["IDジャンプ"])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 11, 0, 55, 2])
      ControlVariables([20, 20, 0, 0, 1])
      ControlVariables([51, 51, 0, 1, 101])
      Script(["change_friend_n(2)"])
      JumpToLabel(["IDジャンプ"])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 11, 0, 90, 2])
      ControlVariables([20, 20, 0, 0, 2])
      JumpToLabel(["IDジャンプ"])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 11, 0, 100, 2])
      ControlVariables([20, 20, 0, 0, 4])
      JumpToLabel(["IDジャンプ"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 106, 0, 99, 2])
    ConditionalBranch([1, 11, 0, 10, 2])
      ControlVariables([20, 20, 0, 0, 3])
      JumpToLabel(["IDジャンプ"])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 11, 0, 40, 2])
      ControlVariables([20, 20, 0, 0, 1])
      ControlVariables([51, 51, 0, 1, 101])
      Script(["change_friend_n(2)"])
      JumpToLabel(["IDジャンプ"])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 11, 0, 70, 2])
      ControlVariables([20, 20, 0, 0, 2])
      JumpToLabel(["IDジャンプ"])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 11, 0, 100, 2])
      ControlVariables([20, 20, 0, 0, 4])
      JumpToLabel(["IDジャンプ"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 106, 0, 100, 0])
    ConditionalBranch([1, 11, 0, 30, 2])
      ControlVariables([20, 20, 0, 0, 2])
      JumpToLabel(["IDジャンプ"])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 11, 0, 70, 2])
      ControlVariables([20, 20, 0, 0, 1])
      ControlVariables([51, 51, 0, 1, 101])
      Script(["change_friend_n(2)"])
      JumpToLabel(["IDジャンプ"])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 11, 0, 100, 2])
      ControlVariables([20, 20, 0, 0, 4])
      JumpToLabel(["IDジャンプ"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  Label(["IDジャンプ"])
  ConditionalBranch([1, 12, 0, 0, 0])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["Conversation not set."])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  ControlVariables([51, 51, 0, 1, 12])
  Script(["id = v(12)"])
  ScriptMore(["id -= 2000 if id > 2000"])
  ScriptMore(["common_event = $data_common_events[id + 1000]"])
  ScriptMore(["child = Game_Interpreter.new(@depth + 1)"])
  ScriptMore(["child.setup(common_event.list, 0)"])
  ScriptMore(["child.run"])
  Empty([])
