--- arestorationp\setup-arestorationp.tp2	Tue Aug 15 19:23:36 2017
+++ C:\BWP Patchstudio\patched files\arestorationp\setup-arestorationp.tp2	Tue Aug 15 19:19:54 2017
@@ -1,6 +1,6 @@
 BACKUP ~arestorationp/backup~
 AUTHOR ~Almateria (sylwiabukato@gmail.com)~
-VERSION ~v8.2.8~
+VERSION ~v8.2.8 BWP fix~
 README "arestorationp/language/%LANGUAGE%/readme.html" "arestorationp/language/english/readme.html"
 AUTO_TRA ~arestorationp/language/%s~
 //%
@@ -2480,7 +2480,7 @@
 DisplayStringHead(Myself,40099)
 Wait(6)~
 END
-
+/* EE only
 COPY_EXISTING slayerw3.itm override
 LPF ALTER_ITEM_EFFECT
 INT_VAR
@@ -2489,7 +2489,7 @@
 parameter2 = 3
 END
 BUT_ONLY
-
+*/
 
 BEGIN ~~
 DEPRECATED @1100
@@ -2621,6 +2621,24 @@
     strDesc = EVAL "%GrovName%"
     worldmap = "worldmap"
 RET areNum = areNum END
+
+//Add BP-BGT-WORLDMAP Compatibility
+APPEND ~MASTAREA.2da~ ~AR2700 value~ UNLESS ~AR2700~
+
+ACTION_IF FILE_EXISTS ~Worldmap/map_mods_areas.tbl~ THEN BEGIN
+  COPY ~Worldmap/map_mods_areas.tbl~  ~Worldmap~
+   APPEND_FILE ~arestorationp/Worldmap/areas.tbl~
+  COPY ~Worldmap/map_mods_links.tbl~  ~Worldmap~
+   APPEND_FILE ~arestorationp/Worldmap/links.tbl~
+  COPY ~Worldmap/map_mods_trans.tra~  ~Worldmap~
+   APPEND_FILE_EVALUATE ~arestorationp/Worldmap/%LANGUAGE%/worldmap.tra~
+END
+ELSE BEGIN
+  MKDIR ~Worldmap~
+  COPY ~arestorationp/Worldmap/areas.tbl~ ~Worldmap/map_mods_areas.tbl~
+  COPY ~arestorationp/Worldmap/links.tbl~ ~Worldmap/map_mods_links.tbl~
+  COPY ~arestorationp/Worldmap/%LANGUAGE%/worldmap.tra~ ~Worldmap/map_mods_trans.tra~
+END
 
  BEGIN @1400
  REQUIRE_COMPONENT "setup-arestorationp.tp2" "11" ~Requires the previous component.~
