CommonEvent 606
Name = "イベント：商人マーメイド"

  999([606])
  ControlSwitches([73, 73, 0])
  ShowPicture([5, "80_s_mermaid_st02", 0, 0, 0, 0, 100, 100, 0, 0])
  MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 255, 0, 60, true])
  ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
  ShowText(["\\n<Mermaid Merchant>Welcome! I'm a traveling merchant.\nWanna buy something? I've got some special wares for ya, too!"])
  ShowText([""])
  ShowText([""])
  ShowChoices([["Normal wares", "Special wares", "Not interested"], 3])
  When([0, "通常の商品"])
    ShopProcessing([0, 2, 0, 0, false])
    ShopItem([0, 4, 0, 0])
    ShopItem([0, 7, 0, 0])
    ShopItem([0, 11, 0, 0])
    ShopItem([0, 13, 0, 0])
    ShopItem([0, 14, 0, 0])
    ShopItem([0, 15, 0, 0])
    ShopItem([0, 16, 0, 0])
    ShopItem([0, 17, 0, 0])
    ShopItem([0, 18, 0, 0])
    ShopItem([0, 19, 0, 0])
    ShopItem([0, 20, 0, 0])
    ShopItem([0, 21, 0, 0])
    ShopItem([0, 23, 0, 0])
    ShopItem([0, 35, 0, 0])
    ShopItem([0, 52, 0, 0])
    ShopItem([0, 56, 0, 0])
    ShopItem([0, 60, 0, 0])
    ShopItem([0, 64, 0, 0])
    ShopItem([0, 68, 0, 0])
    ShopItem([0, 72, 0, 0])
    ShopItem([0, 76, 0, 0])
    ShopItem([0, 80, 0, 0])
    ShopItem([0, 102, 0, 0])
    ShopItem([0, 109, 0, 0])
    ShowTextAttributes(["s_mermaid_fc1", 0, 0, 2])
    ShowText(["\\n<Mermaid Merchant>Thanks! Come again!"])
    ShowText([""])
    ErasePicture([5])
    ControlSwitches([73, 73, 1])
    ExitEventProcessing([])
    Empty([])

  When([1, "掘り出し物"])
    ConditionalBranch([1, 129, 0, 0, 0])
      ControlVariables([11, 11, 0, 2, 1, 15])
      ConditionalBranch([1, 11, 0, 1, 0])
        ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
        ShowText(["\\n<Mermaid Merchant>I've got a Life Nut for 3000G. Interested?\nYou won't find one cheaper than this!"])
        ShowText([""])
        ShowText([""])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["Buy a Life Nut?\\$"])
        ShowChoices([["Yes", "No"], 2])
        When([0, "はい"])
          ChangeGold([1, 0, 3000])
          PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
          ChangeItems([24, 0, 0, 1])
          ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
          ShowText(["\\n<Mermaid Merchant>Thanks! Come again!"])
          ShowText([""])
          ControlVariables([129, 129, 0, 0, 1])
          ErasePicture([5])
          ControlSwitches([73, 73, 1])
          ExitEventProcessing([])
          Empty([])

        When([1, "いいえ"])
          ShowTextAttributes(["s_mermaid_fc1", 0, 0, 2])
          ShowText(["\\n<Mermaid Merchant>Welp, seeya later."])
          ShowText([""])
          ControlVariables([129, 129, 0, 0, 2])
          ErasePicture([5])
          ControlSwitches([73, 73, 1])
          ExitEventProcessing([])
          Empty([])

        ChoicesEnd([])
        Empty([])

      BranchEnd([])
      ConditionalBranch([1, 11, 0, 2, 0])
        ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
        ShowText(["\\n<Mermaid Merchant>I've got a Mystery Nut for 3000G. Interested?\nYou won't find one cheaper than this!"])
        ShowText([""])
        ShowText([""])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["Buy a Mystery Nut?\\$"])
        ShowChoices([["Yes", "No"], 2])
        When([0, "はい"])
          ChangeGold([1, 0, 3000])
          PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
          ChangeItems([25, 0, 0, 1])
          ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
          ShowText(["\\n<Mermaid Merchant>Thanks! Come again!"])
          ShowText([""])
          ControlVariables([129, 129, 0, 0, 1])
          ErasePicture([5])
          ControlSwitches([73, 73, 1])
          ExitEventProcessing([])
          Empty([])

        When([1, "いいえ"])
          ShowTextAttributes(["s_mermaid_fc1", 0, 0, 2])
          ShowText(["\\n<Mermaid Merchant>Welp, seeya later."])
          ShowText([""])
          ControlVariables([129, 129, 0, 0, 2])
          ErasePicture([5])
          ControlSwitches([73, 73, 1])
          ExitEventProcessing([])
          Empty([])

        ChoicesEnd([])
        Empty([])

      BranchEnd([])
      ConditionalBranch([1, 11, 0, 3, 0])
        ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
        ShowText(["\\n<Mermaid Merchant>I've got a Seed of Power for 3000G. Interested?\nYou won't find one cheaper than this!"])
        ShowText([""])
        ShowText([""])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["Buy a Seed of Power?\\$"])
        ShowChoices([["Yes", "No"], 2])
        When([0, "はい"])
          ChangeGold([1, 0, 3000])
          PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
          ChangeItems([26, 0, 0, 1])
          ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
          ShowText(["\\n<Mermaid Merchant>Thanks! Come again!"])
          ShowText([""])
          ControlVariables([129, 129, 0, 0, 1])
          ErasePicture([5])
          ControlSwitches([73, 73, 1])
          ExitEventProcessing([])
          Empty([])

        When([1, "いいえ"])
          ShowTextAttributes(["s_mermaid_fc1", 0, 0, 2])
          ShowText(["\\n<Mermaid Merchant>Welp, seeya later."])
          ShowText([""])
          ControlVariables([129, 129, 0, 0, 2])
          ErasePicture([5])
          ControlSwitches([73, 73, 1])
          ExitEventProcessing([])
          Empty([])

        ChoicesEnd([])
        Empty([])

      BranchEnd([])
      ConditionalBranch([1, 11, 0, 4, 0])
        ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
        ShowText(["\\n<Mermaid Merchant>I've got a Seed of Defense for 3000G. Interested?\nYou won't find one cheaper than this!"])
        ShowText([""])
        ShowText([""])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["Buy a Seed of Defense?\\$"])
        ShowChoices([["Yes", "No"], 2])
        When([0, "はい"])
          ChangeGold([1, 0, 3000])
          PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
          ChangeItems([27, 0, 0, 1])
          ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
          ShowText(["\\n<Mermaid Merchant>Thanks! Come again!"])
          ShowText([""])
          ControlVariables([129, 129, 0, 0, 1])
          ErasePicture([5])
          ControlSwitches([73, 73, 1])
          ExitEventProcessing([])
          Empty([])

        When([1, "いいえ"])
          ShowTextAttributes(["s_mermaid_fc1", 0, 0, 2])
          ShowText(["\\n<Mermaid Merchant>Welp, seeya later."])
          ShowText([""])
          ControlVariables([129, 129, 0, 0, 2])
          ErasePicture([5])
          ControlSwitches([73, 73, 1])
          ExitEventProcessing([])
          Empty([])

        ChoicesEnd([])
        Empty([])

      BranchEnd([])
      ConditionalBranch([1, 11, 0, 5, 0])
        ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
        ShowText(["\\n<Mermaid Merchant>I've got a Seed of Magic for 3000G. Interested?\nYou won't find one cheaper than this!"])
        ShowText([""])
        ShowText([""])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["Buy a Seed of Magic?\\$"])
        ShowChoices([["Yes", "No"], 2])
        When([0, "はい"])
          ChangeGold([1, 0, 3000])
          PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
          ChangeItems([28, 0, 0, 1])
          ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
          ShowText(["\\n<Mermaid Merchant>Thanks! Come again!"])
          ShowText([""])
          ControlVariables([129, 129, 0, 0, 1])
          ErasePicture([5])
          ControlSwitches([73, 73, 1])
          ExitEventProcessing([])
          Empty([])

        When([1, "いいえ"])
          ShowTextAttributes(["s_mermaid_fc1", 0, 0, 2])
          ShowText(["\\n<Mermaid Merchant>Welp, seeya later."])
          ShowText([""])
          ControlVariables([129, 129, 0, 0, 2])
          ErasePicture([5])
          ControlSwitches([73, 73, 1])
          ExitEventProcessing([])
          Empty([])

        ChoicesEnd([])
        Empty([])

      BranchEnd([])
      ConditionalBranch([1, 11, 0, 6, 0])
        ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
        ShowText(["\\n<Mermaid Merchant>I've got a Seed of Spirit for 3000G. Interested?\nYou won't find one cheaper than this!"])
        ShowText([""])
        ShowText([""])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["Buy a Seed of Spirit?\\$"])
        ShowChoices([["Yes", "No"], 2])
        When([0, "はい"])
          ChangeGold([1, 0, 3000])
          PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
          ChangeItems([29, 0, 0, 1])
          ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
          ShowText(["\\n<Mermaid Merchant>Thanks! Come again!"])
          ShowText([""])
          ControlVariables([129, 129, 0, 0, 1])
          ErasePicture([5])
          ControlSwitches([73, 73, 1])
          ExitEventProcessing([])
          Empty([])

        When([1, "いいえ"])
          ShowTextAttributes(["s_mermaid_fc1", 0, 0, 2])
          ShowText(["\\n<Mermaid Merchant>Welp, seeya later."])
          ShowText([""])
          ControlVariables([129, 129, 0, 0, 2])
          ErasePicture([5])
          ControlSwitches([73, 73, 1])
          ExitEventProcessing([])
          Empty([])

        ChoicesEnd([])
        Empty([])

      BranchEnd([])
      ConditionalBranch([1, 11, 0, 7, 0])
        ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
        ShowText(["\\n<Mermaid Merchant>I've got a Seed of Agility for 3000G. Interested?\nYou won't find one cheaper than this!"])
        ShowText([""])
        ShowText([""])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["Buy a Seed of Agility?\\$"])
        ShowChoices([["Yes", "No"], 2])
        When([0, "はい"])
          ChangeGold([1, 0, 3000])
          PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
          ChangeItems([30, 0, 0, 1])
          ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
          ShowText(["\\n<Mermaid Merchant>Thanks! Come again!"])
          ShowText([""])
          ControlVariables([129, 129, 0, 0, 1])
          ErasePicture([5])
          ControlSwitches([73, 73, 1])
          ExitEventProcessing([])
          Empty([])

        When([1, "いいえ"])
          ShowTextAttributes(["s_mermaid_fc1", 0, 0, 2])
          ShowText(["\\n<Mermaid Merchant>Welp, seeya later."])
          ShowText([""])
          ControlVariables([129, 129, 0, 0, 2])
          ErasePicture([5])
          ControlSwitches([73, 73, 1])
          ExitEventProcessing([])
          Empty([])

        ChoicesEnd([])
        Empty([])

      BranchEnd([])
      ConditionalBranch([1, 11, 0, 8, 0])
        ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
        ShowText(["\\n<Mermaid Merchant>I've got a Seed of Skill for 3000G. Interested?\nYou won't find one cheaper than this!"])
        ShowText([""])
        ShowText([""])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["Buy a Seed of Skill?\\$"])
        ShowChoices([["Yes", "No"], 2])
        When([0, "はい"])
          ChangeGold([1, 0, 3000])
          PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
          ChangeItems([31, 0, 0, 1])
          ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
          ShowText(["\\n<Mermaid Merchant>Thanks! Come again!"])
          ShowText([""])
          ControlVariables([129, 129, 0, 0, 1])
          ErasePicture([5])
          ControlSwitches([73, 73, 1])
          ExitEventProcessing([])
          Empty([])

        When([1, "いいえ"])
          ShowTextAttributes(["s_mermaid_fc1", 0, 0, 2])
          ShowText(["\\n<Mermaid Merchant>Welp, seeya later."])
          ShowText([""])
          ControlVariables([129, 129, 0, 0, 2])
          ErasePicture([5])
          ControlSwitches([73, 73, 1])
          ExitEventProcessing([])
          Empty([])

        ChoicesEnd([])
        Empty([])

      BranchEnd([])
      ConditionalBranch([1, 11, 0, 9, 0])
        ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
        ShowText(["\\n<Mermaid Merchant>I've got an Angel Seed for 3000G. Interested?\nYou won't find one cheaper than this!"])
        ShowText([""])
        ShowText([""])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["Buy an Angel Seed?\\$"])
        ShowChoices([["Yes", "No"], 2])
        When([0, "はい"])
          ChangeGold([1, 0, 3000])
          PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
          ChangeItems([37, 0, 0, 1])
          ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
          ShowText(["\\n<Mermaid Merchant>Thanks! Come again!"])
          ShowText([""])
          ControlVariables([129, 129, 0, 0, 1])
          ErasePicture([5])
          ControlSwitches([73, 73, 1])
          ExitEventProcessing([])
          Empty([])

        When([1, "いいえ"])
          ShowTextAttributes(["s_mermaid_fc1", 0, 0, 2])
          ShowText(["\\n<Mermaid Merchant>Welp, seeya later."])
          ShowText([""])
          ControlVariables([129, 129, 0, 0, 2])
          ErasePicture([5])
          ControlSwitches([73, 73, 1])
          ExitEventProcessing([])
          Empty([])

        ChoicesEnd([])
        Empty([])

      BranchEnd([])
      ConditionalBranch([1, 11, 0, 10, 0])
        ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
        ShowText(["\\n<Mermaid Merchant>I've got a Seed of Promotion for 3000G. Interested?\nYou won't find one cheaper than this!"])
        ShowText([""])
        ShowText([""])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["Buy a Seed of Promotion?\\$"])
        ShowChoices([["Yes", "No"], 2])
        When([0, "はい"])
          ChangeGold([1, 0, 3000])
          PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
          ChangeItems([41, 0, 0, 1])
          ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
          ShowText(["\\n<Mermaid Merchant>Thanks! Come again!"])
          ShowText([""])
          ControlVariables([129, 129, 0, 0, 1])
          ErasePicture([5])
          ControlSwitches([73, 73, 1])
          ExitEventProcessing([])
          Empty([])

        When([1, "いいえ"])
          ShowTextAttributes(["s_mermaid_fc1", 0, 0, 2])
          ShowText(["\\n<Mermaid Merchant>Welp, seeya later."])
          ShowText([""])
          ControlVariables([129, 129, 0, 0, 2])
          ErasePicture([5])
          ControlSwitches([73, 73, 1])
          ExitEventProcessing([])
          Empty([])

        ChoicesEnd([])
        Empty([])

      BranchEnd([])
      ConditionalBranch([1, 11, 0, 11, 0])
        ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
        ShowText(["\\n<Mermaid Merchant>I've got a Seed of Lineage for 3000G. Interested?\nYou won't find one cheaper than this!"])
        ShowText([""])
        ShowText([""])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["Buy a Seed of Lineage?\\$"])
        ShowChoices([["Yes", "No"], 2])
        When([0, "はい"])
          ChangeGold([1, 0, 3000])
          PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
          ChangeItems([45, 0, 0, 1])
          ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
          ShowText(["\\n<Mermaid Merchant>Thanks! Come again!"])
          ShowText([""])
          ControlVariables([129, 129, 0, 0, 1])
          ErasePicture([5])
          ControlSwitches([73, 73, 1])
          ExitEventProcessing([])
          Empty([])

        When([1, "いいえ"])
          ShowTextAttributes(["s_mermaid_fc1", 0, 0, 2])
          ShowText(["\\n<Mermaid Merchant>Welp, seeya later."])
          ShowText([""])
          ControlVariables([129, 129, 0, 0, 2])
          ErasePicture([5])
          ControlSwitches([73, 73, 1])
          ExitEventProcessing([])
          Empty([])

        ChoicesEnd([])
        Empty([])

      BranchEnd([])
      ConditionalBranch([1, 11, 0, 12, 1])
        ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
        ShowText(["\\n<Mermaid Merchant>I've got a Small Medal for 3000G. Interested?\nYou won't find one cheaper than this!"])
        ShowText([""])
        ShowText([""])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["Buy a Small Medal?\\$"])
        ShowChoices([["Yes", "No"], 2])
        When([0, "はい"])
          ChangeGold([1, 0, 3000])
          PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
          ChangeItems([32, 0, 0, 1])
          ShowTextAttributes(["s_mermaid_fc1", 1, 0, 2])
          ShowText(["\\n<Mermaid Merchant>Thanks! Come again!"])
          ShowText([""])
          ControlVariables([129, 129, 0, 0, 1])
          ErasePicture([5])
          ControlSwitches([73, 73, 1])
          ExitEventProcessing([])
          Empty([])

        When([1, "いいえ"])
          ShowTextAttributes(["s_mermaid_fc1", 0, 0, 2])
          ShowText(["\\n<Mermaid Merchant>Welp, seeya later."])
          ShowText([""])
          ControlVariables([129, 129, 0, 0, 2])
          ErasePicture([5])
          ControlSwitches([73, 73, 1])
          ExitEventProcessing([])
          Empty([])

        ChoicesEnd([])
        Empty([])

      BranchEnd([])
      ExitEventProcessing([])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 129, 0, 1, 0])
      ShowPicture([5, "80_s_mermaid_st01", 0, 0, 0, 0, 100, 100, 0, 0])
      MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 255, 0, 60, true])
      ShowTextAttributes(["s_mermaid_fc1", 0, 0, 2])
      ShowText(["\\n<Mermaid Merchant>Thanks! Come again!"])
      ShowText([""])
      ErasePicture([5])
      ControlSwitches([73, 73, 1])
      ExitEventProcessing([])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 129, 0, 2, 0])
      ShowPicture([5, "80_s_mermaid_st01", 0, 0, 0, 0, 100, 100, 0, 0])
      MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 255, 0, 60, true])
      ShowTextAttributes(["s_mermaid_fc1", 0, 0, 2])
      ShowText(["\\n<Mermaid Merchant>Huh? I thought you didn't want it?\nI already ate it."])
      ShowText([""])
      ShowText([""])
      ShowTextAttributes(["s_mermaid_fc1", 0, 0, 2])
      ShowText(["\\n<Mermaid Merchant>Welp! Come again!"])
      ShowText([""])
      ErasePicture([5])
      ControlSwitches([73, 73, 1])
      ExitEventProcessing([])
      Empty([])

    BranchEnd([])
    Empty([])

  When([2, "用はない"])
    ShowTextAttributes(["s_mermaid_fc1", 0, 0, 2])
    ShowText(["\\n<Mermaid Merchant>Welp, seeya later."])
    ShowText([""])
    ErasePicture([5])
    ControlSwitches([73, 73, 1])
    ExitEventProcessing([])
    Empty([])

  ChoicesEnd([])
  Empty([])
