/*Dragonian Engine- */
/*Gaius Village*/
 
if sound_isplaying(TownBGM) = 0 {
if sound_isplaying(ForestBGM) = 0 instance_create(0,0,BeginMsg)
sound_loop(TownBGM)}
global.Map = "Maps/SierrMap.txt"

RoomA = "Lands/ForestB.txt"
RoomB = "Lands/ForestA.txt"
RoomC = "Lands/RickHouse.txt"
RoomD = "Lands/TabHome.txt"
RoomE = "Lands/Bathouse.txt"
RoomF = "Lands/GaiusHome.txt"
RoomG = "Lands/GaiusShop.txt"
RoomH = "Lands/GaiusBar.txt"

d3d_set_fog(true,c_white,128,5000)
  
CornerAX = 0
CornerAY = 0
CornerBX = 2928
CornerBY = 2928 
z = 0
zHeight = 8
TexNo = 0
Switch = 0
instance_create(0,0,SuperBlock)
CornerAX = 1296
CornerAY = 168
CornerBX = 1904
CornerBY = 1000 
z = 0
zHeight = 16
TexNo = 0
Switch = 0
instance_create(1296,168,SuperBlock)
CornerAX = 1976
CornerAY = 1312
CornerBX = 2760
CornerBY = 2360 
z = 0
zHeight = 16
TexNo = 0
Switch = 0
instance_create(1976,1312,SuperBlock)
CornerAX = 512
CornerAY = 2048
CornerBX = 880
CornerBY = 2760 
z = 0
zHeight = 16
TexNo = 0
Switch = 0
instance_create(512,2048,SuperBlock)
CornerAX = 1304
CornerAY = 184
CornerBX = 1840
CornerBY = 856 
z = 0
zHeight = 24
TexNo = 0
Switch = 0
instance_create(1304,184,SuperBlock)
CornerAX = 2168
CornerAY = 1408
CornerBX = 2760
CornerBY = 2320 
z = 0
zHeight = 24
TexNo = 0
Switch = 0
instance_create(2168,1408,SuperBlock)
CornerAX = 1520
CornerAY = 1480
CornerBX = 1528
CornerBY = 1520 
z = 0
zHeight = 24
TexNo = 28
Switch = 0
instance_create(1520,1480,SuperBlock)
CornerAX = 1472
CornerAY = 1480
CornerBX = 1512
CornerBY = 1488 
z = 0
zHeight = 24
TexNo = 28
Switch = 0
instance_create(1472,1480,SuperBlock)
CornerAX = 1472
CornerAY = 1496
CornerBX = 1480
CornerBY = 1536 
z = 0
zHeight = 24
TexNo = 28
Switch = 0
instance_create(1472,1496,SuperBlock)
CornerAX = 1488
CornerAY = 1528
CornerBX = 1528
CornerBY = 1536 
z = 0
zHeight = 24
TexNo = 28
Switch = 0
instance_create(1488,1528,SuperBlock)
CornerAX = 0
CornerAY = 2768
CornerBX = 2928
CornerBY = 2928 
z = 0
zHeight = 32
TexNo = 0
Switch = 0
instance_create(0,2768,SuperBlock)
CornerAX = 0
CornerAY = 0
CornerBX = 160
CornerBY = 2760 
z = 0
zHeight = 32
TexNo = 0
Switch = 0
instance_create(0,0,SuperBlock)
CornerAX = 168
CornerAY = 0
CornerBX = 2928
CornerBY = 160 
z = 0
zHeight = 32
TexNo = 0
Switch = 0
instance_create(168,0,SuperBlock)
CornerAX = 2768
CornerAY = 168
CornerBX = 2928
CornerBY = 2760 
z = 0
zHeight = 32
TexNo = 0
Switch = 0
instance_create(2768,168,SuperBlock)
CornerAX = 168
CornerAY = 168
CornerBX = 696
CornerBY = 1256 
z = 0
zHeight = 32
TexNo = 0
Switch = 0
instance_create(168,168,SuperBlock)
CornerAX = 736
CornerAY = 168
CornerBX = 1056
CornerBY = 688 
z = 0
zHeight = 32
TexNo = 0
Switch = 0
instance_create(736,168,SuperBlock)
CornerAX = 1336
CornerAY = 168
CornerBX = 1744
CornerBY = 672 
z = 0
zHeight = 32
TexNo = 0
Switch = 0
instance_create(1336,168,SuperBlock)
CornerAX = 2280
CornerAY = 1536
CornerBX = 2688
CornerBY = 2136 
z = 0
zHeight = 32
TexNo = 32
Switch = 0
instance_create(2280,1536,SuperBlock)
CornerAX = 704
CornerAY = 1152
CornerBX = 1328
CornerBY = 1328 
z = 0
zHeight = 40
TexNo = 0
Switch = 0
instance_create(704,1152,SuperBlock)
CornerAX = 1064
CornerAY = 168
CornerBX = 1328
CornerBY = 1144 
z = 0
zHeight = 40
TexNo = 0
Switch = 0
instance_create(1064,168,SuperBlock)
CornerAX = 2512
CornerAY = 520
CornerBX = 2536
CornerBY = 544 
z = 0
zHeight = 56
TexNo = 24
Switch = 0
instance_create(2512,520,SuperBlock)
CornerAX = 2544
CornerAY = 536
CornerBX = 2552
CornerBY = 560 
z = 0
zHeight = 56
TexNo = 12
Switch = 0
instance_create(2544,536,SuperBlock)
CornerAX = 2496
CornerAY = 504
CornerBX = 2504
CornerBY = 560 
z = 0
zHeight = 56
TexNo = 12
Switch = 0
instance_create(2496,504,SuperBlock)
CornerAX = 568
CornerAY = 1536
CornerBX = 608
CornerBY = 1544 
z = 0
zHeight = 56
TexNo = 44
Switch = 0
instance_create(568,1536,SuperBlock)
CornerAX = 560
CornerAY = 1584
CornerBX = 608
CornerBY = 1592 
z = 0
zHeight = 56
TexNo = 44
Switch = 0
instance_create(560,1584,SuperBlock)
CornerAX = 496
CornerAY = 1552
CornerBX = 592
CornerBY = 1576 
z = 0
zHeight = 56
TexNo = 24
Switch = 0
instance_create(496,1552,SuperBlock)
CornerAX = 1192
CornerAY = 2200
CornerBX = 1216
CornerBY = 2232 
z = 0
zHeight = 56
TexNo = 24
Switch = 0
instance_create(1192,2200,SuperBlock)
CornerAX = 1224
CornerAY = 2184
CornerBX = 1240
CornerBY = 2248 
z = 0
zHeight = 56
TexNo = 44
Switch = 0
instance_create(1224,2184,SuperBlock)
CornerAX = 1168
CornerAY = 2184
CornerBX = 1184
CornerBY = 2248 
z = 0
zHeight = 56
TexNo = 44
Switch = 0
instance_create(1168,2184,SuperBlock)
CornerAX = 1936
CornerAY = 2752
CornerBX = 1992
CornerBY = 2752 
z = 0
zHeight = 72
TexNo = 24
Switch = 0
instance_create(1936,2752,SuperBlock)
CornerAX = 1944
CornerAY = 176
CornerBX = 2000
CornerBY = 176 
z = 0
zHeight = 72
TexNo = 24
Switch = 0
instance_create(1944,176,SuperBlock)
CornerAX = 2488
CornerAY = 512
CornerBX = 2560
CornerBY = 560 
z = 56
zHeight = 72
TexNo = 16
Switch = 0
instance_create(2488,512,SuperBlock)
CornerAX = 592
CornerAY = 1528
CornerBX = 608
CornerBY = 1600 
z = 56
zHeight = 72
TexNo = 12
Switch = 0
instance_create(592,1528,SuperBlock)
CornerAX = 1160
CornerAY = 2184
CornerBX = 1248
CornerBY = 2200 
z = 56
zHeight = 72
TexNo = 16
Switch = 0
instance_create(1160,2184,SuperBlock)
CornerAX = 2320
CornerAY = 1808
CornerBX = 2336
CornerBY = 1816 
z = 32
zHeight = 80
TexNo = 28
Switch = 0
instance_create(2320,1808,SuperBlock)
CornerAX = 2320
CornerAY = 1856
CornerBX = 2336
CornerBY = 1864 
z = 32
zHeight = 80
TexNo = 28
Switch = 0
instance_create(2320,1856,SuperBlock)
CornerAX = 2336
CornerAY = 1824
CornerBX = 2336
CornerBY = 1848 
z = 0
zHeight = 80
TexNo = 24
Switch = 0
instance_create(2336,1824,SuperBlock)
CornerAX = 1616
CornerAY = 384
CornerBX = 1624
CornerBY = 440 
z = 24
zHeight = 80
TexNo = 12
Switch = 0
instance_create(1616,384,SuperBlock)
CornerAX = 1568
CornerAY = 384
CornerBX = 1576
CornerBY = 440 
z = 24
zHeight = 80
TexNo = 12
Switch = 0
instance_create(1568,384,SuperBlock)
CornerAX = 1584
CornerAY = 360
CornerBX = 1608
CornerBY = 424 
z = 32
zHeight = 80
TexNo = 24
Switch = 0
instance_create(1584,360,SuperBlock)
CornerAX = 400
CornerAY = 864
CornerBX = 408
CornerBY = 896 
z = 0
zHeight = 80
TexNo = 12
Switch = 0
instance_create(400,864,SuperBlock)
CornerAX = 448
CornerAY = 864
CornerBX = 456
CornerBY = 896 
z = 0
zHeight = 80
TexNo = 12
Switch = 0
instance_create(448,864,SuperBlock)
CornerAX = 416
CornerAY = 816
CornerBX = 440
CornerBY = 880 
z = 0
zHeight = 80
TexNo = 24
Switch = 0
instance_create(416,816,SuperBlock)
CornerAX = 2312
CornerAY = 192
CornerBX = 2696
CornerBY = 536 
z = 0
zHeight = 88
TexNo = 44
Switch = 0
instance_create(2312,192,SuperBlock)
CornerAX = 0
CornerAY = 0
CornerBX = 152
CornerBY = 2768 
z = 0
zHeight = 96
TexNo = 4
Switch = 0
instance_create(0,0,SuperBlock)
CornerAX = 160
CornerAY = 0
CornerBX = 2928
CornerBY = 152 
z = 0
zHeight = 96
TexNo = 4
Switch = 0
instance_create(160,0,SuperBlock)
CornerAX = 2776
CornerAY = 160
CornerBX = 2928
CornerBY = 2768 
z = 0
zHeight = 96
TexNo = 4
Switch = 0
instance_create(2776,160,SuperBlock)
CornerAX = 0
CornerAY = 2776
CornerBX = 2928
CornerBY = 2928 
z = 0
zHeight = 96
TexNo = 4
Switch = 0
instance_create(0,2776,SuperBlock)
CornerAX = 2320
CornerAY = 1808
CornerBX = 2336
CornerBY = 1864 
z = 80
zHeight = 96
TexNo = 28
Switch = 0
instance_create(2320,1808,SuperBlock)
CornerAX = 1560
CornerAY = 424
CornerBX = 1632
CornerBY = 440 
z = 80
zHeight = 96
TexNo = 16
Switch = 0
instance_create(1560,424,SuperBlock)
CornerAX = 384
CornerAY = 856
CornerBX = 472
CornerBY = 896 
z = 80
zHeight = 96
TexNo = 16
Switch = 0
instance_create(384,856,SuperBlock)
CornerAX = 2304
CornerAY = 184
CornerBX = 2704
CornerBY = 544 
z = 88
zHeight = 104
TexNo = 16
Switch = 0
instance_create(2304,184,SuperBlock)
CornerAX = 1888
CornerAY = 2760
CornerBX = 2040
CornerBY = 2928 
z = 0
zHeight = 112
TexNo = 4
Switch = 0
instance_create(1888,2760,SuperBlock)
CornerAX = 1928
CornerAY = 0
CornerBX = 2008
CornerBY = 168 
z = 0
zHeight = 128
TexNo = 4
Switch = 0
instance_create(1928,0,SuperBlock)
CornerAX = 1376
CornerAY = 200
CornerBX = 1720
CornerBY = 416 
z = 24
zHeight = 128
TexNo = 44
Switch = 0
instance_create(1376,200,SuperBlock)
CornerAX = 2592
CornerAY = 232
CornerBX = 2648
CornerBY = 288 
z = 96
zHeight = 136
TexNo = 28
Switch = 0
instance_create(2592,232,SuperBlock)
CornerAX = 2344
CornerAY = 1568
CornerBX = 2624
CornerBY = 2072 
z = 0
zHeight = 136
TexNo = 28
Switch = 0
instance_create(2344,1568,SuperBlock)
CornerAX = 1368
CornerAY = 192
CornerBX = 1728
CornerBY = 424 
z = 128
zHeight = 144
TexNo = 12
Switch = 0
instance_create(1368,192,SuperBlock)
CornerAX = 1048
CornerAY = 2208
CornerBX = 1360
CornerBY = 2520 
z = 0
zHeight = 160
TexNo = 44
Switch = 0
instance_create(1048,2208,SuperBlock)
CornerAX = 240
CornerAY = 1440
CornerBX = 584
CornerBY = 1752 
z = 0
zHeight = 160
TexNo = 44
Switch = 0
instance_create(240,1440,SuperBlock)
CornerAX = 2608
CornerAY = 1568
CornerBX = 2624
CornerBY = 1584 
z = 136
zHeight = 160
TexNo = 28
Switch = 0
instance_create(2608,1568,SuperBlock)
CornerAX = 2344
CornerAY = 1568
CornerBX = 2360
CornerBY = 1584 
z = 136
zHeight = 160
TexNo = 28
Switch = 0
instance_create(2344,1568,SuperBlock)
CornerAX = 2344
CornerAY = 2056
CornerBX = 2360
CornerBY = 2072 
z = 136
zHeight = 160
TexNo = 28
Switch = 0
instance_create(2344,2056,SuperBlock)
CornerAX = 2608
CornerAY = 2056
CornerBX = 2624
CornerBY = 2072 
z = 136
zHeight = 160
TexNo = 28
Switch = 0
instance_create(2608,2056,SuperBlock)
CornerAX = 0
CornerAY = 0
CornerBX = 2928
CornerBY = 160 
z = 96
zHeight = 176
TexNo = 8
Switch = 0
instance_create(0,0,SuperBlock)
CornerAX = 2768
CornerAY = 168
CornerBX = 2928
CornerBY = 2928 
z = 96
zHeight = 176
TexNo = 8
Switch = 0
instance_create(2768,168,SuperBlock)
CornerAX = 0
CornerAY = 2768
CornerBX = 2760
CornerBY = 2928 
z = 96
zHeight = 176
TexNo = 8
Switch = 0
instance_create(0,2768,SuperBlock)
CornerAX = 0
CornerAY = 168
CornerBX = 160
CornerBY = 2760 
z = 96
zHeight = 176
TexNo = 8
Switch = 0
instance_create(0,168,SuperBlock)
CornerAX = 1040
CornerAY = 2200
CornerBX = 1368
CornerBY = 2528 
z = 160
zHeight = 176
TexNo = 16
Switch = 0
instance_create(1040,2200,SuperBlock)
CornerAX = 232
CornerAY = 1432
CornerBX = 592
CornerBY = 1760 
z = 160
zHeight = 176
TexNo = 12
Switch = 0
instance_create(232,1432,SuperBlock)
CornerAX = 1928
CornerAY = 0
CornerBX = 2024
CornerBY = 176 
z = 128
zHeight = 184
TexNo = 8
Switch = 0
instance_create(1928,0,SuperBlock)
CornerAX = 224
CornerAY = 208
CornerBX = 600
CornerBY = 872 
z = 24
zHeight = 192
TexNo = 28
Switch = 0
instance_create(224,208,SuperBlock)
CornerAX = 1880
CornerAY = 2752
CornerBX = 2040
CornerBY = 2928 
z = 104
zHeight = 200
TexNo = 8
Switch = 0
instance_create(1880,2752,SuperBlock)
CornerAX = 216
CornerAY = 200
CornerBX = 608
CornerBY = 880 
z = 192
zHeight = 208
TexNo = 16
Switch = 0
instance_create(216,200,SuperBlock)
CornerAX = 1936
CornerAY = 2696
CornerBX = 1992
CornerBY = 2816 
z = 0
zHeight = 96
TexNo = 0
instance_create(1936,2696,DoorBlock)
CornerAX = 1944
CornerAY = 144
CornerBX = 2000
CornerBY = 232 
z = 0
zHeight = 96
TexNo = 0
instance_create(1944,144,DoorBlock)
CornerAX = 576
CornerAY = 1552
CornerBX = 600
CornerBY = 1576 
z = 0
zHeight = 120
TexNo = 16
instance_create(576,1552,DoorBlock)
CornerAX = 1584
CornerAY = 328
CornerBX = 1608
CornerBY = 432 
z = 0
zHeight = 120
TexNo = 16
instance_create(1584,328,DoorBlock)
CornerAX = 2512
CornerAY = 520
CornerBX = 2536
CornerBY = 552 
z = 0
zHeight = 120
TexNo = 16
instance_create(2512,520,DoorBlock)
CornerAX = 1192
CornerAY = 2192
CornerBX = 1216
CornerBY = 2256 
z = 0
zHeight = 120
TexNo = 16
instance_create(1192,2192,DoorBlock)
CornerAX = 2328
CornerAY = 1824
CornerBX = 2496
CornerBY = 1848 
z = 0
zHeight = 120
TexNo = 16
instance_create(2328,1824,DoorBlock)
CornerAX = 416
CornerAY = 832
CornerBX = 440
CornerBY = 888 
z = 0
zHeight = 120
TexNo = 16
instance_create(416,832,DoorBlock)
CornerAX = 704
CornerAY = 168
CornerBX = 1056
CornerBY = 1144 
z = 0
zHeight = 24
TexNo = 0
instance_create(704,168,EnBumperBlock)
CornerAX = 1488
CornerAY = 1496
CornerBX = 1512
CornerBY = 1520 
z = 0
zHeight = 16
TexNo = 28
instance_create(1488,1496,Water)
CornerAX = 704
CornerAY = 168
CornerBX = 1056
CornerBY = 1144 
z = 0
zHeight = 24
TexNo = 0
instance_create(704,168,Water)



z = 8
instance_create(276,2556,Flower)
z = 8
instance_create(404,2612,Flower)
z = 8
instance_create(276,2684,Flower)
z = 8
instance_create(340,2596,Flower)
z = 8
instance_create(372,2524,Flower)
z = 8
instance_create(468,2572,Flower)
z = 8
instance_create(452,2676,Flower)
z = 8
instance_create(356,2660,Flower)
z = 8
instance_create(404,2436,Flower)
z = 8
instance_create(444,2380,Flower)
z = 8
instance_create(468,2492,Flower)
z = 8
instance_create(316,2500,Flower)
z = 8
instance_create(196,2500,Flower)
z = 8
instance_create(292,2612,Flower)
z = 8
instance_create(268,2172,Flower)
z = 8
instance_create(340,2116,Flower)
z = 8
instance_create(420,2100,Flower)
z = 8
instance_create(484,2244,Flower)
z = 8
instance_create(420,2292,Flower)
z = 8
instance_create(268,2308,Flower)
z = 8
instance_create(236,2268,Flower)
z = 8
instance_create(236,2124,Flower)
z = 8
instance_create(244,2060,Flower)
z = 8
instance_create(332,2172,Flower)
z = 8
instance_create(356,2220,Flower)
z = 8
instance_create(444,2164,Flower)
z = 8
instance_create(444,1988,Flower)
z = 32
instance_create(316,956,Flower)
z = 32
instance_create(452,964,Flower)
z = 32
instance_create(548,996,Flower)
z = 32
instance_create(596,1068,Flower)
z = 32
instance_create(468,1108,Flower)
z = 32
instance_create(404,1060,Flower)
z = 8
instance_create(324,2332,Flower)
z = 8
instance_create(1596,2644,Flower)
z = 8
instance_create(1684,2516,Flower)
z = 8
instance_create(1796,2548,Flower)
z = 8
instance_create(1772,2412,Flower)
z = 8
instance_create(1980,2484,Flower)
z = 8
instance_create(1764,2660,Flower)
z = 8
instance_create(1620,2516,Flower)
z = 8
instance_create(2348,2468,Flower)
z = 8
instance_create(2548,2444,Flower)
z = 8
instance_create(2676,2580,Flower)
z = 8
instance_create(2516,2660,Flower)
z = 8
instance_create(2340,2668,Flower)
z = 8
instance_create(2556,580,Flower)
z = 8
instance_create(2572,580,Flower)
z = 8
instance_create(2588,564,Flower)
z = 8
instance_create(2604,564,Flower)
z = 8
instance_create(2500,580,Flower)
z = 8
instance_create(2484,580,Flower)
z = 8
instance_create(2468,564,Flower)
z = 8
instance_create(2452,564,Flower)
z = 8
instance_create(2004,260,Flower)
z = 8
instance_create(2004,284,Flower)
z = 8
instance_create(2004,308,Flower)
z = 8
instance_create(1948,260,Flower)
z = 8
instance_create(1948,276,Flower)
z = 8
instance_create(1948,300,Flower)
z = 8
instance_create(1460,1460,Flower)
z = 8
instance_create(1460,1548,Flower)
z = 8
instance_create(1548,1556,Flower)
z = 8
instance_create(1548,1468,Flower)
z = 24
instance_create(1724,796,Flower)
z = 16
instance_create(1404,932,Flower)
z = 32
instance_create(836,636,Flower)
z = 32
instance_create(884,476,Flower)
z = 32
instance_create(820,468,Flower)
z = 32
instance_create(892,364,Flower)
z = 32
instance_create(1012,420,Flower)
z = 32
instance_create(1004,532,Flower)
z = 32
instance_create(932,548,Flower)
z = 32
instance_create(836,540,Flower)
z = 32
instance_create(900,628,Flower)
z = 32
instance_create(972,612,Flower)
z = 32
instance_create(948,436,Flower)
z = 32
instance_create(828,404,Flower)
z = 32
instance_create(852,260,Flower)
z = 32
instance_create(892,236,Flower)
z = 32
instance_create(996,300,Flower)
z = 32
instance_create(948,348,Flower)
z = 40
instance_create(772,1316,Flower)
z = 40
instance_create(836,1204,Flower)
z = 40
instance_create(1004,1196,Flower)
z = 40
instance_create(1140,1244,Flower)
z = 40
instance_create(1044,1316,Flower)
z = 40
instance_create(940,1276,Flower)
z = 8
instance_create(724,1692,Flower)
z = 8
instance_create(788,1916,Flower)
z = 8
instance_create(868,1620,Flower)
z = 8
instance_create(996,1828,Flower)
z = 8
instance_create(1084,2004,Flower)
z = 8
instance_create(1164,1652,Flower)
z = 8
instance_create(1276,1860,Flower)
z = 8
instance_create(1476,1972,Flower)
z = 8
instance_create(1684,1956,Flower)
z = 8
instance_create(1836,2132,Flower)
z = 8
instance_create(1564,2276,Flower)
z = 8
instance_create(1668,2220,Flower)
z = 8
CreateDir = 270
instance_create(1980,268,PointA)
z = 8
CreateDir = 90
instance_create(1972,2668,PointB)
z = 32
CreateDir = 270
instance_create(1596,460,PointC)
z = 8
CreateDir = 270
instance_create(2524,580,PointD)
z = 32
CreateDir = 180
instance_create(2308,1844,PointE)
z = 8
CreateDir = 90
instance_create(1212,2172,PointF)
z = 8
CreateDir = 0
instance_create(628,1572,PointG)
z = 32
CreateDir = 270
instance_create(428,916,PointH)
z = 0
instance_create(1980,212,DoorA)
z = 0
instance_create(1964,2724,DoorB)
z = 96
instance_create(1596,436,DoorC)
z = 96
instance_create(2532,556,DoorD)
z = 96
instance_create(2332,1844,DoorE)
z = 96
instance_create(1204,2196,DoorF)
z = 96
instance_create(604,1572,DoorG)
z = 120
instance_create(428,892,DoorH)

 
 
z = 8
instance_create(1236,1948,BigTree)
z = 8
instance_create(1836,1524,BigTree)
z = 8
instance_create(1772,1812,BigTree)
z = 16
instance_create(708,2412,BigTree)
z = 8
instance_create(284,2404,BigTree)
z = 8
instance_create(980,2132,BigTree)
z = 8
instance_create(980,1628,BigTree)
z = 16
instance_create(1852,956,BigTree)
z = 8
instance_create(2548,948,BigTree)
z = 8
instance_create(2188,612,BigTree)
z = 40
instance_create(1164,340,BigTree)
z = 40
instance_create(1236,988,BigTree)
z = 32
instance_create(356,1124,BigTree)
z = 8
instance_create(1348,1772,TallTree)
z = 8
instance_create(1628,1340,TallTree)
z = 40
instance_create(1284,1276,TallTree)
z = 16
instance_create(644,2228,TallTree)
z = 8
instance_create(1028,2676,TallTree)
z = 8
instance_create(324,2004,TallTree)
z = 8
instance_create(2420,828,TallTree)
z = 8
instance_create(2668,1060,TallTree)
z = 8
instance_create(2396,1116,TallTree)
z = 8
instance_create(2156,260,TallTree)
z = 32
instance_create(1540,548,TallTree)
z = 40
instance_create(1164,804,TallTree)
z = 32
instance_create(532,1220,TallTree)
z = 16
instance_create(688,2672,BombMeRock)
if ds_list_find_index(global.KHDB,global.CurrentRoom+string(4)) = -1 {
global.CreateZ = 16
instance_create(688,2672,HeartPiece)
}

z = 32
Text = "Scripts/GaiusFairy.txt"
instance_create(1476,596,FairyFlower)

z = 8
CreateDir = 90
Shad = 0
instance_create(1968,2760,StumpHole)
z = 8
CreateDir = 270
Shad = 0
instance_create(1976,176,StumpHole)


z = 32
Text = "Scripts/OlLady1.txt"
instance_create(636,540,MapOlLady)
z = 8
if global.Story = 0 Text = "Scripts/FirstTiel.txt"
if global.Story > 0 and global.Story < 3 Text = "Scripts/SecondTiel.txt"
if global.Story >= 3 Text = "Scripts/ThirdTiel.txt"
if global.SQItemC = 13 Text = "Scripts/TielLetter.txt"
if ds_list_find_index(global.KHDB,"LETTR") != -1 and ds_list_find_index(global.KHDB,"RTLETR") = -1 and global.SQItemC != 14 and global.SQItemC != 6 Text = "Scripts/TielReturn.txt"
if global.SQItemA = 1 Text = "Scripts/TielTwelkin.txt"
if global.TielHeart = 4 Text = "Scripts/TielWholeHearted.txt"
if global.Story < 3 {instance_create(1628,1580,MapTielA)
} else {
if ds_list_find_index(global.KHDB,"Lands/Grove.txt3") != -1 and ds_list_find_index(global.KHDB,"Lands/DeepWoodsB.txt3") != -1 instance_create(1628,1580,MapTielA)
}
z = 16
instance_create(1772,884,SavePoint)

z = 8
Text = "Scripts/GaiusOM.txt"
instance_create(876,1924,MapOldMan)
z = 16
Text = "Scripts/GaiusGuy1.txt"
instance_create(2100,1700,MapGuyA)
z = 24
Text = "Scripts/GaiusGuy2.txt"
instance_create(2220,1956,MapGuyB)
z = 8
Text = "Scripts/GaiusWelcome.txt"
instance_create(1948,2492,MapGirlA)
if instance_number(TabSaved) > 0 {z = 8
if global.Story < 3 Text = "Scripts/TabithaTownA.txt"
if global.Story = 3 Text = "Scripts/SaveSab.txt"
if global.Story = 4 and instance_number(MapTielA)= 0 Text = "Scripts/TabithaTownB.txt"
if global.Story = 4 and instance_number(MapTielA)> 0 Text = "Scripts/TabithaTownC.txt"
if global.Story = 4 and instance_number(ElphWand) >0 and instance_number(TabNecklace) >0 and instance_number(CherRing) >0 and instance_number(AlmStaff) >0 Text="Scripts/AllAmulets.txt" 
instance_create(1516,1556,MapTab)}
z = 16
Text = "Scripts/SavePointInfo.txt"
instance_create(1796,928,MapNun)
z = 8
if global.SQItemB=15 Text="Scripts/LoveLetterGirl.txt" else Text = "Scripts/GaiusRH.txt"
instance_create(2332,956,MapRedhead)