function SetCastleVars {
.@castle = GetArg(0);
switch(.@castle)
{
case 0:
.castle$ = "schg_cas06";
.cadeWallC[0] = 114, 48, 114, 51, 114, 154, 116, 241;
.cadeWallN[0] = 13, 13, 13, 11;
.cadeWallD[0] = 6, 6, 6, 6;
.cade0C[0] = 115, 49, 117, 49, 119, 49, 121, 49, 123, 49, 125, 49;
.cade1C[0] = 115, 50, 117, 50, 119, 50, 121, 50, 123, 50, 125, 50;
.cade2C[0] = 115, 153, 117, 153, 119, 153, 121, 153, 123, 153, 125, 153;
.cade3C[0] = 116, 240, 118, 240, 120, 240, 122, 240;
.stoneC[0] = 27, 35, 207, 75;
.empC[0] = 120, 272
.defenderWarmupSpawnC[0] = 264, 379;
.defenderS1FlagC[0] = 0,0;
.defenderS2FlagC[0] = 0,0;
.defenderC1AutoC[0] = 0,0;
.defenderC1FlagC[0] = 0,0;
.defenderC2AutoC[0] = 0,0;
.defenderC2FlagC[0] = 0,0;
.defenderC3AutoC[0] = 0,0;
.defenderC3FlagC[0] = 0,0;
.defenderEmpAutoC[0] = 0,0;
.defenderEmpSpawnC[0] = 0,0;
.attackerWarmupSpawnC[0] = 295, 379;
.attackerEntrance[0] = 0,0;
.attackerSSpawnC[0] = 0, 0;
.attackerC1SpawnC[0] = 0, 0;
.attackerC2SpawnC[0] = 0, 0;
.attackerC3SpawnC[0] = 0,0;
break;
case 1:
.castle$ = "schg_cas07";
.cadeWallC[0] = 290, 98, 271, 98, 230, 213, 160, 141;
.cadeWallN[0] = 8, 8, 6, 6;
.cadeWallD[0] = 0, 0, 0, 0;
.cade0C[0] = 289, 98, 289, 100, 289, 102, 289, 104;
.cade1C[0] = 272, 98, 2722, 100, 272, 102, 273, 99, 273, 103;
.cade2C[0] = 231, 213, 231, 215, 231, 217, 232, 214, 232, 216, 233, 217;
.cade3C[0] = 160, 140, 162, 140, 164, 140, 166, 140;
.stoneC[0] = 231, 58, 335, 230;
.empC[0] = 162, 193;
.defenderWarmupSpawnC[0] =90, 311;
.defenderS1FlagC[0] = 0,0;
.defenderS2FlagC[0] = 0,0;
.defenderC1AutoC[0] = 0,0;
.defenderC1FlagC[0] = 0,0;
.defenderC2AutoC[0] = 0,0;
.defenderC2FlagC[0] = 0,0;
.defenderC3AutoC[0] = 0,0;
.defenderC3FlagC[0] = 0,0;
.defenderEmpAutoC[0] = 0,0;
.defenderEmpSpawnC[0] = 0,0;
.attackerWarmupSpawnC[0] = 113, 311;
.attackerEntrance[0] = 0,0;
.attackerSSpawnC[0] = 0, 0;
.attackerC1SpawnC[0] = 0, 0;
.attackerC2SpawnC[0] = 0, 0;
.attackerC3SpawnC[0] = 0,0;
break;
case 2:
.castle$ = "schg_cas08";
.cadeWallC[0] = 326, 301, 325, 277, 200, 230, 285, 195;
.cadeWallN[0] = 6, 8, 8, 8;
.cadeWallD[0] = 6, 6, 0, 0;
.cade0C[0] = 326, 300, 328, 300, 330, 300;
.cade1C[0] = 326, 278, 328, 278, 330, 278, 327, 279, 329, 279, 331, 279;
.cade2C[0] = 201, 231, 201, 233, 201, 235, 202, 232, 202, 234, 202, 236;
.cade3C[0] = 284, 199, 284, 201, 284, 203, 284, 205;
.stoneC[0] = 242, 309, 376, 251;
.empC[0] = 338, 202;
.defenderWarmupSpawnC[0] = 28, 50;
.defenderS1FlagC[0] = 0,0;
.defenderS2FlagC[0] = 0,0;
.defenderC1AutoC[0] = 0,0;
.defenderC1FlagC[0] = 0,0;
.defenderC2AutoC[0] = 0,0;
.defenderC2FlagC[0] = 0,0;
.defenderC3AutoC[0] = 0,0;
.defenderC3FlagC[0] = 0,0;
.defenderEmpAutoC[0] = 0,0;
.defenderEmpSpawnC[0] = 0,0;
.attackerWarmupSpawnC[0] =87, 50;
.attackerEntrance[0] = 0,0;
.attackerSSpawnC[0] = 0, 0;
.attackerC1SpawnC[0] = 0, 0;
.attackerC2SpawnC[0] = 0, 0;
.attackerC3SpawnC[0] = 0,0;
break;
case 3:
.castle$ = "arug_cas06";
.cadeWallC[0] = 238, 74, 239, 53, 107, 124, 84, 171;
.cadeWallN[0] = 8, 8, 6, 8;
.cadeWallD[0] = 6, 6, 6, 6;
.cade0C[0] = 239, 73, 241, 73, 243, 73, 243, 73, 245, 73;
.cade1C[0] = 239, 55, 241, 55, 243, 55, 240, 54, 242, 54, 244, 54;
.cade2C[0] = 107, 122, 109, 122, 111, 122, 108, 123, 110, 123, 112, 123;
.cade3C[0] = 84, 170, 86, 170, 88, 170, 90, 170;
.stoneC[0] = 210, 234, 308, 189;
.empC[0] = 87, 219;
.defenderWarmupSpawnC[0] = 30, 381;
.defenderS1FlagC[0] = 187, 255;
.defenderS2FlagC[0] = 304, 214;
.defenderC1AutoC[0] = 242, 58;
.defenderC1FlagC[0] = 248, 105;
.defenderC2AutoC[0] = 110, 116;
.defenderC2FlagC[0] = 140, 106;
.defenderC3AutoC[0] = 98, 167;
.defenderC3FlagC[0] = 70, 162;
.defenderEmpAutoC[0] = 88, 189;
.defenderEmpSpawnC[0] = 65, 230;
.attackerWarmupSpawnC[0] = 126,357;
.attackerEntrance[0] = 126, 357;
.attackerSSpawnC[0] = 262, 220;
.attackerC1SpawnC[0] = 218, 25;
.attackerC2SpawnC[0] = 173, 33;
.attackerC3SpawnC[0] = 150, 28;
break;
case 4:
.castle$ = "arug_cas07";
.cadeWallC[0] = 136, 136, 150, 223, 125, 342, 38, 314;
.cadeWallN[0] = 8, 12, 8, 6;
.cadeWallD[0] = 6, 6, 0, 6;
.cade0C[0] = 137, 137, 139, 137, 141, 137, 143, 137;
.cade1C[0] = 151, 222, 153, 222, 155, 222, 157, 222, 159, 222, 161, 222;
.cade2C[0] = 126, 343, 126, 345, 126, 347, 127, 344, 127, 346, 127, 348;
.cade3C[0] = 40,315, 42, 315, 44, 315, 46, 315;
.stoneC[0] = 33, 168, 245, 168;
.empC[0] = 89, 256;
.defenderWarmupSpawnC[0] = 300, 339;
.defenderS1FlagC[0] = 0,0;
.defenderS2FlagC[0] = 0,0;
.defenderC1AutoC[0] = 0,0;
.defenderC1FlagC[0] = 0,0;
.defenderC2AutoC[0] = 0,0;
.defenderC2FlagC[0] = 0,0;
.defenderC3AutoC[0] = 0,0;
.defenderC3FlagC[0] = 0,0;
.defenderEmpAutoC[0] = 0,0;
.defenderEmpSpawnC[0] = 0,0;
.attackerWarmupSpawnC[0] = 298, 308
.attackerEntrance[0] = 0,0;
.attackerSSpawnC[0] = 0, 0;
.attackerC1SpawnC[0] = 0, 0;
.attackerC2SpawnC[0] = 0, 0;
.attackerC3SpawnC[0] = 0,0;
break;
case 5:
.castle$ = "arug_cas08";
.cadeWallC[0] = 138, 110, 139, 158, 138, 210, 138, 263;
.cadeWallN[0] = 8, 6, 8, 8;
.cadeWallD[0] = 6, 6, 6, 6;
.cade0C[0] = 139, 111, 141, 111, 143, 111, 145, 111;
.cade1C[0] = 140, 157, 142, 157, 139, 156, 141, 156, 143, 156;
.cade2C[0] = 140, 209, 142, 209, 144, 209, 139, 208, 141, 208, 143, 208;
.cade3C[0] = 139, 262, 141, 262, 143, 262, 145, 262;
.stoneC[0] = 65, 171, 212, 149;
.empC[0] = 141, 293;
.defenderWarmupSpawnC[0] = 313, 154;
.defenderS1FlagC[0] = 0,0;
.defenderS2FlagC[0] = 0,0;
.defenderC1AutoC[0] = 0,0;
.defenderC1FlagC[0] = 0,0;
.defenderC2AutoC[0] = 0,0;
.defenderC2FlagC[0] = 0,0;
.defenderC3AutoC[0] = 0,0;
.defenderC3FlagC[0] = 0,0;
.defenderEmpAutoC[0] = 0,0;
.defenderEmpSpawnC[0] = 0,0;
.attackerWarmupSpawnC[0] = 330, 154;
.attackerEntrance[0] = 0,0;
.attackerSSpawnC[0] = 0, 0;
.attackerC1SpawnC[0] = 0, 0;
.attackerC2SpawnC[0] = 0, 0;
.attackerC3SpawnC[0] = 0,0;
break;
}
}