{
  "actions": [
    {
      "actionId": 603,
      "appliesTo": -1,
      "argTypes": [
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ],
      "argValues": [
        "mapdir = \"BNO Data\\Menu\\\";\r\nif(global.spr_menurot == 0 && file_exists(mapdir+\"Menu_1-0.bmp\"))\r\n{\r\n  global.spr_menurot = sprite_add(mapdir+\"Menu_1-0.bmp\",1,0,0,1,1,0,0);\r\n  i = 1;\r\n  tempspr = sprite_add(mapdir+\"Menu_1-0.bmp\",1,0,0,1,1,0,0);\r\n  for(i = 1; i <= 4; i += 1)\r\n  {\r\n    if(i == 1)\r\n      j = 1;\r\n    else\r\n      j = 0;\r\n    for(j = j; j < 8; j += 1)\r\n    {\r\n      sprite_replace(tempspr,mapdir+\"Menu_\"+string(i)+\"-\"+string(j)+\".bmp\",1,0,0,1,1,0,0);\r\n      sprite_merge(global.spr_menurot,tempspr);\r\n    }\r\n  }\r\n  sprite_delete(tempspr);\r\n}\r\nelse if(!file_exists(mapdir+\"Menu_1-0.bmp\"))\r\n{\r\n//verdict = show_message_ext(\"Battle Network Online was unable to find the new menu graphics.##If have not downloaded the new menu yet, please choose 'Download'.#If you have downloaded the new menu, please read the instructional text file provided with the download to get the files to the correct location.#If you would rather use the old menu, select 'Old Menu'.\",\"&Download\",\"&Old Menu\",\"&Quit BNO\");\r\nverdict = 2; //Annoying query + website down. Bypassing it.\r\nif(verdict == 1)\r\n{\r\n  downloadmenu = 1;\r\n  menuaddress = \"http://bno.decidel.net/Client_Menu.rar\";\r\n  show_message(\"After clicking 'OK', Battle Network Online will close and your computer should soon begin downloading the new menu graphics.#Once downloaded, follow the instructional text file included in the download file to get the new menu to the correct location.#Afterward, run Battle Network Online again and the new menu should appear without error.##If you need further assistance with the new menu, please contact bnonline@decidel.net.\");\r\n}\r\nelse if(verdict == 2)\r\n  alarm[0] = 1;\r\nelse\r\n  game_end();\r\n}\r\n\r\n\r\nif(file_exists(mapdir+\"Menu_1-0.bmp\"))\r\n{\r\nvisible = 1;\r\nbackground_visible[0] = 1;\r\nsprite_index = global.spr_menurot;\r\nx = 0;\r\ny = room_height-sprite_height;\r\nispeed = 1;\r\nimage_single = 0;\r\n\r\nbegun = 0;\r\nfinished = 0;\r\n}"
      ],
      "isRelative": false
    },
    {
      "actionId": 408,
      "appliesTo": -1,
      "argTypes": [
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ],
      "argValues": [
        "downloadmenu"
      ],
      "isRelative": false
    },
    {
      "actionId": 422,
      "appliesTo": -1,
      "argTypes": [
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ],
      "argValues": [],
      "isRelative": false
    },
    {
      "actionId": 807,
      "appliesTo": -1,
      "argTypes": [
        2,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ],
      "argValues": [
        "\"\"+menuaddress+\"\""
      ],
      "isRelative": false
    },
    {
      "actionId": 332,
      "appliesTo": -1,
      "argTypes": [
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ],
      "argValues": [],
      "isRelative": false
    },
    {
      "actionId": 424,
      "appliesTo": -1,
      "argTypes": [
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ],
      "argValues": [],
      "isRelative": false
    }
  ],
  "eventNumber": 0,
  "eventType": 0
}
