From c0aa149f1b04b8da8045216b9a3a989da160b101 Mon Sep 17 00:00:00 2001 From: CyrilSharma Date: Fri, 24 Jan 2025 00:52:06 -0500 Subject: [PATCH 1/2] New Baseline --- java/src/moreMoppers/Attack.java | 5631 +++++ java/src/moreMoppers/Comms.java | 48 + java/src/moreMoppers/Explore.java | 75 + java/src/moreMoppers/Globals.java | 81 + java/src/moreMoppers/Mopper.java | 367 + java/src/moreMoppers/MopperAttack.java | 1783 ++ java/src/moreMoppers/Pathing.java | 10958 +++++++++ java/src/moreMoppers/RefuelManager.java | 681 + java/src/moreMoppers/RobotPlayer.java | 98 + java/src/moreMoppers/Soldier.java | 1839 ++ java/src/moreMoppers/Splasher.java | 2262 ++ java/src/moreMoppers/SquareManager.java | 1242 + java/src/moreMoppers/SymmetryChecker.java | 11940 ++++++++++ java/src/moreMoppers/TileLoader.java | 24646 ++++++++++++++++++++ java/src/moreMoppers/Tower.java | 318 + java/src/moreMoppers/TowerBuild.java | 3609 +++ 16 files changed, 65578 insertions(+) create mode 100644 java/src/moreMoppers/Attack.java create mode 100644 java/src/moreMoppers/Comms.java create mode 100644 java/src/moreMoppers/Explore.java create mode 100644 java/src/moreMoppers/Globals.java create mode 100644 java/src/moreMoppers/Mopper.java create mode 100644 java/src/moreMoppers/MopperAttack.java create mode 100644 java/src/moreMoppers/Pathing.java create mode 100644 java/src/moreMoppers/RefuelManager.java create mode 100644 java/src/moreMoppers/RobotPlayer.java create mode 100644 java/src/moreMoppers/Soldier.java create mode 100644 java/src/moreMoppers/Splasher.java create mode 100644 java/src/moreMoppers/SquareManager.java create mode 100644 java/src/moreMoppers/SymmetryChecker.java create mode 100644 java/src/moreMoppers/TileLoader.java create mode 100644 java/src/moreMoppers/Tower.java create mode 100644 java/src/moreMoppers/TowerBuild.java diff --git a/java/src/moreMoppers/Attack.java b/java/src/moreMoppers/Attack.java new file mode 100644 index 0000000..3d8f865 --- /dev/null +++ b/java/src/moreMoppers/Attack.java @@ -0,0 +1,5631 @@ +package moreMoppers; +import battlecode.common.*; + + + + +public class Attack { + public static RobotController rc; + + + public static int soldierActionRadiusSquared; + public static int soldierPaintCapacity; + public static int soldierActionCooldown; + public static int soldierAttackStrength; + public static int soldierAoeAttackStrength; + public static int splasherActionRadiusSquared; + public static int splasherPaintCapacity; + public static int splasherActionCooldown; + public static int splasherAttackStrength; + public static int splasherAoeAttackStrength; + public static void init(RobotController rc) { + Attack.rc = rc; + soldierActionRadiusSquared = UnitType.SOLDIER.actionRadiusSquared; + soldierPaintCapacity = UnitType.SOLDIER.paintCapacity; + soldierActionCooldown = UnitType.SOLDIER.actionCooldown; + soldierAttackStrength = UnitType.SOLDIER.attackStrength; + soldierAoeAttackStrength = UnitType.SOLDIER.aoeAttackStrength; + splasherActionRadiusSquared = UnitType.SPLASHER.actionRadiusSquared; + splasherPaintCapacity = UnitType.SPLASHER.paintCapacity; + splasherActionCooldown = UnitType.SPLASHER.actionCooldown; + splasherAttackStrength = UnitType.SPLASHER.attackStrength; + splasherAoeAttackStrength = UnitType.SPLASHER.aoeAttackStrength; + + } + + public static boolean shouldSoldierMicro() throws GameActionException { + for (int i = Globals.enemies.length; --i >= 0; ) { + switch (Globals.enemies[i].type) { + case SOLDIER, MOPPER, SPLASHER: continue; + default: return true; + } + } + return false; + } + + public static void soldierTryAttack() throws GameActionException { + for (int i = Globals.enemies.length; --i >= 0;) { + RobotInfo enemy = Globals.enemies[i]; + switch (enemy.type) { + case SOLDIER, SPLASHER, MOPPER: continue; + default: { + MapLocation loc = enemy.location; + if (rc.canAttack(loc)) { + rc.attack(loc); + return; + } + } + } + } + } + + public static boolean shouldSplasherMicro() throws GameActionException { + // Only activate micro if you can attack a tower. + for (int i = Globals.enemies.length; --i >= 0; ) { + switch (Globals.enemies[i].type) { + case SOLDIER, MOPPER, SPLASHER: continue; + default: return true; + } + } + return false; + } + + public static void splasherTryAttack() throws GameActionException { + if (!rc.isActionReady() || rc.getPaint() < (UnitType.SPLASHER.paintCapacity >> 2)) return; + MapLocation myloc = rc.getLocation(); + int x = myloc.x, y = myloc.y; + MapLocation bestLoc = null; + int count = 0, bestCount = -1; + + + + MapLocation mloc00 = new MapLocation(x + -3, y + -3); + boolean hasTower00 = false; + if (rc.canSenseLocation(mloc00)) { + RobotInfo r00 = rc.senseRobotAtLocation(mloc00); + if ( r00 != null && r00.team != rc.getTeam() && Globals.isTower(r00.type)) { + hasTower00 = true; + } + } + + MapLocation mloc01 = new MapLocation(x + -3, y + -2); + boolean hasTower01 = false; + if (rc.canSenseLocation(mloc01)) { + RobotInfo r01 = rc.senseRobotAtLocation(mloc01); + if ( r01 != null && r01.team != rc.getTeam() && Globals.isTower(r01.type)) { + hasTower01 = true; + } + } + + MapLocation mloc02 = new MapLocation(x + -3, y + -1); + boolean hasTower02 = false; + if (rc.canSenseLocation(mloc02)) { + RobotInfo r02 = rc.senseRobotAtLocation(mloc02); + if ( r02 != null && r02.team != rc.getTeam() && Globals.isTower(r02.type)) { + hasTower02 = true; + } + } + + MapLocation mloc03 = new MapLocation(x + -3, y + 0); + boolean hasTower03 = false; + if (rc.canSenseLocation(mloc03)) { + RobotInfo r03 = rc.senseRobotAtLocation(mloc03); + if ( r03 != null && r03.team != rc.getTeam() && Globals.isTower(r03.type)) { + hasTower03 = true; + } + } + + MapLocation mloc04 = new MapLocation(x + -3, y + 1); + boolean hasTower04 = false; + if (rc.canSenseLocation(mloc04)) { + RobotInfo r04 = rc.senseRobotAtLocation(mloc04); + if ( r04 != null && r04.team != rc.getTeam() && Globals.isTower(r04.type)) { + hasTower04 = true; + } + } + + MapLocation mloc05 = new MapLocation(x + -3, y + 2); + boolean hasTower05 = false; + if (rc.canSenseLocation(mloc05)) { + RobotInfo r05 = rc.senseRobotAtLocation(mloc05); + if ( r05 != null && r05.team != rc.getTeam() && Globals.isTower(r05.type)) { + hasTower05 = true; + } + } + + MapLocation mloc06 = new MapLocation(x + -3, y + 3); + boolean hasTower06 = false; + if (rc.canSenseLocation(mloc06)) { + RobotInfo r06 = rc.senseRobotAtLocation(mloc06); + if ( r06 != null && r06.team != rc.getTeam() && Globals.isTower(r06.type)) { + hasTower06 = true; + } + } + + + + MapLocation mloc10 = new MapLocation(x + -2, y + -3); + boolean hasTower10 = false; + if (rc.canSenseLocation(mloc10)) { + RobotInfo r10 = rc.senseRobotAtLocation(mloc10); + if ( r10 != null && r10.team != rc.getTeam() && Globals.isTower(r10.type)) { + hasTower10 = true; + } + } + + MapLocation mloc11 = new MapLocation(x + -2, y + -2); + boolean hasTower11 = false; + if (rc.canSenseLocation(mloc11)) { + RobotInfo r11 = rc.senseRobotAtLocation(mloc11); + if ( r11 != null && r11.team != rc.getTeam() && Globals.isTower(r11.type)) { + hasTower11 = true; + } + } + + MapLocation mloc12 = new MapLocation(x + -2, y + -1); + boolean hasTower12 = false; + if (rc.canSenseLocation(mloc12)) { + RobotInfo r12 = rc.senseRobotAtLocation(mloc12); + if ( r12 != null && r12.team != rc.getTeam() && Globals.isTower(r12.type)) { + hasTower12 = true; + } + } + + MapLocation mloc13 = new MapLocation(x + -2, y + 0); + boolean hasTower13 = false; + if (rc.canSenseLocation(mloc13)) { + RobotInfo r13 = rc.senseRobotAtLocation(mloc13); + if ( r13 != null && r13.team != rc.getTeam() && Globals.isTower(r13.type)) { + hasTower13 = true; + } + } + + MapLocation mloc14 = new MapLocation(x + -2, y + 1); + boolean hasTower14 = false; + if (rc.canSenseLocation(mloc14)) { + RobotInfo r14 = rc.senseRobotAtLocation(mloc14); + if ( r14 != null && r14.team != rc.getTeam() && Globals.isTower(r14.type)) { + hasTower14 = true; + } + } + + MapLocation mloc15 = new MapLocation(x + -2, y + 2); + boolean hasTower15 = false; + if (rc.canSenseLocation(mloc15)) { + RobotInfo r15 = rc.senseRobotAtLocation(mloc15); + if ( r15 != null && r15.team != rc.getTeam() && Globals.isTower(r15.type)) { + hasTower15 = true; + } + } + + MapLocation mloc16 = new MapLocation(x + -2, y + 3); + boolean hasTower16 = false; + if (rc.canSenseLocation(mloc16)) { + RobotInfo r16 = rc.senseRobotAtLocation(mloc16); + if ( r16 != null && r16.team != rc.getTeam() && Globals.isTower(r16.type)) { + hasTower16 = true; + } + } + + + + MapLocation mloc20 = new MapLocation(x + -1, y + -3); + boolean hasTower20 = false; + if (rc.canSenseLocation(mloc20)) { + RobotInfo r20 = rc.senseRobotAtLocation(mloc20); + if ( r20 != null && r20.team != rc.getTeam() && Globals.isTower(r20.type)) { + hasTower20 = true; + } + } + + MapLocation mloc21 = new MapLocation(x + -1, y + -2); + boolean hasTower21 = false; + if (rc.canSenseLocation(mloc21)) { + RobotInfo r21 = rc.senseRobotAtLocation(mloc21); + if ( r21 != null && r21.team != rc.getTeam() && Globals.isTower(r21.type)) { + hasTower21 = true; + } + } + + MapLocation mloc22 = new MapLocation(x + -1, y + -1); + boolean hasTower22 = false; + if (rc.canSenseLocation(mloc22)) { + RobotInfo r22 = rc.senseRobotAtLocation(mloc22); + if ( r22 != null && r22.team != rc.getTeam() && Globals.isTower(r22.type)) { + hasTower22 = true; + } + } + + MapLocation mloc23 = new MapLocation(x + -1, y + 0); + boolean hasTower23 = false; + if (rc.canSenseLocation(mloc23)) { + RobotInfo r23 = rc.senseRobotAtLocation(mloc23); + if ( r23 != null && r23.team != rc.getTeam() && Globals.isTower(r23.type)) { + hasTower23 = true; + } + } + + MapLocation mloc24 = new MapLocation(x + -1, y + 1); + boolean hasTower24 = false; + if (rc.canSenseLocation(mloc24)) { + RobotInfo r24 = rc.senseRobotAtLocation(mloc24); + if ( r24 != null && r24.team != rc.getTeam() && Globals.isTower(r24.type)) { + hasTower24 = true; + } + } + + MapLocation mloc25 = new MapLocation(x + -1, y + 2); + boolean hasTower25 = false; + if (rc.canSenseLocation(mloc25)) { + RobotInfo r25 = rc.senseRobotAtLocation(mloc25); + if ( r25 != null && r25.team != rc.getTeam() && Globals.isTower(r25.type)) { + hasTower25 = true; + } + } + + MapLocation mloc26 = new MapLocation(x + -1, y + 3); + boolean hasTower26 = false; + if (rc.canSenseLocation(mloc26)) { + RobotInfo r26 = rc.senseRobotAtLocation(mloc26); + if ( r26 != null && r26.team != rc.getTeam() && Globals.isTower(r26.type)) { + hasTower26 = true; + } + } + + + + MapLocation mloc30 = new MapLocation(x + 0, y + -3); + boolean hasTower30 = false; + if (rc.canSenseLocation(mloc30)) { + RobotInfo r30 = rc.senseRobotAtLocation(mloc30); + if ( r30 != null && r30.team != rc.getTeam() && Globals.isTower(r30.type)) { + hasTower30 = true; + } + } + + MapLocation mloc31 = new MapLocation(x + 0, y + -2); + boolean hasTower31 = false; + if (rc.canSenseLocation(mloc31)) { + RobotInfo r31 = rc.senseRobotAtLocation(mloc31); + if ( r31 != null && r31.team != rc.getTeam() && Globals.isTower(r31.type)) { + hasTower31 = true; + } + } + + MapLocation mloc32 = new MapLocation(x + 0, y + -1); + boolean hasTower32 = false; + if (rc.canSenseLocation(mloc32)) { + RobotInfo r32 = rc.senseRobotAtLocation(mloc32); + if ( r32 != null && r32.team != rc.getTeam() && Globals.isTower(r32.type)) { + hasTower32 = true; + } + } + + MapLocation mloc33 = new MapLocation(x + 0, y + 0); + boolean hasTower33 = false; + if (rc.canSenseLocation(mloc33)) { + RobotInfo r33 = rc.senseRobotAtLocation(mloc33); + if ( r33 != null && r33.team != rc.getTeam() && Globals.isTower(r33.type)) { + hasTower33 = true; + } + } + + MapLocation mloc34 = new MapLocation(x + 0, y + 1); + boolean hasTower34 = false; + if (rc.canSenseLocation(mloc34)) { + RobotInfo r34 = rc.senseRobotAtLocation(mloc34); + if ( r34 != null && r34.team != rc.getTeam() && Globals.isTower(r34.type)) { + hasTower34 = true; + } + } + + MapLocation mloc35 = new MapLocation(x + 0, y + 2); + boolean hasTower35 = false; + if (rc.canSenseLocation(mloc35)) { + RobotInfo r35 = rc.senseRobotAtLocation(mloc35); + if ( r35 != null && r35.team != rc.getTeam() && Globals.isTower(r35.type)) { + hasTower35 = true; + } + } + + MapLocation mloc36 = new MapLocation(x + 0, y + 3); + boolean hasTower36 = false; + if (rc.canSenseLocation(mloc36)) { + RobotInfo r36 = rc.senseRobotAtLocation(mloc36); + if ( r36 != null && r36.team != rc.getTeam() && Globals.isTower(r36.type)) { + hasTower36 = true; + } + } + + + + MapLocation mloc40 = new MapLocation(x + 1, y + -3); + boolean hasTower40 = false; + if (rc.canSenseLocation(mloc40)) { + RobotInfo r40 = rc.senseRobotAtLocation(mloc40); + if ( r40 != null && r40.team != rc.getTeam() && Globals.isTower(r40.type)) { + hasTower40 = true; + } + } + + MapLocation mloc41 = new MapLocation(x + 1, y + -2); + boolean hasTower41 = false; + if (rc.canSenseLocation(mloc41)) { + RobotInfo r41 = rc.senseRobotAtLocation(mloc41); + if ( r41 != null && r41.team != rc.getTeam() && Globals.isTower(r41.type)) { + hasTower41 = true; + } + } + + MapLocation mloc42 = new MapLocation(x + 1, y + -1); + boolean hasTower42 = false; + if (rc.canSenseLocation(mloc42)) { + RobotInfo r42 = rc.senseRobotAtLocation(mloc42); + if ( r42 != null && r42.team != rc.getTeam() && Globals.isTower(r42.type)) { + hasTower42 = true; + } + } + + MapLocation mloc43 = new MapLocation(x + 1, y + 0); + boolean hasTower43 = false; + if (rc.canSenseLocation(mloc43)) { + RobotInfo r43 = rc.senseRobotAtLocation(mloc43); + if ( r43 != null && r43.team != rc.getTeam() && Globals.isTower(r43.type)) { + hasTower43 = true; + } + } + + MapLocation mloc44 = new MapLocation(x + 1, y + 1); + boolean hasTower44 = false; + if (rc.canSenseLocation(mloc44)) { + RobotInfo r44 = rc.senseRobotAtLocation(mloc44); + if ( r44 != null && r44.team != rc.getTeam() && Globals.isTower(r44.type)) { + hasTower44 = true; + } + } + + MapLocation mloc45 = new MapLocation(x + 1, y + 2); + boolean hasTower45 = false; + if (rc.canSenseLocation(mloc45)) { + RobotInfo r45 = rc.senseRobotAtLocation(mloc45); + if ( r45 != null && r45.team != rc.getTeam() && Globals.isTower(r45.type)) { + hasTower45 = true; + } + } + + MapLocation mloc46 = new MapLocation(x + 1, y + 3); + boolean hasTower46 = false; + if (rc.canSenseLocation(mloc46)) { + RobotInfo r46 = rc.senseRobotAtLocation(mloc46); + if ( r46 != null && r46.team != rc.getTeam() && Globals.isTower(r46.type)) { + hasTower46 = true; + } + } + + + + MapLocation mloc50 = new MapLocation(x + 2, y + -3); + boolean hasTower50 = false; + if (rc.canSenseLocation(mloc50)) { + RobotInfo r50 = rc.senseRobotAtLocation(mloc50); + if ( r50 != null && r50.team != rc.getTeam() && Globals.isTower(r50.type)) { + hasTower50 = true; + } + } + + MapLocation mloc51 = new MapLocation(x + 2, y + -2); + boolean hasTower51 = false; + if (rc.canSenseLocation(mloc51)) { + RobotInfo r51 = rc.senseRobotAtLocation(mloc51); + if ( r51 != null && r51.team != rc.getTeam() && Globals.isTower(r51.type)) { + hasTower51 = true; + } + } + + MapLocation mloc52 = new MapLocation(x + 2, y + -1); + boolean hasTower52 = false; + if (rc.canSenseLocation(mloc52)) { + RobotInfo r52 = rc.senseRobotAtLocation(mloc52); + if ( r52 != null && r52.team != rc.getTeam() && Globals.isTower(r52.type)) { + hasTower52 = true; + } + } + + MapLocation mloc53 = new MapLocation(x + 2, y + 0); + boolean hasTower53 = false; + if (rc.canSenseLocation(mloc53)) { + RobotInfo r53 = rc.senseRobotAtLocation(mloc53); + if ( r53 != null && r53.team != rc.getTeam() && Globals.isTower(r53.type)) { + hasTower53 = true; + } + } + + MapLocation mloc54 = new MapLocation(x + 2, y + 1); + boolean hasTower54 = false; + if (rc.canSenseLocation(mloc54)) { + RobotInfo r54 = rc.senseRobotAtLocation(mloc54); + if ( r54 != null && r54.team != rc.getTeam() && Globals.isTower(r54.type)) { + hasTower54 = true; + } + } + + MapLocation mloc55 = new MapLocation(x + 2, y + 2); + boolean hasTower55 = false; + if (rc.canSenseLocation(mloc55)) { + RobotInfo r55 = rc.senseRobotAtLocation(mloc55); + if ( r55 != null && r55.team != rc.getTeam() && Globals.isTower(r55.type)) { + hasTower55 = true; + } + } + + MapLocation mloc56 = new MapLocation(x + 2, y + 3); + boolean hasTower56 = false; + if (rc.canSenseLocation(mloc56)) { + RobotInfo r56 = rc.senseRobotAtLocation(mloc56); + if ( r56 != null && r56.team != rc.getTeam() && Globals.isTower(r56.type)) { + hasTower56 = true; + } + } + + + + MapLocation mloc60 = new MapLocation(x + 3, y + -3); + boolean hasTower60 = false; + if (rc.canSenseLocation(mloc60)) { + RobotInfo r60 = rc.senseRobotAtLocation(mloc60); + if ( r60 != null && r60.team != rc.getTeam() && Globals.isTower(r60.type)) { + hasTower60 = true; + } + } + + MapLocation mloc61 = new MapLocation(x + 3, y + -2); + boolean hasTower61 = false; + if (rc.canSenseLocation(mloc61)) { + RobotInfo r61 = rc.senseRobotAtLocation(mloc61); + if ( r61 != null && r61.team != rc.getTeam() && Globals.isTower(r61.type)) { + hasTower61 = true; + } + } + + MapLocation mloc62 = new MapLocation(x + 3, y + -1); + boolean hasTower62 = false; + if (rc.canSenseLocation(mloc62)) { + RobotInfo r62 = rc.senseRobotAtLocation(mloc62); + if ( r62 != null && r62.team != rc.getTeam() && Globals.isTower(r62.type)) { + hasTower62 = true; + } + } + + MapLocation mloc63 = new MapLocation(x + 3, y + 0); + boolean hasTower63 = false; + if (rc.canSenseLocation(mloc63)) { + RobotInfo r63 = rc.senseRobotAtLocation(mloc63); + if ( r63 != null && r63.team != rc.getTeam() && Globals.isTower(r63.type)) { + hasTower63 = true; + } + } + + MapLocation mloc64 = new MapLocation(x + 3, y + 1); + boolean hasTower64 = false; + if (rc.canSenseLocation(mloc64)) { + RobotInfo r64 = rc.senseRobotAtLocation(mloc64); + if ( r64 != null && r64.team != rc.getTeam() && Globals.isTower(r64.type)) { + hasTower64 = true; + } + } + + MapLocation mloc65 = new MapLocation(x + 3, y + 2); + boolean hasTower65 = false; + if (rc.canSenseLocation(mloc65)) { + RobotInfo r65 = rc.senseRobotAtLocation(mloc65); + if ( r65 != null && r65.team != rc.getTeam() && Globals.isTower(r65.type)) { + hasTower65 = true; + } + } + + MapLocation mloc66 = new MapLocation(x + 3, y + 3); + boolean hasTower66 = false; + if (rc.canSenseLocation(mloc66)) { + RobotInfo r66 = rc.senseRobotAtLocation(mloc66); + if ( r66 != null && r66.team != rc.getTeam() && Globals.isTower(r66.type)) { + hasTower66 = true; + } + } + + + + + + if (rc.canAttack(mloc11)) { + count = 0; + + + if (hasTower00) ++count; + + if (hasTower01) ++count; + + if (hasTower02) ++count; + + + + if (hasTower10) ++count; + + if (hasTower11) ++count; + + if (hasTower12) ++count; + + + + if (hasTower20) ++count; + + if (hasTower21) ++count; + + if (hasTower22) ++count; + + + if (count > bestCount) { + bestLoc = mloc11; + bestCount = count; + } + } + + if (rc.canAttack(mloc12)) { + count = 0; + + + if (hasTower01) ++count; + + if (hasTower02) ++count; + + if (hasTower03) ++count; + + + + if (hasTower11) ++count; + + if (hasTower12) ++count; + + if (hasTower13) ++count; + + + + if (hasTower21) ++count; + + if (hasTower22) ++count; + + if (hasTower23) ++count; + + + if (count > bestCount) { + bestLoc = mloc12; + bestCount = count; + } + } + + if (rc.canAttack(mloc13)) { + count = 0; + + + if (hasTower02) ++count; + + if (hasTower03) ++count; + + if (hasTower04) ++count; + + + + if (hasTower12) ++count; + + if (hasTower13) ++count; + + if (hasTower14) ++count; + + + + if (hasTower22) ++count; + + if (hasTower23) ++count; + + if (hasTower24) ++count; + + + if (count > bestCount) { + bestLoc = mloc13; + bestCount = count; + } + } + + if (rc.canAttack(mloc14)) { + count = 0; + + + if (hasTower03) ++count; + + if (hasTower04) ++count; + + if (hasTower05) ++count; + + + + if (hasTower13) ++count; + + if (hasTower14) ++count; + + if (hasTower15) ++count; + + + + if (hasTower23) ++count; + + if (hasTower24) ++count; + + if (hasTower25) ++count; + + + if (count > bestCount) { + bestLoc = mloc14; + bestCount = count; + } + } + + if (rc.canAttack(mloc15)) { + count = 0; + + + if (hasTower04) ++count; + + if (hasTower05) ++count; + + if (hasTower06) ++count; + + + + if (hasTower14) ++count; + + if (hasTower15) ++count; + + if (hasTower16) ++count; + + + + if (hasTower24) ++count; + + if (hasTower25) ++count; + + if (hasTower26) ++count; + + + if (count > bestCount) { + bestLoc = mloc15; + bestCount = count; + } + } + + + + if (rc.canAttack(mloc21)) { + count = 0; + + + if (hasTower10) ++count; + + if (hasTower11) ++count; + + if (hasTower12) ++count; + + + + if (hasTower20) ++count; + + if (hasTower21) ++count; + + if (hasTower22) ++count; + + + + if (hasTower30) ++count; + + if (hasTower31) ++count; + + if (hasTower32) ++count; + + + if (count > bestCount) { + bestLoc = mloc21; + bestCount = count; + } + } + + if (rc.canAttack(mloc22)) { + count = 0; + + + if (hasTower11) ++count; + + if (hasTower12) ++count; + + if (hasTower13) ++count; + + + + if (hasTower21) ++count; + + if (hasTower22) ++count; + + if (hasTower23) ++count; + + + + if (hasTower31) ++count; + + if (hasTower32) ++count; + + if (hasTower33) ++count; + + + if (count > bestCount) { + bestLoc = mloc22; + bestCount = count; + } + } + + if (rc.canAttack(mloc23)) { + count = 0; + + + if (hasTower12) ++count; + + if (hasTower13) ++count; + + if (hasTower14) ++count; + + + + if (hasTower22) ++count; + + if (hasTower23) ++count; + + if (hasTower24) ++count; + + + + if (hasTower32) ++count; + + if (hasTower33) ++count; + + if (hasTower34) ++count; + + + if (count > bestCount) { + bestLoc = mloc23; + bestCount = count; + } + } + + if (rc.canAttack(mloc24)) { + count = 0; + + + if (hasTower13) ++count; + + if (hasTower14) ++count; + + if (hasTower15) ++count; + + + + if (hasTower23) ++count; + + if (hasTower24) ++count; + + if (hasTower25) ++count; + + + + if (hasTower33) ++count; + + if (hasTower34) ++count; + + if (hasTower35) ++count; + + + if (count > bestCount) { + bestLoc = mloc24; + bestCount = count; + } + } + + if (rc.canAttack(mloc25)) { + count = 0; + + + if (hasTower14) ++count; + + if (hasTower15) ++count; + + if (hasTower16) ++count; + + + + if (hasTower24) ++count; + + if (hasTower25) ++count; + + if (hasTower26) ++count; + + + + if (hasTower34) ++count; + + if (hasTower35) ++count; + + if (hasTower36) ++count; + + + if (count > bestCount) { + bestLoc = mloc25; + bestCount = count; + } + } + + + + if (rc.canAttack(mloc31)) { + count = 0; + + + if (hasTower20) ++count; + + if (hasTower21) ++count; + + if (hasTower22) ++count; + + + + if (hasTower30) ++count; + + if (hasTower31) ++count; + + if (hasTower32) ++count; + + + + if (hasTower40) ++count; + + if (hasTower41) ++count; + + if (hasTower42) ++count; + + + if (count > bestCount) { + bestLoc = mloc31; + bestCount = count; + } + } + + if (rc.canAttack(mloc32)) { + count = 0; + + + if (hasTower21) ++count; + + if (hasTower22) ++count; + + if (hasTower23) ++count; + + + + if (hasTower31) ++count; + + if (hasTower32) ++count; + + if (hasTower33) ++count; + + + + if (hasTower41) ++count; + + if (hasTower42) ++count; + + if (hasTower43) ++count; + + + if (count > bestCount) { + bestLoc = mloc32; + bestCount = count; + } + } + + if (rc.canAttack(mloc33)) { + count = 0; + + + if (hasTower22) ++count; + + if (hasTower23) ++count; + + if (hasTower24) ++count; + + + + if (hasTower32) ++count; + + if (hasTower33) ++count; + + if (hasTower34) ++count; + + + + if (hasTower42) ++count; + + if (hasTower43) ++count; + + if (hasTower44) ++count; + + + if (count > bestCount) { + bestLoc = mloc33; + bestCount = count; + } + } + + if (rc.canAttack(mloc34)) { + count = 0; + + + if (hasTower23) ++count; + + if (hasTower24) ++count; + + if (hasTower25) ++count; + + + + if (hasTower33) ++count; + + if (hasTower34) ++count; + + if (hasTower35) ++count; + + + + if (hasTower43) ++count; + + if (hasTower44) ++count; + + if (hasTower45) ++count; + + + if (count > bestCount) { + bestLoc = mloc34; + bestCount = count; + } + } + + if (rc.canAttack(mloc35)) { + count = 0; + + + if (hasTower24) ++count; + + if (hasTower25) ++count; + + if (hasTower26) ++count; + + + + if (hasTower34) ++count; + + if (hasTower35) ++count; + + if (hasTower36) ++count; + + + + if (hasTower44) ++count; + + if (hasTower45) ++count; + + if (hasTower46) ++count; + + + if (count > bestCount) { + bestLoc = mloc35; + bestCount = count; + } + } + + + + if (rc.canAttack(mloc41)) { + count = 0; + + + if (hasTower30) ++count; + + if (hasTower31) ++count; + + if (hasTower32) ++count; + + + + if (hasTower40) ++count; + + if (hasTower41) ++count; + + if (hasTower42) ++count; + + + + if (hasTower50) ++count; + + if (hasTower51) ++count; + + if (hasTower52) ++count; + + + if (count > bestCount) { + bestLoc = mloc41; + bestCount = count; + } + } + + if (rc.canAttack(mloc42)) { + count = 0; + + + if (hasTower31) ++count; + + if (hasTower32) ++count; + + if (hasTower33) ++count; + + + + if (hasTower41) ++count; + + if (hasTower42) ++count; + + if (hasTower43) ++count; + + + + if (hasTower51) ++count; + + if (hasTower52) ++count; + + if (hasTower53) ++count; + + + if (count > bestCount) { + bestLoc = mloc42; + bestCount = count; + } + } + + if (rc.canAttack(mloc43)) { + count = 0; + + + if (hasTower32) ++count; + + if (hasTower33) ++count; + + if (hasTower34) ++count; + + + + if (hasTower42) ++count; + + if (hasTower43) ++count; + + if (hasTower44) ++count; + + + + if (hasTower52) ++count; + + if (hasTower53) ++count; + + if (hasTower54) ++count; + + + if (count > bestCount) { + bestLoc = mloc43; + bestCount = count; + } + } + + if (rc.canAttack(mloc44)) { + count = 0; + + + if (hasTower33) ++count; + + if (hasTower34) ++count; + + if (hasTower35) ++count; + + + + if (hasTower43) ++count; + + if (hasTower44) ++count; + + if (hasTower45) ++count; + + + + if (hasTower53) ++count; + + if (hasTower54) ++count; + + if (hasTower55) ++count; + + + if (count > bestCount) { + bestLoc = mloc44; + bestCount = count; + } + } + + if (rc.canAttack(mloc45)) { + count = 0; + + + if (hasTower34) ++count; + + if (hasTower35) ++count; + + if (hasTower36) ++count; + + + + if (hasTower44) ++count; + + if (hasTower45) ++count; + + if (hasTower46) ++count; + + + + if (hasTower54) ++count; + + if (hasTower55) ++count; + + if (hasTower56) ++count; + + + if (count > bestCount) { + bestLoc = mloc45; + bestCount = count; + } + } + + + + if (rc.canAttack(mloc51)) { + count = 0; + + + if (hasTower40) ++count; + + if (hasTower41) ++count; + + if (hasTower42) ++count; + + + + if (hasTower50) ++count; + + if (hasTower51) ++count; + + if (hasTower52) ++count; + + + + if (hasTower60) ++count; + + if (hasTower61) ++count; + + if (hasTower62) ++count; + + + if (count > bestCount) { + bestLoc = mloc51; + bestCount = count; + } + } + + if (rc.canAttack(mloc52)) { + count = 0; + + + if (hasTower41) ++count; + + if (hasTower42) ++count; + + if (hasTower43) ++count; + + + + if (hasTower51) ++count; + + if (hasTower52) ++count; + + if (hasTower53) ++count; + + + + if (hasTower61) ++count; + + if (hasTower62) ++count; + + if (hasTower63) ++count; + + + if (count > bestCount) { + bestLoc = mloc52; + bestCount = count; + } + } + + if (rc.canAttack(mloc53)) { + count = 0; + + + if (hasTower42) ++count; + + if (hasTower43) ++count; + + if (hasTower44) ++count; + + + + if (hasTower52) ++count; + + if (hasTower53) ++count; + + if (hasTower54) ++count; + + + + if (hasTower62) ++count; + + if (hasTower63) ++count; + + if (hasTower64) ++count; + + + if (count > bestCount) { + bestLoc = mloc53; + bestCount = count; + } + } + + if (rc.canAttack(mloc54)) { + count = 0; + + + if (hasTower43) ++count; + + if (hasTower44) ++count; + + if (hasTower45) ++count; + + + + if (hasTower53) ++count; + + if (hasTower54) ++count; + + if (hasTower55) ++count; + + + + if (hasTower63) ++count; + + if (hasTower64) ++count; + + if (hasTower65) ++count; + + + if (count > bestCount) { + bestLoc = mloc54; + bestCount = count; + } + } + + if (rc.canAttack(mloc55)) { + count = 0; + + + if (hasTower44) ++count; + + if (hasTower45) ++count; + + if (hasTower46) ++count; + + + + if (hasTower54) ++count; + + if (hasTower55) ++count; + + if (hasTower56) ++count; + + + + if (hasTower64) ++count; + + if (hasTower65) ++count; + + if (hasTower66) ++count; + + + if (count > bestCount) { + bestLoc = mloc55; + bestCount = count; + } + } + + + + if (bestCount >= 1) { + rc.attack(bestLoc); + } + } + + /*------------------ CHOOSE BEST --------------------*//* ################## CHOOSE BEST #################### */ + + + /*------------------ ADD ALLY --------------------*//* ################## ADD ALLY #################### */ + + /*------------------ ADD ENEMY --------------------*/ + + /* ################## ADD ENEMY #################### */ + + /*------------------ INIT TARGET --------------------*//* ################## INIT TARGET #################### */ + + /*------------------ COPY --------------------*/ + /* ################## COPY #################### */ + + + public static void soldierAttackMicro() throws GameActionException { + soldierTryAttack(); + MapLocation myloc = rc.getLocation(); + SquareManager.computePaintPenalties(); + MapLocation targetLoc_N = SquareManager.m23; + boolean canMove_N = (rc.canMove(Direction.NORTH)); + double healthDmgAttackRange_N = 0; + double myHealthDmg_N = 0; + int minDistToEnemy_N = 100000; + int penalty_N = SquareManager.penalty23; + int towerHealth_N = 1000000; + boolean inActionRadius_N = false; + + MapLocation targetLoc_NE = SquareManager.m33; + boolean canMove_NE = (rc.canMove(Direction.NORTHEAST)); + double healthDmgAttackRange_NE = 0; + double myHealthDmg_NE = 0; + int minDistToEnemy_NE = 100000; + int penalty_NE = SquareManager.penalty33; + int towerHealth_NE = 1000000; + boolean inActionRadius_NE = false; + + MapLocation targetLoc_E = SquareManager.m32; + boolean canMove_E = (rc.canMove(Direction.EAST)); + double healthDmgAttackRange_E = 0; + double myHealthDmg_E = 0; + int minDistToEnemy_E = 100000; + int penalty_E = SquareManager.penalty32; + int towerHealth_E = 1000000; + boolean inActionRadius_E = false; + + MapLocation targetLoc_SE = SquareManager.m31; + boolean canMove_SE = (rc.canMove(Direction.SOUTHEAST)); + double healthDmgAttackRange_SE = 0; + double myHealthDmg_SE = 0; + int minDistToEnemy_SE = 100000; + int penalty_SE = SquareManager.penalty31; + int towerHealth_SE = 1000000; + boolean inActionRadius_SE = false; + + MapLocation targetLoc_S = SquareManager.m21; + boolean canMove_S = (rc.canMove(Direction.SOUTH)); + double healthDmgAttackRange_S = 0; + double myHealthDmg_S = 0; + int minDistToEnemy_S = 100000; + int penalty_S = SquareManager.penalty21; + int towerHealth_S = 1000000; + boolean inActionRadius_S = false; + + MapLocation targetLoc_SW = SquareManager.m11; + boolean canMove_SW = (rc.canMove(Direction.SOUTHWEST)); + double healthDmgAttackRange_SW = 0; + double myHealthDmg_SW = 0; + int minDistToEnemy_SW = 100000; + int penalty_SW = SquareManager.penalty11; + int towerHealth_SW = 1000000; + boolean inActionRadius_SW = false; + + MapLocation targetLoc_W = SquareManager.m12; + boolean canMove_W = (rc.canMove(Direction.WEST)); + double healthDmgAttackRange_W = 0; + double myHealthDmg_W = 0; + int minDistToEnemy_W = 100000; + int penalty_W = SquareManager.penalty12; + int towerHealth_W = 1000000; + boolean inActionRadius_W = false; + + MapLocation targetLoc_NW = SquareManager.m13; + boolean canMove_NW = (rc.canMove(Direction.NORTHWEST)); + double healthDmgAttackRange_NW = 0; + double myHealthDmg_NW = 0; + int minDistToEnemy_NW = 100000; + int penalty_NW = SquareManager.penalty13; + int towerHealth_NW = 1000000; + boolean inActionRadius_NW = false; + + MapLocation targetLoc_C = SquareManager.m22; + boolean canMove_C = (true); + double healthDmgAttackRange_C = 0; + double myHealthDmg_C = 0; + int minDistToEnemy_C = 100000; + int penalty_C = SquareManager.penalty22; + int towerHealth_C = 1000000; + boolean inActionRadius_C = false; + + boolean friendNearby = false; + for (RobotInfo r: Globals.friends) { + if (r.type == UnitType.SOLDIER) { + friendNearby = true; + break; + } + } + boolean shouldWaitForFriend = (friendNearby && (rc.getRoundNum() % 2 == 0)); + + // Use GameConstant. + boolean actionReady = (rc.isActionReady() && (rc.getPaint() >= 5) && !shouldWaitForFriend); + int cooldownTurns = rc.getActionCooldownTurns(); + System.out.println("[126] " + "actionReady = " + actionReady + ", " + "cooldownTurns = " + cooldownTurns); + for (int i = Globals.friends.length; --i >= 0; ) { + RobotInfo robot = Globals.friends[i]; + addAllyN: { + + } + addAllyNE: { + + } + addAllyE: { + + } + addAllySE: { + + } + addAllyS: { + + } + addAllySW: { + + } + addAllyW: { + + } + addAllyNW: { + + } + addAllyC: { + + } + + } + + for (int i = Globals.enemies.length; --i >= 0; ) { + RobotInfo robot = Globals.enemies[i]; + + addEnemyN: { + if (!canMove_N) break addEnemyN; + int d = targetLoc_N.distanceSquaredTo(robot.location); + switch (robot.type) { + case LEVEL_ONE_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_N = soldierAttackStrength; + + towerHealth_N = Math.min(towerHealth_N, robot.health); + } + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_N += UnitType.LEVEL_ONE_DEFENSE_TOWER.attackStrength; + inActionRadius_N = true; + } + + if (d < minDistToEnemy_N) minDistToEnemy_N = d; + break addEnemyN; + } + case LEVEL_ONE_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_N = soldierAttackStrength; + + towerHealth_N = Math.min(towerHealth_N, robot.health); + } + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_N += UnitType.LEVEL_ONE_MONEY_TOWER.attackStrength; + inActionRadius_N = true; + } + + if (d < minDistToEnemy_N) minDistToEnemy_N = d; + break addEnemyN; + } + case LEVEL_ONE_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_N = soldierAttackStrength; + + towerHealth_N = Math.min(towerHealth_N, robot.health); + } + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_N += UnitType.LEVEL_ONE_PAINT_TOWER.attackStrength; + inActionRadius_N = true; + } + + if (d < minDistToEnemy_N) minDistToEnemy_N = d; + break addEnemyN; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_N = soldierAttackStrength; + + towerHealth_N = Math.min(towerHealth_N, robot.health); + } + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_N += UnitType.LEVEL_THREE_DEFENSE_TOWER.attackStrength; + inActionRadius_N = true; + } + + if (d < minDistToEnemy_N) minDistToEnemy_N = d; + break addEnemyN; + } + case LEVEL_THREE_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_N = soldierAttackStrength; + + towerHealth_N = Math.min(towerHealth_N, robot.health); + } + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_N += UnitType.LEVEL_THREE_MONEY_TOWER.attackStrength; + inActionRadius_N = true; + } + + if (d < minDistToEnemy_N) minDistToEnemy_N = d; + break addEnemyN; + } + case LEVEL_THREE_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_N = soldierAttackStrength; + + towerHealth_N = Math.min(towerHealth_N, robot.health); + } + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_N += UnitType.LEVEL_THREE_PAINT_TOWER.attackStrength; + inActionRadius_N = true; + } + + if (d < minDistToEnemy_N) minDistToEnemy_N = d; + break addEnemyN; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_N = soldierAttackStrength; + + towerHealth_N = Math.min(towerHealth_N, robot.health); + } + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_N += UnitType.LEVEL_TWO_DEFENSE_TOWER.attackStrength; + inActionRadius_N = true; + } + + if (d < minDistToEnemy_N) minDistToEnemy_N = d; + break addEnemyN; + } + case LEVEL_TWO_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_N = soldierAttackStrength; + + towerHealth_N = Math.min(towerHealth_N, robot.health); + } + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_N += UnitType.LEVEL_TWO_MONEY_TOWER.attackStrength; + inActionRadius_N = true; + } + + if (d < minDistToEnemy_N) minDistToEnemy_N = d; + break addEnemyN; + } + case LEVEL_TWO_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_N = soldierAttackStrength; + + towerHealth_N = Math.min(towerHealth_N, robot.health); + } + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_N += UnitType.LEVEL_TWO_PAINT_TOWER.attackStrength; + inActionRadius_N = true; + } + + if (d < minDistToEnemy_N) minDistToEnemy_N = d; + break addEnemyN; + } + + default: break addEnemyN; + } + } + + addEnemyNE: { + if (!canMove_NE) break addEnemyNE; + int d = targetLoc_NE.distanceSquaredTo(robot.location); + switch (robot.type) { + case LEVEL_ONE_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_NE = soldierAttackStrength; + + towerHealth_NE = Math.min(towerHealth_NE, robot.health); + } + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NE += UnitType.LEVEL_ONE_DEFENSE_TOWER.attackStrength; + inActionRadius_NE = true; + } + + if (d < minDistToEnemy_NE) minDistToEnemy_NE = d; + break addEnemyNE; + } + case LEVEL_ONE_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_NE = soldierAttackStrength; + + towerHealth_NE = Math.min(towerHealth_NE, robot.health); + } + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NE += UnitType.LEVEL_ONE_MONEY_TOWER.attackStrength; + inActionRadius_NE = true; + } + + if (d < minDistToEnemy_NE) minDistToEnemy_NE = d; + break addEnemyNE; + } + case LEVEL_ONE_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_NE = soldierAttackStrength; + + towerHealth_NE = Math.min(towerHealth_NE, robot.health); + } + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NE += UnitType.LEVEL_ONE_PAINT_TOWER.attackStrength; + inActionRadius_NE = true; + } + + if (d < minDistToEnemy_NE) minDistToEnemy_NE = d; + break addEnemyNE; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_NE = soldierAttackStrength; + + towerHealth_NE = Math.min(towerHealth_NE, robot.health); + } + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NE += UnitType.LEVEL_THREE_DEFENSE_TOWER.attackStrength; + inActionRadius_NE = true; + } + + if (d < minDistToEnemy_NE) minDistToEnemy_NE = d; + break addEnemyNE; + } + case LEVEL_THREE_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_NE = soldierAttackStrength; + + towerHealth_NE = Math.min(towerHealth_NE, robot.health); + } + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NE += UnitType.LEVEL_THREE_MONEY_TOWER.attackStrength; + inActionRadius_NE = true; + } + + if (d < minDistToEnemy_NE) minDistToEnemy_NE = d; + break addEnemyNE; + } + case LEVEL_THREE_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_NE = soldierAttackStrength; + + towerHealth_NE = Math.min(towerHealth_NE, robot.health); + } + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NE += UnitType.LEVEL_THREE_PAINT_TOWER.attackStrength; + inActionRadius_NE = true; + } + + if (d < minDistToEnemy_NE) minDistToEnemy_NE = d; + break addEnemyNE; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_NE = soldierAttackStrength; + + towerHealth_NE = Math.min(towerHealth_NE, robot.health); + } + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NE += UnitType.LEVEL_TWO_DEFENSE_TOWER.attackStrength; + inActionRadius_NE = true; + } + + if (d < minDistToEnemy_NE) minDistToEnemy_NE = d; + break addEnemyNE; + } + case LEVEL_TWO_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_NE = soldierAttackStrength; + + towerHealth_NE = Math.min(towerHealth_NE, robot.health); + } + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NE += UnitType.LEVEL_TWO_MONEY_TOWER.attackStrength; + inActionRadius_NE = true; + } + + if (d < minDistToEnemy_NE) minDistToEnemy_NE = d; + break addEnemyNE; + } + case LEVEL_TWO_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_NE = soldierAttackStrength; + + towerHealth_NE = Math.min(towerHealth_NE, robot.health); + } + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NE += UnitType.LEVEL_TWO_PAINT_TOWER.attackStrength; + inActionRadius_NE = true; + } + + if (d < minDistToEnemy_NE) minDistToEnemy_NE = d; + break addEnemyNE; + } + + default: break addEnemyNE; + } + } + + addEnemyE: { + if (!canMove_E) break addEnemyE; + int d = targetLoc_E.distanceSquaredTo(robot.location); + switch (robot.type) { + case LEVEL_ONE_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_E = soldierAttackStrength; + + towerHealth_E = Math.min(towerHealth_E, robot.health); + } + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_E += UnitType.LEVEL_ONE_DEFENSE_TOWER.attackStrength; + inActionRadius_E = true; + } + + if (d < minDistToEnemy_E) minDistToEnemy_E = d; + break addEnemyE; + } + case LEVEL_ONE_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_E = soldierAttackStrength; + + towerHealth_E = Math.min(towerHealth_E, robot.health); + } + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_E += UnitType.LEVEL_ONE_MONEY_TOWER.attackStrength; + inActionRadius_E = true; + } + + if (d < minDistToEnemy_E) minDistToEnemy_E = d; + break addEnemyE; + } + case LEVEL_ONE_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_E = soldierAttackStrength; + + towerHealth_E = Math.min(towerHealth_E, robot.health); + } + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_E += UnitType.LEVEL_ONE_PAINT_TOWER.attackStrength; + inActionRadius_E = true; + } + + if (d < minDistToEnemy_E) minDistToEnemy_E = d; + break addEnemyE; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_E = soldierAttackStrength; + + towerHealth_E = Math.min(towerHealth_E, robot.health); + } + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_E += UnitType.LEVEL_THREE_DEFENSE_TOWER.attackStrength; + inActionRadius_E = true; + } + + if (d < minDistToEnemy_E) minDistToEnemy_E = d; + break addEnemyE; + } + case LEVEL_THREE_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_E = soldierAttackStrength; + + towerHealth_E = Math.min(towerHealth_E, robot.health); + } + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_E += UnitType.LEVEL_THREE_MONEY_TOWER.attackStrength; + inActionRadius_E = true; + } + + if (d < minDistToEnemy_E) minDistToEnemy_E = d; + break addEnemyE; + } + case LEVEL_THREE_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_E = soldierAttackStrength; + + towerHealth_E = Math.min(towerHealth_E, robot.health); + } + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_E += UnitType.LEVEL_THREE_PAINT_TOWER.attackStrength; + inActionRadius_E = true; + } + + if (d < minDistToEnemy_E) minDistToEnemy_E = d; + break addEnemyE; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_E = soldierAttackStrength; + + towerHealth_E = Math.min(towerHealth_E, robot.health); + } + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_E += UnitType.LEVEL_TWO_DEFENSE_TOWER.attackStrength; + inActionRadius_E = true; + } + + if (d < minDistToEnemy_E) minDistToEnemy_E = d; + break addEnemyE; + } + case LEVEL_TWO_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_E = soldierAttackStrength; + + towerHealth_E = Math.min(towerHealth_E, robot.health); + } + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_E += UnitType.LEVEL_TWO_MONEY_TOWER.attackStrength; + inActionRadius_E = true; + } + + if (d < minDistToEnemy_E) minDistToEnemy_E = d; + break addEnemyE; + } + case LEVEL_TWO_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_E = soldierAttackStrength; + + towerHealth_E = Math.min(towerHealth_E, robot.health); + } + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_E += UnitType.LEVEL_TWO_PAINT_TOWER.attackStrength; + inActionRadius_E = true; + } + + if (d < minDistToEnemy_E) minDistToEnemy_E = d; + break addEnemyE; + } + + default: break addEnemyE; + } + } + + addEnemySE: { + if (!canMove_SE) break addEnemySE; + int d = targetLoc_SE.distanceSquaredTo(robot.location); + switch (robot.type) { + case LEVEL_ONE_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_SE = soldierAttackStrength; + + towerHealth_SE = Math.min(towerHealth_SE, robot.health); + } + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SE += UnitType.LEVEL_ONE_DEFENSE_TOWER.attackStrength; + inActionRadius_SE = true; + } + + if (d < minDistToEnemy_SE) minDistToEnemy_SE = d; + break addEnemySE; + } + case LEVEL_ONE_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_SE = soldierAttackStrength; + + towerHealth_SE = Math.min(towerHealth_SE, robot.health); + } + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SE += UnitType.LEVEL_ONE_MONEY_TOWER.attackStrength; + inActionRadius_SE = true; + } + + if (d < minDistToEnemy_SE) minDistToEnemy_SE = d; + break addEnemySE; + } + case LEVEL_ONE_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_SE = soldierAttackStrength; + + towerHealth_SE = Math.min(towerHealth_SE, robot.health); + } + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SE += UnitType.LEVEL_ONE_PAINT_TOWER.attackStrength; + inActionRadius_SE = true; + } + + if (d < minDistToEnemy_SE) minDistToEnemy_SE = d; + break addEnemySE; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_SE = soldierAttackStrength; + + towerHealth_SE = Math.min(towerHealth_SE, robot.health); + } + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SE += UnitType.LEVEL_THREE_DEFENSE_TOWER.attackStrength; + inActionRadius_SE = true; + } + + if (d < minDistToEnemy_SE) minDistToEnemy_SE = d; + break addEnemySE; + } + case LEVEL_THREE_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_SE = soldierAttackStrength; + + towerHealth_SE = Math.min(towerHealth_SE, robot.health); + } + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SE += UnitType.LEVEL_THREE_MONEY_TOWER.attackStrength; + inActionRadius_SE = true; + } + + if (d < minDistToEnemy_SE) minDistToEnemy_SE = d; + break addEnemySE; + } + case LEVEL_THREE_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_SE = soldierAttackStrength; + + towerHealth_SE = Math.min(towerHealth_SE, robot.health); + } + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SE += UnitType.LEVEL_THREE_PAINT_TOWER.attackStrength; + inActionRadius_SE = true; + } + + if (d < minDistToEnemy_SE) minDistToEnemy_SE = d; + break addEnemySE; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_SE = soldierAttackStrength; + + towerHealth_SE = Math.min(towerHealth_SE, robot.health); + } + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SE += UnitType.LEVEL_TWO_DEFENSE_TOWER.attackStrength; + inActionRadius_SE = true; + } + + if (d < minDistToEnemy_SE) minDistToEnemy_SE = d; + break addEnemySE; + } + case LEVEL_TWO_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_SE = soldierAttackStrength; + + towerHealth_SE = Math.min(towerHealth_SE, robot.health); + } + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SE += UnitType.LEVEL_TWO_MONEY_TOWER.attackStrength; + inActionRadius_SE = true; + } + + if (d < minDistToEnemy_SE) minDistToEnemy_SE = d; + break addEnemySE; + } + case LEVEL_TWO_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_SE = soldierAttackStrength; + + towerHealth_SE = Math.min(towerHealth_SE, robot.health); + } + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SE += UnitType.LEVEL_TWO_PAINT_TOWER.attackStrength; + inActionRadius_SE = true; + } + + if (d < minDistToEnemy_SE) minDistToEnemy_SE = d; + break addEnemySE; + } + + default: break addEnemySE; + } + } + + addEnemyS: { + if (!canMove_S) break addEnemyS; + int d = targetLoc_S.distanceSquaredTo(robot.location); + switch (robot.type) { + case LEVEL_ONE_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_S = soldierAttackStrength; + + towerHealth_S = Math.min(towerHealth_S, robot.health); + } + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_S += UnitType.LEVEL_ONE_DEFENSE_TOWER.attackStrength; + inActionRadius_S = true; + } + + if (d < minDistToEnemy_S) minDistToEnemy_S = d; + break addEnemyS; + } + case LEVEL_ONE_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_S = soldierAttackStrength; + + towerHealth_S = Math.min(towerHealth_S, robot.health); + } + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_S += UnitType.LEVEL_ONE_MONEY_TOWER.attackStrength; + inActionRadius_S = true; + } + + if (d < minDistToEnemy_S) minDistToEnemy_S = d; + break addEnemyS; + } + case LEVEL_ONE_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_S = soldierAttackStrength; + + towerHealth_S = Math.min(towerHealth_S, robot.health); + } + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_S += UnitType.LEVEL_ONE_PAINT_TOWER.attackStrength; + inActionRadius_S = true; + } + + if (d < minDistToEnemy_S) minDistToEnemy_S = d; + break addEnemyS; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_S = soldierAttackStrength; + + towerHealth_S = Math.min(towerHealth_S, robot.health); + } + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_S += UnitType.LEVEL_THREE_DEFENSE_TOWER.attackStrength; + inActionRadius_S = true; + } + + if (d < minDistToEnemy_S) minDistToEnemy_S = d; + break addEnemyS; + } + case LEVEL_THREE_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_S = soldierAttackStrength; + + towerHealth_S = Math.min(towerHealth_S, robot.health); + } + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_S += UnitType.LEVEL_THREE_MONEY_TOWER.attackStrength; + inActionRadius_S = true; + } + + if (d < minDistToEnemy_S) minDistToEnemy_S = d; + break addEnemyS; + } + case LEVEL_THREE_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_S = soldierAttackStrength; + + towerHealth_S = Math.min(towerHealth_S, robot.health); + } + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_S += UnitType.LEVEL_THREE_PAINT_TOWER.attackStrength; + inActionRadius_S = true; + } + + if (d < minDistToEnemy_S) minDistToEnemy_S = d; + break addEnemyS; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_S = soldierAttackStrength; + + towerHealth_S = Math.min(towerHealth_S, robot.health); + } + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_S += UnitType.LEVEL_TWO_DEFENSE_TOWER.attackStrength; + inActionRadius_S = true; + } + + if (d < minDistToEnemy_S) minDistToEnemy_S = d; + break addEnemyS; + } + case LEVEL_TWO_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_S = soldierAttackStrength; + + towerHealth_S = Math.min(towerHealth_S, robot.health); + } + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_S += UnitType.LEVEL_TWO_MONEY_TOWER.attackStrength; + inActionRadius_S = true; + } + + if (d < minDistToEnemy_S) minDistToEnemy_S = d; + break addEnemyS; + } + case LEVEL_TWO_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_S = soldierAttackStrength; + + towerHealth_S = Math.min(towerHealth_S, robot.health); + } + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_S += UnitType.LEVEL_TWO_PAINT_TOWER.attackStrength; + inActionRadius_S = true; + } + + if (d < minDistToEnemy_S) minDistToEnemy_S = d; + break addEnemyS; + } + + default: break addEnemyS; + } + } + + addEnemySW: { + if (!canMove_SW) break addEnemySW; + int d = targetLoc_SW.distanceSquaredTo(robot.location); + switch (robot.type) { + case LEVEL_ONE_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_SW = soldierAttackStrength; + + towerHealth_SW = Math.min(towerHealth_SW, robot.health); + } + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SW += UnitType.LEVEL_ONE_DEFENSE_TOWER.attackStrength; + inActionRadius_SW = true; + } + + if (d < minDistToEnemy_SW) minDistToEnemy_SW = d; + break addEnemySW; + } + case LEVEL_ONE_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_SW = soldierAttackStrength; + + towerHealth_SW = Math.min(towerHealth_SW, robot.health); + } + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SW += UnitType.LEVEL_ONE_MONEY_TOWER.attackStrength; + inActionRadius_SW = true; + } + + if (d < minDistToEnemy_SW) minDistToEnemy_SW = d; + break addEnemySW; + } + case LEVEL_ONE_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_SW = soldierAttackStrength; + + towerHealth_SW = Math.min(towerHealth_SW, robot.health); + } + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SW += UnitType.LEVEL_ONE_PAINT_TOWER.attackStrength; + inActionRadius_SW = true; + } + + if (d < minDistToEnemy_SW) minDistToEnemy_SW = d; + break addEnemySW; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_SW = soldierAttackStrength; + + towerHealth_SW = Math.min(towerHealth_SW, robot.health); + } + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SW += UnitType.LEVEL_THREE_DEFENSE_TOWER.attackStrength; + inActionRadius_SW = true; + } + + if (d < minDistToEnemy_SW) minDistToEnemy_SW = d; + break addEnemySW; + } + case LEVEL_THREE_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_SW = soldierAttackStrength; + + towerHealth_SW = Math.min(towerHealth_SW, robot.health); + } + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SW += UnitType.LEVEL_THREE_MONEY_TOWER.attackStrength; + inActionRadius_SW = true; + } + + if (d < minDistToEnemy_SW) minDistToEnemy_SW = d; + break addEnemySW; + } + case LEVEL_THREE_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_SW = soldierAttackStrength; + + towerHealth_SW = Math.min(towerHealth_SW, robot.health); + } + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SW += UnitType.LEVEL_THREE_PAINT_TOWER.attackStrength; + inActionRadius_SW = true; + } + + if (d < minDistToEnemy_SW) minDistToEnemy_SW = d; + break addEnemySW; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_SW = soldierAttackStrength; + + towerHealth_SW = Math.min(towerHealth_SW, robot.health); + } + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SW += UnitType.LEVEL_TWO_DEFENSE_TOWER.attackStrength; + inActionRadius_SW = true; + } + + if (d < minDistToEnemy_SW) minDistToEnemy_SW = d; + break addEnemySW; + } + case LEVEL_TWO_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_SW = soldierAttackStrength; + + towerHealth_SW = Math.min(towerHealth_SW, robot.health); + } + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SW += UnitType.LEVEL_TWO_MONEY_TOWER.attackStrength; + inActionRadius_SW = true; + } + + if (d < minDistToEnemy_SW) minDistToEnemy_SW = d; + break addEnemySW; + } + case LEVEL_TWO_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_SW = soldierAttackStrength; + + towerHealth_SW = Math.min(towerHealth_SW, robot.health); + } + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SW += UnitType.LEVEL_TWO_PAINT_TOWER.attackStrength; + inActionRadius_SW = true; + } + + if (d < minDistToEnemy_SW) minDistToEnemy_SW = d; + break addEnemySW; + } + + default: break addEnemySW; + } + } + + addEnemyW: { + if (!canMove_W) break addEnemyW; + int d = targetLoc_W.distanceSquaredTo(robot.location); + switch (robot.type) { + case LEVEL_ONE_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_W = soldierAttackStrength; + + towerHealth_W = Math.min(towerHealth_W, robot.health); + } + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_W += UnitType.LEVEL_ONE_DEFENSE_TOWER.attackStrength; + inActionRadius_W = true; + } + + if (d < minDistToEnemy_W) minDistToEnemy_W = d; + break addEnemyW; + } + case LEVEL_ONE_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_W = soldierAttackStrength; + + towerHealth_W = Math.min(towerHealth_W, robot.health); + } + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_W += UnitType.LEVEL_ONE_MONEY_TOWER.attackStrength; + inActionRadius_W = true; + } + + if (d < minDistToEnemy_W) minDistToEnemy_W = d; + break addEnemyW; + } + case LEVEL_ONE_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_W = soldierAttackStrength; + + towerHealth_W = Math.min(towerHealth_W, robot.health); + } + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_W += UnitType.LEVEL_ONE_PAINT_TOWER.attackStrength; + inActionRadius_W = true; + } + + if (d < minDistToEnemy_W) minDistToEnemy_W = d; + break addEnemyW; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_W = soldierAttackStrength; + + towerHealth_W = Math.min(towerHealth_W, robot.health); + } + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_W += UnitType.LEVEL_THREE_DEFENSE_TOWER.attackStrength; + inActionRadius_W = true; + } + + if (d < minDistToEnemy_W) minDistToEnemy_W = d; + break addEnemyW; + } + case LEVEL_THREE_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_W = soldierAttackStrength; + + towerHealth_W = Math.min(towerHealth_W, robot.health); + } + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_W += UnitType.LEVEL_THREE_MONEY_TOWER.attackStrength; + inActionRadius_W = true; + } + + if (d < minDistToEnemy_W) minDistToEnemy_W = d; + break addEnemyW; + } + case LEVEL_THREE_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_W = soldierAttackStrength; + + towerHealth_W = Math.min(towerHealth_W, robot.health); + } + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_W += UnitType.LEVEL_THREE_PAINT_TOWER.attackStrength; + inActionRadius_W = true; + } + + if (d < minDistToEnemy_W) minDistToEnemy_W = d; + break addEnemyW; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_W = soldierAttackStrength; + + towerHealth_W = Math.min(towerHealth_W, robot.health); + } + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_W += UnitType.LEVEL_TWO_DEFENSE_TOWER.attackStrength; + inActionRadius_W = true; + } + + if (d < minDistToEnemy_W) minDistToEnemy_W = d; + break addEnemyW; + } + case LEVEL_TWO_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_W = soldierAttackStrength; + + towerHealth_W = Math.min(towerHealth_W, robot.health); + } + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_W += UnitType.LEVEL_TWO_MONEY_TOWER.attackStrength; + inActionRadius_W = true; + } + + if (d < minDistToEnemy_W) minDistToEnemy_W = d; + break addEnemyW; + } + case LEVEL_TWO_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_W = soldierAttackStrength; + + towerHealth_W = Math.min(towerHealth_W, robot.health); + } + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_W += UnitType.LEVEL_TWO_PAINT_TOWER.attackStrength; + inActionRadius_W = true; + } + + if (d < minDistToEnemy_W) minDistToEnemy_W = d; + break addEnemyW; + } + + default: break addEnemyW; + } + } + + addEnemyNW: { + if (!canMove_NW) break addEnemyNW; + int d = targetLoc_NW.distanceSquaredTo(robot.location); + switch (robot.type) { + case LEVEL_ONE_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_NW = soldierAttackStrength; + + towerHealth_NW = Math.min(towerHealth_NW, robot.health); + } + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NW += UnitType.LEVEL_ONE_DEFENSE_TOWER.attackStrength; + inActionRadius_NW = true; + } + + if (d < minDistToEnemy_NW) minDistToEnemy_NW = d; + break addEnemyNW; + } + case LEVEL_ONE_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_NW = soldierAttackStrength; + + towerHealth_NW = Math.min(towerHealth_NW, robot.health); + } + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NW += UnitType.LEVEL_ONE_MONEY_TOWER.attackStrength; + inActionRadius_NW = true; + } + + if (d < minDistToEnemy_NW) minDistToEnemy_NW = d; + break addEnemyNW; + } + case LEVEL_ONE_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_NW = soldierAttackStrength; + + towerHealth_NW = Math.min(towerHealth_NW, robot.health); + } + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NW += UnitType.LEVEL_ONE_PAINT_TOWER.attackStrength; + inActionRadius_NW = true; + } + + if (d < minDistToEnemy_NW) minDistToEnemy_NW = d; + break addEnemyNW; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_NW = soldierAttackStrength; + + towerHealth_NW = Math.min(towerHealth_NW, robot.health); + } + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NW += UnitType.LEVEL_THREE_DEFENSE_TOWER.attackStrength; + inActionRadius_NW = true; + } + + if (d < minDistToEnemy_NW) minDistToEnemy_NW = d; + break addEnemyNW; + } + case LEVEL_THREE_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_NW = soldierAttackStrength; + + towerHealth_NW = Math.min(towerHealth_NW, robot.health); + } + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NW += UnitType.LEVEL_THREE_MONEY_TOWER.attackStrength; + inActionRadius_NW = true; + } + + if (d < minDistToEnemy_NW) minDistToEnemy_NW = d; + break addEnemyNW; + } + case LEVEL_THREE_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_NW = soldierAttackStrength; + + towerHealth_NW = Math.min(towerHealth_NW, robot.health); + } + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NW += UnitType.LEVEL_THREE_PAINT_TOWER.attackStrength; + inActionRadius_NW = true; + } + + if (d < minDistToEnemy_NW) minDistToEnemy_NW = d; + break addEnemyNW; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_NW = soldierAttackStrength; + + towerHealth_NW = Math.min(towerHealth_NW, robot.health); + } + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NW += UnitType.LEVEL_TWO_DEFENSE_TOWER.attackStrength; + inActionRadius_NW = true; + } + + if (d < minDistToEnemy_NW) minDistToEnemy_NW = d; + break addEnemyNW; + } + case LEVEL_TWO_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_NW = soldierAttackStrength; + + towerHealth_NW = Math.min(towerHealth_NW, robot.health); + } + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NW += UnitType.LEVEL_TWO_MONEY_TOWER.attackStrength; + inActionRadius_NW = true; + } + + if (d < minDistToEnemy_NW) minDistToEnemy_NW = d; + break addEnemyNW; + } + case LEVEL_TWO_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_NW = soldierAttackStrength; + + towerHealth_NW = Math.min(towerHealth_NW, robot.health); + } + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NW += UnitType.LEVEL_TWO_PAINT_TOWER.attackStrength; + inActionRadius_NW = true; + } + + if (d < minDistToEnemy_NW) minDistToEnemy_NW = d; + break addEnemyNW; + } + + default: break addEnemyNW; + } + } + + addEnemyC: { + if (!canMove_C) break addEnemyC; + int d = targetLoc_C.distanceSquaredTo(robot.location); + switch (robot.type) { + case LEVEL_ONE_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_C = soldierAttackStrength; + + towerHealth_C = Math.min(towerHealth_C, robot.health); + } + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_C += UnitType.LEVEL_ONE_DEFENSE_TOWER.attackStrength; + inActionRadius_C = true; + } + + if (d < minDistToEnemy_C) minDistToEnemy_C = d; + break addEnemyC; + } + case LEVEL_ONE_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_C = soldierAttackStrength; + + towerHealth_C = Math.min(towerHealth_C, robot.health); + } + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_C += UnitType.LEVEL_ONE_MONEY_TOWER.attackStrength; + inActionRadius_C = true; + } + + if (d < minDistToEnemy_C) minDistToEnemy_C = d; + break addEnemyC; + } + case LEVEL_ONE_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_C = soldierAttackStrength; + + towerHealth_C = Math.min(towerHealth_C, robot.health); + } + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_C += UnitType.LEVEL_ONE_PAINT_TOWER.attackStrength; + inActionRadius_C = true; + } + + if (d < minDistToEnemy_C) minDistToEnemy_C = d; + break addEnemyC; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_C = soldierAttackStrength; + + towerHealth_C = Math.min(towerHealth_C, robot.health); + } + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_C += UnitType.LEVEL_THREE_DEFENSE_TOWER.attackStrength; + inActionRadius_C = true; + } + + if (d < minDistToEnemy_C) minDistToEnemy_C = d; + break addEnemyC; + } + case LEVEL_THREE_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_C = soldierAttackStrength; + + towerHealth_C = Math.min(towerHealth_C, robot.health); + } + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_C += UnitType.LEVEL_THREE_MONEY_TOWER.attackStrength; + inActionRadius_C = true; + } + + if (d < minDistToEnemy_C) minDistToEnemy_C = d; + break addEnemyC; + } + case LEVEL_THREE_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_C = soldierAttackStrength; + + towerHealth_C = Math.min(towerHealth_C, robot.health); + } + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_C += UnitType.LEVEL_THREE_PAINT_TOWER.attackStrength; + inActionRadius_C = true; + } + + if (d < minDistToEnemy_C) minDistToEnemy_C = d; + break addEnemyC; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_C = soldierAttackStrength; + + towerHealth_C = Math.min(towerHealth_C, robot.health); + } + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_C += UnitType.LEVEL_TWO_DEFENSE_TOWER.attackStrength; + inActionRadius_C = true; + } + + if (d < minDistToEnemy_C) minDistToEnemy_C = d; + break addEnemyC; + } + case LEVEL_TWO_MONEY_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_C = soldierAttackStrength; + + towerHealth_C = Math.min(towerHealth_C, robot.health); + } + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_C += UnitType.LEVEL_TWO_MONEY_TOWER.attackStrength; + inActionRadius_C = true; + } + + if (d < minDistToEnemy_C) minDistToEnemy_C = d; + break addEnemyC; + } + case LEVEL_TWO_PAINT_TOWER: { + if (actionReady && d <= soldierActionRadiusSquared) { + + myHealthDmg_C = soldierAttackStrength; + + towerHealth_C = Math.min(towerHealth_C, robot.health); + } + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_C += UnitType.LEVEL_TWO_PAINT_TOWER.attackStrength; + inActionRadius_C = true; + } + + if (d < minDistToEnemy_C) minDistToEnemy_C = d; + break addEnemyC; + } + + default: break addEnemyC; + } + } + + } + + + System.out.println("[143] " + "minDistToEnemy_N = " + minDistToEnemy_N + ", " + "targetLoc_N.x = " + targetLoc_N.x + ", " + "canMove_N = " + canMove_N + ", " + "targetLoc_N.y = " + targetLoc_N.y + ", " + "penalty_N = " + penalty_N + ", " + "healthDmgAttackRange_N = " + healthDmgAttackRange_N + ", " + "myHealthDmg_N = " + myHealthDmg_N + ", " + "towerHealth_N = " + towerHealth_N + ", " + "inActionRadius_N = " + inActionRadius_N); + + System.out.println("[143] " + "minDistToEnemy_NE = " + minDistToEnemy_NE + ", " + "targetLoc_NE.x = " + targetLoc_NE.x + ", " + "canMove_NE = " + canMove_NE + ", " + "targetLoc_NE.y = " + targetLoc_NE.y + ", " + "penalty_NE = " + penalty_NE + ", " + "healthDmgAttackRange_NE = " + healthDmgAttackRange_NE + ", " + "myHealthDmg_NE = " + myHealthDmg_NE + ", " + "towerHealth_NE = " + towerHealth_NE + ", " + "inActionRadius_NE = " + inActionRadius_NE); + + System.out.println("[143] " + "minDistToEnemy_E = " + minDistToEnemy_E + ", " + "targetLoc_E.x = " + targetLoc_E.x + ", " + "canMove_E = " + canMove_E + ", " + "targetLoc_E.y = " + targetLoc_E.y + ", " + "penalty_E = " + penalty_E + ", " + "healthDmgAttackRange_E = " + healthDmgAttackRange_E + ", " + "myHealthDmg_E = " + myHealthDmg_E + ", " + "towerHealth_E = " + towerHealth_E + ", " + "inActionRadius_E = " + inActionRadius_E); + + System.out.println("[143] " + "minDistToEnemy_SE = " + minDistToEnemy_SE + ", " + "targetLoc_SE.x = " + targetLoc_SE.x + ", " + "canMove_SE = " + canMove_SE + ", " + "targetLoc_SE.y = " + targetLoc_SE.y + ", " + "penalty_SE = " + penalty_SE + ", " + "healthDmgAttackRange_SE = " + healthDmgAttackRange_SE + ", " + "myHealthDmg_SE = " + myHealthDmg_SE + ", " + "towerHealth_SE = " + towerHealth_SE + ", " + "inActionRadius_SE = " + inActionRadius_SE); + + System.out.println("[143] " + "minDistToEnemy_S = " + minDistToEnemy_S + ", " + "targetLoc_S.x = " + targetLoc_S.x + ", " + "canMove_S = " + canMove_S + ", " + "targetLoc_S.y = " + targetLoc_S.y + ", " + "penalty_S = " + penalty_S + ", " + "healthDmgAttackRange_S = " + healthDmgAttackRange_S + ", " + "myHealthDmg_S = " + myHealthDmg_S + ", " + "towerHealth_S = " + towerHealth_S + ", " + "inActionRadius_S = " + inActionRadius_S); + + System.out.println("[143] " + "minDistToEnemy_SW = " + minDistToEnemy_SW + ", " + "targetLoc_SW.x = " + targetLoc_SW.x + ", " + "canMove_SW = " + canMove_SW + ", " + "targetLoc_SW.y = " + targetLoc_SW.y + ", " + "penalty_SW = " + penalty_SW + ", " + "healthDmgAttackRange_SW = " + healthDmgAttackRange_SW + ", " + "myHealthDmg_SW = " + myHealthDmg_SW + ", " + "towerHealth_SW = " + towerHealth_SW + ", " + "inActionRadius_SW = " + inActionRadius_SW); + + System.out.println("[143] " + "minDistToEnemy_W = " + minDistToEnemy_W + ", " + "targetLoc_W.x = " + targetLoc_W.x + ", " + "canMove_W = " + canMove_W + ", " + "targetLoc_W.y = " + targetLoc_W.y + ", " + "penalty_W = " + penalty_W + ", " + "healthDmgAttackRange_W = " + healthDmgAttackRange_W + ", " + "myHealthDmg_W = " + myHealthDmg_W + ", " + "towerHealth_W = " + towerHealth_W + ", " + "inActionRadius_W = " + inActionRadius_W); + + System.out.println("[143] " + "minDistToEnemy_NW = " + minDistToEnemy_NW + ", " + "targetLoc_NW.x = " + targetLoc_NW.x + ", " + "canMove_NW = " + canMove_NW + ", " + "targetLoc_NW.y = " + targetLoc_NW.y + ", " + "penalty_NW = " + penalty_NW + ", " + "healthDmgAttackRange_NW = " + healthDmgAttackRange_NW + ", " + "myHealthDmg_NW = " + myHealthDmg_NW + ", " + "towerHealth_NW = " + towerHealth_NW + ", " + "inActionRadius_NW = " + inActionRadius_NW); + + System.out.println("[143] " + "minDistToEnemy_C = " + minDistToEnemy_C + ", " + "targetLoc_C.x = " + targetLoc_C.x + ", " + "canMove_C = " + canMove_C + ", " + "targetLoc_C.y = " + targetLoc_C.y + ", " + "penalty_C = " + penalty_C + ", " + "healthDmgAttackRange_C = " + healthDmgAttackRange_C + ", " + "myHealthDmg_C = " + myHealthDmg_C + ", " + "towerHealth_C = " + towerHealth_C + ", " + "inActionRadius_C = " + inActionRadius_C); + + + boolean bestWins = false; + Direction bestDir = Direction.NORTH; + MapLocation targetLoc_best = SquareManager.m23; + boolean canMove_best = (rc.canMove(Direction.NORTH)); + double healthDmgAttackRange_best = 0; + double myHealthDmg_best = 0; + int minDistToEnemy_best = 100000; + int penalty_best = SquareManager.penalty23; + int towerHealth_best = 1000000; + boolean inActionRadius_best = false; + + + targetLoc_best = targetLoc_N; + canMove_best = canMove_N; + healthDmgAttackRange_best = healthDmgAttackRange_N; + myHealthDmg_best = myHealthDmg_N; + minDistToEnemy_best = minDistToEnemy_N; + penalty_best = penalty_N; + inActionRadius_best = inActionRadius_N; + towerHealth_best = towerHealth_N; + + bestWins = canMove_best; + chooseBestNE: { + if (!canMove_NE || !canMove_best) break chooseBestNE; + + // Choose the square where I deal the most net damage. + double bestHealthDmgDiff = healthDmgAttackRange_best - myHealthDmg_best; + double otherHealthDmgDiff = healthDmgAttackRange_NE - myHealthDmg_NE; + if (bestHealthDmgDiff != otherHealthDmgDiff) { + bestWins = (bestHealthDmgDiff < otherHealthDmgDiff); + break chooseBestNE; + } + + if (actionReady) { + // If I can attack at either square, prefer the one which lets me attack a low health tower. + if (inActionRadius_best && inActionRadius_NE) { + if (towerHealth_best != towerHealth_NE) { + bestWins = towerHealth_best < towerHealth_NE; + break chooseBestNE; + } + } + + // If I can attack choose the square which gets me into action radius. + if (inActionRadius_best != inActionRadius_NE) { + bestWins = inActionRadius_best; + break chooseBestNE; + } + } else { + // If I can't attack, choose the square which gets me out of action radius. + if (inActionRadius_best != inActionRadius_NE) { + bestWins = !inActionRadius_best; + break chooseBestNE; + } + } + + // If both squares are in action radius, prefer the one which lets you get out of action radius. + if (inActionRadius_best && inActionRadius_NE) { + if ((minDistToEnemy_best <= 2) != (minDistToEnemy_NE <= 2)) { + bestWins = !(minDistToEnemy_best <= 2); + break chooseBestNE; + } + } + + // If both squares are out of action radius, prefer the one which is closer. + else if (!inActionRadius_best && !inActionRadius_NE) { + if (minDistToEnemy_best != minDistToEnemy_NE) { + bestWins = minDistToEnemy_best < minDistToEnemy_NE; + break chooseBestNE; + } + } + + // All else equal, prefer the square with better paint penalty. + bestWins = (penalty_best <= penalty_NE); + break chooseBestNE; + } + + + if (!bestWins) { + targetLoc_best = targetLoc_NE; + canMove_best = canMove_NE; + healthDmgAttackRange_best = healthDmgAttackRange_NE; + myHealthDmg_best = myHealthDmg_NE; + minDistToEnemy_best = minDistToEnemy_NE; + penalty_best = penalty_NE; + inActionRadius_best = inActionRadius_NE; + towerHealth_best = towerHealth_NE; + bestDir = Direction.NORTHEAST; + } + + + bestWins = canMove_best; + chooseBestE: { + if (!canMove_E || !canMove_best) break chooseBestE; + + // Choose the square where I deal the most net damage. + double bestHealthDmgDiff = healthDmgAttackRange_best - myHealthDmg_best; + double otherHealthDmgDiff = healthDmgAttackRange_E - myHealthDmg_E; + if (bestHealthDmgDiff != otherHealthDmgDiff) { + bestWins = (bestHealthDmgDiff < otherHealthDmgDiff); + break chooseBestE; + } + + if (actionReady) { + // If I can attack at either square, prefer the one which lets me attack a low health tower. + if (inActionRadius_best && inActionRadius_E) { + if (towerHealth_best != towerHealth_E) { + bestWins = towerHealth_best < towerHealth_E; + break chooseBestE; + } + } + + // If I can attack choose the square which gets me into action radius. + if (inActionRadius_best != inActionRadius_E) { + bestWins = inActionRadius_best; + break chooseBestE; + } + } else { + // If I can't attack, choose the square which gets me out of action radius. + if (inActionRadius_best != inActionRadius_E) { + bestWins = !inActionRadius_best; + break chooseBestE; + } + } + + // If both squares are in action radius, prefer the one which lets you get out of action radius. + if (inActionRadius_best && inActionRadius_E) { + if ((minDistToEnemy_best <= 2) != (minDistToEnemy_E <= 2)) { + bestWins = !(minDistToEnemy_best <= 2); + break chooseBestE; + } + } + + // If both squares are out of action radius, prefer the one which is closer. + else if (!inActionRadius_best && !inActionRadius_E) { + if (minDistToEnemy_best != minDistToEnemy_E) { + bestWins = minDistToEnemy_best < minDistToEnemy_E; + break chooseBestE; + } + } + + // All else equal, prefer the square with better paint penalty. + bestWins = (penalty_best <= penalty_E); + break chooseBestE; + } + + + if (!bestWins) { + targetLoc_best = targetLoc_E; + canMove_best = canMove_E; + healthDmgAttackRange_best = healthDmgAttackRange_E; + myHealthDmg_best = myHealthDmg_E; + minDistToEnemy_best = minDistToEnemy_E; + penalty_best = penalty_E; + inActionRadius_best = inActionRadius_E; + towerHealth_best = towerHealth_E; + bestDir = Direction.EAST; + } + + + bestWins = canMove_best; + chooseBestSE: { + if (!canMove_SE || !canMove_best) break chooseBestSE; + + // Choose the square where I deal the most net damage. + double bestHealthDmgDiff = healthDmgAttackRange_best - myHealthDmg_best; + double otherHealthDmgDiff = healthDmgAttackRange_SE - myHealthDmg_SE; + if (bestHealthDmgDiff != otherHealthDmgDiff) { + bestWins = (bestHealthDmgDiff < otherHealthDmgDiff); + break chooseBestSE; + } + + if (actionReady) { + // If I can attack at either square, prefer the one which lets me attack a low health tower. + if (inActionRadius_best && inActionRadius_SE) { + if (towerHealth_best != towerHealth_SE) { + bestWins = towerHealth_best < towerHealth_SE; + break chooseBestSE; + } + } + + // If I can attack choose the square which gets me into action radius. + if (inActionRadius_best != inActionRadius_SE) { + bestWins = inActionRadius_best; + break chooseBestSE; + } + } else { + // If I can't attack, choose the square which gets me out of action radius. + if (inActionRadius_best != inActionRadius_SE) { + bestWins = !inActionRadius_best; + break chooseBestSE; + } + } + + // If both squares are in action radius, prefer the one which lets you get out of action radius. + if (inActionRadius_best && inActionRadius_SE) { + if ((minDistToEnemy_best <= 2) != (minDistToEnemy_SE <= 2)) { + bestWins = !(minDistToEnemy_best <= 2); + break chooseBestSE; + } + } + + // If both squares are out of action radius, prefer the one which is closer. + else if (!inActionRadius_best && !inActionRadius_SE) { + if (minDistToEnemy_best != minDistToEnemy_SE) { + bestWins = minDistToEnemy_best < minDistToEnemy_SE; + break chooseBestSE; + } + } + + // All else equal, prefer the square with better paint penalty. + bestWins = (penalty_best <= penalty_SE); + break chooseBestSE; + } + + + if (!bestWins) { + targetLoc_best = targetLoc_SE; + canMove_best = canMove_SE; + healthDmgAttackRange_best = healthDmgAttackRange_SE; + myHealthDmg_best = myHealthDmg_SE; + minDistToEnemy_best = minDistToEnemy_SE; + penalty_best = penalty_SE; + inActionRadius_best = inActionRadius_SE; + towerHealth_best = towerHealth_SE; + bestDir = Direction.SOUTHEAST; + } + + + bestWins = canMove_best; + chooseBestS: { + if (!canMove_S || !canMove_best) break chooseBestS; + + // Choose the square where I deal the most net damage. + double bestHealthDmgDiff = healthDmgAttackRange_best - myHealthDmg_best; + double otherHealthDmgDiff = healthDmgAttackRange_S - myHealthDmg_S; + if (bestHealthDmgDiff != otherHealthDmgDiff) { + bestWins = (bestHealthDmgDiff < otherHealthDmgDiff); + break chooseBestS; + } + + if (actionReady) { + // If I can attack at either square, prefer the one which lets me attack a low health tower. + if (inActionRadius_best && inActionRadius_S) { + if (towerHealth_best != towerHealth_S) { + bestWins = towerHealth_best < towerHealth_S; + break chooseBestS; + } + } + + // If I can attack choose the square which gets me into action radius. + if (inActionRadius_best != inActionRadius_S) { + bestWins = inActionRadius_best; + break chooseBestS; + } + } else { + // If I can't attack, choose the square which gets me out of action radius. + if (inActionRadius_best != inActionRadius_S) { + bestWins = !inActionRadius_best; + break chooseBestS; + } + } + + // If both squares are in action radius, prefer the one which lets you get out of action radius. + if (inActionRadius_best && inActionRadius_S) { + if ((minDistToEnemy_best <= 2) != (minDistToEnemy_S <= 2)) { + bestWins = !(minDistToEnemy_best <= 2); + break chooseBestS; + } + } + + // If both squares are out of action radius, prefer the one which is closer. + else if (!inActionRadius_best && !inActionRadius_S) { + if (minDistToEnemy_best != minDistToEnemy_S) { + bestWins = minDistToEnemy_best < minDistToEnemy_S; + break chooseBestS; + } + } + + // All else equal, prefer the square with better paint penalty. + bestWins = (penalty_best <= penalty_S); + break chooseBestS; + } + + + if (!bestWins) { + targetLoc_best = targetLoc_S; + canMove_best = canMove_S; + healthDmgAttackRange_best = healthDmgAttackRange_S; + myHealthDmg_best = myHealthDmg_S; + minDistToEnemy_best = minDistToEnemy_S; + penalty_best = penalty_S; + inActionRadius_best = inActionRadius_S; + towerHealth_best = towerHealth_S; + bestDir = Direction.SOUTH; + } + + + bestWins = canMove_best; + chooseBestSW: { + if (!canMove_SW || !canMove_best) break chooseBestSW; + + // Choose the square where I deal the most net damage. + double bestHealthDmgDiff = healthDmgAttackRange_best - myHealthDmg_best; + double otherHealthDmgDiff = healthDmgAttackRange_SW - myHealthDmg_SW; + if (bestHealthDmgDiff != otherHealthDmgDiff) { + bestWins = (bestHealthDmgDiff < otherHealthDmgDiff); + break chooseBestSW; + } + + if (actionReady) { + // If I can attack at either square, prefer the one which lets me attack a low health tower. + if (inActionRadius_best && inActionRadius_SW) { + if (towerHealth_best != towerHealth_SW) { + bestWins = towerHealth_best < towerHealth_SW; + break chooseBestSW; + } + } + + // If I can attack choose the square which gets me into action radius. + if (inActionRadius_best != inActionRadius_SW) { + bestWins = inActionRadius_best; + break chooseBestSW; + } + } else { + // If I can't attack, choose the square which gets me out of action radius. + if (inActionRadius_best != inActionRadius_SW) { + bestWins = !inActionRadius_best; + break chooseBestSW; + } + } + + // If both squares are in action radius, prefer the one which lets you get out of action radius. + if (inActionRadius_best && inActionRadius_SW) { + if ((minDistToEnemy_best <= 2) != (minDistToEnemy_SW <= 2)) { + bestWins = !(minDistToEnemy_best <= 2); + break chooseBestSW; + } + } + + // If both squares are out of action radius, prefer the one which is closer. + else if (!inActionRadius_best && !inActionRadius_SW) { + if (minDistToEnemy_best != minDistToEnemy_SW) { + bestWins = minDistToEnemy_best < minDistToEnemy_SW; + break chooseBestSW; + } + } + + // All else equal, prefer the square with better paint penalty. + bestWins = (penalty_best <= penalty_SW); + break chooseBestSW; + } + + + if (!bestWins) { + targetLoc_best = targetLoc_SW; + canMove_best = canMove_SW; + healthDmgAttackRange_best = healthDmgAttackRange_SW; + myHealthDmg_best = myHealthDmg_SW; + minDistToEnemy_best = minDistToEnemy_SW; + penalty_best = penalty_SW; + inActionRadius_best = inActionRadius_SW; + towerHealth_best = towerHealth_SW; + bestDir = Direction.SOUTHWEST; + } + + + bestWins = canMove_best; + chooseBestW: { + if (!canMove_W || !canMove_best) break chooseBestW; + + // Choose the square where I deal the most net damage. + double bestHealthDmgDiff = healthDmgAttackRange_best - myHealthDmg_best; + double otherHealthDmgDiff = healthDmgAttackRange_W - myHealthDmg_W; + if (bestHealthDmgDiff != otherHealthDmgDiff) { + bestWins = (bestHealthDmgDiff < otherHealthDmgDiff); + break chooseBestW; + } + + if (actionReady) { + // If I can attack at either square, prefer the one which lets me attack a low health tower. + if (inActionRadius_best && inActionRadius_W) { + if (towerHealth_best != towerHealth_W) { + bestWins = towerHealth_best < towerHealth_W; + break chooseBestW; + } + } + + // If I can attack choose the square which gets me into action radius. + if (inActionRadius_best != inActionRadius_W) { + bestWins = inActionRadius_best; + break chooseBestW; + } + } else { + // If I can't attack, choose the square which gets me out of action radius. + if (inActionRadius_best != inActionRadius_W) { + bestWins = !inActionRadius_best; + break chooseBestW; + } + } + + // If both squares are in action radius, prefer the one which lets you get out of action radius. + if (inActionRadius_best && inActionRadius_W) { + if ((minDistToEnemy_best <= 2) != (minDistToEnemy_W <= 2)) { + bestWins = !(minDistToEnemy_best <= 2); + break chooseBestW; + } + } + + // If both squares are out of action radius, prefer the one which is closer. + else if (!inActionRadius_best && !inActionRadius_W) { + if (minDistToEnemy_best != minDistToEnemy_W) { + bestWins = minDistToEnemy_best < minDistToEnemy_W; + break chooseBestW; + } + } + + // All else equal, prefer the square with better paint penalty. + bestWins = (penalty_best <= penalty_W); + break chooseBestW; + } + + + if (!bestWins) { + targetLoc_best = targetLoc_W; + canMove_best = canMove_W; + healthDmgAttackRange_best = healthDmgAttackRange_W; + myHealthDmg_best = myHealthDmg_W; + minDistToEnemy_best = minDistToEnemy_W; + penalty_best = penalty_W; + inActionRadius_best = inActionRadius_W; + towerHealth_best = towerHealth_W; + bestDir = Direction.WEST; + } + + + bestWins = canMove_best; + chooseBestNW: { + if (!canMove_NW || !canMove_best) break chooseBestNW; + + // Choose the square where I deal the most net damage. + double bestHealthDmgDiff = healthDmgAttackRange_best - myHealthDmg_best; + double otherHealthDmgDiff = healthDmgAttackRange_NW - myHealthDmg_NW; + if (bestHealthDmgDiff != otherHealthDmgDiff) { + bestWins = (bestHealthDmgDiff < otherHealthDmgDiff); + break chooseBestNW; + } + + if (actionReady) { + // If I can attack at either square, prefer the one which lets me attack a low health tower. + if (inActionRadius_best && inActionRadius_NW) { + if (towerHealth_best != towerHealth_NW) { + bestWins = towerHealth_best < towerHealth_NW; + break chooseBestNW; + } + } + + // If I can attack choose the square which gets me into action radius. + if (inActionRadius_best != inActionRadius_NW) { + bestWins = inActionRadius_best; + break chooseBestNW; + } + } else { + // If I can't attack, choose the square which gets me out of action radius. + if (inActionRadius_best != inActionRadius_NW) { + bestWins = !inActionRadius_best; + break chooseBestNW; + } + } + + // If both squares are in action radius, prefer the one which lets you get out of action radius. + if (inActionRadius_best && inActionRadius_NW) { + if ((minDistToEnemy_best <= 2) != (minDistToEnemy_NW <= 2)) { + bestWins = !(minDistToEnemy_best <= 2); + break chooseBestNW; + } + } + + // If both squares are out of action radius, prefer the one which is closer. + else if (!inActionRadius_best && !inActionRadius_NW) { + if (minDistToEnemy_best != minDistToEnemy_NW) { + bestWins = minDistToEnemy_best < minDistToEnemy_NW; + break chooseBestNW; + } + } + + // All else equal, prefer the square with better paint penalty. + bestWins = (penalty_best <= penalty_NW); + break chooseBestNW; + } + + + if (!bestWins) { + targetLoc_best = targetLoc_NW; + canMove_best = canMove_NW; + healthDmgAttackRange_best = healthDmgAttackRange_NW; + myHealthDmg_best = myHealthDmg_NW; + minDistToEnemy_best = minDistToEnemy_NW; + penalty_best = penalty_NW; + inActionRadius_best = inActionRadius_NW; + towerHealth_best = towerHealth_NW; + bestDir = Direction.NORTHWEST; + } + + + bestWins = canMove_best; + chooseBestC: { + if (!canMove_C || !canMove_best) break chooseBestC; + + // Choose the square where I deal the most net damage. + double bestHealthDmgDiff = healthDmgAttackRange_best - myHealthDmg_best; + double otherHealthDmgDiff = healthDmgAttackRange_C - myHealthDmg_C; + if (bestHealthDmgDiff != otherHealthDmgDiff) { + bestWins = (bestHealthDmgDiff < otherHealthDmgDiff); + break chooseBestC; + } + + if (actionReady) { + // If I can attack at either square, prefer the one which lets me attack a low health tower. + if (inActionRadius_best && inActionRadius_C) { + if (towerHealth_best != towerHealth_C) { + bestWins = towerHealth_best < towerHealth_C; + break chooseBestC; + } + } + + // If I can attack choose the square which gets me into action radius. + if (inActionRadius_best != inActionRadius_C) { + bestWins = inActionRadius_best; + break chooseBestC; + } + } else { + // If I can't attack, choose the square which gets me out of action radius. + if (inActionRadius_best != inActionRadius_C) { + bestWins = !inActionRadius_best; + break chooseBestC; + } + } + + // If both squares are in action radius, prefer the one which lets you get out of action radius. + if (inActionRadius_best && inActionRadius_C) { + if ((minDistToEnemy_best <= 2) != (minDistToEnemy_C <= 2)) { + bestWins = !(minDistToEnemy_best <= 2); + break chooseBestC; + } + } + + // If both squares are out of action radius, prefer the one which is closer. + else if (!inActionRadius_best && !inActionRadius_C) { + if (minDistToEnemy_best != minDistToEnemy_C) { + bestWins = minDistToEnemy_best < minDistToEnemy_C; + break chooseBestC; + } + } + + // All else equal, prefer the square with better paint penalty. + bestWins = (penalty_best <= penalty_C); + break chooseBestC; + } + + + if (!bestWins) { + targetLoc_best = targetLoc_C; + canMove_best = canMove_C; + healthDmgAttackRange_best = healthDmgAttackRange_C; + myHealthDmg_best = myHealthDmg_C; + minDistToEnemy_best = minDistToEnemy_C; + penalty_best = penalty_C; + inActionRadius_best = inActionRadius_C; + towerHealth_best = towerHealth_C; + bestDir = Direction.CENTER; + } + + + + + System.out.println("[158] " + "minDistToEnemy_best = " + minDistToEnemy_best + ", " + "targetLoc_best.x = " + targetLoc_best.x + ", " + "canMove_best = " + canMove_best + ", " + "targetLoc_best.y = " + targetLoc_best.y + ", " + "penalty_best = " + penalty_best + ", " + "healthDmgAttackRange_best = " + healthDmgAttackRange_best + ", " + "myHealthDmg_best = " + myHealthDmg_best + ", " + "towerHealth_best = " + towerHealth_best + ", " + "inActionRadius_best = " + inActionRadius_best); + System.out.println("Chose: " + bestDir); + System.out.println("\n"); + + if (rc.canMove(bestDir)) { + rc.move(bestDir); + } + soldierTryAttack(); + } + + + public static void splasherAttackMicro() throws GameActionException { + splasherTryAttack(); + MapLocation myloc = rc.getLocation(); + SquareManager.computePaintPenalties(); + MapLocation targetLoc_N = SquareManager.m23; + boolean canMove_N = (rc.canMove(Direction.NORTH)); + double healthDmgAttackRange_N = 0; + double myHealthDmg_N = 0; + int minDistToEnemy_N = 100000; + int penalty_N = SquareManager.penalty23; + int towerHealth_N = 1000000; + boolean inActionRadius_N = false; + + MapLocation targetLoc_NE = SquareManager.m33; + boolean canMove_NE = (rc.canMove(Direction.NORTHEAST)); + double healthDmgAttackRange_NE = 0; + double myHealthDmg_NE = 0; + int minDistToEnemy_NE = 100000; + int penalty_NE = SquareManager.penalty33; + int towerHealth_NE = 1000000; + boolean inActionRadius_NE = false; + + MapLocation targetLoc_E = SquareManager.m32; + boolean canMove_E = (rc.canMove(Direction.EAST)); + double healthDmgAttackRange_E = 0; + double myHealthDmg_E = 0; + int minDistToEnemy_E = 100000; + int penalty_E = SquareManager.penalty32; + int towerHealth_E = 1000000; + boolean inActionRadius_E = false; + + MapLocation targetLoc_SE = SquareManager.m31; + boolean canMove_SE = (rc.canMove(Direction.SOUTHEAST)); + double healthDmgAttackRange_SE = 0; + double myHealthDmg_SE = 0; + int minDistToEnemy_SE = 100000; + int penalty_SE = SquareManager.penalty31; + int towerHealth_SE = 1000000; + boolean inActionRadius_SE = false; + + MapLocation targetLoc_S = SquareManager.m21; + boolean canMove_S = (rc.canMove(Direction.SOUTH)); + double healthDmgAttackRange_S = 0; + double myHealthDmg_S = 0; + int minDistToEnemy_S = 100000; + int penalty_S = SquareManager.penalty21; + int towerHealth_S = 1000000; + boolean inActionRadius_S = false; + + MapLocation targetLoc_SW = SquareManager.m11; + boolean canMove_SW = (rc.canMove(Direction.SOUTHWEST)); + double healthDmgAttackRange_SW = 0; + double myHealthDmg_SW = 0; + int minDistToEnemy_SW = 100000; + int penalty_SW = SquareManager.penalty11; + int towerHealth_SW = 1000000; + boolean inActionRadius_SW = false; + + MapLocation targetLoc_W = SquareManager.m12; + boolean canMove_W = (rc.canMove(Direction.WEST)); + double healthDmgAttackRange_W = 0; + double myHealthDmg_W = 0; + int minDistToEnemy_W = 100000; + int penalty_W = SquareManager.penalty12; + int towerHealth_W = 1000000; + boolean inActionRadius_W = false; + + MapLocation targetLoc_NW = SquareManager.m13; + boolean canMove_NW = (rc.canMove(Direction.NORTHWEST)); + double healthDmgAttackRange_NW = 0; + double myHealthDmg_NW = 0; + int minDistToEnemy_NW = 100000; + int penalty_NW = SquareManager.penalty13; + int towerHealth_NW = 1000000; + boolean inActionRadius_NW = false; + + MapLocation targetLoc_C = SquareManager.m22; + boolean canMove_C = (true); + double healthDmgAttackRange_C = 0; + double myHealthDmg_C = 0; + int minDistToEnemy_C = 100000; + int penalty_C = SquareManager.penalty22; + int towerHealth_C = 1000000; + boolean inActionRadius_C = false; + + boolean friendNearby = false; + for (RobotInfo r: Globals.friends) { + if (r.type == UnitType.SOLDIER) { + friendNearby = true; + break; + } + } + boolean shouldWaitForFriend = (friendNearby && (rc.getRoundNum() % 2 == 0)); + + // Use GameConstant. + boolean actionReady = (rc.isActionReady() && (rc.getPaint() >= 5) && !shouldWaitForFriend); + int cooldownTurns = rc.getActionCooldownTurns(); + System.out.println("[126] " + "actionReady = " + actionReady + ", " + "cooldownTurns = " + cooldownTurns); + for (int i = Globals.friends.length; --i >= 0; ) { + RobotInfo robot = Globals.friends[i]; + addAllyN: { + + } + addAllyNE: { + + } + addAllyE: { + + } + addAllySE: { + + } + addAllyS: { + + } + addAllySW: { + + } + addAllyW: { + + } + addAllyNW: { + + } + addAllyC: { + + } + + } + + for (int i = Globals.enemies.length; --i >= 0; ) { + RobotInfo robot = Globals.enemies[i]; + + addEnemyN: { + if (!canMove_N) break addEnemyN; + int d = targetLoc_N.distanceSquaredTo(robot.location); + switch (robot.type) { + case LEVEL_ONE_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_N = splasherAoeAttackStrength; + + towerHealth_N = Math.min(towerHealth_N, robot.health); + } + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_N += UnitType.LEVEL_ONE_DEFENSE_TOWER.attackStrength; + inActionRadius_N = true; + } + + if (d < minDistToEnemy_N) minDistToEnemy_N = d; + break addEnemyN; + } + case LEVEL_ONE_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_N = splasherAoeAttackStrength; + + towerHealth_N = Math.min(towerHealth_N, robot.health); + } + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_N += UnitType.LEVEL_ONE_MONEY_TOWER.attackStrength; + inActionRadius_N = true; + } + + if (d < minDistToEnemy_N) minDistToEnemy_N = d; + break addEnemyN; + } + case LEVEL_ONE_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_N = splasherAoeAttackStrength; + + towerHealth_N = Math.min(towerHealth_N, robot.health); + } + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_N += UnitType.LEVEL_ONE_PAINT_TOWER.attackStrength; + inActionRadius_N = true; + } + + if (d < minDistToEnemy_N) minDistToEnemy_N = d; + break addEnemyN; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_N = splasherAoeAttackStrength; + + towerHealth_N = Math.min(towerHealth_N, robot.health); + } + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_N += UnitType.LEVEL_THREE_DEFENSE_TOWER.attackStrength; + inActionRadius_N = true; + } + + if (d < minDistToEnemy_N) minDistToEnemy_N = d; + break addEnemyN; + } + case LEVEL_THREE_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_N = splasherAoeAttackStrength; + + towerHealth_N = Math.min(towerHealth_N, robot.health); + } + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_N += UnitType.LEVEL_THREE_MONEY_TOWER.attackStrength; + inActionRadius_N = true; + } + + if (d < minDistToEnemy_N) minDistToEnemy_N = d; + break addEnemyN; + } + case LEVEL_THREE_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_N = splasherAoeAttackStrength; + + towerHealth_N = Math.min(towerHealth_N, robot.health); + } + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_N += UnitType.LEVEL_THREE_PAINT_TOWER.attackStrength; + inActionRadius_N = true; + } + + if (d < minDistToEnemy_N) minDistToEnemy_N = d; + break addEnemyN; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_N = splasherAoeAttackStrength; + + towerHealth_N = Math.min(towerHealth_N, robot.health); + } + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_N += UnitType.LEVEL_TWO_DEFENSE_TOWER.attackStrength; + inActionRadius_N = true; + } + + if (d < minDistToEnemy_N) minDistToEnemy_N = d; + break addEnemyN; + } + case LEVEL_TWO_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_N = splasherAoeAttackStrength; + + towerHealth_N = Math.min(towerHealth_N, robot.health); + } + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_N += UnitType.LEVEL_TWO_MONEY_TOWER.attackStrength; + inActionRadius_N = true; + } + + if (d < minDistToEnemy_N) minDistToEnemy_N = d; + break addEnemyN; + } + case LEVEL_TWO_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_N = splasherAoeAttackStrength; + + towerHealth_N = Math.min(towerHealth_N, robot.health); + } + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_N += UnitType.LEVEL_TWO_PAINT_TOWER.attackStrength; + inActionRadius_N = true; + } + + if (d < minDistToEnemy_N) minDistToEnemy_N = d; + break addEnemyN; + } + + default: break addEnemyN; + } + } + + addEnemyNE: { + if (!canMove_NE) break addEnemyNE; + int d = targetLoc_NE.distanceSquaredTo(robot.location); + switch (robot.type) { + case LEVEL_ONE_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_NE = splasherAoeAttackStrength; + + towerHealth_NE = Math.min(towerHealth_NE, robot.health); + } + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NE += UnitType.LEVEL_ONE_DEFENSE_TOWER.attackStrength; + inActionRadius_NE = true; + } + + if (d < minDistToEnemy_NE) minDistToEnemy_NE = d; + break addEnemyNE; + } + case LEVEL_ONE_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_NE = splasherAoeAttackStrength; + + towerHealth_NE = Math.min(towerHealth_NE, robot.health); + } + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NE += UnitType.LEVEL_ONE_MONEY_TOWER.attackStrength; + inActionRadius_NE = true; + } + + if (d < minDistToEnemy_NE) minDistToEnemy_NE = d; + break addEnemyNE; + } + case LEVEL_ONE_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_NE = splasherAoeAttackStrength; + + towerHealth_NE = Math.min(towerHealth_NE, robot.health); + } + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NE += UnitType.LEVEL_ONE_PAINT_TOWER.attackStrength; + inActionRadius_NE = true; + } + + if (d < minDistToEnemy_NE) minDistToEnemy_NE = d; + break addEnemyNE; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_NE = splasherAoeAttackStrength; + + towerHealth_NE = Math.min(towerHealth_NE, robot.health); + } + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NE += UnitType.LEVEL_THREE_DEFENSE_TOWER.attackStrength; + inActionRadius_NE = true; + } + + if (d < minDistToEnemy_NE) minDistToEnemy_NE = d; + break addEnemyNE; + } + case LEVEL_THREE_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_NE = splasherAoeAttackStrength; + + towerHealth_NE = Math.min(towerHealth_NE, robot.health); + } + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NE += UnitType.LEVEL_THREE_MONEY_TOWER.attackStrength; + inActionRadius_NE = true; + } + + if (d < minDistToEnemy_NE) minDistToEnemy_NE = d; + break addEnemyNE; + } + case LEVEL_THREE_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_NE = splasherAoeAttackStrength; + + towerHealth_NE = Math.min(towerHealth_NE, robot.health); + } + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NE += UnitType.LEVEL_THREE_PAINT_TOWER.attackStrength; + inActionRadius_NE = true; + } + + if (d < minDistToEnemy_NE) minDistToEnemy_NE = d; + break addEnemyNE; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_NE = splasherAoeAttackStrength; + + towerHealth_NE = Math.min(towerHealth_NE, robot.health); + } + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NE += UnitType.LEVEL_TWO_DEFENSE_TOWER.attackStrength; + inActionRadius_NE = true; + } + + if (d < minDistToEnemy_NE) minDistToEnemy_NE = d; + break addEnemyNE; + } + case LEVEL_TWO_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_NE = splasherAoeAttackStrength; + + towerHealth_NE = Math.min(towerHealth_NE, robot.health); + } + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NE += UnitType.LEVEL_TWO_MONEY_TOWER.attackStrength; + inActionRadius_NE = true; + } + + if (d < minDistToEnemy_NE) minDistToEnemy_NE = d; + break addEnemyNE; + } + case LEVEL_TWO_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_NE = splasherAoeAttackStrength; + + towerHealth_NE = Math.min(towerHealth_NE, robot.health); + } + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NE += UnitType.LEVEL_TWO_PAINT_TOWER.attackStrength; + inActionRadius_NE = true; + } + + if (d < minDistToEnemy_NE) minDistToEnemy_NE = d; + break addEnemyNE; + } + + default: break addEnemyNE; + } + } + + addEnemyE: { + if (!canMove_E) break addEnemyE; + int d = targetLoc_E.distanceSquaredTo(robot.location); + switch (robot.type) { + case LEVEL_ONE_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_E = splasherAoeAttackStrength; + + towerHealth_E = Math.min(towerHealth_E, robot.health); + } + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_E += UnitType.LEVEL_ONE_DEFENSE_TOWER.attackStrength; + inActionRadius_E = true; + } + + if (d < minDistToEnemy_E) minDistToEnemy_E = d; + break addEnemyE; + } + case LEVEL_ONE_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_E = splasherAoeAttackStrength; + + towerHealth_E = Math.min(towerHealth_E, robot.health); + } + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_E += UnitType.LEVEL_ONE_MONEY_TOWER.attackStrength; + inActionRadius_E = true; + } + + if (d < minDistToEnemy_E) minDistToEnemy_E = d; + break addEnemyE; + } + case LEVEL_ONE_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_E = splasherAoeAttackStrength; + + towerHealth_E = Math.min(towerHealth_E, robot.health); + } + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_E += UnitType.LEVEL_ONE_PAINT_TOWER.attackStrength; + inActionRadius_E = true; + } + + if (d < minDistToEnemy_E) minDistToEnemy_E = d; + break addEnemyE; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_E = splasherAoeAttackStrength; + + towerHealth_E = Math.min(towerHealth_E, robot.health); + } + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_E += UnitType.LEVEL_THREE_DEFENSE_TOWER.attackStrength; + inActionRadius_E = true; + } + + if (d < minDistToEnemy_E) minDistToEnemy_E = d; + break addEnemyE; + } + case LEVEL_THREE_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_E = splasherAoeAttackStrength; + + towerHealth_E = Math.min(towerHealth_E, robot.health); + } + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_E += UnitType.LEVEL_THREE_MONEY_TOWER.attackStrength; + inActionRadius_E = true; + } + + if (d < minDistToEnemy_E) minDistToEnemy_E = d; + break addEnemyE; + } + case LEVEL_THREE_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_E = splasherAoeAttackStrength; + + towerHealth_E = Math.min(towerHealth_E, robot.health); + } + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_E += UnitType.LEVEL_THREE_PAINT_TOWER.attackStrength; + inActionRadius_E = true; + } + + if (d < minDistToEnemy_E) minDistToEnemy_E = d; + break addEnemyE; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_E = splasherAoeAttackStrength; + + towerHealth_E = Math.min(towerHealth_E, robot.health); + } + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_E += UnitType.LEVEL_TWO_DEFENSE_TOWER.attackStrength; + inActionRadius_E = true; + } + + if (d < minDistToEnemy_E) minDistToEnemy_E = d; + break addEnemyE; + } + case LEVEL_TWO_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_E = splasherAoeAttackStrength; + + towerHealth_E = Math.min(towerHealth_E, robot.health); + } + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_E += UnitType.LEVEL_TWO_MONEY_TOWER.attackStrength; + inActionRadius_E = true; + } + + if (d < minDistToEnemy_E) minDistToEnemy_E = d; + break addEnemyE; + } + case LEVEL_TWO_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_E = splasherAoeAttackStrength; + + towerHealth_E = Math.min(towerHealth_E, robot.health); + } + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_E += UnitType.LEVEL_TWO_PAINT_TOWER.attackStrength; + inActionRadius_E = true; + } + + if (d < minDistToEnemy_E) minDistToEnemy_E = d; + break addEnemyE; + } + + default: break addEnemyE; + } + } + + addEnemySE: { + if (!canMove_SE) break addEnemySE; + int d = targetLoc_SE.distanceSquaredTo(robot.location); + switch (robot.type) { + case LEVEL_ONE_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_SE = splasherAoeAttackStrength; + + towerHealth_SE = Math.min(towerHealth_SE, robot.health); + } + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SE += UnitType.LEVEL_ONE_DEFENSE_TOWER.attackStrength; + inActionRadius_SE = true; + } + + if (d < minDistToEnemy_SE) minDistToEnemy_SE = d; + break addEnemySE; + } + case LEVEL_ONE_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_SE = splasherAoeAttackStrength; + + towerHealth_SE = Math.min(towerHealth_SE, robot.health); + } + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SE += UnitType.LEVEL_ONE_MONEY_TOWER.attackStrength; + inActionRadius_SE = true; + } + + if (d < minDistToEnemy_SE) minDistToEnemy_SE = d; + break addEnemySE; + } + case LEVEL_ONE_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_SE = splasherAoeAttackStrength; + + towerHealth_SE = Math.min(towerHealth_SE, robot.health); + } + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SE += UnitType.LEVEL_ONE_PAINT_TOWER.attackStrength; + inActionRadius_SE = true; + } + + if (d < minDistToEnemy_SE) minDistToEnemy_SE = d; + break addEnemySE; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_SE = splasherAoeAttackStrength; + + towerHealth_SE = Math.min(towerHealth_SE, robot.health); + } + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SE += UnitType.LEVEL_THREE_DEFENSE_TOWER.attackStrength; + inActionRadius_SE = true; + } + + if (d < minDistToEnemy_SE) minDistToEnemy_SE = d; + break addEnemySE; + } + case LEVEL_THREE_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_SE = splasherAoeAttackStrength; + + towerHealth_SE = Math.min(towerHealth_SE, robot.health); + } + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SE += UnitType.LEVEL_THREE_MONEY_TOWER.attackStrength; + inActionRadius_SE = true; + } + + if (d < minDistToEnemy_SE) minDistToEnemy_SE = d; + break addEnemySE; + } + case LEVEL_THREE_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_SE = splasherAoeAttackStrength; + + towerHealth_SE = Math.min(towerHealth_SE, robot.health); + } + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SE += UnitType.LEVEL_THREE_PAINT_TOWER.attackStrength; + inActionRadius_SE = true; + } + + if (d < minDistToEnemy_SE) minDistToEnemy_SE = d; + break addEnemySE; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_SE = splasherAoeAttackStrength; + + towerHealth_SE = Math.min(towerHealth_SE, robot.health); + } + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SE += UnitType.LEVEL_TWO_DEFENSE_TOWER.attackStrength; + inActionRadius_SE = true; + } + + if (d < minDistToEnemy_SE) minDistToEnemy_SE = d; + break addEnemySE; + } + case LEVEL_TWO_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_SE = splasherAoeAttackStrength; + + towerHealth_SE = Math.min(towerHealth_SE, robot.health); + } + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SE += UnitType.LEVEL_TWO_MONEY_TOWER.attackStrength; + inActionRadius_SE = true; + } + + if (d < minDistToEnemy_SE) minDistToEnemy_SE = d; + break addEnemySE; + } + case LEVEL_TWO_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_SE = splasherAoeAttackStrength; + + towerHealth_SE = Math.min(towerHealth_SE, robot.health); + } + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SE += UnitType.LEVEL_TWO_PAINT_TOWER.attackStrength; + inActionRadius_SE = true; + } + + if (d < minDistToEnemy_SE) minDistToEnemy_SE = d; + break addEnemySE; + } + + default: break addEnemySE; + } + } + + addEnemyS: { + if (!canMove_S) break addEnemyS; + int d = targetLoc_S.distanceSquaredTo(robot.location); + switch (robot.type) { + case LEVEL_ONE_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_S = splasherAoeAttackStrength; + + towerHealth_S = Math.min(towerHealth_S, robot.health); + } + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_S += UnitType.LEVEL_ONE_DEFENSE_TOWER.attackStrength; + inActionRadius_S = true; + } + + if (d < minDistToEnemy_S) minDistToEnemy_S = d; + break addEnemyS; + } + case LEVEL_ONE_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_S = splasherAoeAttackStrength; + + towerHealth_S = Math.min(towerHealth_S, robot.health); + } + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_S += UnitType.LEVEL_ONE_MONEY_TOWER.attackStrength; + inActionRadius_S = true; + } + + if (d < minDistToEnemy_S) minDistToEnemy_S = d; + break addEnemyS; + } + case LEVEL_ONE_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_S = splasherAoeAttackStrength; + + towerHealth_S = Math.min(towerHealth_S, robot.health); + } + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_S += UnitType.LEVEL_ONE_PAINT_TOWER.attackStrength; + inActionRadius_S = true; + } + + if (d < minDistToEnemy_S) minDistToEnemy_S = d; + break addEnemyS; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_S = splasherAoeAttackStrength; + + towerHealth_S = Math.min(towerHealth_S, robot.health); + } + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_S += UnitType.LEVEL_THREE_DEFENSE_TOWER.attackStrength; + inActionRadius_S = true; + } + + if (d < minDistToEnemy_S) minDistToEnemy_S = d; + break addEnemyS; + } + case LEVEL_THREE_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_S = splasherAoeAttackStrength; + + towerHealth_S = Math.min(towerHealth_S, robot.health); + } + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_S += UnitType.LEVEL_THREE_MONEY_TOWER.attackStrength; + inActionRadius_S = true; + } + + if (d < minDistToEnemy_S) minDistToEnemy_S = d; + break addEnemyS; + } + case LEVEL_THREE_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_S = splasherAoeAttackStrength; + + towerHealth_S = Math.min(towerHealth_S, robot.health); + } + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_S += UnitType.LEVEL_THREE_PAINT_TOWER.attackStrength; + inActionRadius_S = true; + } + + if (d < minDistToEnemy_S) minDistToEnemy_S = d; + break addEnemyS; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_S = splasherAoeAttackStrength; + + towerHealth_S = Math.min(towerHealth_S, robot.health); + } + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_S += UnitType.LEVEL_TWO_DEFENSE_TOWER.attackStrength; + inActionRadius_S = true; + } + + if (d < minDistToEnemy_S) minDistToEnemy_S = d; + break addEnemyS; + } + case LEVEL_TWO_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_S = splasherAoeAttackStrength; + + towerHealth_S = Math.min(towerHealth_S, robot.health); + } + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_S += UnitType.LEVEL_TWO_MONEY_TOWER.attackStrength; + inActionRadius_S = true; + } + + if (d < minDistToEnemy_S) minDistToEnemy_S = d; + break addEnemyS; + } + case LEVEL_TWO_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_S = splasherAoeAttackStrength; + + towerHealth_S = Math.min(towerHealth_S, robot.health); + } + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_S += UnitType.LEVEL_TWO_PAINT_TOWER.attackStrength; + inActionRadius_S = true; + } + + if (d < minDistToEnemy_S) minDistToEnemy_S = d; + break addEnemyS; + } + + default: break addEnemyS; + } + } + + addEnemySW: { + if (!canMove_SW) break addEnemySW; + int d = targetLoc_SW.distanceSquaredTo(robot.location); + switch (robot.type) { + case LEVEL_ONE_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_SW = splasherAoeAttackStrength; + + towerHealth_SW = Math.min(towerHealth_SW, robot.health); + } + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SW += UnitType.LEVEL_ONE_DEFENSE_TOWER.attackStrength; + inActionRadius_SW = true; + } + + if (d < minDistToEnemy_SW) minDistToEnemy_SW = d; + break addEnemySW; + } + case LEVEL_ONE_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_SW = splasherAoeAttackStrength; + + towerHealth_SW = Math.min(towerHealth_SW, robot.health); + } + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SW += UnitType.LEVEL_ONE_MONEY_TOWER.attackStrength; + inActionRadius_SW = true; + } + + if (d < minDistToEnemy_SW) minDistToEnemy_SW = d; + break addEnemySW; + } + case LEVEL_ONE_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_SW = splasherAoeAttackStrength; + + towerHealth_SW = Math.min(towerHealth_SW, robot.health); + } + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SW += UnitType.LEVEL_ONE_PAINT_TOWER.attackStrength; + inActionRadius_SW = true; + } + + if (d < minDistToEnemy_SW) minDistToEnemy_SW = d; + break addEnemySW; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_SW = splasherAoeAttackStrength; + + towerHealth_SW = Math.min(towerHealth_SW, robot.health); + } + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SW += UnitType.LEVEL_THREE_DEFENSE_TOWER.attackStrength; + inActionRadius_SW = true; + } + + if (d < minDistToEnemy_SW) minDistToEnemy_SW = d; + break addEnemySW; + } + case LEVEL_THREE_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_SW = splasherAoeAttackStrength; + + towerHealth_SW = Math.min(towerHealth_SW, robot.health); + } + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SW += UnitType.LEVEL_THREE_MONEY_TOWER.attackStrength; + inActionRadius_SW = true; + } + + if (d < minDistToEnemy_SW) minDistToEnemy_SW = d; + break addEnemySW; + } + case LEVEL_THREE_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_SW = splasherAoeAttackStrength; + + towerHealth_SW = Math.min(towerHealth_SW, robot.health); + } + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SW += UnitType.LEVEL_THREE_PAINT_TOWER.attackStrength; + inActionRadius_SW = true; + } + + if (d < minDistToEnemy_SW) minDistToEnemy_SW = d; + break addEnemySW; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_SW = splasherAoeAttackStrength; + + towerHealth_SW = Math.min(towerHealth_SW, robot.health); + } + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SW += UnitType.LEVEL_TWO_DEFENSE_TOWER.attackStrength; + inActionRadius_SW = true; + } + + if (d < minDistToEnemy_SW) minDistToEnemy_SW = d; + break addEnemySW; + } + case LEVEL_TWO_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_SW = splasherAoeAttackStrength; + + towerHealth_SW = Math.min(towerHealth_SW, robot.health); + } + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SW += UnitType.LEVEL_TWO_MONEY_TOWER.attackStrength; + inActionRadius_SW = true; + } + + if (d < minDistToEnemy_SW) minDistToEnemy_SW = d; + break addEnemySW; + } + case LEVEL_TWO_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_SW = splasherAoeAttackStrength; + + towerHealth_SW = Math.min(towerHealth_SW, robot.health); + } + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_SW += UnitType.LEVEL_TWO_PAINT_TOWER.attackStrength; + inActionRadius_SW = true; + } + + if (d < minDistToEnemy_SW) minDistToEnemy_SW = d; + break addEnemySW; + } + + default: break addEnemySW; + } + } + + addEnemyW: { + if (!canMove_W) break addEnemyW; + int d = targetLoc_W.distanceSquaredTo(robot.location); + switch (robot.type) { + case LEVEL_ONE_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_W = splasherAoeAttackStrength; + + towerHealth_W = Math.min(towerHealth_W, robot.health); + } + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_W += UnitType.LEVEL_ONE_DEFENSE_TOWER.attackStrength; + inActionRadius_W = true; + } + + if (d < minDistToEnemy_W) minDistToEnemy_W = d; + break addEnemyW; + } + case LEVEL_ONE_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_W = splasherAoeAttackStrength; + + towerHealth_W = Math.min(towerHealth_W, robot.health); + } + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_W += UnitType.LEVEL_ONE_MONEY_TOWER.attackStrength; + inActionRadius_W = true; + } + + if (d < minDistToEnemy_W) minDistToEnemy_W = d; + break addEnemyW; + } + case LEVEL_ONE_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_W = splasherAoeAttackStrength; + + towerHealth_W = Math.min(towerHealth_W, robot.health); + } + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_W += UnitType.LEVEL_ONE_PAINT_TOWER.attackStrength; + inActionRadius_W = true; + } + + if (d < minDistToEnemy_W) minDistToEnemy_W = d; + break addEnemyW; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_W = splasherAoeAttackStrength; + + towerHealth_W = Math.min(towerHealth_W, robot.health); + } + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_W += UnitType.LEVEL_THREE_DEFENSE_TOWER.attackStrength; + inActionRadius_W = true; + } + + if (d < minDistToEnemy_W) minDistToEnemy_W = d; + break addEnemyW; + } + case LEVEL_THREE_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_W = splasherAoeAttackStrength; + + towerHealth_W = Math.min(towerHealth_W, robot.health); + } + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_W += UnitType.LEVEL_THREE_MONEY_TOWER.attackStrength; + inActionRadius_W = true; + } + + if (d < minDistToEnemy_W) minDistToEnemy_W = d; + break addEnemyW; + } + case LEVEL_THREE_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_W = splasherAoeAttackStrength; + + towerHealth_W = Math.min(towerHealth_W, robot.health); + } + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_W += UnitType.LEVEL_THREE_PAINT_TOWER.attackStrength; + inActionRadius_W = true; + } + + if (d < minDistToEnemy_W) minDistToEnemy_W = d; + break addEnemyW; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_W = splasherAoeAttackStrength; + + towerHealth_W = Math.min(towerHealth_W, robot.health); + } + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_W += UnitType.LEVEL_TWO_DEFENSE_TOWER.attackStrength; + inActionRadius_W = true; + } + + if (d < minDistToEnemy_W) minDistToEnemy_W = d; + break addEnemyW; + } + case LEVEL_TWO_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_W = splasherAoeAttackStrength; + + towerHealth_W = Math.min(towerHealth_W, robot.health); + } + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_W += UnitType.LEVEL_TWO_MONEY_TOWER.attackStrength; + inActionRadius_W = true; + } + + if (d < minDistToEnemy_W) minDistToEnemy_W = d; + break addEnemyW; + } + case LEVEL_TWO_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_W = splasherAoeAttackStrength; + + towerHealth_W = Math.min(towerHealth_W, robot.health); + } + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_W += UnitType.LEVEL_TWO_PAINT_TOWER.attackStrength; + inActionRadius_W = true; + } + + if (d < minDistToEnemy_W) minDistToEnemy_W = d; + break addEnemyW; + } + + default: break addEnemyW; + } + } + + addEnemyNW: { + if (!canMove_NW) break addEnemyNW; + int d = targetLoc_NW.distanceSquaredTo(robot.location); + switch (robot.type) { + case LEVEL_ONE_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_NW = splasherAoeAttackStrength; + + towerHealth_NW = Math.min(towerHealth_NW, robot.health); + } + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NW += UnitType.LEVEL_ONE_DEFENSE_TOWER.attackStrength; + inActionRadius_NW = true; + } + + if (d < minDistToEnemy_NW) minDistToEnemy_NW = d; + break addEnemyNW; + } + case LEVEL_ONE_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_NW = splasherAoeAttackStrength; + + towerHealth_NW = Math.min(towerHealth_NW, robot.health); + } + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NW += UnitType.LEVEL_ONE_MONEY_TOWER.attackStrength; + inActionRadius_NW = true; + } + + if (d < minDistToEnemy_NW) minDistToEnemy_NW = d; + break addEnemyNW; + } + case LEVEL_ONE_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_NW = splasherAoeAttackStrength; + + towerHealth_NW = Math.min(towerHealth_NW, robot.health); + } + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NW += UnitType.LEVEL_ONE_PAINT_TOWER.attackStrength; + inActionRadius_NW = true; + } + + if (d < minDistToEnemy_NW) minDistToEnemy_NW = d; + break addEnemyNW; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_NW = splasherAoeAttackStrength; + + towerHealth_NW = Math.min(towerHealth_NW, robot.health); + } + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NW += UnitType.LEVEL_THREE_DEFENSE_TOWER.attackStrength; + inActionRadius_NW = true; + } + + if (d < minDistToEnemy_NW) minDistToEnemy_NW = d; + break addEnemyNW; + } + case LEVEL_THREE_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_NW = splasherAoeAttackStrength; + + towerHealth_NW = Math.min(towerHealth_NW, robot.health); + } + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NW += UnitType.LEVEL_THREE_MONEY_TOWER.attackStrength; + inActionRadius_NW = true; + } + + if (d < minDistToEnemy_NW) minDistToEnemy_NW = d; + break addEnemyNW; + } + case LEVEL_THREE_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_NW = splasherAoeAttackStrength; + + towerHealth_NW = Math.min(towerHealth_NW, robot.health); + } + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NW += UnitType.LEVEL_THREE_PAINT_TOWER.attackStrength; + inActionRadius_NW = true; + } + + if (d < minDistToEnemy_NW) minDistToEnemy_NW = d; + break addEnemyNW; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_NW = splasherAoeAttackStrength; + + towerHealth_NW = Math.min(towerHealth_NW, robot.health); + } + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NW += UnitType.LEVEL_TWO_DEFENSE_TOWER.attackStrength; + inActionRadius_NW = true; + } + + if (d < minDistToEnemy_NW) minDistToEnemy_NW = d; + break addEnemyNW; + } + case LEVEL_TWO_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_NW = splasherAoeAttackStrength; + + towerHealth_NW = Math.min(towerHealth_NW, robot.health); + } + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NW += UnitType.LEVEL_TWO_MONEY_TOWER.attackStrength; + inActionRadius_NW = true; + } + + if (d < minDistToEnemy_NW) minDistToEnemy_NW = d; + break addEnemyNW; + } + case LEVEL_TWO_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_NW = splasherAoeAttackStrength; + + towerHealth_NW = Math.min(towerHealth_NW, robot.health); + } + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_NW += UnitType.LEVEL_TWO_PAINT_TOWER.attackStrength; + inActionRadius_NW = true; + } + + if (d < minDistToEnemy_NW) minDistToEnemy_NW = d; + break addEnemyNW; + } + + default: break addEnemyNW; + } + } + + addEnemyC: { + if (!canMove_C) break addEnemyC; + int d = targetLoc_C.distanceSquaredTo(robot.location); + switch (robot.type) { + case LEVEL_ONE_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_C = splasherAoeAttackStrength; + + towerHealth_C = Math.min(towerHealth_C, robot.health); + } + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_C += UnitType.LEVEL_ONE_DEFENSE_TOWER.attackStrength; + inActionRadius_C = true; + } + + if (d < minDistToEnemy_C) minDistToEnemy_C = d; + break addEnemyC; + } + case LEVEL_ONE_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_C = splasherAoeAttackStrength; + + towerHealth_C = Math.min(towerHealth_C, robot.health); + } + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_C += UnitType.LEVEL_ONE_MONEY_TOWER.attackStrength; + inActionRadius_C = true; + } + + if (d < minDistToEnemy_C) minDistToEnemy_C = d; + break addEnemyC; + } + case LEVEL_ONE_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_C = splasherAoeAttackStrength; + + towerHealth_C = Math.min(towerHealth_C, robot.health); + } + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_C += UnitType.LEVEL_ONE_PAINT_TOWER.attackStrength; + inActionRadius_C = true; + } + + if (d < minDistToEnemy_C) minDistToEnemy_C = d; + break addEnemyC; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_C = splasherAoeAttackStrength; + + towerHealth_C = Math.min(towerHealth_C, robot.health); + } + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_C += UnitType.LEVEL_THREE_DEFENSE_TOWER.attackStrength; + inActionRadius_C = true; + } + + if (d < minDistToEnemy_C) minDistToEnemy_C = d; + break addEnemyC; + } + case LEVEL_THREE_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_C = splasherAoeAttackStrength; + + towerHealth_C = Math.min(towerHealth_C, robot.health); + } + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_C += UnitType.LEVEL_THREE_MONEY_TOWER.attackStrength; + inActionRadius_C = true; + } + + if (d < minDistToEnemy_C) minDistToEnemy_C = d; + break addEnemyC; + } + case LEVEL_THREE_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_C = splasherAoeAttackStrength; + + towerHealth_C = Math.min(towerHealth_C, robot.health); + } + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_C += UnitType.LEVEL_THREE_PAINT_TOWER.attackStrength; + inActionRadius_C = true; + } + + if (d < minDistToEnemy_C) minDistToEnemy_C = d; + break addEnemyC; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_C = splasherAoeAttackStrength; + + towerHealth_C = Math.min(towerHealth_C, robot.health); + } + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_C += UnitType.LEVEL_TWO_DEFENSE_TOWER.attackStrength; + inActionRadius_C = true; + } + + if (d < minDistToEnemy_C) minDistToEnemy_C = d; + break addEnemyC; + } + case LEVEL_TWO_MONEY_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_C = splasherAoeAttackStrength; + + towerHealth_C = Math.min(towerHealth_C, robot.health); + } + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_C += UnitType.LEVEL_TWO_MONEY_TOWER.attackStrength; + inActionRadius_C = true; + } + + if (d < minDistToEnemy_C) minDistToEnemy_C = d; + break addEnemyC; + } + case LEVEL_TWO_PAINT_TOWER: { + if (actionReady && d <= splasherActionRadiusSquared) { + + myHealthDmg_C = splasherAoeAttackStrength; + + towerHealth_C = Math.min(towerHealth_C, robot.health); + } + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) { + // Should have another one for AOE damage. + healthDmgAttackRange_C += UnitType.LEVEL_TWO_PAINT_TOWER.attackStrength; + inActionRadius_C = true; + } + + if (d < minDistToEnemy_C) minDistToEnemy_C = d; + break addEnemyC; + } + + default: break addEnemyC; + } + } + + } + + + System.out.println("[143] " + "minDistToEnemy_N = " + minDistToEnemy_N + ", " + "targetLoc_N.x = " + targetLoc_N.x + ", " + "canMove_N = " + canMove_N + ", " + "targetLoc_N.y = " + targetLoc_N.y + ", " + "penalty_N = " + penalty_N + ", " + "healthDmgAttackRange_N = " + healthDmgAttackRange_N + ", " + "myHealthDmg_N = " + myHealthDmg_N + ", " + "towerHealth_N = " + towerHealth_N + ", " + "inActionRadius_N = " + inActionRadius_N); + + System.out.println("[143] " + "minDistToEnemy_NE = " + minDistToEnemy_NE + ", " + "targetLoc_NE.x = " + targetLoc_NE.x + ", " + "canMove_NE = " + canMove_NE + ", " + "targetLoc_NE.y = " + targetLoc_NE.y + ", " + "penalty_NE = " + penalty_NE + ", " + "healthDmgAttackRange_NE = " + healthDmgAttackRange_NE + ", " + "myHealthDmg_NE = " + myHealthDmg_NE + ", " + "towerHealth_NE = " + towerHealth_NE + ", " + "inActionRadius_NE = " + inActionRadius_NE); + + System.out.println("[143] " + "minDistToEnemy_E = " + minDistToEnemy_E + ", " + "targetLoc_E.x = " + targetLoc_E.x + ", " + "canMove_E = " + canMove_E + ", " + "targetLoc_E.y = " + targetLoc_E.y + ", " + "penalty_E = " + penalty_E + ", " + "healthDmgAttackRange_E = " + healthDmgAttackRange_E + ", " + "myHealthDmg_E = " + myHealthDmg_E + ", " + "towerHealth_E = " + towerHealth_E + ", " + "inActionRadius_E = " + inActionRadius_E); + + System.out.println("[143] " + "minDistToEnemy_SE = " + minDistToEnemy_SE + ", " + "targetLoc_SE.x = " + targetLoc_SE.x + ", " + "canMove_SE = " + canMove_SE + ", " + "targetLoc_SE.y = " + targetLoc_SE.y + ", " + "penalty_SE = " + penalty_SE + ", " + "healthDmgAttackRange_SE = " + healthDmgAttackRange_SE + ", " + "myHealthDmg_SE = " + myHealthDmg_SE + ", " + "towerHealth_SE = " + towerHealth_SE + ", " + "inActionRadius_SE = " + inActionRadius_SE); + + System.out.println("[143] " + "minDistToEnemy_S = " + minDistToEnemy_S + ", " + "targetLoc_S.x = " + targetLoc_S.x + ", " + "canMove_S = " + canMove_S + ", " + "targetLoc_S.y = " + targetLoc_S.y + ", " + "penalty_S = " + penalty_S + ", " + "healthDmgAttackRange_S = " + healthDmgAttackRange_S + ", " + "myHealthDmg_S = " + myHealthDmg_S + ", " + "towerHealth_S = " + towerHealth_S + ", " + "inActionRadius_S = " + inActionRadius_S); + + System.out.println("[143] " + "minDistToEnemy_SW = " + minDistToEnemy_SW + ", " + "targetLoc_SW.x = " + targetLoc_SW.x + ", " + "canMove_SW = " + canMove_SW + ", " + "targetLoc_SW.y = " + targetLoc_SW.y + ", " + "penalty_SW = " + penalty_SW + ", " + "healthDmgAttackRange_SW = " + healthDmgAttackRange_SW + ", " + "myHealthDmg_SW = " + myHealthDmg_SW + ", " + "towerHealth_SW = " + towerHealth_SW + ", " + "inActionRadius_SW = " + inActionRadius_SW); + + System.out.println("[143] " + "minDistToEnemy_W = " + minDistToEnemy_W + ", " + "targetLoc_W.x = " + targetLoc_W.x + ", " + "canMove_W = " + canMove_W + ", " + "targetLoc_W.y = " + targetLoc_W.y + ", " + "penalty_W = " + penalty_W + ", " + "healthDmgAttackRange_W = " + healthDmgAttackRange_W + ", " + "myHealthDmg_W = " + myHealthDmg_W + ", " + "towerHealth_W = " + towerHealth_W + ", " + "inActionRadius_W = " + inActionRadius_W); + + System.out.println("[143] " + "minDistToEnemy_NW = " + minDistToEnemy_NW + ", " + "targetLoc_NW.x = " + targetLoc_NW.x + ", " + "canMove_NW = " + canMove_NW + ", " + "targetLoc_NW.y = " + targetLoc_NW.y + ", " + "penalty_NW = " + penalty_NW + ", " + "healthDmgAttackRange_NW = " + healthDmgAttackRange_NW + ", " + "myHealthDmg_NW = " + myHealthDmg_NW + ", " + "towerHealth_NW = " + towerHealth_NW + ", " + "inActionRadius_NW = " + inActionRadius_NW); + + System.out.println("[143] " + "minDistToEnemy_C = " + minDistToEnemy_C + ", " + "targetLoc_C.x = " + targetLoc_C.x + ", " + "canMove_C = " + canMove_C + ", " + "targetLoc_C.y = " + targetLoc_C.y + ", " + "penalty_C = " + penalty_C + ", " + "healthDmgAttackRange_C = " + healthDmgAttackRange_C + ", " + "myHealthDmg_C = " + myHealthDmg_C + ", " + "towerHealth_C = " + towerHealth_C + ", " + "inActionRadius_C = " + inActionRadius_C); + + + boolean bestWins = false; + Direction bestDir = Direction.NORTH; + MapLocation targetLoc_best = SquareManager.m23; + boolean canMove_best = (rc.canMove(Direction.NORTH)); + double healthDmgAttackRange_best = 0; + double myHealthDmg_best = 0; + int minDistToEnemy_best = 100000; + int penalty_best = SquareManager.penalty23; + int towerHealth_best = 1000000; + boolean inActionRadius_best = false; + + + targetLoc_best = targetLoc_N; + canMove_best = canMove_N; + healthDmgAttackRange_best = healthDmgAttackRange_N; + myHealthDmg_best = myHealthDmg_N; + minDistToEnemy_best = minDistToEnemy_N; + penalty_best = penalty_N; + inActionRadius_best = inActionRadius_N; + towerHealth_best = towerHealth_N; + + bestWins = canMove_best; + chooseBestNE: { + if (!canMove_NE || !canMove_best) break chooseBestNE; + + // Choose the square where I deal the most net damage. + double bestHealthDmgDiff = healthDmgAttackRange_best - myHealthDmg_best; + double otherHealthDmgDiff = healthDmgAttackRange_NE - myHealthDmg_NE; + if (bestHealthDmgDiff != otherHealthDmgDiff) { + bestWins = (bestHealthDmgDiff < otherHealthDmgDiff); + break chooseBestNE; + } + + if (actionReady) { + // If I can attack at either square, prefer the one which lets me attack a low health tower. + if (inActionRadius_best && inActionRadius_NE) { + if (towerHealth_best != towerHealth_NE) { + bestWins = towerHealth_best < towerHealth_NE; + break chooseBestNE; + } + } + + // If I can attack choose the square which gets me into action radius. + if (inActionRadius_best != inActionRadius_NE) { + bestWins = inActionRadius_best; + break chooseBestNE; + } + } else { + // If I can't attack, choose the square which gets me out of action radius. + if (inActionRadius_best != inActionRadius_NE) { + bestWins = !inActionRadius_best; + break chooseBestNE; + } + } + + // If both squares are in action radius, prefer the one which lets you get out of action radius. + if (inActionRadius_best && inActionRadius_NE) { + if ((minDistToEnemy_best <= 2) != (minDistToEnemy_NE <= 2)) { + bestWins = !(minDistToEnemy_best <= 2); + break chooseBestNE; + } + } + + // If both squares are out of action radius, prefer the one which is closer. + else if (!inActionRadius_best && !inActionRadius_NE) { + if (minDistToEnemy_best != minDistToEnemy_NE) { + bestWins = minDistToEnemy_best < minDistToEnemy_NE; + break chooseBestNE; + } + } + + // All else equal, prefer the square with better paint penalty. + bestWins = (penalty_best <= penalty_NE); + break chooseBestNE; + } + + + if (!bestWins) { + targetLoc_best = targetLoc_NE; + canMove_best = canMove_NE; + healthDmgAttackRange_best = healthDmgAttackRange_NE; + myHealthDmg_best = myHealthDmg_NE; + minDistToEnemy_best = minDistToEnemy_NE; + penalty_best = penalty_NE; + inActionRadius_best = inActionRadius_NE; + towerHealth_best = towerHealth_NE; + bestDir = Direction.NORTHEAST; + } + + + bestWins = canMove_best; + chooseBestE: { + if (!canMove_E || !canMove_best) break chooseBestE; + + // Choose the square where I deal the most net damage. + double bestHealthDmgDiff = healthDmgAttackRange_best - myHealthDmg_best; + double otherHealthDmgDiff = healthDmgAttackRange_E - myHealthDmg_E; + if (bestHealthDmgDiff != otherHealthDmgDiff) { + bestWins = (bestHealthDmgDiff < otherHealthDmgDiff); + break chooseBestE; + } + + if (actionReady) { + // If I can attack at either square, prefer the one which lets me attack a low health tower. + if (inActionRadius_best && inActionRadius_E) { + if (towerHealth_best != towerHealth_E) { + bestWins = towerHealth_best < towerHealth_E; + break chooseBestE; + } + } + + // If I can attack choose the square which gets me into action radius. + if (inActionRadius_best != inActionRadius_E) { + bestWins = inActionRadius_best; + break chooseBestE; + } + } else { + // If I can't attack, choose the square which gets me out of action radius. + if (inActionRadius_best != inActionRadius_E) { + bestWins = !inActionRadius_best; + break chooseBestE; + } + } + + // If both squares are in action radius, prefer the one which lets you get out of action radius. + if (inActionRadius_best && inActionRadius_E) { + if ((minDistToEnemy_best <= 2) != (minDistToEnemy_E <= 2)) { + bestWins = !(minDistToEnemy_best <= 2); + break chooseBestE; + } + } + + // If both squares are out of action radius, prefer the one which is closer. + else if (!inActionRadius_best && !inActionRadius_E) { + if (minDistToEnemy_best != minDistToEnemy_E) { + bestWins = minDistToEnemy_best < minDistToEnemy_E; + break chooseBestE; + } + } + + // All else equal, prefer the square with better paint penalty. + bestWins = (penalty_best <= penalty_E); + break chooseBestE; + } + + + if (!bestWins) { + targetLoc_best = targetLoc_E; + canMove_best = canMove_E; + healthDmgAttackRange_best = healthDmgAttackRange_E; + myHealthDmg_best = myHealthDmg_E; + minDistToEnemy_best = minDistToEnemy_E; + penalty_best = penalty_E; + inActionRadius_best = inActionRadius_E; + towerHealth_best = towerHealth_E; + bestDir = Direction.EAST; + } + + + bestWins = canMove_best; + chooseBestSE: { + if (!canMove_SE || !canMove_best) break chooseBestSE; + + // Choose the square where I deal the most net damage. + double bestHealthDmgDiff = healthDmgAttackRange_best - myHealthDmg_best; + double otherHealthDmgDiff = healthDmgAttackRange_SE - myHealthDmg_SE; + if (bestHealthDmgDiff != otherHealthDmgDiff) { + bestWins = (bestHealthDmgDiff < otherHealthDmgDiff); + break chooseBestSE; + } + + if (actionReady) { + // If I can attack at either square, prefer the one which lets me attack a low health tower. + if (inActionRadius_best && inActionRadius_SE) { + if (towerHealth_best != towerHealth_SE) { + bestWins = towerHealth_best < towerHealth_SE; + break chooseBestSE; + } + } + + // If I can attack choose the square which gets me into action radius. + if (inActionRadius_best != inActionRadius_SE) { + bestWins = inActionRadius_best; + break chooseBestSE; + } + } else { + // If I can't attack, choose the square which gets me out of action radius. + if (inActionRadius_best != inActionRadius_SE) { + bestWins = !inActionRadius_best; + break chooseBestSE; + } + } + + // If both squares are in action radius, prefer the one which lets you get out of action radius. + if (inActionRadius_best && inActionRadius_SE) { + if ((minDistToEnemy_best <= 2) != (minDistToEnemy_SE <= 2)) { + bestWins = !(minDistToEnemy_best <= 2); + break chooseBestSE; + } + } + + // If both squares are out of action radius, prefer the one which is closer. + else if (!inActionRadius_best && !inActionRadius_SE) { + if (minDistToEnemy_best != minDistToEnemy_SE) { + bestWins = minDistToEnemy_best < minDistToEnemy_SE; + break chooseBestSE; + } + } + + // All else equal, prefer the square with better paint penalty. + bestWins = (penalty_best <= penalty_SE); + break chooseBestSE; + } + + + if (!bestWins) { + targetLoc_best = targetLoc_SE; + canMove_best = canMove_SE; + healthDmgAttackRange_best = healthDmgAttackRange_SE; + myHealthDmg_best = myHealthDmg_SE; + minDistToEnemy_best = minDistToEnemy_SE; + penalty_best = penalty_SE; + inActionRadius_best = inActionRadius_SE; + towerHealth_best = towerHealth_SE; + bestDir = Direction.SOUTHEAST; + } + + + bestWins = canMove_best; + chooseBestS: { + if (!canMove_S || !canMove_best) break chooseBestS; + + // Choose the square where I deal the most net damage. + double bestHealthDmgDiff = healthDmgAttackRange_best - myHealthDmg_best; + double otherHealthDmgDiff = healthDmgAttackRange_S - myHealthDmg_S; + if (bestHealthDmgDiff != otherHealthDmgDiff) { + bestWins = (bestHealthDmgDiff < otherHealthDmgDiff); + break chooseBestS; + } + + if (actionReady) { + // If I can attack at either square, prefer the one which lets me attack a low health tower. + if (inActionRadius_best && inActionRadius_S) { + if (towerHealth_best != towerHealth_S) { + bestWins = towerHealth_best < towerHealth_S; + break chooseBestS; + } + } + + // If I can attack choose the square which gets me into action radius. + if (inActionRadius_best != inActionRadius_S) { + bestWins = inActionRadius_best; + break chooseBestS; + } + } else { + // If I can't attack, choose the square which gets me out of action radius. + if (inActionRadius_best != inActionRadius_S) { + bestWins = !inActionRadius_best; + break chooseBestS; + } + } + + // If both squares are in action radius, prefer the one which lets you get out of action radius. + if (inActionRadius_best && inActionRadius_S) { + if ((minDistToEnemy_best <= 2) != (minDistToEnemy_S <= 2)) { + bestWins = !(minDistToEnemy_best <= 2); + break chooseBestS; + } + } + + // If both squares are out of action radius, prefer the one which is closer. + else if (!inActionRadius_best && !inActionRadius_S) { + if (minDistToEnemy_best != minDistToEnemy_S) { + bestWins = minDistToEnemy_best < minDistToEnemy_S; + break chooseBestS; + } + } + + // All else equal, prefer the square with better paint penalty. + bestWins = (penalty_best <= penalty_S); + break chooseBestS; + } + + + if (!bestWins) { + targetLoc_best = targetLoc_S; + canMove_best = canMove_S; + healthDmgAttackRange_best = healthDmgAttackRange_S; + myHealthDmg_best = myHealthDmg_S; + minDistToEnemy_best = minDistToEnemy_S; + penalty_best = penalty_S; + inActionRadius_best = inActionRadius_S; + towerHealth_best = towerHealth_S; + bestDir = Direction.SOUTH; + } + + + bestWins = canMove_best; + chooseBestSW: { + if (!canMove_SW || !canMove_best) break chooseBestSW; + + // Choose the square where I deal the most net damage. + double bestHealthDmgDiff = healthDmgAttackRange_best - myHealthDmg_best; + double otherHealthDmgDiff = healthDmgAttackRange_SW - myHealthDmg_SW; + if (bestHealthDmgDiff != otherHealthDmgDiff) { + bestWins = (bestHealthDmgDiff < otherHealthDmgDiff); + break chooseBestSW; + } + + if (actionReady) { + // If I can attack at either square, prefer the one which lets me attack a low health tower. + if (inActionRadius_best && inActionRadius_SW) { + if (towerHealth_best != towerHealth_SW) { + bestWins = towerHealth_best < towerHealth_SW; + break chooseBestSW; + } + } + + // If I can attack choose the square which gets me into action radius. + if (inActionRadius_best != inActionRadius_SW) { + bestWins = inActionRadius_best; + break chooseBestSW; + } + } else { + // If I can't attack, choose the square which gets me out of action radius. + if (inActionRadius_best != inActionRadius_SW) { + bestWins = !inActionRadius_best; + break chooseBestSW; + } + } + + // If both squares are in action radius, prefer the one which lets you get out of action radius. + if (inActionRadius_best && inActionRadius_SW) { + if ((minDistToEnemy_best <= 2) != (minDistToEnemy_SW <= 2)) { + bestWins = !(minDistToEnemy_best <= 2); + break chooseBestSW; + } + } + + // If both squares are out of action radius, prefer the one which is closer. + else if (!inActionRadius_best && !inActionRadius_SW) { + if (minDistToEnemy_best != minDistToEnemy_SW) { + bestWins = minDistToEnemy_best < minDistToEnemy_SW; + break chooseBestSW; + } + } + + // All else equal, prefer the square with better paint penalty. + bestWins = (penalty_best <= penalty_SW); + break chooseBestSW; + } + + + if (!bestWins) { + targetLoc_best = targetLoc_SW; + canMove_best = canMove_SW; + healthDmgAttackRange_best = healthDmgAttackRange_SW; + myHealthDmg_best = myHealthDmg_SW; + minDistToEnemy_best = minDistToEnemy_SW; + penalty_best = penalty_SW; + inActionRadius_best = inActionRadius_SW; + towerHealth_best = towerHealth_SW; + bestDir = Direction.SOUTHWEST; + } + + + bestWins = canMove_best; + chooseBestW: { + if (!canMove_W || !canMove_best) break chooseBestW; + + // Choose the square where I deal the most net damage. + double bestHealthDmgDiff = healthDmgAttackRange_best - myHealthDmg_best; + double otherHealthDmgDiff = healthDmgAttackRange_W - myHealthDmg_W; + if (bestHealthDmgDiff != otherHealthDmgDiff) { + bestWins = (bestHealthDmgDiff < otherHealthDmgDiff); + break chooseBestW; + } + + if (actionReady) { + // If I can attack at either square, prefer the one which lets me attack a low health tower. + if (inActionRadius_best && inActionRadius_W) { + if (towerHealth_best != towerHealth_W) { + bestWins = towerHealth_best < towerHealth_W; + break chooseBestW; + } + } + + // If I can attack choose the square which gets me into action radius. + if (inActionRadius_best != inActionRadius_W) { + bestWins = inActionRadius_best; + break chooseBestW; + } + } else { + // If I can't attack, choose the square which gets me out of action radius. + if (inActionRadius_best != inActionRadius_W) { + bestWins = !inActionRadius_best; + break chooseBestW; + } + } + + // If both squares are in action radius, prefer the one which lets you get out of action radius. + if (inActionRadius_best && inActionRadius_W) { + if ((minDistToEnemy_best <= 2) != (minDistToEnemy_W <= 2)) { + bestWins = !(minDistToEnemy_best <= 2); + break chooseBestW; + } + } + + // If both squares are out of action radius, prefer the one which is closer. + else if (!inActionRadius_best && !inActionRadius_W) { + if (minDistToEnemy_best != minDistToEnemy_W) { + bestWins = minDistToEnemy_best < minDistToEnemy_W; + break chooseBestW; + } + } + + // All else equal, prefer the square with better paint penalty. + bestWins = (penalty_best <= penalty_W); + break chooseBestW; + } + + + if (!bestWins) { + targetLoc_best = targetLoc_W; + canMove_best = canMove_W; + healthDmgAttackRange_best = healthDmgAttackRange_W; + myHealthDmg_best = myHealthDmg_W; + minDistToEnemy_best = minDistToEnemy_W; + penalty_best = penalty_W; + inActionRadius_best = inActionRadius_W; + towerHealth_best = towerHealth_W; + bestDir = Direction.WEST; + } + + + bestWins = canMove_best; + chooseBestNW: { + if (!canMove_NW || !canMove_best) break chooseBestNW; + + // Choose the square where I deal the most net damage. + double bestHealthDmgDiff = healthDmgAttackRange_best - myHealthDmg_best; + double otherHealthDmgDiff = healthDmgAttackRange_NW - myHealthDmg_NW; + if (bestHealthDmgDiff != otherHealthDmgDiff) { + bestWins = (bestHealthDmgDiff < otherHealthDmgDiff); + break chooseBestNW; + } + + if (actionReady) { + // If I can attack at either square, prefer the one which lets me attack a low health tower. + if (inActionRadius_best && inActionRadius_NW) { + if (towerHealth_best != towerHealth_NW) { + bestWins = towerHealth_best < towerHealth_NW; + break chooseBestNW; + } + } + + // If I can attack choose the square which gets me into action radius. + if (inActionRadius_best != inActionRadius_NW) { + bestWins = inActionRadius_best; + break chooseBestNW; + } + } else { + // If I can't attack, choose the square which gets me out of action radius. + if (inActionRadius_best != inActionRadius_NW) { + bestWins = !inActionRadius_best; + break chooseBestNW; + } + } + + // If both squares are in action radius, prefer the one which lets you get out of action radius. + if (inActionRadius_best && inActionRadius_NW) { + if ((minDistToEnemy_best <= 2) != (minDistToEnemy_NW <= 2)) { + bestWins = !(minDistToEnemy_best <= 2); + break chooseBestNW; + } + } + + // If both squares are out of action radius, prefer the one which is closer. + else if (!inActionRadius_best && !inActionRadius_NW) { + if (minDistToEnemy_best != minDistToEnemy_NW) { + bestWins = minDistToEnemy_best < minDistToEnemy_NW; + break chooseBestNW; + } + } + + // All else equal, prefer the square with better paint penalty. + bestWins = (penalty_best <= penalty_NW); + break chooseBestNW; + } + + + if (!bestWins) { + targetLoc_best = targetLoc_NW; + canMove_best = canMove_NW; + healthDmgAttackRange_best = healthDmgAttackRange_NW; + myHealthDmg_best = myHealthDmg_NW; + minDistToEnemy_best = minDistToEnemy_NW; + penalty_best = penalty_NW; + inActionRadius_best = inActionRadius_NW; + towerHealth_best = towerHealth_NW; + bestDir = Direction.NORTHWEST; + } + + + bestWins = canMove_best; + chooseBestC: { + if (!canMove_C || !canMove_best) break chooseBestC; + + // Choose the square where I deal the most net damage. + double bestHealthDmgDiff = healthDmgAttackRange_best - myHealthDmg_best; + double otherHealthDmgDiff = healthDmgAttackRange_C - myHealthDmg_C; + if (bestHealthDmgDiff != otherHealthDmgDiff) { + bestWins = (bestHealthDmgDiff < otherHealthDmgDiff); + break chooseBestC; + } + + if (actionReady) { + // If I can attack at either square, prefer the one which lets me attack a low health tower. + if (inActionRadius_best && inActionRadius_C) { + if (towerHealth_best != towerHealth_C) { + bestWins = towerHealth_best < towerHealth_C; + break chooseBestC; + } + } + + // If I can attack choose the square which gets me into action radius. + if (inActionRadius_best != inActionRadius_C) { + bestWins = inActionRadius_best; + break chooseBestC; + } + } else { + // If I can't attack, choose the square which gets me out of action radius. + if (inActionRadius_best != inActionRadius_C) { + bestWins = !inActionRadius_best; + break chooseBestC; + } + } + + // If both squares are in action radius, prefer the one which lets you get out of action radius. + if (inActionRadius_best && inActionRadius_C) { + if ((minDistToEnemy_best <= 2) != (minDistToEnemy_C <= 2)) { + bestWins = !(minDistToEnemy_best <= 2); + break chooseBestC; + } + } + + // If both squares are out of action radius, prefer the one which is closer. + else if (!inActionRadius_best && !inActionRadius_C) { + if (minDistToEnemy_best != minDistToEnemy_C) { + bestWins = minDistToEnemy_best < minDistToEnemy_C; + break chooseBestC; + } + } + + // All else equal, prefer the square with better paint penalty. + bestWins = (penalty_best <= penalty_C); + break chooseBestC; + } + + + if (!bestWins) { + targetLoc_best = targetLoc_C; + canMove_best = canMove_C; + healthDmgAttackRange_best = healthDmgAttackRange_C; + myHealthDmg_best = myHealthDmg_C; + minDistToEnemy_best = minDistToEnemy_C; + penalty_best = penalty_C; + inActionRadius_best = inActionRadius_C; + towerHealth_best = towerHealth_C; + bestDir = Direction.CENTER; + } + + + + + System.out.println("[158] " + "minDistToEnemy_best = " + minDistToEnemy_best + ", " + "targetLoc_best.x = " + targetLoc_best.x + ", " + "canMove_best = " + canMove_best + ", " + "targetLoc_best.y = " + targetLoc_best.y + ", " + "penalty_best = " + penalty_best + ", " + "healthDmgAttackRange_best = " + healthDmgAttackRange_best + ", " + "myHealthDmg_best = " + myHealthDmg_best + ", " + "towerHealth_best = " + towerHealth_best + ", " + "inActionRadius_best = " + inActionRadius_best); + System.out.println("Chose: " + bestDir); + System.out.println("\n"); + + if (rc.canMove(bestDir)) { + rc.move(bestDir); + } + splasherTryAttack(); + } + + + +} \ No newline at end of file diff --git a/java/src/moreMoppers/Comms.java b/java/src/moreMoppers/Comms.java new file mode 100644 index 0000000..c2efa58 --- /dev/null +++ b/java/src/moreMoppers/Comms.java @@ -0,0 +1,48 @@ +package moreMoppers; +import battlecode.common.*; + +public class Comms { + public static RobotController rc; + public static void init(RobotController rc) throws GameActionException { + Comms.rc = rc; + } + + public static void run() throws GameActionException { + updateSym(); + broadcastSym(); + } + + public static void updateSym() throws GameActionException { + Message[] m = rc.readMessages(-1); + for (int i = m.length; --i >= 0;) { + int msg = m[i].getBytes(); + SymmetryChecker.RSYM &= (msg & 1); + SymmetryChecker.HSYM &= ((msg & 2) >> 1); + SymmetryChecker.VSYM &= ((msg & 4) >> 2); + } + } + + public static void broadcastSym() throws GameActionException { + int R = SymmetryChecker.RSYM; + int H = SymmetryChecker.HSYM; + int V = SymmetryChecker.VSYM; + int send = R + 2 * H + 4 * V; + if (Globals.isTower(rc.getType())) { + if (rc.canBroadcastMessage()) { + rc.broadcastMessage(send); + } + for (int i = Globals.friends.length; --i >= 0;) { + if (rc.canSendMessage(Globals.friends[i].location, send)) { + rc.sendMessage(Globals.friends[i].location, send); + } + } + } + else { + for (int i = Globals.friends.length; --i >= 0;) if (Globals.isTower(Globals.friends[i].getType())) { + if (rc.canSendMessage(Globals.friends[i].location, send)) { + rc.sendMessage(Globals.friends[i].location, send); + } + } + } + } +} \ No newline at end of file diff --git a/java/src/moreMoppers/Explore.java b/java/src/moreMoppers/Explore.java new file mode 100644 index 0000000..789083d --- /dev/null +++ b/java/src/moreMoppers/Explore.java @@ -0,0 +1,75 @@ +package moreMoppers; +import battlecode.common.*; +import java.util.Stack; + +public class Explore { + public static RobotController rc; + public static MapLocation exploreTarget = null; + public static Stack circle; + + //r = 8 + //public static int cX[] = {-8, -5, 0, 5, 8, 5, 0, -5}; + //public static int cY[] = {0, 6, 8, 6, 0, -6, -8, -6}; + + public static int cX[] = {-6, -4, 0, 4, 6, 4, 0, -6}; + public static int cY[] = {0, 4, 6, 4, 0, -4, -6, -4}; + + public static void init(RobotController rc) { + Explore.rc = rc; + circle = new Stack<>(); + } + + public static void exploreOnPaint(MapInfo[] near) throws GameActionException { + explore(near); + } + + public static void explore(MapInfo[] near) throws GameActionException { + if (exploreTarget == null || rc.getLocation().distanceSquaredTo(exploreTarget) <= 5) { + /* + if (!circle.isEmpty()) { + exploreTarget = circle.pop(); + } + else { + if (Globals.rng.nextInt(3) == 0) { + int st = Globals.rng.nextInt(8); + MapLocation loc; + + loc = new MapLocation(rc.getLocation().x + cX[(st + 0) % 8], rc.getLocation().y + cY[(st + 0) % 8]); + if (Globals.onMap(loc)) { + circle.push(loc); + } + + loc = new MapLocation(rc.getLocation().x + cX[(st + 1) % 8], rc.getLocation().y + cY[(st + 1) % 8]); + if (Globals.onMap(loc)) { + circle.push(loc); + } + + loc = new MapLocation(rc.getLocation().x + cX[(st + 2) % 8], rc.getLocation().y + cY[(st + 2) % 8]); + if (Globals.onMap(loc)) { + circle.push(loc); + } + + loc = new MapLocation(rc.getLocation().x + cX[(st + 3) % 8], rc.getLocation().y + cY[(st + 3) % 8]); + if (Globals.onMap(loc)) { + circle.push(loc); + } + + exploreTarget = circle.pop(); + } + if (exploreTarget == null) { + exploreTarget = new MapLocation( + Globals.rng.nextInt(rc.getMapWidth()), + Globals.rng.nextInt(rc.getMapHeight()) + ); + } + } + */ + exploreTarget = new MapLocation( + Globals.rng.nextInt(rc.getMapWidth()), + Globals.rng.nextInt(rc.getMapHeight()) + ); + } + Pathing.pathTo(exploreTarget); + } + +} \ No newline at end of file diff --git a/java/src/moreMoppers/Globals.java b/java/src/moreMoppers/Globals.java new file mode 100644 index 0000000..7c89e5a --- /dev/null +++ b/java/src/moreMoppers/Globals.java @@ -0,0 +1,81 @@ +package moreMoppers; +import java.util.Random; +import battlecode.common.*; + +public class Globals { + public static int roundNum; + public static RobotController rc; + public static final Random rng = new Random(); + public static boolean[][] moneyTower; + public static boolean[][] paintTower; + public static void init(RobotController rc) throws GameActionException { + rng.setSeed((long) rc.getID()); + Globals.rc = rc; + moneyTower = rc.getTowerPattern(UnitType.LEVEL_ONE_MONEY_TOWER); + paintTower = rc.getTowerPattern(UnitType.LEVEL_ONE_PAINT_TOWER); + Globals.born = rc.getRoundNum(); + } + + public static RobotInfo[] friends; + public static RobotInfo[] enemies; + public static void run() throws GameActionException { + friends = rc.senseNearbyRobots(-1, rc.getTeam()); + enemies = rc.senseNearbyRobots(-1, rc.getTeam().opponent()); + roundNum = rc.getRoundNum(); + updateIncomeTracker(); + } + + public static boolean onMap(MapLocation loc) throws GameActionException { + return (loc.x >= 0 && loc.y >= 0 && loc.x < rc.getMapWidth() && loc.y < rc.getMapHeight()); + } + + public static UnitType getTowerToBuild(MapLocation loc) throws GameActionException { + MapLocation paintMark = loc.add(Direction.WEST); + MapLocation moneyMark = loc.add(Direction.SOUTH); + if (rc.canSenseLocation(paintMark)){ + MapInfo s = rc.senseMapInfo(paintMark); + if (s.getMark() == PaintType.ALLY_SECONDARY) return UnitType.LEVEL_ONE_PAINT_TOWER; + } + if( rc.canSenseLocation(moneyMark)) { + MapInfo s = rc.senseMapInfo(moneyMark); + if (s.getMark() == PaintType.ALLY_SECONDARY) return UnitType.LEVEL_ONE_MONEY_TOWER; + } + if (rc.getMoney() < 2000) return UnitType.LEVEL_ONE_MONEY_TOWER; + return UnitType.LEVEL_ONE_PAINT_TOWER; + } + + public static boolean isTower(UnitType u) { + return switch (u) { + case SOLDIER -> false; + case SPLASHER -> false; + case MOPPER -> false; + default -> true; + }; + } + + + // Income Tracking. + public static int born; + public static int income = GameConstants.NUMBER_INITIAL_MONEY_TOWERS * UnitType.LEVEL_ONE_MONEY_TOWER.moneyPerTurn; + public static int lastMoney = 0; + public static int moneyUpdateFreq = 30; + public static void updateIncomeTracker() throws GameActionException { + if (roundNum < moneyUpdateFreq) return; + int modulo = (roundNum % moneyUpdateFreq); + if (modulo == 0) { + lastMoney = rc.getMoney(); + } else if (modulo == 1) { + income = (rc.getMoney() - lastMoney); + } + } + + public static boolean shouldStallForIncome() throws GameActionException { + if (roundNum < moneyUpdateFreq) return false; + int modulo = (roundNum % moneyUpdateFreq); + return (modulo == 0) || (modulo == 1); + } + + public static int getIncome() { + return income; + } +} \ No newline at end of file diff --git a/java/src/moreMoppers/Mopper.java b/java/src/moreMoppers/Mopper.java new file mode 100644 index 0000000..c4d98eb --- /dev/null +++ b/java/src/moreMoppers/Mopper.java @@ -0,0 +1,367 @@ + + +package moreMoppers; +import battlecode.common.*; + +public class Mopper { + public static RobotController rc; + public static MapLocation buildTower = null; + public static MapLocation myloc; + public static int paintCapacity = UnitType.SOLDIER.paintCapacity; + public static int myPaint; + public static MapLocation exploreTarget; + public static MapInfo[] near; + public static MapLocation ruinLoc; + public static boolean[][] resourcePat = null; + public static boolean shouldGoHome = false; + + public static void init(RobotController rc) { + Mopper.rc = rc; + resourcePat = rc.getResourcePattern(); + } + + public static boolean canMop(MapInfo mi) throws GameActionException { + return (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY); + } + + public static MapLocation mopTarget = null; + public static void computeMopTarget() throws GameActionException { + RobotInfo enemyTower = null; + MapLocation[] ruins = rc.senseNearbyRuins(-1); + for (MapLocation loc: ruins) { + RobotInfo r = rc.senseRobotAtLocation(loc); + if (r != null && r.team != rc.getTeam()) { + enemyTower = r; + break; + } + } + + MapLocation myloc = rc.getLocation(); + int closest = 1000000000; + MapLocation bestLoc = null; + MapInfo[] mis = near; + for (int i = mis.length; --i >= 0;) { + switch (mis[i].getPaint()) { + case ENEMY_PRIMARY, ENEMY_SECONDARY -> { + MapLocation loc = mis[i].getMapLocation(); + int d = loc.distanceSquaredTo(myloc); + if (d < closest && (enemyTower == null || loc.distanceSquaredTo(enemyTower.location) > enemyTower.type.actionRadiusSquared + 20)) { + closest = d; + bestLoc = loc; + } + } + default -> {} + } + } + + if (mopTarget != null) { + if (rc.canSenseLocation(mopTarget)) { + MapInfo mi = rc.senseMapInfo(mopTarget); + switch (mi.getPaint()) { + case ENEMY_PRIMARY, ENEMY_SECONDARY: return; + default: mopTarget = null; + } + } + if (bestLoc != null) + mopTarget = bestLoc; + } else { + mopTarget = bestLoc; + } + } + + public static void handleMopTarget(MapLocation target) throws GameActionException { + if (myloc.distanceSquaredTo(target) >= 9) { + Pathing.pathTo(target); + return; + } + + int bestDist = 1000000; + int bestScore = -10000; + MapLocation bestLoc = null; + + { + MapLocation nloc = target.add(Direction.NORTH); + if (rc.canSenseLocation(nloc)) { + MapInfo mi = rc.senseMapInfo(nloc); + int score = switch (mi.getPaint()) { + case ENEMY_PRIMARY, ENEMY_SECONDARY -> -2; + case EMPTY -> -1; + case ALLY_PRIMARY, ALLY_SECONDARY -> 0; + }; + + int dist = nloc.distanceSquaredTo(myloc); + if ((score > bestScore) || (score == bestScore && dist < bestDist)) { + bestScore = score; + bestDist = dist; + bestLoc = nloc; + } + } + } + + { + MapLocation nloc = target.add(Direction.NORTHEAST); + if (rc.canSenseLocation(nloc)) { + MapInfo mi = rc.senseMapInfo(nloc); + int score = switch (mi.getPaint()) { + case ENEMY_PRIMARY, ENEMY_SECONDARY -> -2; + case EMPTY -> -1; + case ALLY_PRIMARY, ALLY_SECONDARY -> 0; + }; + + int dist = nloc.distanceSquaredTo(myloc); + if ((score > bestScore) || (score == bestScore && dist < bestDist)) { + bestScore = score; + bestDist = dist; + bestLoc = nloc; + } + } + } + + { + MapLocation nloc = target.add(Direction.EAST); + if (rc.canSenseLocation(nloc)) { + MapInfo mi = rc.senseMapInfo(nloc); + int score = switch (mi.getPaint()) { + case ENEMY_PRIMARY, ENEMY_SECONDARY -> -2; + case EMPTY -> -1; + case ALLY_PRIMARY, ALLY_SECONDARY -> 0; + }; + + int dist = nloc.distanceSquaredTo(myloc); + if ((score > bestScore) || (score == bestScore && dist < bestDist)) { + bestScore = score; + bestDist = dist; + bestLoc = nloc; + } + } + } + + { + MapLocation nloc = target.add(Direction.SOUTHEAST); + if (rc.canSenseLocation(nloc)) { + MapInfo mi = rc.senseMapInfo(nloc); + int score = switch (mi.getPaint()) { + case ENEMY_PRIMARY, ENEMY_SECONDARY -> -2; + case EMPTY -> -1; + case ALLY_PRIMARY, ALLY_SECONDARY -> 0; + }; + + int dist = nloc.distanceSquaredTo(myloc); + if ((score > bestScore) || (score == bestScore && dist < bestDist)) { + bestScore = score; + bestDist = dist; + bestLoc = nloc; + } + } + } + + { + MapLocation nloc = target.add(Direction.SOUTH); + if (rc.canSenseLocation(nloc)) { + MapInfo mi = rc.senseMapInfo(nloc); + int score = switch (mi.getPaint()) { + case ENEMY_PRIMARY, ENEMY_SECONDARY -> -2; + case EMPTY -> -1; + case ALLY_PRIMARY, ALLY_SECONDARY -> 0; + }; + + int dist = nloc.distanceSquaredTo(myloc); + if ((score > bestScore) || (score == bestScore && dist < bestDist)) { + bestScore = score; + bestDist = dist; + bestLoc = nloc; + } + } + } + + { + MapLocation nloc = target.add(Direction.SOUTHWEST); + if (rc.canSenseLocation(nloc)) { + MapInfo mi = rc.senseMapInfo(nloc); + int score = switch (mi.getPaint()) { + case ENEMY_PRIMARY, ENEMY_SECONDARY -> -2; + case EMPTY -> -1; + case ALLY_PRIMARY, ALLY_SECONDARY -> 0; + }; + + int dist = nloc.distanceSquaredTo(myloc); + if ((score > bestScore) || (score == bestScore && dist < bestDist)) { + bestScore = score; + bestDist = dist; + bestLoc = nloc; + } + } + } + + { + MapLocation nloc = target.add(Direction.WEST); + if (rc.canSenseLocation(nloc)) { + MapInfo mi = rc.senseMapInfo(nloc); + int score = switch (mi.getPaint()) { + case ENEMY_PRIMARY, ENEMY_SECONDARY -> -2; + case EMPTY -> -1; + case ALLY_PRIMARY, ALLY_SECONDARY -> 0; + }; + + int dist = nloc.distanceSquaredTo(myloc); + if ((score > bestScore) || (score == bestScore && dist < bestDist)) { + bestScore = score; + bestDist = dist; + bestLoc = nloc; + } + } + } + + { + MapLocation nloc = target.add(Direction.NORTHWEST); + if (rc.canSenseLocation(nloc)) { + MapInfo mi = rc.senseMapInfo(nloc); + int score = switch (mi.getPaint()) { + case ENEMY_PRIMARY, ENEMY_SECONDARY -> -2; + case EMPTY -> -1; + case ALLY_PRIMARY, ALLY_SECONDARY -> 0; + }; + + int dist = nloc.distanceSquaredTo(myloc); + if ((score > bestScore) || (score == bestScore && dist < bestDist)) { + bestScore = score; + bestDist = dist; + bestLoc = nloc; + } + } + } + + { + MapLocation nloc = target.add(Direction.CENTER); + if (rc.canSenseLocation(nloc)) { + MapInfo mi = rc.senseMapInfo(nloc); + int score = switch (mi.getPaint()) { + case ENEMY_PRIMARY, ENEMY_SECONDARY -> -2; + case EMPTY -> -1; + case ALLY_PRIMARY, ALLY_SECONDARY -> 0; + }; + + int dist = nloc.distanceSquaredTo(myloc); + if ((score > bestScore) || (score == bestScore && dist < bestDist)) { + bestScore = score; + bestDist = dist; + bestLoc = nloc; + } + } + } + + + if (bestLoc != null) { + Pathing.pathTo(bestLoc); + MapLocation newLoc = rc.getLocation(); + rc.setIndicatorString("True Mop Target " + bestLoc + " " + myloc + " " + newLoc + " " + mopTarget); + } + } + + public static void run() throws GameActionException { + initTurn(); + runTurn(); + postTurn(); + } + + public static void initTurn() throws GameActionException { + myloc = rc.getLocation(); + myPaint = rc.getPaint(); + near = rc.senseNearbyMapInfos(); + computeMopTarget(); + RefuelManager.setHome(); + boolean lowHealth = (myPaint <= (paintCapacity >> 2)); + if (lowHealth != shouldGoHome) { + shouldGoHome = lowHealth; + RefuelManager.reset(); + } + } + + public static void runTurn() throws GameActionException { + if (shouldGoHome && RefuelManager.homeState == RefuelManager.TOWER_PAINT) { + rc.setIndicatorString("Refueling"); + RefuelManager.refuel(); + MopperAttack.mopperTryAttack(); + return; + } else if (MopperAttack.shouldMopperMicro()) { + rc.setIndicatorString("Mopping"); + MopperAttack.mopperAttackMicro(); + return; + } else if (rc.getNumberTowers() < 25){ + MapLocation buildTower = TowerBuild.getRuin(near); + if (buildTower != null) { + TowerBuild.makeTower(buildTower); + return; + } + } + + if (mopTarget != null) { + rc.setIndicatorString("Seeking MopTarget " + mopTarget); + handleMopTarget(mopTarget); + return; + } + + rc.setIndicatorString("Exploring " + mopTarget); + Explore.explore(near); + } + + public static void postTurn() throws GameActionException { + MapLocation nloc; + MapInfo mi; + + nloc = myloc.add(Direction.NORTH); + if (rc.canSenseLocation(nloc)) { + mi = rc.senseMapInfo(nloc); + if (rc.canAttack(nloc) && canMop(mi)) rc.attack(nloc); + } + + nloc = myloc.add(Direction.NORTHEAST); + if (rc.canSenseLocation(nloc)) { + mi = rc.senseMapInfo(nloc); + if (rc.canAttack(nloc) && canMop(mi)) rc.attack(nloc); + } + + nloc = myloc.add(Direction.EAST); + if (rc.canSenseLocation(nloc)) { + mi = rc.senseMapInfo(nloc); + if (rc.canAttack(nloc) && canMop(mi)) rc.attack(nloc); + } + + nloc = myloc.add(Direction.SOUTHEAST); + if (rc.canSenseLocation(nloc)) { + mi = rc.senseMapInfo(nloc); + if (rc.canAttack(nloc) && canMop(mi)) rc.attack(nloc); + } + + nloc = myloc.add(Direction.SOUTH); + if (rc.canSenseLocation(nloc)) { + mi = rc.senseMapInfo(nloc); + if (rc.canAttack(nloc) && canMop(mi)) rc.attack(nloc); + } + + nloc = myloc.add(Direction.SOUTHWEST); + if (rc.canSenseLocation(nloc)) { + mi = rc.senseMapInfo(nloc); + if (rc.canAttack(nloc) && canMop(mi)) rc.attack(nloc); + } + + nloc = myloc.add(Direction.WEST); + if (rc.canSenseLocation(nloc)) { + mi = rc.senseMapInfo(nloc); + if (rc.canAttack(nloc) && canMop(mi)) rc.attack(nloc); + } + + nloc = myloc.add(Direction.NORTHWEST); + if (rc.canSenseLocation(nloc)) { + mi = rc.senseMapInfo(nloc); + if (rc.canAttack(nloc) && canMop(mi)) rc.attack(nloc); + } + + nloc = myloc.add(Direction.CENTER); + if (rc.canSenseLocation(nloc)) { + mi = rc.senseMapInfo(nloc); + if (rc.canAttack(nloc) && canMop(mi)) rc.attack(nloc); + } + + } +} \ No newline at end of file diff --git a/java/src/moreMoppers/MopperAttack.java b/java/src/moreMoppers/MopperAttack.java new file mode 100644 index 0000000..3d0f5b1 --- /dev/null +++ b/java/src/moreMoppers/MopperAttack.java @@ -0,0 +1,1783 @@ +package moreMoppers; +import battlecode.common.*; + + + + +public class MopperAttack { + public static RobotController rc; + + public static int mopperMaxActionRadiusSquared = 8; + public static int mopperDesiredActionRadiusSquared; + + public static int mopperActionRadiusSquared; + public static int mopperPaintCapacity; + public static int mopperActionCooldown; + public static void init(RobotController rc) { + MopperAttack.rc = rc; + mopperActionRadiusSquared = UnitType.MOPPER.actionRadiusSquared; + mopperPaintCapacity = UnitType.MOPPER.paintCapacity; + mopperActionCooldown = UnitType.MOPPER.actionCooldown; + + } + + public static boolean shouldMopperMicro() throws GameActionException { + for (int i = Globals.enemies.length; --i >= 0; ) { + if (Globals.enemies[i].paintAmount == 0) continue; + switch (Globals.enemies[i].type) { + case SOLDIER, MOPPER, SPLASHER: return true; + default: return false; + } + } + return false; + } + + public static void mopperTryAttack() throws GameActionException { + if ((rc.getPaint() < (UnitType.MOPPER.paintCapacity >> 1)) + || (Globals.enemies.length == 1)) { + mopperHealAttack(); + } else { + mopperMopAttack(); + } + } + + public static void mopperHealAttack() throws GameActionException { + for (int i = Globals.enemies.length; --i >= 0; ) { + switch (Globals.enemies[i].type) { + case SOLDIER, MOPPER, SPLASHER: { + if (rc.canAttack(Globals.enemies[i].location)) { + rc.attack(Globals.enemies[i].location); + return; + } + } + default: continue; + } + } + } + + public static void mopperMopAttack() throws GameActionException { + if (!rc.isActionReady()) return; + MapLocation myloc = rc.getLocation(); + int x = myloc.x, y = myloc.y; + + + boolean enemy00 = false; + MapLocation mloc00 = new MapLocation(x + -3, y + -3); + boolean canSense00 = rc.canSenseLocation(mloc00); + if (canSense00) { + RobotInfo r = rc.senseRobotAtLocation( mloc00); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy00 = true; + } + + boolean enemy01 = false; + MapLocation mloc01 = new MapLocation(x + -3, y + -2); + boolean canSense01 = rc.canSenseLocation(mloc01); + if (canSense01) { + RobotInfo r = rc.senseRobotAtLocation( mloc01); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy01 = true; + } + + boolean enemy02 = false; + MapLocation mloc02 = new MapLocation(x + -3, y + -1); + boolean canSense02 = rc.canSenseLocation(mloc02); + if (canSense02) { + RobotInfo r = rc.senseRobotAtLocation( mloc02); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy02 = true; + } + + boolean enemy03 = false; + MapLocation mloc03 = new MapLocation(x + -3, y + 0); + boolean canSense03 = rc.canSenseLocation(mloc03); + if (canSense03) { + RobotInfo r = rc.senseRobotAtLocation( mloc03); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy03 = true; + } + + boolean enemy04 = false; + MapLocation mloc04 = new MapLocation(x + -3, y + 1); + boolean canSense04 = rc.canSenseLocation(mloc04); + if (canSense04) { + RobotInfo r = rc.senseRobotAtLocation( mloc04); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy04 = true; + } + + boolean enemy05 = false; + MapLocation mloc05 = new MapLocation(x + -3, y + 2); + boolean canSense05 = rc.canSenseLocation(mloc05); + if (canSense05) { + RobotInfo r = rc.senseRobotAtLocation( mloc05); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy05 = true; + } + + boolean enemy06 = false; + MapLocation mloc06 = new MapLocation(x + -3, y + 3); + boolean canSense06 = rc.canSenseLocation(mloc06); + if (canSense06) { + RobotInfo r = rc.senseRobotAtLocation( mloc06); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy06 = true; + } + + + + boolean enemy10 = false; + MapLocation mloc10 = new MapLocation(x + -2, y + -3); + boolean canSense10 = rc.canSenseLocation(mloc10); + if (canSense10) { + RobotInfo r = rc.senseRobotAtLocation( mloc10); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy10 = true; + } + + boolean enemy11 = false; + MapLocation mloc11 = new MapLocation(x + -2, y + -2); + boolean canSense11 = rc.canSenseLocation(mloc11); + if (canSense11) { + RobotInfo r = rc.senseRobotAtLocation( mloc11); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy11 = true; + } + + boolean enemy12 = false; + MapLocation mloc12 = new MapLocation(x + -2, y + -1); + boolean canSense12 = rc.canSenseLocation(mloc12); + if (canSense12) { + RobotInfo r = rc.senseRobotAtLocation( mloc12); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy12 = true; + } + + boolean enemy13 = false; + MapLocation mloc13 = new MapLocation(x + -2, y + 0); + boolean canSense13 = rc.canSenseLocation(mloc13); + if (canSense13) { + RobotInfo r = rc.senseRobotAtLocation( mloc13); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy13 = true; + } + + boolean enemy14 = false; + MapLocation mloc14 = new MapLocation(x + -2, y + 1); + boolean canSense14 = rc.canSenseLocation(mloc14); + if (canSense14) { + RobotInfo r = rc.senseRobotAtLocation( mloc14); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy14 = true; + } + + boolean enemy15 = false; + MapLocation mloc15 = new MapLocation(x + -2, y + 2); + boolean canSense15 = rc.canSenseLocation(mloc15); + if (canSense15) { + RobotInfo r = rc.senseRobotAtLocation( mloc15); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy15 = true; + } + + boolean enemy16 = false; + MapLocation mloc16 = new MapLocation(x + -2, y + 3); + boolean canSense16 = rc.canSenseLocation(mloc16); + if (canSense16) { + RobotInfo r = rc.senseRobotAtLocation( mloc16); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy16 = true; + } + + + + boolean enemy20 = false; + MapLocation mloc20 = new MapLocation(x + -1, y + -3); + boolean canSense20 = rc.canSenseLocation(mloc20); + if (canSense20) { + RobotInfo r = rc.senseRobotAtLocation( mloc20); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy20 = true; + } + + boolean enemy21 = false; + MapLocation mloc21 = new MapLocation(x + -1, y + -2); + boolean canSense21 = rc.canSenseLocation(mloc21); + if (canSense21) { + RobotInfo r = rc.senseRobotAtLocation( mloc21); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy21 = true; + } + + boolean enemy22 = false; + MapLocation mloc22 = new MapLocation(x + -1, y + -1); + boolean canSense22 = rc.canSenseLocation(mloc22); + if (canSense22) { + RobotInfo r = rc.senseRobotAtLocation( mloc22); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy22 = true; + } + + boolean enemy23 = false; + MapLocation mloc23 = new MapLocation(x + -1, y + 0); + boolean canSense23 = rc.canSenseLocation(mloc23); + if (canSense23) { + RobotInfo r = rc.senseRobotAtLocation( mloc23); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy23 = true; + } + + boolean enemy24 = false; + MapLocation mloc24 = new MapLocation(x + -1, y + 1); + boolean canSense24 = rc.canSenseLocation(mloc24); + if (canSense24) { + RobotInfo r = rc.senseRobotAtLocation( mloc24); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy24 = true; + } + + boolean enemy25 = false; + MapLocation mloc25 = new MapLocation(x + -1, y + 2); + boolean canSense25 = rc.canSenseLocation(mloc25); + if (canSense25) { + RobotInfo r = rc.senseRobotAtLocation( mloc25); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy25 = true; + } + + boolean enemy26 = false; + MapLocation mloc26 = new MapLocation(x + -1, y + 3); + boolean canSense26 = rc.canSenseLocation(mloc26); + if (canSense26) { + RobotInfo r = rc.senseRobotAtLocation( mloc26); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy26 = true; + } + + + + boolean enemy30 = false; + MapLocation mloc30 = new MapLocation(x + 0, y + -3); + boolean canSense30 = rc.canSenseLocation(mloc30); + if (canSense30) { + RobotInfo r = rc.senseRobotAtLocation( mloc30); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy30 = true; + } + + boolean enemy31 = false; + MapLocation mloc31 = new MapLocation(x + 0, y + -2); + boolean canSense31 = rc.canSenseLocation(mloc31); + if (canSense31) { + RobotInfo r = rc.senseRobotAtLocation( mloc31); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy31 = true; + } + + boolean enemy32 = false; + MapLocation mloc32 = new MapLocation(x + 0, y + -1); + boolean canSense32 = rc.canSenseLocation(mloc32); + if (canSense32) { + RobotInfo r = rc.senseRobotAtLocation( mloc32); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy32 = true; + } + + boolean enemy33 = false; + MapLocation mloc33 = new MapLocation(x + 0, y + 0); + boolean canSense33 = rc.canSenseLocation(mloc33); + if (canSense33) { + RobotInfo r = rc.senseRobotAtLocation( mloc33); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy33 = true; + } + + boolean enemy34 = false; + MapLocation mloc34 = new MapLocation(x + 0, y + 1); + boolean canSense34 = rc.canSenseLocation(mloc34); + if (canSense34) { + RobotInfo r = rc.senseRobotAtLocation( mloc34); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy34 = true; + } + + boolean enemy35 = false; + MapLocation mloc35 = new MapLocation(x + 0, y + 2); + boolean canSense35 = rc.canSenseLocation(mloc35); + if (canSense35) { + RobotInfo r = rc.senseRobotAtLocation( mloc35); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy35 = true; + } + + boolean enemy36 = false; + MapLocation mloc36 = new MapLocation(x + 0, y + 3); + boolean canSense36 = rc.canSenseLocation(mloc36); + if (canSense36) { + RobotInfo r = rc.senseRobotAtLocation( mloc36); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy36 = true; + } + + + + boolean enemy40 = false; + MapLocation mloc40 = new MapLocation(x + 1, y + -3); + boolean canSense40 = rc.canSenseLocation(mloc40); + if (canSense40) { + RobotInfo r = rc.senseRobotAtLocation( mloc40); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy40 = true; + } + + boolean enemy41 = false; + MapLocation mloc41 = new MapLocation(x + 1, y + -2); + boolean canSense41 = rc.canSenseLocation(mloc41); + if (canSense41) { + RobotInfo r = rc.senseRobotAtLocation( mloc41); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy41 = true; + } + + boolean enemy42 = false; + MapLocation mloc42 = new MapLocation(x + 1, y + -1); + boolean canSense42 = rc.canSenseLocation(mloc42); + if (canSense42) { + RobotInfo r = rc.senseRobotAtLocation( mloc42); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy42 = true; + } + + boolean enemy43 = false; + MapLocation mloc43 = new MapLocation(x + 1, y + 0); + boolean canSense43 = rc.canSenseLocation(mloc43); + if (canSense43) { + RobotInfo r = rc.senseRobotAtLocation( mloc43); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy43 = true; + } + + boolean enemy44 = false; + MapLocation mloc44 = new MapLocation(x + 1, y + 1); + boolean canSense44 = rc.canSenseLocation(mloc44); + if (canSense44) { + RobotInfo r = rc.senseRobotAtLocation( mloc44); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy44 = true; + } + + boolean enemy45 = false; + MapLocation mloc45 = new MapLocation(x + 1, y + 2); + boolean canSense45 = rc.canSenseLocation(mloc45); + if (canSense45) { + RobotInfo r = rc.senseRobotAtLocation( mloc45); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy45 = true; + } + + boolean enemy46 = false; + MapLocation mloc46 = new MapLocation(x + 1, y + 3); + boolean canSense46 = rc.canSenseLocation(mloc46); + if (canSense46) { + RobotInfo r = rc.senseRobotAtLocation( mloc46); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy46 = true; + } + + + + boolean enemy50 = false; + MapLocation mloc50 = new MapLocation(x + 2, y + -3); + boolean canSense50 = rc.canSenseLocation(mloc50); + if (canSense50) { + RobotInfo r = rc.senseRobotAtLocation( mloc50); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy50 = true; + } + + boolean enemy51 = false; + MapLocation mloc51 = new MapLocation(x + 2, y + -2); + boolean canSense51 = rc.canSenseLocation(mloc51); + if (canSense51) { + RobotInfo r = rc.senseRobotAtLocation( mloc51); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy51 = true; + } + + boolean enemy52 = false; + MapLocation mloc52 = new MapLocation(x + 2, y + -1); + boolean canSense52 = rc.canSenseLocation(mloc52); + if (canSense52) { + RobotInfo r = rc.senseRobotAtLocation( mloc52); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy52 = true; + } + + boolean enemy53 = false; + MapLocation mloc53 = new MapLocation(x + 2, y + 0); + boolean canSense53 = rc.canSenseLocation(mloc53); + if (canSense53) { + RobotInfo r = rc.senseRobotAtLocation( mloc53); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy53 = true; + } + + boolean enemy54 = false; + MapLocation mloc54 = new MapLocation(x + 2, y + 1); + boolean canSense54 = rc.canSenseLocation(mloc54); + if (canSense54) { + RobotInfo r = rc.senseRobotAtLocation( mloc54); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy54 = true; + } + + boolean enemy55 = false; + MapLocation mloc55 = new MapLocation(x + 2, y + 2); + boolean canSense55 = rc.canSenseLocation(mloc55); + if (canSense55) { + RobotInfo r = rc.senseRobotAtLocation( mloc55); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy55 = true; + } + + boolean enemy56 = false; + MapLocation mloc56 = new MapLocation(x + 2, y + 3); + boolean canSense56 = rc.canSenseLocation(mloc56); + if (canSense56) { + RobotInfo r = rc.senseRobotAtLocation( mloc56); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy56 = true; + } + + + + boolean enemy60 = false; + MapLocation mloc60 = new MapLocation(x + 3, y + -3); + boolean canSense60 = rc.canSenseLocation(mloc60); + if (canSense60) { + RobotInfo r = rc.senseRobotAtLocation( mloc60); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy60 = true; + } + + boolean enemy61 = false; + MapLocation mloc61 = new MapLocation(x + 3, y + -2); + boolean canSense61 = rc.canSenseLocation(mloc61); + if (canSense61) { + RobotInfo r = rc.senseRobotAtLocation( mloc61); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy61 = true; + } + + boolean enemy62 = false; + MapLocation mloc62 = new MapLocation(x + 3, y + -1); + boolean canSense62 = rc.canSenseLocation(mloc62); + if (canSense62) { + RobotInfo r = rc.senseRobotAtLocation( mloc62); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy62 = true; + } + + boolean enemy63 = false; + MapLocation mloc63 = new MapLocation(x + 3, y + 0); + boolean canSense63 = rc.canSenseLocation(mloc63); + if (canSense63) { + RobotInfo r = rc.senseRobotAtLocation( mloc63); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy63 = true; + } + + boolean enemy64 = false; + MapLocation mloc64 = new MapLocation(x + 3, y + 1); + boolean canSense64 = rc.canSenseLocation(mloc64); + if (canSense64) { + RobotInfo r = rc.senseRobotAtLocation( mloc64); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy64 = true; + } + + boolean enemy65 = false; + MapLocation mloc65 = new MapLocation(x + 3, y + 2); + boolean canSense65 = rc.canSenseLocation(mloc65); + if (canSense65) { + RobotInfo r = rc.senseRobotAtLocation( mloc65); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy65 = true; + } + + boolean enemy66 = false; + MapLocation mloc66 = new MapLocation(x + 3, y + 3); + boolean canSense66 = rc.canSenseLocation(mloc66); + if (canSense66) { + RobotInfo r = rc.senseRobotAtLocation( mloc66); + if (r != null && r.team != rc.getTeam() && r.paintAmount != 0) + enemy66 = true; + } + + + + MapLocation bestLoc = null; + int count = 0, bestCount = -1; + + + + + + + if (canSense43) { + count = 0; + + + + + if (enemy42) ++count; + + + + if (enemy52) ++count; + + + + + + if (enemy43) ++count; + + + + if (enemy53) ++count; + + + + + + if (enemy44) ++count; + + + + if (enemy54) ++count; + + + if (count > bestCount) { + bestLoc = mloc43; + bestCount = count; + } + } + + + + + + if (canSense34) { + count = 0; + + + + + if (enemy44) ++count; + + + + if (enemy45) ++count; + + + + + + if (enemy34) ++count; + + + + if (enemy35) ++count; + + + + + + if (enemy24) ++count; + + + + if (enemy25) ++count; + + + if (count > bestCount) { + bestLoc = mloc34; + bestCount = count; + } + } + + + + + + if (canSense23) { + count = 0; + + + + + if (enemy24) ++count; + + + + if (enemy14) ++count; + + + + + + if (enemy23) ++count; + + + + if (enemy13) ++count; + + + + + + if (enemy22) ++count; + + + + if (enemy12) ++count; + + + if (count > bestCount) { + bestLoc = mloc23; + bestCount = count; + } + } + + + + + + if (canSense32) { + count = 0; + + + + + if (enemy22) ++count; + + + + if (enemy21) ++count; + + + + + + if (enemy32) ++count; + + + + if (enemy31) ++count; + + + + + + if (enemy42) ++count; + + + + if (enemy41) ++count; + + + if (count > bestCount) { + bestLoc = mloc32; + bestCount = count; + } + } + + + + rc.setIndicatorString("bestCount: " + bestCount + " " + bestLoc.x + " " + bestLoc.y); + if (bestCount >= 1) { + rc.mopSwing(myloc.directionTo(bestLoc)); + } + } + + /*------------------ CHOOSE BEST --------------------*//* ################## CHOOSE BEST #################### */ + + + /*------------------ ADD ALLY --------------------*//* ################## ADD ALLY #################### */ + + /*------------------ ADD ENEMY --------------------*/ + + /* ################## ADD ENEMY #################### */ + + /* TODO: Allow moving on enemy paint? */ + /*------------------ INIT TARGET --------------------*//* ################## INIT TARGET #################### */ + + /*------------------ COPY --------------------*/ + /* ################## COPY #################### */ + + public static void mopperAttackMicro() throws GameActionException { + mopperTryAttack(); + + mopperDesiredActionRadiusSquared = mopperActionRadiusSquared; + + SquareManager.computePaintPenalties(); + MapLocation myloc = rc.getLocation(); + MapLocation targetLoc_N = SquareManager.m23; + boolean canMove_N = (rc.canMove(Direction.NORTH)); + int penalty_N = SquareManager.penalty23; + double paintDmgAttackRange_N = 0; + double myPaintDmg_N = 0; + int minDistToEnemy_N = 100000; + boolean inTowerRadius_N = false; + + MapLocation targetLoc_NE = SquareManager.m33; + boolean canMove_NE = (rc.canMove(Direction.NORTHEAST)); + int penalty_NE = SquareManager.penalty33; + double paintDmgAttackRange_NE = 0; + double myPaintDmg_NE = 0; + int minDistToEnemy_NE = 100000; + boolean inTowerRadius_NE = false; + + MapLocation targetLoc_E = SquareManager.m32; + boolean canMove_E = (rc.canMove(Direction.EAST)); + int penalty_E = SquareManager.penalty32; + double paintDmgAttackRange_E = 0; + double myPaintDmg_E = 0; + int minDistToEnemy_E = 100000; + boolean inTowerRadius_E = false; + + MapLocation targetLoc_SE = SquareManager.m31; + boolean canMove_SE = (rc.canMove(Direction.SOUTHEAST)); + int penalty_SE = SquareManager.penalty31; + double paintDmgAttackRange_SE = 0; + double myPaintDmg_SE = 0; + int minDistToEnemy_SE = 100000; + boolean inTowerRadius_SE = false; + + MapLocation targetLoc_S = SquareManager.m21; + boolean canMove_S = (rc.canMove(Direction.SOUTH)); + int penalty_S = SquareManager.penalty21; + double paintDmgAttackRange_S = 0; + double myPaintDmg_S = 0; + int minDistToEnemy_S = 100000; + boolean inTowerRadius_S = false; + + MapLocation targetLoc_SW = SquareManager.m11; + boolean canMove_SW = (rc.canMove(Direction.SOUTHWEST)); + int penalty_SW = SquareManager.penalty11; + double paintDmgAttackRange_SW = 0; + double myPaintDmg_SW = 0; + int minDistToEnemy_SW = 100000; + boolean inTowerRadius_SW = false; + + MapLocation targetLoc_W = SquareManager.m12; + boolean canMove_W = (rc.canMove(Direction.WEST)); + int penalty_W = SquareManager.penalty12; + double paintDmgAttackRange_W = 0; + double myPaintDmg_W = 0; + int minDistToEnemy_W = 100000; + boolean inTowerRadius_W = false; + + MapLocation targetLoc_NW = SquareManager.m13; + boolean canMove_NW = (rc.canMove(Direction.NORTHWEST)); + int penalty_NW = SquareManager.penalty13; + double paintDmgAttackRange_NW = 0; + double myPaintDmg_NW = 0; + int minDistToEnemy_NW = 100000; + boolean inTowerRadius_NW = false; + + MapLocation targetLoc_C = SquareManager.m22; + boolean canMove_C = (true); + int penalty_C = SquareManager.penalty22; + double paintDmgAttackRange_C = 0; + double myPaintDmg_C = 0; + int minDistToEnemy_C = 100000; + boolean inTowerRadius_C = false; + + boolean shouldChase = true; + for (int i = Globals.enemies.length; --i >= 0; ) { + RobotInfo robot = Globals.enemies[i]; + switch (robot.type) { + case MOPPER -> shouldChase = false; + default -> {} + } + } + + boolean actionReady = rc.isActionReady() || shouldChase; + for (int i = Globals.friends.length; --i >= 0; ) { + RobotInfo robot = Globals.friends[i]; + addAllyN: {} + addAllyNE: {} + addAllyE: {} + addAllySE: {} + addAllyS: {} + addAllySW: {} + addAllyW: {} + addAllyNW: {} + addAllyC: {} + + } + + for (int i = Globals.enemies.length; --i >= 0; ) { + RobotInfo robot = Globals.enemies[i]; + + addEnemyN: { + if (!canMove_N) break addEnemyN; + int d = targetLoc_N.distanceSquaredTo(robot.location); + switch (robot.type) { + case SPLASHER: { + if (robot.paintAmount == 0 ) break addEnemyN; + if (actionReady && d <= mopperDesiredActionRadiusSquared) { + myPaintDmg_N = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_N) minDistToEnemy_N = d; + break addEnemyN; + } + case SOLDIER: { + if (robot.paintAmount == 0 ) break addEnemyN; + if (actionReady && d <= mopperDesiredActionRadiusSquared) { + myPaintDmg_N = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_N) minDistToEnemy_N = d; + break addEnemyN; + } + case MOPPER: { + if (robot.paintAmount == 0 ) break addEnemyN; + if (actionReady && d <= mopperMaxActionRadiusSquared) { + myPaintDmg_N = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + paintDmgAttackRange_N = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_N) minDistToEnemy_N = d; + break addEnemyN; + } + case LEVEL_ONE_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_N = true; + break addEnemyN; + } + case LEVEL_ONE_MONEY_TOWER: { + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) inTowerRadius_N = true; + break addEnemyN; + } + case LEVEL_ONE_PAINT_TOWER: { + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) inTowerRadius_N = true; + break addEnemyN; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_N = true; + break addEnemyN; + } + case LEVEL_THREE_MONEY_TOWER: { + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) inTowerRadius_N = true; + break addEnemyN; + } + case LEVEL_THREE_PAINT_TOWER: { + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) inTowerRadius_N = true; + break addEnemyN; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_N = true; + break addEnemyN; + } + case LEVEL_TWO_MONEY_TOWER: { + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) inTowerRadius_N = true; + break addEnemyN; + } + case LEVEL_TWO_PAINT_TOWER: { + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) inTowerRadius_N = true; + break addEnemyN; + } + + default: break addEnemyN; + } + } + + addEnemyNE: { + if (!canMove_NE) break addEnemyNE; + int d = targetLoc_NE.distanceSquaredTo(robot.location); + switch (robot.type) { + case SPLASHER: { + if (robot.paintAmount == 0 ) break addEnemyNE; + if (actionReady && d <= mopperDesiredActionRadiusSquared) { + myPaintDmg_NE = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_NE) minDistToEnemy_NE = d; + break addEnemyNE; + } + case SOLDIER: { + if (robot.paintAmount == 0 ) break addEnemyNE; + if (actionReady && d <= mopperDesiredActionRadiusSquared) { + myPaintDmg_NE = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_NE) minDistToEnemy_NE = d; + break addEnemyNE; + } + case MOPPER: { + if (robot.paintAmount == 0 ) break addEnemyNE; + if (actionReady && d <= mopperMaxActionRadiusSquared) { + myPaintDmg_NE = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + paintDmgAttackRange_NE = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_NE) minDistToEnemy_NE = d; + break addEnemyNE; + } + case LEVEL_ONE_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_NE = true; + break addEnemyNE; + } + case LEVEL_ONE_MONEY_TOWER: { + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) inTowerRadius_NE = true; + break addEnemyNE; + } + case LEVEL_ONE_PAINT_TOWER: { + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) inTowerRadius_NE = true; + break addEnemyNE; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_NE = true; + break addEnemyNE; + } + case LEVEL_THREE_MONEY_TOWER: { + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) inTowerRadius_NE = true; + break addEnemyNE; + } + case LEVEL_THREE_PAINT_TOWER: { + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) inTowerRadius_NE = true; + break addEnemyNE; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_NE = true; + break addEnemyNE; + } + case LEVEL_TWO_MONEY_TOWER: { + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) inTowerRadius_NE = true; + break addEnemyNE; + } + case LEVEL_TWO_PAINT_TOWER: { + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) inTowerRadius_NE = true; + break addEnemyNE; + } + + default: break addEnemyNE; + } + } + + addEnemyE: { + if (!canMove_E) break addEnemyE; + int d = targetLoc_E.distanceSquaredTo(robot.location); + switch (robot.type) { + case SPLASHER: { + if (robot.paintAmount == 0 ) break addEnemyE; + if (actionReady && d <= mopperDesiredActionRadiusSquared) { + myPaintDmg_E = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_E) minDistToEnemy_E = d; + break addEnemyE; + } + case SOLDIER: { + if (robot.paintAmount == 0 ) break addEnemyE; + if (actionReady && d <= mopperDesiredActionRadiusSquared) { + myPaintDmg_E = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_E) minDistToEnemy_E = d; + break addEnemyE; + } + case MOPPER: { + if (robot.paintAmount == 0 ) break addEnemyE; + if (actionReady && d <= mopperMaxActionRadiusSquared) { + myPaintDmg_E = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + paintDmgAttackRange_E = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_E) minDistToEnemy_E = d; + break addEnemyE; + } + case LEVEL_ONE_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_E = true; + break addEnemyE; + } + case LEVEL_ONE_MONEY_TOWER: { + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) inTowerRadius_E = true; + break addEnemyE; + } + case LEVEL_ONE_PAINT_TOWER: { + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) inTowerRadius_E = true; + break addEnemyE; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_E = true; + break addEnemyE; + } + case LEVEL_THREE_MONEY_TOWER: { + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) inTowerRadius_E = true; + break addEnemyE; + } + case LEVEL_THREE_PAINT_TOWER: { + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) inTowerRadius_E = true; + break addEnemyE; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_E = true; + break addEnemyE; + } + case LEVEL_TWO_MONEY_TOWER: { + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) inTowerRadius_E = true; + break addEnemyE; + } + case LEVEL_TWO_PAINT_TOWER: { + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) inTowerRadius_E = true; + break addEnemyE; + } + + default: break addEnemyE; + } + } + + addEnemySE: { + if (!canMove_SE) break addEnemySE; + int d = targetLoc_SE.distanceSquaredTo(robot.location); + switch (robot.type) { + case SPLASHER: { + if (robot.paintAmount == 0 ) break addEnemySE; + if (actionReady && d <= mopperDesiredActionRadiusSquared) { + myPaintDmg_SE = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_SE) minDistToEnemy_SE = d; + break addEnemySE; + } + case SOLDIER: { + if (robot.paintAmount == 0 ) break addEnemySE; + if (actionReady && d <= mopperDesiredActionRadiusSquared) { + myPaintDmg_SE = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_SE) minDistToEnemy_SE = d; + break addEnemySE; + } + case MOPPER: { + if (robot.paintAmount == 0 ) break addEnemySE; + if (actionReady && d <= mopperMaxActionRadiusSquared) { + myPaintDmg_SE = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + paintDmgAttackRange_SE = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_SE) minDistToEnemy_SE = d; + break addEnemySE; + } + case LEVEL_ONE_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_SE = true; + break addEnemySE; + } + case LEVEL_ONE_MONEY_TOWER: { + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) inTowerRadius_SE = true; + break addEnemySE; + } + case LEVEL_ONE_PAINT_TOWER: { + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) inTowerRadius_SE = true; + break addEnemySE; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_SE = true; + break addEnemySE; + } + case LEVEL_THREE_MONEY_TOWER: { + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) inTowerRadius_SE = true; + break addEnemySE; + } + case LEVEL_THREE_PAINT_TOWER: { + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) inTowerRadius_SE = true; + break addEnemySE; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_SE = true; + break addEnemySE; + } + case LEVEL_TWO_MONEY_TOWER: { + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) inTowerRadius_SE = true; + break addEnemySE; + } + case LEVEL_TWO_PAINT_TOWER: { + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) inTowerRadius_SE = true; + break addEnemySE; + } + + default: break addEnemySE; + } + } + + addEnemyS: { + if (!canMove_S) break addEnemyS; + int d = targetLoc_S.distanceSquaredTo(robot.location); + switch (robot.type) { + case SPLASHER: { + if (robot.paintAmount == 0 ) break addEnemyS; + if (actionReady && d <= mopperDesiredActionRadiusSquared) { + myPaintDmg_S = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_S) minDistToEnemy_S = d; + break addEnemyS; + } + case SOLDIER: { + if (robot.paintAmount == 0 ) break addEnemyS; + if (actionReady && d <= mopperDesiredActionRadiusSquared) { + myPaintDmg_S = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_S) minDistToEnemy_S = d; + break addEnemyS; + } + case MOPPER: { + if (robot.paintAmount == 0 ) break addEnemyS; + if (actionReady && d <= mopperMaxActionRadiusSquared) { + myPaintDmg_S = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + paintDmgAttackRange_S = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_S) minDistToEnemy_S = d; + break addEnemyS; + } + case LEVEL_ONE_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_S = true; + break addEnemyS; + } + case LEVEL_ONE_MONEY_TOWER: { + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) inTowerRadius_S = true; + break addEnemyS; + } + case LEVEL_ONE_PAINT_TOWER: { + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) inTowerRadius_S = true; + break addEnemyS; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_S = true; + break addEnemyS; + } + case LEVEL_THREE_MONEY_TOWER: { + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) inTowerRadius_S = true; + break addEnemyS; + } + case LEVEL_THREE_PAINT_TOWER: { + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) inTowerRadius_S = true; + break addEnemyS; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_S = true; + break addEnemyS; + } + case LEVEL_TWO_MONEY_TOWER: { + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) inTowerRadius_S = true; + break addEnemyS; + } + case LEVEL_TWO_PAINT_TOWER: { + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) inTowerRadius_S = true; + break addEnemyS; + } + + default: break addEnemyS; + } + } + + addEnemySW: { + if (!canMove_SW) break addEnemySW; + int d = targetLoc_SW.distanceSquaredTo(robot.location); + switch (robot.type) { + case SPLASHER: { + if (robot.paintAmount == 0 ) break addEnemySW; + if (actionReady && d <= mopperDesiredActionRadiusSquared) { + myPaintDmg_SW = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_SW) minDistToEnemy_SW = d; + break addEnemySW; + } + case SOLDIER: { + if (robot.paintAmount == 0 ) break addEnemySW; + if (actionReady && d <= mopperDesiredActionRadiusSquared) { + myPaintDmg_SW = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_SW) minDistToEnemy_SW = d; + break addEnemySW; + } + case MOPPER: { + if (robot.paintAmount == 0 ) break addEnemySW; + if (actionReady && d <= mopperMaxActionRadiusSquared) { + myPaintDmg_SW = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + paintDmgAttackRange_SW = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_SW) minDistToEnemy_SW = d; + break addEnemySW; + } + case LEVEL_ONE_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_SW = true; + break addEnemySW; + } + case LEVEL_ONE_MONEY_TOWER: { + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) inTowerRadius_SW = true; + break addEnemySW; + } + case LEVEL_ONE_PAINT_TOWER: { + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) inTowerRadius_SW = true; + break addEnemySW; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_SW = true; + break addEnemySW; + } + case LEVEL_THREE_MONEY_TOWER: { + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) inTowerRadius_SW = true; + break addEnemySW; + } + case LEVEL_THREE_PAINT_TOWER: { + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) inTowerRadius_SW = true; + break addEnemySW; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_SW = true; + break addEnemySW; + } + case LEVEL_TWO_MONEY_TOWER: { + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) inTowerRadius_SW = true; + break addEnemySW; + } + case LEVEL_TWO_PAINT_TOWER: { + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) inTowerRadius_SW = true; + break addEnemySW; + } + + default: break addEnemySW; + } + } + + addEnemyW: { + if (!canMove_W) break addEnemyW; + int d = targetLoc_W.distanceSquaredTo(robot.location); + switch (robot.type) { + case SPLASHER: { + if (robot.paintAmount == 0 ) break addEnemyW; + if (actionReady && d <= mopperDesiredActionRadiusSquared) { + myPaintDmg_W = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_W) minDistToEnemy_W = d; + break addEnemyW; + } + case SOLDIER: { + if (robot.paintAmount == 0 ) break addEnemyW; + if (actionReady && d <= mopperDesiredActionRadiusSquared) { + myPaintDmg_W = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_W) minDistToEnemy_W = d; + break addEnemyW; + } + case MOPPER: { + if (robot.paintAmount == 0 ) break addEnemyW; + if (actionReady && d <= mopperMaxActionRadiusSquared) { + myPaintDmg_W = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + paintDmgAttackRange_W = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_W) minDistToEnemy_W = d; + break addEnemyW; + } + case LEVEL_ONE_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_W = true; + break addEnemyW; + } + case LEVEL_ONE_MONEY_TOWER: { + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) inTowerRadius_W = true; + break addEnemyW; + } + case LEVEL_ONE_PAINT_TOWER: { + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) inTowerRadius_W = true; + break addEnemyW; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_W = true; + break addEnemyW; + } + case LEVEL_THREE_MONEY_TOWER: { + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) inTowerRadius_W = true; + break addEnemyW; + } + case LEVEL_THREE_PAINT_TOWER: { + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) inTowerRadius_W = true; + break addEnemyW; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_W = true; + break addEnemyW; + } + case LEVEL_TWO_MONEY_TOWER: { + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) inTowerRadius_W = true; + break addEnemyW; + } + case LEVEL_TWO_PAINT_TOWER: { + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) inTowerRadius_W = true; + break addEnemyW; + } + + default: break addEnemyW; + } + } + + addEnemyNW: { + if (!canMove_NW) break addEnemyNW; + int d = targetLoc_NW.distanceSquaredTo(robot.location); + switch (robot.type) { + case SPLASHER: { + if (robot.paintAmount == 0 ) break addEnemyNW; + if (actionReady && d <= mopperDesiredActionRadiusSquared) { + myPaintDmg_NW = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_NW) minDistToEnemy_NW = d; + break addEnemyNW; + } + case SOLDIER: { + if (robot.paintAmount == 0 ) break addEnemyNW; + if (actionReady && d <= mopperDesiredActionRadiusSquared) { + myPaintDmg_NW = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_NW) minDistToEnemy_NW = d; + break addEnemyNW; + } + case MOPPER: { + if (robot.paintAmount == 0 ) break addEnemyNW; + if (actionReady && d <= mopperMaxActionRadiusSquared) { + myPaintDmg_NW = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + paintDmgAttackRange_NW = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_NW) minDistToEnemy_NW = d; + break addEnemyNW; + } + case LEVEL_ONE_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_NW = true; + break addEnemyNW; + } + case LEVEL_ONE_MONEY_TOWER: { + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) inTowerRadius_NW = true; + break addEnemyNW; + } + case LEVEL_ONE_PAINT_TOWER: { + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) inTowerRadius_NW = true; + break addEnemyNW; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_NW = true; + break addEnemyNW; + } + case LEVEL_THREE_MONEY_TOWER: { + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) inTowerRadius_NW = true; + break addEnemyNW; + } + case LEVEL_THREE_PAINT_TOWER: { + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) inTowerRadius_NW = true; + break addEnemyNW; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_NW = true; + break addEnemyNW; + } + case LEVEL_TWO_MONEY_TOWER: { + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) inTowerRadius_NW = true; + break addEnemyNW; + } + case LEVEL_TWO_PAINT_TOWER: { + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) inTowerRadius_NW = true; + break addEnemyNW; + } + + default: break addEnemyNW; + } + } + + addEnemyC: { + if (!canMove_C) break addEnemyC; + int d = targetLoc_C.distanceSquaredTo(robot.location); + switch (robot.type) { + case SPLASHER: { + if (robot.paintAmount == 0 ) break addEnemyC; + if (actionReady && d <= mopperDesiredActionRadiusSquared) { + myPaintDmg_C = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_C) minDistToEnemy_C = d; + break addEnemyC; + } + case SOLDIER: { + if (robot.paintAmount == 0 ) break addEnemyC; + if (actionReady && d <= mopperDesiredActionRadiusSquared) { + myPaintDmg_C = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_C) minDistToEnemy_C = d; + break addEnemyC; + } + case MOPPER: { + if (robot.paintAmount == 0 ) break addEnemyC; + if (actionReady && d <= mopperMaxActionRadiusSquared) { + myPaintDmg_C = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + paintDmgAttackRange_C = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } + if (d < minDistToEnemy_C) minDistToEnemy_C = d; + break addEnemyC; + } + case LEVEL_ONE_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_ONE_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_C = true; + break addEnemyC; + } + case LEVEL_ONE_MONEY_TOWER: { + if (d <= UnitType.LEVEL_ONE_MONEY_TOWER.actionRadiusSquared) inTowerRadius_C = true; + break addEnemyC; + } + case LEVEL_ONE_PAINT_TOWER: { + if (d <= UnitType.LEVEL_ONE_PAINT_TOWER.actionRadiusSquared) inTowerRadius_C = true; + break addEnemyC; + } + case LEVEL_THREE_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_THREE_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_C = true; + break addEnemyC; + } + case LEVEL_THREE_MONEY_TOWER: { + if (d <= UnitType.LEVEL_THREE_MONEY_TOWER.actionRadiusSquared) inTowerRadius_C = true; + break addEnemyC; + } + case LEVEL_THREE_PAINT_TOWER: { + if (d <= UnitType.LEVEL_THREE_PAINT_TOWER.actionRadiusSquared) inTowerRadius_C = true; + break addEnemyC; + } + case LEVEL_TWO_DEFENSE_TOWER: { + if (d <= UnitType.LEVEL_TWO_DEFENSE_TOWER.actionRadiusSquared) inTowerRadius_C = true; + break addEnemyC; + } + case LEVEL_TWO_MONEY_TOWER: { + if (d <= UnitType.LEVEL_TWO_MONEY_TOWER.actionRadiusSquared) inTowerRadius_C = true; + break addEnemyC; + } + case LEVEL_TWO_PAINT_TOWER: { + if (d <= UnitType.LEVEL_TWO_PAINT_TOWER.actionRadiusSquared) inTowerRadius_C = true; + break addEnemyC; + } + + default: break addEnemyC; + } + } + + } + + + + boolean bestWins = false; + Direction bestDir = Direction.NORTH; + MapLocation targetLoc_best = SquareManager.m23; + boolean canMove_best = (rc.canMove(Direction.NORTH)); + int penalty_best = SquareManager.penalty23; + double paintDmgAttackRange_best = 0; + double myPaintDmg_best = 0; + int minDistToEnemy_best = 100000; + boolean inTowerRadius_best = false; + + targetLoc_best = targetLoc_N; + canMove_best = canMove_N; + paintDmgAttackRange_best = paintDmgAttackRange_N; + myPaintDmg_best = myPaintDmg_N; + minDistToEnemy_best = minDistToEnemy_N; + penalty_best = penalty_N; + inTowerRadius_best = inTowerRadius_N; + + + bestWins = canMove_best; + chooseBestNE: { + if (!canMove_NE || !canMove_best) break chooseBestNE; + if (inTowerRadius_best != inTowerRadius_NE) { + bestWins = !inTowerRadius_best; + break chooseBestNE; + } + + double bestPaintDmgDiff = paintDmgAttackRange_best - myPaintDmg_best; + double otherPaintDmgDiff = paintDmgAttackRange_NE - myPaintDmg_NE; + if (bestPaintDmgDiff != otherPaintDmgDiff) { + bestWins = (bestPaintDmgDiff < otherPaintDmgDiff); + break chooseBestNE; + } + + if (penalty_best != penalty_NE) { + bestWins = penalty_best < penalty_NE; + break chooseBestNE; + } + + bestWins = (minDistToEnemy_best <= minDistToEnemy_NE); + break chooseBestNE; + } + + + if (!bestWins) { + targetLoc_best = targetLoc_NE; + canMove_best = canMove_NE; + paintDmgAttackRange_best = paintDmgAttackRange_NE; + myPaintDmg_best = myPaintDmg_NE; + minDistToEnemy_best = minDistToEnemy_NE; + penalty_best = penalty_NE; + inTowerRadius_best = inTowerRadius_NE; + bestDir = Direction.NORTHEAST; + } + + + bestWins = canMove_best; + chooseBestE: { + if (!canMove_E || !canMove_best) break chooseBestE; + if (inTowerRadius_best != inTowerRadius_E) { + bestWins = !inTowerRadius_best; + break chooseBestE; + } + + double bestPaintDmgDiff = paintDmgAttackRange_best - myPaintDmg_best; + double otherPaintDmgDiff = paintDmgAttackRange_E - myPaintDmg_E; + if (bestPaintDmgDiff != otherPaintDmgDiff) { + bestWins = (bestPaintDmgDiff < otherPaintDmgDiff); + break chooseBestE; + } + + if (penalty_best != penalty_E) { + bestWins = penalty_best < penalty_E; + break chooseBestE; + } + + bestWins = (minDistToEnemy_best <= minDistToEnemy_E); + break chooseBestE; + } + + + if (!bestWins) { + targetLoc_best = targetLoc_E; + canMove_best = canMove_E; + paintDmgAttackRange_best = paintDmgAttackRange_E; + myPaintDmg_best = myPaintDmg_E; + minDistToEnemy_best = minDistToEnemy_E; + penalty_best = penalty_E; + inTowerRadius_best = inTowerRadius_E; + bestDir = Direction.EAST; + } + + + bestWins = canMove_best; + chooseBestSE: { + if (!canMove_SE || !canMove_best) break chooseBestSE; + if (inTowerRadius_best != inTowerRadius_SE) { + bestWins = !inTowerRadius_best; + break chooseBestSE; + } + + double bestPaintDmgDiff = paintDmgAttackRange_best - myPaintDmg_best; + double otherPaintDmgDiff = paintDmgAttackRange_SE - myPaintDmg_SE; + if (bestPaintDmgDiff != otherPaintDmgDiff) { + bestWins = (bestPaintDmgDiff < otherPaintDmgDiff); + break chooseBestSE; + } + + if (penalty_best != penalty_SE) { + bestWins = penalty_best < penalty_SE; + break chooseBestSE; + } + + bestWins = (minDistToEnemy_best <= minDistToEnemy_SE); + break chooseBestSE; + } + + + if (!bestWins) { + targetLoc_best = targetLoc_SE; + canMove_best = canMove_SE; + paintDmgAttackRange_best = paintDmgAttackRange_SE; + myPaintDmg_best = myPaintDmg_SE; + minDistToEnemy_best = minDistToEnemy_SE; + penalty_best = penalty_SE; + inTowerRadius_best = inTowerRadius_SE; + bestDir = Direction.SOUTHEAST; + } + + + bestWins = canMove_best; + chooseBestS: { + if (!canMove_S || !canMove_best) break chooseBestS; + if (inTowerRadius_best != inTowerRadius_S) { + bestWins = !inTowerRadius_best; + break chooseBestS; + } + + double bestPaintDmgDiff = paintDmgAttackRange_best - myPaintDmg_best; + double otherPaintDmgDiff = paintDmgAttackRange_S - myPaintDmg_S; + if (bestPaintDmgDiff != otherPaintDmgDiff) { + bestWins = (bestPaintDmgDiff < otherPaintDmgDiff); + break chooseBestS; + } + + if (penalty_best != penalty_S) { + bestWins = penalty_best < penalty_S; + break chooseBestS; + } + + bestWins = (minDistToEnemy_best <= minDistToEnemy_S); + break chooseBestS; + } + + + if (!bestWins) { + targetLoc_best = targetLoc_S; + canMove_best = canMove_S; + paintDmgAttackRange_best = paintDmgAttackRange_S; + myPaintDmg_best = myPaintDmg_S; + minDistToEnemy_best = minDistToEnemy_S; + penalty_best = penalty_S; + inTowerRadius_best = inTowerRadius_S; + bestDir = Direction.SOUTH; + } + + + bestWins = canMove_best; + chooseBestSW: { + if (!canMove_SW || !canMove_best) break chooseBestSW; + if (inTowerRadius_best != inTowerRadius_SW) { + bestWins = !inTowerRadius_best; + break chooseBestSW; + } + + double bestPaintDmgDiff = paintDmgAttackRange_best - myPaintDmg_best; + double otherPaintDmgDiff = paintDmgAttackRange_SW - myPaintDmg_SW; + if (bestPaintDmgDiff != otherPaintDmgDiff) { + bestWins = (bestPaintDmgDiff < otherPaintDmgDiff); + break chooseBestSW; + } + + if (penalty_best != penalty_SW) { + bestWins = penalty_best < penalty_SW; + break chooseBestSW; + } + + bestWins = (minDistToEnemy_best <= minDistToEnemy_SW); + break chooseBestSW; + } + + + if (!bestWins) { + targetLoc_best = targetLoc_SW; + canMove_best = canMove_SW; + paintDmgAttackRange_best = paintDmgAttackRange_SW; + myPaintDmg_best = myPaintDmg_SW; + minDistToEnemy_best = minDistToEnemy_SW; + penalty_best = penalty_SW; + inTowerRadius_best = inTowerRadius_SW; + bestDir = Direction.SOUTHWEST; + } + + + bestWins = canMove_best; + chooseBestW: { + if (!canMove_W || !canMove_best) break chooseBestW; + if (inTowerRadius_best != inTowerRadius_W) { + bestWins = !inTowerRadius_best; + break chooseBestW; + } + + double bestPaintDmgDiff = paintDmgAttackRange_best - myPaintDmg_best; + double otherPaintDmgDiff = paintDmgAttackRange_W - myPaintDmg_W; + if (bestPaintDmgDiff != otherPaintDmgDiff) { + bestWins = (bestPaintDmgDiff < otherPaintDmgDiff); + break chooseBestW; + } + + if (penalty_best != penalty_W) { + bestWins = penalty_best < penalty_W; + break chooseBestW; + } + + bestWins = (minDistToEnemy_best <= minDistToEnemy_W); + break chooseBestW; + } + + + if (!bestWins) { + targetLoc_best = targetLoc_W; + canMove_best = canMove_W; + paintDmgAttackRange_best = paintDmgAttackRange_W; + myPaintDmg_best = myPaintDmg_W; + minDistToEnemy_best = minDistToEnemy_W; + penalty_best = penalty_W; + inTowerRadius_best = inTowerRadius_W; + bestDir = Direction.WEST; + } + + + bestWins = canMove_best; + chooseBestNW: { + if (!canMove_NW || !canMove_best) break chooseBestNW; + if (inTowerRadius_best != inTowerRadius_NW) { + bestWins = !inTowerRadius_best; + break chooseBestNW; + } + + double bestPaintDmgDiff = paintDmgAttackRange_best - myPaintDmg_best; + double otherPaintDmgDiff = paintDmgAttackRange_NW - myPaintDmg_NW; + if (bestPaintDmgDiff != otherPaintDmgDiff) { + bestWins = (bestPaintDmgDiff < otherPaintDmgDiff); + break chooseBestNW; + } + + if (penalty_best != penalty_NW) { + bestWins = penalty_best < penalty_NW; + break chooseBestNW; + } + + bestWins = (minDistToEnemy_best <= minDistToEnemy_NW); + break chooseBestNW; + } + + + if (!bestWins) { + targetLoc_best = targetLoc_NW; + canMove_best = canMove_NW; + paintDmgAttackRange_best = paintDmgAttackRange_NW; + myPaintDmg_best = myPaintDmg_NW; + minDistToEnemy_best = minDistToEnemy_NW; + penalty_best = penalty_NW; + inTowerRadius_best = inTowerRadius_NW; + bestDir = Direction.NORTHWEST; + } + + + bestWins = canMove_best; + chooseBestC: { + if (!canMove_C || !canMove_best) break chooseBestC; + if (inTowerRadius_best != inTowerRadius_C) { + bestWins = !inTowerRadius_best; + break chooseBestC; + } + + double bestPaintDmgDiff = paintDmgAttackRange_best - myPaintDmg_best; + double otherPaintDmgDiff = paintDmgAttackRange_C - myPaintDmg_C; + if (bestPaintDmgDiff != otherPaintDmgDiff) { + bestWins = (bestPaintDmgDiff < otherPaintDmgDiff); + break chooseBestC; + } + + if (penalty_best != penalty_C) { + bestWins = penalty_best < penalty_C; + break chooseBestC; + } + + bestWins = (minDistToEnemy_best <= minDistToEnemy_C); + break chooseBestC; + } + + + if (!bestWins) { + targetLoc_best = targetLoc_C; + canMove_best = canMove_C; + paintDmgAttackRange_best = paintDmgAttackRange_C; + myPaintDmg_best = myPaintDmg_C; + minDistToEnemy_best = minDistToEnemy_C; + penalty_best = penalty_C; + inTowerRadius_best = inTowerRadius_C; + bestDir = Direction.CENTER; + } + + + + + + if (rc.canMove(bestDir)) { + rc.move(bestDir); + } + mopperTryAttack(); + } + + +} \ No newline at end of file diff --git a/java/src/moreMoppers/Pathing.java b/java/src/moreMoppers/Pathing.java new file mode 100644 index 0000000..421a0ba --- /dev/null +++ b/java/src/moreMoppers/Pathing.java @@ -0,0 +1,10958 @@ +package moreMoppers; +import battlecode.common.*; + +public class Pathing { + public static RobotController rc; + public static void init(RobotController rc) { + Pathing.rc = rc; + resetPathing(null); + } + + + + + + + + + public static MapLocation myloc; + public static int bestBugDist = 100000000; + public static boolean shouldBug = false; + public static boolean doneSimulating = false; + public static MapLocation currentTarget = null; + + public static int pathLength = 0; + + public static MapLocation bugPath0 = null; + + public static MapLocation bugPath1 = null; + + public static MapLocation bugPath2 = null; + + public static MapLocation bugPath3 = null; + + public static MapLocation bugPath4 = null; + + public static MapLocation bugPath5 = null; + + public static MapLocation bugPath6 = null; + + public static MapLocation bugPath7 = null; + + public static MapLocation bugPath8 = null; + + public static MapLocation bugPath9 = null; + + public static MapLocation bugPath10 = null; + + public static MapLocation bugPath11 = null; + + public static MapLocation bugPath12 = null; + + public static MapLocation bugPath13 = null; + + public static MapLocation bugPath14 = null; + + public static MapLocation bugPath15 = null; + + public static MapLocation bugPath16 = null; + + public static MapLocation bugPath17 = null; + + public static MapLocation bugPath18 = null; + + public static MapLocation bugPath19 = null; + + public static MapLocation bugPath20 = null; + + public static MapLocation bugPath21 = null; + + public static MapLocation bugPath22 = null; + + public static MapLocation bugPath23 = null; + + public static MapLocation bugPath24 = null; + + public static MapLocation bugPath25 = null; + + public static MapLocation bugPath26 = null; + + public static MapLocation bugPath27 = null; + + public static MapLocation bugPath28 = null; + + public static MapLocation bugPath29 = null; + + public static MapLocation bugPath30 = null; + + public static MapLocation bugPath31 = null; + + public static MapLocation bugPath32 = null; + + public static MapLocation bugPath33 = null; + + public static MapLocation bugPath34 = null; + + public static MapLocation bugPath35 = null; + + public static MapLocation bugPath36 = null; + + public static MapLocation bugPath37 = null; + + public static MapLocation bugPath38 = null; + + public static MapLocation bugPath39 = null; + + public static MapLocation bugPath40 = null; + + public static MapLocation bugPath41 = null; + + public static MapLocation bugPath42 = null; + + public static MapLocation bugPath43 = null; + + public static MapLocation bugPath44 = null; + + public static MapLocation bugPath45 = null; + + public static MapLocation bugPath46 = null; + + public static MapLocation bugPath47 = null; + + public static MapLocation bugPath48 = null; + + public static MapLocation bugPath49 = null; + + public static MapLocation bugPath50 = null; + + public static MapLocation bugPath51 = null; + + public static MapLocation bugPath52 = null; + + public static MapLocation bugPath53 = null; + + public static MapLocation bugPath54 = null; + + public static MapLocation bugPath55 = null; + + public static MapLocation bugPath56 = null; + + public static MapLocation bugPath57 = null; + + public static MapLocation bugPath58 = null; + + public static MapLocation bugPath59 = null; + + public static MapLocation bugPath60 = null; + + public static MapLocation bugPath61 = null; + + public static MapLocation bugPath62 = null; + + public static MapLocation bugPath63 = null; + + public static MapLocation bugPath64 = null; + + public static MapLocation bugPath65 = null; + + public static MapLocation bugPath66 = null; + + public static MapLocation bugPath67 = null; + + public static MapLocation bugPath68 = null; + + public static MapLocation bugPath69 = null; + + public static MapLocation bugPath70 = null; + + public static MapLocation bugPath71 = null; + + public static MapLocation bugPath72 = null; + + public static MapLocation bugPath73 = null; + + public static MapLocation bugPath74 = null; + + public static MapLocation bugPath75 = null; + + public static MapLocation bugPath76 = null; + + public static MapLocation bugPath77 = null; + + public static MapLocation bugPath78 = null; + + public static MapLocation bugPath79 = null; + + public static MapLocation bugPath80 = null; + + public static MapLocation bugPath81 = null; + + public static MapLocation bugPath82 = null; + + public static MapLocation bugPath83 = null; + + public static MapLocation bugPath84 = null; + + public static MapLocation bugPath85 = null; + + public static MapLocation bugPath86 = null; + + public static MapLocation bugPath87 = null; + + public static MapLocation bugPath88 = null; + + public static MapLocation bugPath89 = null; + + public static MapLocation bugPath90 = null; + + public static MapLocation bugPath91 = null; + + public static MapLocation bugPath92 = null; + + public static MapLocation bugPath93 = null; + + public static MapLocation bugPath94 = null; + + public static MapLocation bugPath95 = null; + + public static MapLocation bugPath96 = null; + + public static MapLocation bugPath97 = null; + + public static MapLocation bugPath98 = null; + + public static MapLocation bugPath99 = null; + + public static MapLocation bugPath100 = null; + + public static MapLocation bugPath101 = null; + + public static MapLocation bugPath102 = null; + + public static MapLocation bugPath103 = null; + + public static MapLocation bugPath104 = null; + + public static MapLocation bugPath105 = null; + + public static MapLocation bugPath106 = null; + + public static MapLocation bugPath107 = null; + + public static MapLocation bugPath108 = null; + + public static MapLocation bugPath109 = null; + + public static MapLocation bugPath110 = null; + + public static MapLocation bugPath111 = null; + + public static MapLocation bugPath112 = null; + + public static MapLocation bugPath113 = null; + + public static MapLocation bugPath114 = null; + + public static MapLocation bugPath115 = null; + + public static MapLocation bugPath116 = null; + + public static MapLocation bugPath117 = null; + + public static MapLocation bugPath118 = null; + + public static MapLocation bugPath119 = null; + + public static MapLocation bugPath120 = null; + + public static MapLocation bugPath121 = null; + + public static MapLocation bugPath122 = null; + + public static MapLocation bugPath123 = null; + + public static MapLocation bugPath124 = null; + + public static MapLocation bugPath125 = null; + + public static MapLocation bugPath126 = null; + + public static MapLocation bugPath127 = null; + + public static MapLocation bugPath128 = null; + + public static MapLocation bugPath129 = null; + + public static MapLocation bugPath130 = null; + + public static MapLocation bugPath131 = null; + + public static MapLocation bugPath132 = null; + + public static MapLocation bugPath133 = null; + + public static MapLocation bugPath134 = null; + + public static MapLocation bugPath135 = null; + + public static MapLocation bugPath136 = null; + + public static MapLocation bugPath137 = null; + + public static MapLocation bugPath138 = null; + + public static MapLocation bugPath139 = null; + + public static MapLocation bugPath140 = null; + + public static MapLocation bugPath141 = null; + + public static MapLocation bugPath142 = null; + + public static MapLocation bugPath143 = null; + + public static MapLocation bugPath144 = null; + + public static MapLocation bugPath145 = null; + + public static MapLocation bugPath146 = null; + + public static MapLocation bugPath147 = null; + + public static MapLocation bugPath148 = null; + + public static MapLocation bugPath149 = null; + + public static MapLocation bugPath150 = null; + + public static MapLocation bugPath151 = null; + + public static MapLocation bugPath152 = null; + + public static MapLocation bugPath153 = null; + + public static MapLocation bugPath154 = null; + + public static MapLocation bugPath155 = null; + + public static MapLocation bugPath156 = null; + + public static MapLocation bugPath157 = null; + + public static MapLocation bugPath158 = null; + + public static MapLocation bugPath159 = null; + + public static MapLocation bugPath160 = null; + + public static MapLocation bugPath161 = null; + + public static MapLocation bugPath162 = null; + + public static MapLocation bugPath163 = null; + + public static MapLocation bugPath164 = null; + + public static MapLocation bugPath165 = null; + + public static MapLocation bugPath166 = null; + + public static MapLocation bugPath167 = null; + + public static MapLocation bugPath168 = null; + + public static MapLocation bugPath169 = null; + + public static MapLocation bugPath170 = null; + + public static MapLocation bugPath171 = null; + + public static MapLocation bugPath172 = null; + + public static MapLocation bugPath173 = null; + + public static MapLocation bugPath174 = null; + + public static MapLocation bugPath175 = null; + + public static MapLocation bugPath176 = null; + + public static MapLocation bugPath177 = null; + + public static MapLocation bugPath178 = null; + + public static MapLocation bugPath179 = null; + + public static MapLocation bugPath180 = null; + + public static MapLocation bugPath181 = null; + + public static MapLocation bugPath182 = null; + + public static MapLocation bugPath183 = null; + + public static MapLocation bugPath184 = null; + + public static MapLocation bugPath185 = null; + + public static MapLocation bugPath186 = null; + + public static MapLocation bugPath187 = null; + + public static MapLocation bugPath188 = null; + + public static MapLocation bugPath189 = null; + + public static MapLocation bugPath190 = null; + + public static MapLocation bugPath191 = null; + + public static MapLocation bugPath192 = null; + + public static MapLocation bugPath193 = null; + + public static MapLocation bugPath194 = null; + + public static MapLocation bugPath195 = null; + + public static MapLocation bugPath196 = null; + + public static MapLocation bugPath197 = null; + + public static MapLocation bugPath198 = null; + + public static MapLocation bugPath199 = null; + + public static MapLocation bugPath200 = null; + + public static MapLocation bugPath201 = null; + + public static MapLocation bugPath202 = null; + + public static MapLocation bugPath203 = null; + + public static MapLocation bugPath204 = null; + + public static MapLocation bugPath205 = null; + + public static MapLocation bugPath206 = null; + + public static MapLocation bugPath207 = null; + + public static MapLocation bugPath208 = null; + + public static MapLocation bugPath209 = null; + + public static MapLocation bugPath210 = null; + + public static MapLocation bugPath211 = null; + + public static MapLocation bugPath212 = null; + + public static MapLocation bugPath213 = null; + + public static MapLocation bugPath214 = null; + + public static MapLocation bugPath215 = null; + + public static MapLocation bugPath216 = null; + + public static MapLocation bugPath217 = null; + + public static MapLocation bugPath218 = null; + + public static MapLocation bugPath219 = null; + + public static MapLocation bugPath220 = null; + + public static MapLocation bugPath221 = null; + + public static MapLocation bugPath222 = null; + + public static MapLocation bugPath223 = null; + + public static MapLocation bugPath224 = null; + + public static MapLocation bugPath225 = null; + + public static MapLocation bugPath226 = null; + + public static MapLocation bugPath227 = null; + + public static MapLocation bugPath228 = null; + + public static MapLocation bugPath229 = null; + + public static MapLocation bugPath230 = null; + + public static MapLocation bugPath231 = null; + + public static MapLocation bugPath232 = null; + + public static MapLocation bugPath233 = null; + + public static MapLocation bugPath234 = null; + + public static MapLocation bugPath235 = null; + + public static MapLocation bugPath236 = null; + + public static MapLocation bugPath237 = null; + + public static MapLocation bugPath238 = null; + + public static MapLocation bugPath239 = null; + + public static MapLocation bugPath240 = null; + + public static MapLocation bugPath241 = null; + + public static MapLocation bugPath242 = null; + + public static MapLocation bugPath243 = null; + + public static MapLocation bugPath244 = null; + + public static MapLocation bugPath245 = null; + + public static MapLocation bugPath246 = null; + + public static MapLocation bugPath247 = null; + + public static MapLocation bugPath248 = null; + + public static MapLocation bugPath249 = null; + + public static MapLocation bugPath250 = null; + + public static MapLocation bugPath251 = null; + + public static MapLocation bugPath252 = null; + + public static MapLocation bugPath253 = null; + + public static MapLocation bugPath254 = null; + + public static MapLocation bugPath255 = null; + + public static MapLocation bugPath256 = null; + + public static MapLocation bugPath257 = null; + + public static MapLocation bugPath258 = null; + + public static MapLocation bugPath259 = null; + + public static MapLocation bugPath260 = null; + + public static MapLocation bugPath261 = null; + + public static MapLocation bugPath262 = null; + + public static MapLocation bugPath263 = null; + + public static MapLocation bugPath264 = null; + + public static MapLocation bugPath265 = null; + + public static MapLocation bugPath266 = null; + + public static MapLocation bugPath267 = null; + + public static MapLocation bugPath268 = null; + + public static MapLocation bugPath269 = null; + + public static MapLocation bugPath270 = null; + + public static MapLocation bugPath271 = null; + + public static MapLocation bugPath272 = null; + + public static MapLocation bugPath273 = null; + + public static MapLocation bugPath274 = null; + + public static MapLocation bugPath275 = null; + + public static MapLocation bugPath276 = null; + + public static MapLocation bugPath277 = null; + + public static MapLocation bugPath278 = null; + + public static MapLocation bugPath279 = null; + + public static MapLocation bugPath280 = null; + + public static MapLocation bugPath281 = null; + + public static MapLocation bugPath282 = null; + + public static MapLocation bugPath283 = null; + + public static MapLocation bugPath284 = null; + + public static MapLocation bugPath285 = null; + + public static MapLocation bugPath286 = null; + + public static MapLocation bugPath287 = null; + + public static MapLocation bugPath288 = null; + + public static MapLocation bugPath289 = null; + + public static MapLocation bugPath290 = null; + + public static MapLocation bugPath291 = null; + + public static MapLocation bugPath292 = null; + + public static MapLocation bugPath293 = null; + + public static MapLocation bugPath294 = null; + + public static MapLocation bugPath295 = null; + + public static MapLocation bugPath296 = null; + + public static MapLocation bugPath297 = null; + + public static MapLocation bugPath298 = null; + + public static MapLocation bugPath299 = null; + + public static MapLocation bugPath300 = null; + + public static MapLocation bugPath301 = null; + + public static MapLocation bugPath302 = null; + + public static MapLocation bugPath303 = null; + + public static MapLocation bugPath304 = null; + + public static MapLocation bugPath305 = null; + + public static MapLocation bugPath306 = null; + + public static MapLocation bugPath307 = null; + + public static MapLocation bugPath308 = null; + + public static MapLocation bugPath309 = null; + + public static MapLocation bugPath310 = null; + + public static MapLocation bugPath311 = null; + + public static MapLocation bugPath312 = null; + + public static MapLocation bugPath313 = null; + + public static MapLocation bugPath314 = null; + + public static MapLocation bugPath315 = null; + + public static MapLocation bugPath316 = null; + + public static MapLocation bugPath317 = null; + + public static MapLocation bugPath318 = null; + + public static MapLocation bugPath319 = null; + + public static MapLocation bugPath320 = null; + + public static MapLocation bugPath321 = null; + + public static MapLocation bugPath322 = null; + + public static MapLocation bugPath323 = null; + + public static MapLocation bugPath324 = null; + + public static MapLocation bugPath325 = null; + + public static MapLocation bugPath326 = null; + + public static MapLocation bugPath327 = null; + + public static MapLocation bugPath328 = null; + + public static MapLocation bugPath329 = null; + + public static MapLocation bugPath330 = null; + + public static MapLocation bugPath331 = null; + + public static MapLocation bugPath332 = null; + + public static MapLocation bugPath333 = null; + + public static MapLocation bugPath334 = null; + + public static MapLocation bugPath335 = null; + + public static MapLocation bugPath336 = null; + + public static MapLocation bugPath337 = null; + + public static MapLocation bugPath338 = null; + + public static MapLocation bugPath339 = null; + + public static MapLocation bugPath340 = null; + + public static MapLocation bugPath341 = null; + + public static MapLocation bugPath342 = null; + + public static MapLocation bugPath343 = null; + + public static MapLocation bugPath344 = null; + + public static MapLocation bugPath345 = null; + + public static MapLocation bugPath346 = null; + + public static MapLocation bugPath347 = null; + + public static MapLocation bugPath348 = null; + + public static MapLocation bugPath349 = null; + + public static MapLocation bugPath350 = null; + + public static MapLocation bugPath351 = null; + + public static MapLocation bugPath352 = null; + + public static MapLocation bugPath353 = null; + + public static MapLocation bugPath354 = null; + + public static MapLocation bugPath355 = null; + + public static MapLocation bugPath356 = null; + + public static MapLocation bugPath357 = null; + + public static MapLocation bugPath358 = null; + + public static MapLocation bugPath359 = null; + + public static MapLocation bugPath360 = null; + + public static MapLocation bugPath361 = null; + + public static MapLocation bugPath362 = null; + + public static MapLocation bugPath363 = null; + + public static MapLocation bugPath364 = null; + + public static MapLocation bugPath365 = null; + + public static MapLocation bugPath366 = null; + + public static MapLocation bugPath367 = null; + + public static MapLocation bugPath368 = null; + + public static MapLocation bugPath369 = null; + + public static MapLocation bugPath370 = null; + + public static MapLocation bugPath371 = null; + + public static MapLocation bugPath372 = null; + + public static MapLocation bugPath373 = null; + + public static MapLocation bugPath374 = null; + + public static MapLocation bugPath375 = null; + + public static MapLocation bugPath376 = null; + + public static MapLocation bugPath377 = null; + + public static MapLocation bugPath378 = null; + + public static MapLocation bugPath379 = null; + + public static MapLocation bugPath380 = null; + + public static MapLocation bugPath381 = null; + + public static MapLocation bugPath382 = null; + + public static MapLocation bugPath383 = null; + + public static MapLocation bugPath384 = null; + + public static MapLocation bugPath385 = null; + + public static MapLocation bugPath386 = null; + + public static MapLocation bugPath387 = null; + + public static MapLocation bugPath388 = null; + + public static MapLocation bugPath389 = null; + + public static MapLocation bugPath390 = null; + + public static MapLocation bugPath391 = null; + + public static MapLocation bugPath392 = null; + + public static MapLocation bugPath393 = null; + + public static MapLocation bugPath394 = null; + + public static MapLocation bugPath395 = null; + + public static MapLocation bugPath396 = null; + + public static MapLocation bugPath397 = null; + + public static MapLocation bugPath398 = null; + + public static MapLocation bugPath399 = null; + + public static MapLocation bugPath400 = null; + + public static MapLocation bugPath401 = null; + + public static MapLocation bugPath402 = null; + + public static MapLocation bugPath403 = null; + + public static MapLocation bugPath404 = null; + + public static MapLocation bugPath405 = null; + + public static MapLocation bugPath406 = null; + + public static MapLocation bugPath407 = null; + + public static MapLocation bugPath408 = null; + + public static MapLocation bugPath409 = null; + + public static MapLocation bugPath410 = null; + + public static MapLocation bugPath411 = null; + + public static MapLocation bugPath412 = null; + + public static MapLocation bugPath413 = null; + + public static MapLocation bugPath414 = null; + + public static MapLocation bugPath415 = null; + + public static MapLocation bugPath416 = null; + + public static MapLocation bugPath417 = null; + + public static MapLocation bugPath418 = null; + + public static MapLocation bugPath419 = null; + + public static MapLocation bugPath420 = null; + + public static MapLocation bugPath421 = null; + + public static MapLocation bugPath422 = null; + + public static MapLocation bugPath423 = null; + + public static MapLocation bugPath424 = null; + + public static MapLocation bugPath425 = null; + + public static MapLocation bugPath426 = null; + + public static MapLocation bugPath427 = null; + + public static MapLocation bugPath428 = null; + + public static MapLocation bugPath429 = null; + + public static MapLocation bugPath430 = null; + + public static MapLocation bugPath431 = null; + + public static MapLocation bugPath432 = null; + + public static MapLocation bugPath433 = null; + + public static MapLocation bugPath434 = null; + + public static MapLocation bugPath435 = null; + + public static MapLocation bugPath436 = null; + + public static MapLocation bugPath437 = null; + + public static MapLocation bugPath438 = null; + + public static MapLocation bugPath439 = null; + + public static MapLocation bugPath440 = null; + + public static MapLocation bugPath441 = null; + + public static MapLocation bugPath442 = null; + + public static MapLocation bugPath443 = null; + + public static MapLocation bugPath444 = null; + + public static MapLocation bugPath445 = null; + + public static MapLocation bugPath446 = null; + + public static MapLocation bugPath447 = null; + + public static MapLocation bugPath448 = null; + + public static MapLocation bugPath449 = null; + + public static MapLocation bugPath450 = null; + + public static MapLocation bugPath451 = null; + + public static MapLocation bugPath452 = null; + + public static MapLocation bugPath453 = null; + + public static MapLocation bugPath454 = null; + + public static MapLocation bugPath455 = null; + + public static MapLocation bugPath456 = null; + + public static MapLocation bugPath457 = null; + + public static MapLocation bugPath458 = null; + + public static MapLocation bugPath459 = null; + + public static MapLocation bugPath460 = null; + + public static MapLocation bugPath461 = null; + + public static MapLocation bugPath462 = null; + + public static MapLocation bugPath463 = null; + + public static MapLocation bugPath464 = null; + + public static MapLocation bugPath465 = null; + + public static MapLocation bugPath466 = null; + + public static MapLocation bugPath467 = null; + + public static MapLocation bugPath468 = null; + + public static MapLocation bugPath469 = null; + + public static MapLocation bugPath470 = null; + + public static MapLocation bugPath471 = null; + + public static MapLocation bugPath472 = null; + + public static MapLocation bugPath473 = null; + + public static MapLocation bugPath474 = null; + + public static MapLocation bugPath475 = null; + + public static MapLocation bugPath476 = null; + + public static MapLocation bugPath477 = null; + + public static MapLocation bugPath478 = null; + + public static MapLocation bugPath479 = null; + + public static MapLocation bugPath480 = null; + + public static MapLocation bugPath481 = null; + + public static MapLocation bugPath482 = null; + + public static MapLocation bugPath483 = null; + + public static MapLocation bugPath484 = null; + + public static MapLocation bugPath485 = null; + + public static MapLocation bugPath486 = null; + + public static MapLocation bugPath487 = null; + + public static MapLocation bugPath488 = null; + + public static MapLocation bugPath489 = null; + + public static MapLocation bugPath490 = null; + + public static MapLocation bugPath491 = null; + + public static MapLocation bugPath492 = null; + + public static MapLocation bugPath493 = null; + + public static MapLocation bugPath494 = null; + + public static MapLocation bugPath495 = null; + + public static MapLocation bugPath496 = null; + + public static MapLocation bugPath497 = null; + + public static MapLocation bugPath498 = null; + + public static MapLocation bugPath499 = null; + + + public static void appendCurrentPosition() { + switch (pathLength) { + + case 499 -> { + + if (!bugPath498.equals(currentBugPosition)) + + { + bugPath499 = currentBugPosition; + pathLength++; + } + } + + case 498 -> { + + if (!bugPath497.equals(currentBugPosition)) + + { + bugPath498 = currentBugPosition; + pathLength++; + } + } + + case 497 -> { + + if (!bugPath496.equals(currentBugPosition)) + + { + bugPath497 = currentBugPosition; + pathLength++; + } + } + + case 496 -> { + + if (!bugPath495.equals(currentBugPosition)) + + { + bugPath496 = currentBugPosition; + pathLength++; + } + } + + case 495 -> { + + if (!bugPath494.equals(currentBugPosition)) + + { + bugPath495 = currentBugPosition; + pathLength++; + } + } + + case 494 -> { + + if (!bugPath493.equals(currentBugPosition)) + + { + bugPath494 = currentBugPosition; + pathLength++; + } + } + + case 493 -> { + + if (!bugPath492.equals(currentBugPosition)) + + { + bugPath493 = currentBugPosition; + pathLength++; + } + } + + case 492 -> { + + if (!bugPath491.equals(currentBugPosition)) + + { + bugPath492 = currentBugPosition; + pathLength++; + } + } + + case 491 -> { + + if (!bugPath490.equals(currentBugPosition)) + + { + bugPath491 = currentBugPosition; + pathLength++; + } + } + + case 490 -> { + + if (!bugPath489.equals(currentBugPosition)) + + { + bugPath490 = currentBugPosition; + pathLength++; + } + } + + case 489 -> { + + if (!bugPath488.equals(currentBugPosition)) + + { + bugPath489 = currentBugPosition; + pathLength++; + } + } + + case 488 -> { + + if (!bugPath487.equals(currentBugPosition)) + + { + bugPath488 = currentBugPosition; + pathLength++; + } + } + + case 487 -> { + + if (!bugPath486.equals(currentBugPosition)) + + { + bugPath487 = currentBugPosition; + pathLength++; + } + } + + case 486 -> { + + if (!bugPath485.equals(currentBugPosition)) + + { + bugPath486 = currentBugPosition; + pathLength++; + } + } + + case 485 -> { + + if (!bugPath484.equals(currentBugPosition)) + + { + bugPath485 = currentBugPosition; + pathLength++; + } + } + + case 484 -> { + + if (!bugPath483.equals(currentBugPosition)) + + { + bugPath484 = currentBugPosition; + pathLength++; + } + } + + case 483 -> { + + if (!bugPath482.equals(currentBugPosition)) + + { + bugPath483 = currentBugPosition; + pathLength++; + } + } + + case 482 -> { + + if (!bugPath481.equals(currentBugPosition)) + + { + bugPath482 = currentBugPosition; + pathLength++; + } + } + + case 481 -> { + + if (!bugPath480.equals(currentBugPosition)) + + { + bugPath481 = currentBugPosition; + pathLength++; + } + } + + case 480 -> { + + if (!bugPath479.equals(currentBugPosition)) + + { + bugPath480 = currentBugPosition; + pathLength++; + } + } + + case 479 -> { + + if (!bugPath478.equals(currentBugPosition)) + + { + bugPath479 = currentBugPosition; + pathLength++; + } + } + + case 478 -> { + + if (!bugPath477.equals(currentBugPosition)) + + { + bugPath478 = currentBugPosition; + pathLength++; + } + } + + case 477 -> { + + if (!bugPath476.equals(currentBugPosition)) + + { + bugPath477 = currentBugPosition; + pathLength++; + } + } + + case 476 -> { + + if (!bugPath475.equals(currentBugPosition)) + + { + bugPath476 = currentBugPosition; + pathLength++; + } + } + + case 475 -> { + + if (!bugPath474.equals(currentBugPosition)) + + { + bugPath475 = currentBugPosition; + pathLength++; + } + } + + case 474 -> { + + if (!bugPath473.equals(currentBugPosition)) + + { + bugPath474 = currentBugPosition; + pathLength++; + } + } + + case 473 -> { + + if (!bugPath472.equals(currentBugPosition)) + + { + bugPath473 = currentBugPosition; + pathLength++; + } + } + + case 472 -> { + + if (!bugPath471.equals(currentBugPosition)) + + { + bugPath472 = currentBugPosition; + pathLength++; + } + } + + case 471 -> { + + if (!bugPath470.equals(currentBugPosition)) + + { + bugPath471 = currentBugPosition; + pathLength++; + } + } + + case 470 -> { + + if (!bugPath469.equals(currentBugPosition)) + + { + bugPath470 = currentBugPosition; + pathLength++; + } + } + + case 469 -> { + + if (!bugPath468.equals(currentBugPosition)) + + { + bugPath469 = currentBugPosition; + pathLength++; + } + } + + case 468 -> { + + if (!bugPath467.equals(currentBugPosition)) + + { + bugPath468 = currentBugPosition; + pathLength++; + } + } + + case 467 -> { + + if (!bugPath466.equals(currentBugPosition)) + + { + bugPath467 = currentBugPosition; + pathLength++; + } + } + + case 466 -> { + + if (!bugPath465.equals(currentBugPosition)) + + { + bugPath466 = currentBugPosition; + pathLength++; + } + } + + case 465 -> { + + if (!bugPath464.equals(currentBugPosition)) + + { + bugPath465 = currentBugPosition; + pathLength++; + } + } + + case 464 -> { + + if (!bugPath463.equals(currentBugPosition)) + + { + bugPath464 = currentBugPosition; + pathLength++; + } + } + + case 463 -> { + + if (!bugPath462.equals(currentBugPosition)) + + { + bugPath463 = currentBugPosition; + pathLength++; + } + } + + case 462 -> { + + if (!bugPath461.equals(currentBugPosition)) + + { + bugPath462 = currentBugPosition; + pathLength++; + } + } + + case 461 -> { + + if (!bugPath460.equals(currentBugPosition)) + + { + bugPath461 = currentBugPosition; + pathLength++; + } + } + + case 460 -> { + + if (!bugPath459.equals(currentBugPosition)) + + { + bugPath460 = currentBugPosition; + pathLength++; + } + } + + case 459 -> { + + if (!bugPath458.equals(currentBugPosition)) + + { + bugPath459 = currentBugPosition; + pathLength++; + } + } + + case 458 -> { + + if (!bugPath457.equals(currentBugPosition)) + + { + bugPath458 = currentBugPosition; + pathLength++; + } + } + + case 457 -> { + + if (!bugPath456.equals(currentBugPosition)) + + { + bugPath457 = currentBugPosition; + pathLength++; + } + } + + case 456 -> { + + if (!bugPath455.equals(currentBugPosition)) + + { + bugPath456 = currentBugPosition; + pathLength++; + } + } + + case 455 -> { + + if (!bugPath454.equals(currentBugPosition)) + + { + bugPath455 = currentBugPosition; + pathLength++; + } + } + + case 454 -> { + + if (!bugPath453.equals(currentBugPosition)) + + { + bugPath454 = currentBugPosition; + pathLength++; + } + } + + case 453 -> { + + if (!bugPath452.equals(currentBugPosition)) + + { + bugPath453 = currentBugPosition; + pathLength++; + } + } + + case 452 -> { + + if (!bugPath451.equals(currentBugPosition)) + + { + bugPath452 = currentBugPosition; + pathLength++; + } + } + + case 451 -> { + + if (!bugPath450.equals(currentBugPosition)) + + { + bugPath451 = currentBugPosition; + pathLength++; + } + } + + case 450 -> { + + if (!bugPath449.equals(currentBugPosition)) + + { + bugPath450 = currentBugPosition; + pathLength++; + } + } + + case 449 -> { + + if (!bugPath448.equals(currentBugPosition)) + + { + bugPath449 = currentBugPosition; + pathLength++; + } + } + + case 448 -> { + + if (!bugPath447.equals(currentBugPosition)) + + { + bugPath448 = currentBugPosition; + pathLength++; + } + } + + case 447 -> { + + if (!bugPath446.equals(currentBugPosition)) + + { + bugPath447 = currentBugPosition; + pathLength++; + } + } + + case 446 -> { + + if (!bugPath445.equals(currentBugPosition)) + + { + bugPath446 = currentBugPosition; + pathLength++; + } + } + + case 445 -> { + + if (!bugPath444.equals(currentBugPosition)) + + { + bugPath445 = currentBugPosition; + pathLength++; + } + } + + case 444 -> { + + if (!bugPath443.equals(currentBugPosition)) + + { + bugPath444 = currentBugPosition; + pathLength++; + } + } + + case 443 -> { + + if (!bugPath442.equals(currentBugPosition)) + + { + bugPath443 = currentBugPosition; + pathLength++; + } + } + + case 442 -> { + + if (!bugPath441.equals(currentBugPosition)) + + { + bugPath442 = currentBugPosition; + pathLength++; + } + } + + case 441 -> { + + if (!bugPath440.equals(currentBugPosition)) + + { + bugPath441 = currentBugPosition; + pathLength++; + } + } + + case 440 -> { + + if (!bugPath439.equals(currentBugPosition)) + + { + bugPath440 = currentBugPosition; + pathLength++; + } + } + + case 439 -> { + + if (!bugPath438.equals(currentBugPosition)) + + { + bugPath439 = currentBugPosition; + pathLength++; + } + } + + case 438 -> { + + if (!bugPath437.equals(currentBugPosition)) + + { + bugPath438 = currentBugPosition; + pathLength++; + } + } + + case 437 -> { + + if (!bugPath436.equals(currentBugPosition)) + + { + bugPath437 = currentBugPosition; + pathLength++; + } + } + + case 436 -> { + + if (!bugPath435.equals(currentBugPosition)) + + { + bugPath436 = currentBugPosition; + pathLength++; + } + } + + case 435 -> { + + if (!bugPath434.equals(currentBugPosition)) + + { + bugPath435 = currentBugPosition; + pathLength++; + } + } + + case 434 -> { + + if (!bugPath433.equals(currentBugPosition)) + + { + bugPath434 = currentBugPosition; + pathLength++; + } + } + + case 433 -> { + + if (!bugPath432.equals(currentBugPosition)) + + { + bugPath433 = currentBugPosition; + pathLength++; + } + } + + case 432 -> { + + if (!bugPath431.equals(currentBugPosition)) + + { + bugPath432 = currentBugPosition; + pathLength++; + } + } + + case 431 -> { + + if (!bugPath430.equals(currentBugPosition)) + + { + bugPath431 = currentBugPosition; + pathLength++; + } + } + + case 430 -> { + + if (!bugPath429.equals(currentBugPosition)) + + { + bugPath430 = currentBugPosition; + pathLength++; + } + } + + case 429 -> { + + if (!bugPath428.equals(currentBugPosition)) + + { + bugPath429 = currentBugPosition; + pathLength++; + } + } + + case 428 -> { + + if (!bugPath427.equals(currentBugPosition)) + + { + bugPath428 = currentBugPosition; + pathLength++; + } + } + + case 427 -> { + + if (!bugPath426.equals(currentBugPosition)) + + { + bugPath427 = currentBugPosition; + pathLength++; + } + } + + case 426 -> { + + if (!bugPath425.equals(currentBugPosition)) + + { + bugPath426 = currentBugPosition; + pathLength++; + } + } + + case 425 -> { + + if (!bugPath424.equals(currentBugPosition)) + + { + bugPath425 = currentBugPosition; + pathLength++; + } + } + + case 424 -> { + + if (!bugPath423.equals(currentBugPosition)) + + { + bugPath424 = currentBugPosition; + pathLength++; + } + } + + case 423 -> { + + if (!bugPath422.equals(currentBugPosition)) + + { + bugPath423 = currentBugPosition; + pathLength++; + } + } + + case 422 -> { + + if (!bugPath421.equals(currentBugPosition)) + + { + bugPath422 = currentBugPosition; + pathLength++; + } + } + + case 421 -> { + + if (!bugPath420.equals(currentBugPosition)) + + { + bugPath421 = currentBugPosition; + pathLength++; + } + } + + case 420 -> { + + if (!bugPath419.equals(currentBugPosition)) + + { + bugPath420 = currentBugPosition; + pathLength++; + } + } + + case 419 -> { + + if (!bugPath418.equals(currentBugPosition)) + + { + bugPath419 = currentBugPosition; + pathLength++; + } + } + + case 418 -> { + + if (!bugPath417.equals(currentBugPosition)) + + { + bugPath418 = currentBugPosition; + pathLength++; + } + } + + case 417 -> { + + if (!bugPath416.equals(currentBugPosition)) + + { + bugPath417 = currentBugPosition; + pathLength++; + } + } + + case 416 -> { + + if (!bugPath415.equals(currentBugPosition)) + + { + bugPath416 = currentBugPosition; + pathLength++; + } + } + + case 415 -> { + + if (!bugPath414.equals(currentBugPosition)) + + { + bugPath415 = currentBugPosition; + pathLength++; + } + } + + case 414 -> { + + if (!bugPath413.equals(currentBugPosition)) + + { + bugPath414 = currentBugPosition; + pathLength++; + } + } + + case 413 -> { + + if (!bugPath412.equals(currentBugPosition)) + + { + bugPath413 = currentBugPosition; + pathLength++; + } + } + + case 412 -> { + + if (!bugPath411.equals(currentBugPosition)) + + { + bugPath412 = currentBugPosition; + pathLength++; + } + } + + case 411 -> { + + if (!bugPath410.equals(currentBugPosition)) + + { + bugPath411 = currentBugPosition; + pathLength++; + } + } + + case 410 -> { + + if (!bugPath409.equals(currentBugPosition)) + + { + bugPath410 = currentBugPosition; + pathLength++; + } + } + + case 409 -> { + + if (!bugPath408.equals(currentBugPosition)) + + { + bugPath409 = currentBugPosition; + pathLength++; + } + } + + case 408 -> { + + if (!bugPath407.equals(currentBugPosition)) + + { + bugPath408 = currentBugPosition; + pathLength++; + } + } + + case 407 -> { + + if (!bugPath406.equals(currentBugPosition)) + + { + bugPath407 = currentBugPosition; + pathLength++; + } + } + + case 406 -> { + + if (!bugPath405.equals(currentBugPosition)) + + { + bugPath406 = currentBugPosition; + pathLength++; + } + } + + case 405 -> { + + if (!bugPath404.equals(currentBugPosition)) + + { + bugPath405 = currentBugPosition; + pathLength++; + } + } + + case 404 -> { + + if (!bugPath403.equals(currentBugPosition)) + + { + bugPath404 = currentBugPosition; + pathLength++; + } + } + + case 403 -> { + + if (!bugPath402.equals(currentBugPosition)) + + { + bugPath403 = currentBugPosition; + pathLength++; + } + } + + case 402 -> { + + if (!bugPath401.equals(currentBugPosition)) + + { + bugPath402 = currentBugPosition; + pathLength++; + } + } + + case 401 -> { + + if (!bugPath400.equals(currentBugPosition)) + + { + bugPath401 = currentBugPosition; + pathLength++; + } + } + + case 400 -> { + + if (!bugPath399.equals(currentBugPosition)) + + { + bugPath400 = currentBugPosition; + pathLength++; + } + } + + case 399 -> { + + if (!bugPath398.equals(currentBugPosition)) + + { + bugPath399 = currentBugPosition; + pathLength++; + } + } + + case 398 -> { + + if (!bugPath397.equals(currentBugPosition)) + + { + bugPath398 = currentBugPosition; + pathLength++; + } + } + + case 397 -> { + + if (!bugPath396.equals(currentBugPosition)) + + { + bugPath397 = currentBugPosition; + pathLength++; + } + } + + case 396 -> { + + if (!bugPath395.equals(currentBugPosition)) + + { + bugPath396 = currentBugPosition; + pathLength++; + } + } + + case 395 -> { + + if (!bugPath394.equals(currentBugPosition)) + + { + bugPath395 = currentBugPosition; + pathLength++; + } + } + + case 394 -> { + + if (!bugPath393.equals(currentBugPosition)) + + { + bugPath394 = currentBugPosition; + pathLength++; + } + } + + case 393 -> { + + if (!bugPath392.equals(currentBugPosition)) + + { + bugPath393 = currentBugPosition; + pathLength++; + } + } + + case 392 -> { + + if (!bugPath391.equals(currentBugPosition)) + + { + bugPath392 = currentBugPosition; + pathLength++; + } + } + + case 391 -> { + + if (!bugPath390.equals(currentBugPosition)) + + { + bugPath391 = currentBugPosition; + pathLength++; + } + } + + case 390 -> { + + if (!bugPath389.equals(currentBugPosition)) + + { + bugPath390 = currentBugPosition; + pathLength++; + } + } + + case 389 -> { + + if (!bugPath388.equals(currentBugPosition)) + + { + bugPath389 = currentBugPosition; + pathLength++; + } + } + + case 388 -> { + + if (!bugPath387.equals(currentBugPosition)) + + { + bugPath388 = currentBugPosition; + pathLength++; + } + } + + case 387 -> { + + if (!bugPath386.equals(currentBugPosition)) + + { + bugPath387 = currentBugPosition; + pathLength++; + } + } + + case 386 -> { + + if (!bugPath385.equals(currentBugPosition)) + + { + bugPath386 = currentBugPosition; + pathLength++; + } + } + + case 385 -> { + + if (!bugPath384.equals(currentBugPosition)) + + { + bugPath385 = currentBugPosition; + pathLength++; + } + } + + case 384 -> { + + if (!bugPath383.equals(currentBugPosition)) + + { + bugPath384 = currentBugPosition; + pathLength++; + } + } + + case 383 -> { + + if (!bugPath382.equals(currentBugPosition)) + + { + bugPath383 = currentBugPosition; + pathLength++; + } + } + + case 382 -> { + + if (!bugPath381.equals(currentBugPosition)) + + { + bugPath382 = currentBugPosition; + pathLength++; + } + } + + case 381 -> { + + if (!bugPath380.equals(currentBugPosition)) + + { + bugPath381 = currentBugPosition; + pathLength++; + } + } + + case 380 -> { + + if (!bugPath379.equals(currentBugPosition)) + + { + bugPath380 = currentBugPosition; + pathLength++; + } + } + + case 379 -> { + + if (!bugPath378.equals(currentBugPosition)) + + { + bugPath379 = currentBugPosition; + pathLength++; + } + } + + case 378 -> { + + if (!bugPath377.equals(currentBugPosition)) + + { + bugPath378 = currentBugPosition; + pathLength++; + } + } + + case 377 -> { + + if (!bugPath376.equals(currentBugPosition)) + + { + bugPath377 = currentBugPosition; + pathLength++; + } + } + + case 376 -> { + + if (!bugPath375.equals(currentBugPosition)) + + { + bugPath376 = currentBugPosition; + pathLength++; + } + } + + case 375 -> { + + if (!bugPath374.equals(currentBugPosition)) + + { + bugPath375 = currentBugPosition; + pathLength++; + } + } + + case 374 -> { + + if (!bugPath373.equals(currentBugPosition)) + + { + bugPath374 = currentBugPosition; + pathLength++; + } + } + + case 373 -> { + + if (!bugPath372.equals(currentBugPosition)) + + { + bugPath373 = currentBugPosition; + pathLength++; + } + } + + case 372 -> { + + if (!bugPath371.equals(currentBugPosition)) + + { + bugPath372 = currentBugPosition; + pathLength++; + } + } + + case 371 -> { + + if (!bugPath370.equals(currentBugPosition)) + + { + bugPath371 = currentBugPosition; + pathLength++; + } + } + + case 370 -> { + + if (!bugPath369.equals(currentBugPosition)) + + { + bugPath370 = currentBugPosition; + pathLength++; + } + } + + case 369 -> { + + if (!bugPath368.equals(currentBugPosition)) + + { + bugPath369 = currentBugPosition; + pathLength++; + } + } + + case 368 -> { + + if (!bugPath367.equals(currentBugPosition)) + + { + bugPath368 = currentBugPosition; + pathLength++; + } + } + + case 367 -> { + + if (!bugPath366.equals(currentBugPosition)) + + { + bugPath367 = currentBugPosition; + pathLength++; + } + } + + case 366 -> { + + if (!bugPath365.equals(currentBugPosition)) + + { + bugPath366 = currentBugPosition; + pathLength++; + } + } + + case 365 -> { + + if (!bugPath364.equals(currentBugPosition)) + + { + bugPath365 = currentBugPosition; + pathLength++; + } + } + + case 364 -> { + + if (!bugPath363.equals(currentBugPosition)) + + { + bugPath364 = currentBugPosition; + pathLength++; + } + } + + case 363 -> { + + if (!bugPath362.equals(currentBugPosition)) + + { + bugPath363 = currentBugPosition; + pathLength++; + } + } + + case 362 -> { + + if (!bugPath361.equals(currentBugPosition)) + + { + bugPath362 = currentBugPosition; + pathLength++; + } + } + + case 361 -> { + + if (!bugPath360.equals(currentBugPosition)) + + { + bugPath361 = currentBugPosition; + pathLength++; + } + } + + case 360 -> { + + if (!bugPath359.equals(currentBugPosition)) + + { + bugPath360 = currentBugPosition; + pathLength++; + } + } + + case 359 -> { + + if (!bugPath358.equals(currentBugPosition)) + + { + bugPath359 = currentBugPosition; + pathLength++; + } + } + + case 358 -> { + + if (!bugPath357.equals(currentBugPosition)) + + { + bugPath358 = currentBugPosition; + pathLength++; + } + } + + case 357 -> { + + if (!bugPath356.equals(currentBugPosition)) + + { + bugPath357 = currentBugPosition; + pathLength++; + } + } + + case 356 -> { + + if (!bugPath355.equals(currentBugPosition)) + + { + bugPath356 = currentBugPosition; + pathLength++; + } + } + + case 355 -> { + + if (!bugPath354.equals(currentBugPosition)) + + { + bugPath355 = currentBugPosition; + pathLength++; + } + } + + case 354 -> { + + if (!bugPath353.equals(currentBugPosition)) + + { + bugPath354 = currentBugPosition; + pathLength++; + } + } + + case 353 -> { + + if (!bugPath352.equals(currentBugPosition)) + + { + bugPath353 = currentBugPosition; + pathLength++; + } + } + + case 352 -> { + + if (!bugPath351.equals(currentBugPosition)) + + { + bugPath352 = currentBugPosition; + pathLength++; + } + } + + case 351 -> { + + if (!bugPath350.equals(currentBugPosition)) + + { + bugPath351 = currentBugPosition; + pathLength++; + } + } + + case 350 -> { + + if (!bugPath349.equals(currentBugPosition)) + + { + bugPath350 = currentBugPosition; + pathLength++; + } + } + + case 349 -> { + + if (!bugPath348.equals(currentBugPosition)) + + { + bugPath349 = currentBugPosition; + pathLength++; + } + } + + case 348 -> { + + if (!bugPath347.equals(currentBugPosition)) + + { + bugPath348 = currentBugPosition; + pathLength++; + } + } + + case 347 -> { + + if (!bugPath346.equals(currentBugPosition)) + + { + bugPath347 = currentBugPosition; + pathLength++; + } + } + + case 346 -> { + + if (!bugPath345.equals(currentBugPosition)) + + { + bugPath346 = currentBugPosition; + pathLength++; + } + } + + case 345 -> { + + if (!bugPath344.equals(currentBugPosition)) + + { + bugPath345 = currentBugPosition; + pathLength++; + } + } + + case 344 -> { + + if (!bugPath343.equals(currentBugPosition)) + + { + bugPath344 = currentBugPosition; + pathLength++; + } + } + + case 343 -> { + + if (!bugPath342.equals(currentBugPosition)) + + { + bugPath343 = currentBugPosition; + pathLength++; + } + } + + case 342 -> { + + if (!bugPath341.equals(currentBugPosition)) + + { + bugPath342 = currentBugPosition; + pathLength++; + } + } + + case 341 -> { + + if (!bugPath340.equals(currentBugPosition)) + + { + bugPath341 = currentBugPosition; + pathLength++; + } + } + + case 340 -> { + + if (!bugPath339.equals(currentBugPosition)) + + { + bugPath340 = currentBugPosition; + pathLength++; + } + } + + case 339 -> { + + if (!bugPath338.equals(currentBugPosition)) + + { + bugPath339 = currentBugPosition; + pathLength++; + } + } + + case 338 -> { + + if (!bugPath337.equals(currentBugPosition)) + + { + bugPath338 = currentBugPosition; + pathLength++; + } + } + + case 337 -> { + + if (!bugPath336.equals(currentBugPosition)) + + { + bugPath337 = currentBugPosition; + pathLength++; + } + } + + case 336 -> { + + if (!bugPath335.equals(currentBugPosition)) + + { + bugPath336 = currentBugPosition; + pathLength++; + } + } + + case 335 -> { + + if (!bugPath334.equals(currentBugPosition)) + + { + bugPath335 = currentBugPosition; + pathLength++; + } + } + + case 334 -> { + + if (!bugPath333.equals(currentBugPosition)) + + { + bugPath334 = currentBugPosition; + pathLength++; + } + } + + case 333 -> { + + if (!bugPath332.equals(currentBugPosition)) + + { + bugPath333 = currentBugPosition; + pathLength++; + } + } + + case 332 -> { + + if (!bugPath331.equals(currentBugPosition)) + + { + bugPath332 = currentBugPosition; + pathLength++; + } + } + + case 331 -> { + + if (!bugPath330.equals(currentBugPosition)) + + { + bugPath331 = currentBugPosition; + pathLength++; + } + } + + case 330 -> { + + if (!bugPath329.equals(currentBugPosition)) + + { + bugPath330 = currentBugPosition; + pathLength++; + } + } + + case 329 -> { + + if (!bugPath328.equals(currentBugPosition)) + + { + bugPath329 = currentBugPosition; + pathLength++; + } + } + + case 328 -> { + + if (!bugPath327.equals(currentBugPosition)) + + { + bugPath328 = currentBugPosition; + pathLength++; + } + } + + case 327 -> { + + if (!bugPath326.equals(currentBugPosition)) + + { + bugPath327 = currentBugPosition; + pathLength++; + } + } + + case 326 -> { + + if (!bugPath325.equals(currentBugPosition)) + + { + bugPath326 = currentBugPosition; + pathLength++; + } + } + + case 325 -> { + + if (!bugPath324.equals(currentBugPosition)) + + { + bugPath325 = currentBugPosition; + pathLength++; + } + } + + case 324 -> { + + if (!bugPath323.equals(currentBugPosition)) + + { + bugPath324 = currentBugPosition; + pathLength++; + } + } + + case 323 -> { + + if (!bugPath322.equals(currentBugPosition)) + + { + bugPath323 = currentBugPosition; + pathLength++; + } + } + + case 322 -> { + + if (!bugPath321.equals(currentBugPosition)) + + { + bugPath322 = currentBugPosition; + pathLength++; + } + } + + case 321 -> { + + if (!bugPath320.equals(currentBugPosition)) + + { + bugPath321 = currentBugPosition; + pathLength++; + } + } + + case 320 -> { + + if (!bugPath319.equals(currentBugPosition)) + + { + bugPath320 = currentBugPosition; + pathLength++; + } + } + + case 319 -> { + + if (!bugPath318.equals(currentBugPosition)) + + { + bugPath319 = currentBugPosition; + pathLength++; + } + } + + case 318 -> { + + if (!bugPath317.equals(currentBugPosition)) + + { + bugPath318 = currentBugPosition; + pathLength++; + } + } + + case 317 -> { + + if (!bugPath316.equals(currentBugPosition)) + + { + bugPath317 = currentBugPosition; + pathLength++; + } + } + + case 316 -> { + + if (!bugPath315.equals(currentBugPosition)) + + { + bugPath316 = currentBugPosition; + pathLength++; + } + } + + case 315 -> { + + if (!bugPath314.equals(currentBugPosition)) + + { + bugPath315 = currentBugPosition; + pathLength++; + } + } + + case 314 -> { + + if (!bugPath313.equals(currentBugPosition)) + + { + bugPath314 = currentBugPosition; + pathLength++; + } + } + + case 313 -> { + + if (!bugPath312.equals(currentBugPosition)) + + { + bugPath313 = currentBugPosition; + pathLength++; + } + } + + case 312 -> { + + if (!bugPath311.equals(currentBugPosition)) + + { + bugPath312 = currentBugPosition; + pathLength++; + } + } + + case 311 -> { + + if (!bugPath310.equals(currentBugPosition)) + + { + bugPath311 = currentBugPosition; + pathLength++; + } + } + + case 310 -> { + + if (!bugPath309.equals(currentBugPosition)) + + { + bugPath310 = currentBugPosition; + pathLength++; + } + } + + case 309 -> { + + if (!bugPath308.equals(currentBugPosition)) + + { + bugPath309 = currentBugPosition; + pathLength++; + } + } + + case 308 -> { + + if (!bugPath307.equals(currentBugPosition)) + + { + bugPath308 = currentBugPosition; + pathLength++; + } + } + + case 307 -> { + + if (!bugPath306.equals(currentBugPosition)) + + { + bugPath307 = currentBugPosition; + pathLength++; + } + } + + case 306 -> { + + if (!bugPath305.equals(currentBugPosition)) + + { + bugPath306 = currentBugPosition; + pathLength++; + } + } + + case 305 -> { + + if (!bugPath304.equals(currentBugPosition)) + + { + bugPath305 = currentBugPosition; + pathLength++; + } + } + + case 304 -> { + + if (!bugPath303.equals(currentBugPosition)) + + { + bugPath304 = currentBugPosition; + pathLength++; + } + } + + case 303 -> { + + if (!bugPath302.equals(currentBugPosition)) + + { + bugPath303 = currentBugPosition; + pathLength++; + } + } + + case 302 -> { + + if (!bugPath301.equals(currentBugPosition)) + + { + bugPath302 = currentBugPosition; + pathLength++; + } + } + + case 301 -> { + + if (!bugPath300.equals(currentBugPosition)) + + { + bugPath301 = currentBugPosition; + pathLength++; + } + } + + case 300 -> { + + if (!bugPath299.equals(currentBugPosition)) + + { + bugPath300 = currentBugPosition; + pathLength++; + } + } + + case 299 -> { + + if (!bugPath298.equals(currentBugPosition)) + + { + bugPath299 = currentBugPosition; + pathLength++; + } + } + + case 298 -> { + + if (!bugPath297.equals(currentBugPosition)) + + { + bugPath298 = currentBugPosition; + pathLength++; + } + } + + case 297 -> { + + if (!bugPath296.equals(currentBugPosition)) + + { + bugPath297 = currentBugPosition; + pathLength++; + } + } + + case 296 -> { + + if (!bugPath295.equals(currentBugPosition)) + + { + bugPath296 = currentBugPosition; + pathLength++; + } + } + + case 295 -> { + + if (!bugPath294.equals(currentBugPosition)) + + { + bugPath295 = currentBugPosition; + pathLength++; + } + } + + case 294 -> { + + if (!bugPath293.equals(currentBugPosition)) + + { + bugPath294 = currentBugPosition; + pathLength++; + } + } + + case 293 -> { + + if (!bugPath292.equals(currentBugPosition)) + + { + bugPath293 = currentBugPosition; + pathLength++; + } + } + + case 292 -> { + + if (!bugPath291.equals(currentBugPosition)) + + { + bugPath292 = currentBugPosition; + pathLength++; + } + } + + case 291 -> { + + if (!bugPath290.equals(currentBugPosition)) + + { + bugPath291 = currentBugPosition; + pathLength++; + } + } + + case 290 -> { + + if (!bugPath289.equals(currentBugPosition)) + + { + bugPath290 = currentBugPosition; + pathLength++; + } + } + + case 289 -> { + + if (!bugPath288.equals(currentBugPosition)) + + { + bugPath289 = currentBugPosition; + pathLength++; + } + } + + case 288 -> { + + if (!bugPath287.equals(currentBugPosition)) + + { + bugPath288 = currentBugPosition; + pathLength++; + } + } + + case 287 -> { + + if (!bugPath286.equals(currentBugPosition)) + + { + bugPath287 = currentBugPosition; + pathLength++; + } + } + + case 286 -> { + + if (!bugPath285.equals(currentBugPosition)) + + { + bugPath286 = currentBugPosition; + pathLength++; + } + } + + case 285 -> { + + if (!bugPath284.equals(currentBugPosition)) + + { + bugPath285 = currentBugPosition; + pathLength++; + } + } + + case 284 -> { + + if (!bugPath283.equals(currentBugPosition)) + + { + bugPath284 = currentBugPosition; + pathLength++; + } + } + + case 283 -> { + + if (!bugPath282.equals(currentBugPosition)) + + { + bugPath283 = currentBugPosition; + pathLength++; + } + } + + case 282 -> { + + if (!bugPath281.equals(currentBugPosition)) + + { + bugPath282 = currentBugPosition; + pathLength++; + } + } + + case 281 -> { + + if (!bugPath280.equals(currentBugPosition)) + + { + bugPath281 = currentBugPosition; + pathLength++; + } + } + + case 280 -> { + + if (!bugPath279.equals(currentBugPosition)) + + { + bugPath280 = currentBugPosition; + pathLength++; + } + } + + case 279 -> { + + if (!bugPath278.equals(currentBugPosition)) + + { + bugPath279 = currentBugPosition; + pathLength++; + } + } + + case 278 -> { + + if (!bugPath277.equals(currentBugPosition)) + + { + bugPath278 = currentBugPosition; + pathLength++; + } + } + + case 277 -> { + + if (!bugPath276.equals(currentBugPosition)) + + { + bugPath277 = currentBugPosition; + pathLength++; + } + } + + case 276 -> { + + if (!bugPath275.equals(currentBugPosition)) + + { + bugPath276 = currentBugPosition; + pathLength++; + } + } + + case 275 -> { + + if (!bugPath274.equals(currentBugPosition)) + + { + bugPath275 = currentBugPosition; + pathLength++; + } + } + + case 274 -> { + + if (!bugPath273.equals(currentBugPosition)) + + { + bugPath274 = currentBugPosition; + pathLength++; + } + } + + case 273 -> { + + if (!bugPath272.equals(currentBugPosition)) + + { + bugPath273 = currentBugPosition; + pathLength++; + } + } + + case 272 -> { + + if (!bugPath271.equals(currentBugPosition)) + + { + bugPath272 = currentBugPosition; + pathLength++; + } + } + + case 271 -> { + + if (!bugPath270.equals(currentBugPosition)) + + { + bugPath271 = currentBugPosition; + pathLength++; + } + } + + case 270 -> { + + if (!bugPath269.equals(currentBugPosition)) + + { + bugPath270 = currentBugPosition; + pathLength++; + } + } + + case 269 -> { + + if (!bugPath268.equals(currentBugPosition)) + + { + bugPath269 = currentBugPosition; + pathLength++; + } + } + + case 268 -> { + + if (!bugPath267.equals(currentBugPosition)) + + { + bugPath268 = currentBugPosition; + pathLength++; + } + } + + case 267 -> { + + if (!bugPath266.equals(currentBugPosition)) + + { + bugPath267 = currentBugPosition; + pathLength++; + } + } + + case 266 -> { + + if (!bugPath265.equals(currentBugPosition)) + + { + bugPath266 = currentBugPosition; + pathLength++; + } + } + + case 265 -> { + + if (!bugPath264.equals(currentBugPosition)) + + { + bugPath265 = currentBugPosition; + pathLength++; + } + } + + case 264 -> { + + if (!bugPath263.equals(currentBugPosition)) + + { + bugPath264 = currentBugPosition; + pathLength++; + } + } + + case 263 -> { + + if (!bugPath262.equals(currentBugPosition)) + + { + bugPath263 = currentBugPosition; + pathLength++; + } + } + + case 262 -> { + + if (!bugPath261.equals(currentBugPosition)) + + { + bugPath262 = currentBugPosition; + pathLength++; + } + } + + case 261 -> { + + if (!bugPath260.equals(currentBugPosition)) + + { + bugPath261 = currentBugPosition; + pathLength++; + } + } + + case 260 -> { + + if (!bugPath259.equals(currentBugPosition)) + + { + bugPath260 = currentBugPosition; + pathLength++; + } + } + + case 259 -> { + + if (!bugPath258.equals(currentBugPosition)) + + { + bugPath259 = currentBugPosition; + pathLength++; + } + } + + case 258 -> { + + if (!bugPath257.equals(currentBugPosition)) + + { + bugPath258 = currentBugPosition; + pathLength++; + } + } + + case 257 -> { + + if (!bugPath256.equals(currentBugPosition)) + + { + bugPath257 = currentBugPosition; + pathLength++; + } + } + + case 256 -> { + + if (!bugPath255.equals(currentBugPosition)) + + { + bugPath256 = currentBugPosition; + pathLength++; + } + } + + case 255 -> { + + if (!bugPath254.equals(currentBugPosition)) + + { + bugPath255 = currentBugPosition; + pathLength++; + } + } + + case 254 -> { + + if (!bugPath253.equals(currentBugPosition)) + + { + bugPath254 = currentBugPosition; + pathLength++; + } + } + + case 253 -> { + + if (!bugPath252.equals(currentBugPosition)) + + { + bugPath253 = currentBugPosition; + pathLength++; + } + } + + case 252 -> { + + if (!bugPath251.equals(currentBugPosition)) + + { + bugPath252 = currentBugPosition; + pathLength++; + } + } + + case 251 -> { + + if (!bugPath250.equals(currentBugPosition)) + + { + bugPath251 = currentBugPosition; + pathLength++; + } + } + + case 250 -> { + + if (!bugPath249.equals(currentBugPosition)) + + { + bugPath250 = currentBugPosition; + pathLength++; + } + } + + case 249 -> { + + if (!bugPath248.equals(currentBugPosition)) + + { + bugPath249 = currentBugPosition; + pathLength++; + } + } + + case 248 -> { + + if (!bugPath247.equals(currentBugPosition)) + + { + bugPath248 = currentBugPosition; + pathLength++; + } + } + + case 247 -> { + + if (!bugPath246.equals(currentBugPosition)) + + { + bugPath247 = currentBugPosition; + pathLength++; + } + } + + case 246 -> { + + if (!bugPath245.equals(currentBugPosition)) + + { + bugPath246 = currentBugPosition; + pathLength++; + } + } + + case 245 -> { + + if (!bugPath244.equals(currentBugPosition)) + + { + bugPath245 = currentBugPosition; + pathLength++; + } + } + + case 244 -> { + + if (!bugPath243.equals(currentBugPosition)) + + { + bugPath244 = currentBugPosition; + pathLength++; + } + } + + case 243 -> { + + if (!bugPath242.equals(currentBugPosition)) + + { + bugPath243 = currentBugPosition; + pathLength++; + } + } + + case 242 -> { + + if (!bugPath241.equals(currentBugPosition)) + + { + bugPath242 = currentBugPosition; + pathLength++; + } + } + + case 241 -> { + + if (!bugPath240.equals(currentBugPosition)) + + { + bugPath241 = currentBugPosition; + pathLength++; + } + } + + case 240 -> { + + if (!bugPath239.equals(currentBugPosition)) + + { + bugPath240 = currentBugPosition; + pathLength++; + } + } + + case 239 -> { + + if (!bugPath238.equals(currentBugPosition)) + + { + bugPath239 = currentBugPosition; + pathLength++; + } + } + + case 238 -> { + + if (!bugPath237.equals(currentBugPosition)) + + { + bugPath238 = currentBugPosition; + pathLength++; + } + } + + case 237 -> { + + if (!bugPath236.equals(currentBugPosition)) + + { + bugPath237 = currentBugPosition; + pathLength++; + } + } + + case 236 -> { + + if (!bugPath235.equals(currentBugPosition)) + + { + bugPath236 = currentBugPosition; + pathLength++; + } + } + + case 235 -> { + + if (!bugPath234.equals(currentBugPosition)) + + { + bugPath235 = currentBugPosition; + pathLength++; + } + } + + case 234 -> { + + if (!bugPath233.equals(currentBugPosition)) + + { + bugPath234 = currentBugPosition; + pathLength++; + } + } + + case 233 -> { + + if (!bugPath232.equals(currentBugPosition)) + + { + bugPath233 = currentBugPosition; + pathLength++; + } + } + + case 232 -> { + + if (!bugPath231.equals(currentBugPosition)) + + { + bugPath232 = currentBugPosition; + pathLength++; + } + } + + case 231 -> { + + if (!bugPath230.equals(currentBugPosition)) + + { + bugPath231 = currentBugPosition; + pathLength++; + } + } + + case 230 -> { + + if (!bugPath229.equals(currentBugPosition)) + + { + bugPath230 = currentBugPosition; + pathLength++; + } + } + + case 229 -> { + + if (!bugPath228.equals(currentBugPosition)) + + { + bugPath229 = currentBugPosition; + pathLength++; + } + } + + case 228 -> { + + if (!bugPath227.equals(currentBugPosition)) + + { + bugPath228 = currentBugPosition; + pathLength++; + } + } + + case 227 -> { + + if (!bugPath226.equals(currentBugPosition)) + + { + bugPath227 = currentBugPosition; + pathLength++; + } + } + + case 226 -> { + + if (!bugPath225.equals(currentBugPosition)) + + { + bugPath226 = currentBugPosition; + pathLength++; + } + } + + case 225 -> { + + if (!bugPath224.equals(currentBugPosition)) + + { + bugPath225 = currentBugPosition; + pathLength++; + } + } + + case 224 -> { + + if (!bugPath223.equals(currentBugPosition)) + + { + bugPath224 = currentBugPosition; + pathLength++; + } + } + + case 223 -> { + + if (!bugPath222.equals(currentBugPosition)) + + { + bugPath223 = currentBugPosition; + pathLength++; + } + } + + case 222 -> { + + if (!bugPath221.equals(currentBugPosition)) + + { + bugPath222 = currentBugPosition; + pathLength++; + } + } + + case 221 -> { + + if (!bugPath220.equals(currentBugPosition)) + + { + bugPath221 = currentBugPosition; + pathLength++; + } + } + + case 220 -> { + + if (!bugPath219.equals(currentBugPosition)) + + { + bugPath220 = currentBugPosition; + pathLength++; + } + } + + case 219 -> { + + if (!bugPath218.equals(currentBugPosition)) + + { + bugPath219 = currentBugPosition; + pathLength++; + } + } + + case 218 -> { + + if (!bugPath217.equals(currentBugPosition)) + + { + bugPath218 = currentBugPosition; + pathLength++; + } + } + + case 217 -> { + + if (!bugPath216.equals(currentBugPosition)) + + { + bugPath217 = currentBugPosition; + pathLength++; + } + } + + case 216 -> { + + if (!bugPath215.equals(currentBugPosition)) + + { + bugPath216 = currentBugPosition; + pathLength++; + } + } + + case 215 -> { + + if (!bugPath214.equals(currentBugPosition)) + + { + bugPath215 = currentBugPosition; + pathLength++; + } + } + + case 214 -> { + + if (!bugPath213.equals(currentBugPosition)) + + { + bugPath214 = currentBugPosition; + pathLength++; + } + } + + case 213 -> { + + if (!bugPath212.equals(currentBugPosition)) + + { + bugPath213 = currentBugPosition; + pathLength++; + } + } + + case 212 -> { + + if (!bugPath211.equals(currentBugPosition)) + + { + bugPath212 = currentBugPosition; + pathLength++; + } + } + + case 211 -> { + + if (!bugPath210.equals(currentBugPosition)) + + { + bugPath211 = currentBugPosition; + pathLength++; + } + } + + case 210 -> { + + if (!bugPath209.equals(currentBugPosition)) + + { + bugPath210 = currentBugPosition; + pathLength++; + } + } + + case 209 -> { + + if (!bugPath208.equals(currentBugPosition)) + + { + bugPath209 = currentBugPosition; + pathLength++; + } + } + + case 208 -> { + + if (!bugPath207.equals(currentBugPosition)) + + { + bugPath208 = currentBugPosition; + pathLength++; + } + } + + case 207 -> { + + if (!bugPath206.equals(currentBugPosition)) + + { + bugPath207 = currentBugPosition; + pathLength++; + } + } + + case 206 -> { + + if (!bugPath205.equals(currentBugPosition)) + + { + bugPath206 = currentBugPosition; + pathLength++; + } + } + + case 205 -> { + + if (!bugPath204.equals(currentBugPosition)) + + { + bugPath205 = currentBugPosition; + pathLength++; + } + } + + case 204 -> { + + if (!bugPath203.equals(currentBugPosition)) + + { + bugPath204 = currentBugPosition; + pathLength++; + } + } + + case 203 -> { + + if (!bugPath202.equals(currentBugPosition)) + + { + bugPath203 = currentBugPosition; + pathLength++; + } + } + + case 202 -> { + + if (!bugPath201.equals(currentBugPosition)) + + { + bugPath202 = currentBugPosition; + pathLength++; + } + } + + case 201 -> { + + if (!bugPath200.equals(currentBugPosition)) + + { + bugPath201 = currentBugPosition; + pathLength++; + } + } + + case 200 -> { + + if (!bugPath199.equals(currentBugPosition)) + + { + bugPath200 = currentBugPosition; + pathLength++; + } + } + + case 199 -> { + + if (!bugPath198.equals(currentBugPosition)) + + { + bugPath199 = currentBugPosition; + pathLength++; + } + } + + case 198 -> { + + if (!bugPath197.equals(currentBugPosition)) + + { + bugPath198 = currentBugPosition; + pathLength++; + } + } + + case 197 -> { + + if (!bugPath196.equals(currentBugPosition)) + + { + bugPath197 = currentBugPosition; + pathLength++; + } + } + + case 196 -> { + + if (!bugPath195.equals(currentBugPosition)) + + { + bugPath196 = currentBugPosition; + pathLength++; + } + } + + case 195 -> { + + if (!bugPath194.equals(currentBugPosition)) + + { + bugPath195 = currentBugPosition; + pathLength++; + } + } + + case 194 -> { + + if (!bugPath193.equals(currentBugPosition)) + + { + bugPath194 = currentBugPosition; + pathLength++; + } + } + + case 193 -> { + + if (!bugPath192.equals(currentBugPosition)) + + { + bugPath193 = currentBugPosition; + pathLength++; + } + } + + case 192 -> { + + if (!bugPath191.equals(currentBugPosition)) + + { + bugPath192 = currentBugPosition; + pathLength++; + } + } + + case 191 -> { + + if (!bugPath190.equals(currentBugPosition)) + + { + bugPath191 = currentBugPosition; + pathLength++; + } + } + + case 190 -> { + + if (!bugPath189.equals(currentBugPosition)) + + { + bugPath190 = currentBugPosition; + pathLength++; + } + } + + case 189 -> { + + if (!bugPath188.equals(currentBugPosition)) + + { + bugPath189 = currentBugPosition; + pathLength++; + } + } + + case 188 -> { + + if (!bugPath187.equals(currentBugPosition)) + + { + bugPath188 = currentBugPosition; + pathLength++; + } + } + + case 187 -> { + + if (!bugPath186.equals(currentBugPosition)) + + { + bugPath187 = currentBugPosition; + pathLength++; + } + } + + case 186 -> { + + if (!bugPath185.equals(currentBugPosition)) + + { + bugPath186 = currentBugPosition; + pathLength++; + } + } + + case 185 -> { + + if (!bugPath184.equals(currentBugPosition)) + + { + bugPath185 = currentBugPosition; + pathLength++; + } + } + + case 184 -> { + + if (!bugPath183.equals(currentBugPosition)) + + { + bugPath184 = currentBugPosition; + pathLength++; + } + } + + case 183 -> { + + if (!bugPath182.equals(currentBugPosition)) + + { + bugPath183 = currentBugPosition; + pathLength++; + } + } + + case 182 -> { + + if (!bugPath181.equals(currentBugPosition)) + + { + bugPath182 = currentBugPosition; + pathLength++; + } + } + + case 181 -> { + + if (!bugPath180.equals(currentBugPosition)) + + { + bugPath181 = currentBugPosition; + pathLength++; + } + } + + case 180 -> { + + if (!bugPath179.equals(currentBugPosition)) + + { + bugPath180 = currentBugPosition; + pathLength++; + } + } + + case 179 -> { + + if (!bugPath178.equals(currentBugPosition)) + + { + bugPath179 = currentBugPosition; + pathLength++; + } + } + + case 178 -> { + + if (!bugPath177.equals(currentBugPosition)) + + { + bugPath178 = currentBugPosition; + pathLength++; + } + } + + case 177 -> { + + if (!bugPath176.equals(currentBugPosition)) + + { + bugPath177 = currentBugPosition; + pathLength++; + } + } + + case 176 -> { + + if (!bugPath175.equals(currentBugPosition)) + + { + bugPath176 = currentBugPosition; + pathLength++; + } + } + + case 175 -> { + + if (!bugPath174.equals(currentBugPosition)) + + { + bugPath175 = currentBugPosition; + pathLength++; + } + } + + case 174 -> { + + if (!bugPath173.equals(currentBugPosition)) + + { + bugPath174 = currentBugPosition; + pathLength++; + } + } + + case 173 -> { + + if (!bugPath172.equals(currentBugPosition)) + + { + bugPath173 = currentBugPosition; + pathLength++; + } + } + + case 172 -> { + + if (!bugPath171.equals(currentBugPosition)) + + { + bugPath172 = currentBugPosition; + pathLength++; + } + } + + case 171 -> { + + if (!bugPath170.equals(currentBugPosition)) + + { + bugPath171 = currentBugPosition; + pathLength++; + } + } + + case 170 -> { + + if (!bugPath169.equals(currentBugPosition)) + + { + bugPath170 = currentBugPosition; + pathLength++; + } + } + + case 169 -> { + + if (!bugPath168.equals(currentBugPosition)) + + { + bugPath169 = currentBugPosition; + pathLength++; + } + } + + case 168 -> { + + if (!bugPath167.equals(currentBugPosition)) + + { + bugPath168 = currentBugPosition; + pathLength++; + } + } + + case 167 -> { + + if (!bugPath166.equals(currentBugPosition)) + + { + bugPath167 = currentBugPosition; + pathLength++; + } + } + + case 166 -> { + + if (!bugPath165.equals(currentBugPosition)) + + { + bugPath166 = currentBugPosition; + pathLength++; + } + } + + case 165 -> { + + if (!bugPath164.equals(currentBugPosition)) + + { + bugPath165 = currentBugPosition; + pathLength++; + } + } + + case 164 -> { + + if (!bugPath163.equals(currentBugPosition)) + + { + bugPath164 = currentBugPosition; + pathLength++; + } + } + + case 163 -> { + + if (!bugPath162.equals(currentBugPosition)) + + { + bugPath163 = currentBugPosition; + pathLength++; + } + } + + case 162 -> { + + if (!bugPath161.equals(currentBugPosition)) + + { + bugPath162 = currentBugPosition; + pathLength++; + } + } + + case 161 -> { + + if (!bugPath160.equals(currentBugPosition)) + + { + bugPath161 = currentBugPosition; + pathLength++; + } + } + + case 160 -> { + + if (!bugPath159.equals(currentBugPosition)) + + { + bugPath160 = currentBugPosition; + pathLength++; + } + } + + case 159 -> { + + if (!bugPath158.equals(currentBugPosition)) + + { + bugPath159 = currentBugPosition; + pathLength++; + } + } + + case 158 -> { + + if (!bugPath157.equals(currentBugPosition)) + + { + bugPath158 = currentBugPosition; + pathLength++; + } + } + + case 157 -> { + + if (!bugPath156.equals(currentBugPosition)) + + { + bugPath157 = currentBugPosition; + pathLength++; + } + } + + case 156 -> { + + if (!bugPath155.equals(currentBugPosition)) + + { + bugPath156 = currentBugPosition; + pathLength++; + } + } + + case 155 -> { + + if (!bugPath154.equals(currentBugPosition)) + + { + bugPath155 = currentBugPosition; + pathLength++; + } + } + + case 154 -> { + + if (!bugPath153.equals(currentBugPosition)) + + { + bugPath154 = currentBugPosition; + pathLength++; + } + } + + case 153 -> { + + if (!bugPath152.equals(currentBugPosition)) + + { + bugPath153 = currentBugPosition; + pathLength++; + } + } + + case 152 -> { + + if (!bugPath151.equals(currentBugPosition)) + + { + bugPath152 = currentBugPosition; + pathLength++; + } + } + + case 151 -> { + + if (!bugPath150.equals(currentBugPosition)) + + { + bugPath151 = currentBugPosition; + pathLength++; + } + } + + case 150 -> { + + if (!bugPath149.equals(currentBugPosition)) + + { + bugPath150 = currentBugPosition; + pathLength++; + } + } + + case 149 -> { + + if (!bugPath148.equals(currentBugPosition)) + + { + bugPath149 = currentBugPosition; + pathLength++; + } + } + + case 148 -> { + + if (!bugPath147.equals(currentBugPosition)) + + { + bugPath148 = currentBugPosition; + pathLength++; + } + } + + case 147 -> { + + if (!bugPath146.equals(currentBugPosition)) + + { + bugPath147 = currentBugPosition; + pathLength++; + } + } + + case 146 -> { + + if (!bugPath145.equals(currentBugPosition)) + + { + bugPath146 = currentBugPosition; + pathLength++; + } + } + + case 145 -> { + + if (!bugPath144.equals(currentBugPosition)) + + { + bugPath145 = currentBugPosition; + pathLength++; + } + } + + case 144 -> { + + if (!bugPath143.equals(currentBugPosition)) + + { + bugPath144 = currentBugPosition; + pathLength++; + } + } + + case 143 -> { + + if (!bugPath142.equals(currentBugPosition)) + + { + bugPath143 = currentBugPosition; + pathLength++; + } + } + + case 142 -> { + + if (!bugPath141.equals(currentBugPosition)) + + { + bugPath142 = currentBugPosition; + pathLength++; + } + } + + case 141 -> { + + if (!bugPath140.equals(currentBugPosition)) + + { + bugPath141 = currentBugPosition; + pathLength++; + } + } + + case 140 -> { + + if (!bugPath139.equals(currentBugPosition)) + + { + bugPath140 = currentBugPosition; + pathLength++; + } + } + + case 139 -> { + + if (!bugPath138.equals(currentBugPosition)) + + { + bugPath139 = currentBugPosition; + pathLength++; + } + } + + case 138 -> { + + if (!bugPath137.equals(currentBugPosition)) + + { + bugPath138 = currentBugPosition; + pathLength++; + } + } + + case 137 -> { + + if (!bugPath136.equals(currentBugPosition)) + + { + bugPath137 = currentBugPosition; + pathLength++; + } + } + + case 136 -> { + + if (!bugPath135.equals(currentBugPosition)) + + { + bugPath136 = currentBugPosition; + pathLength++; + } + } + + case 135 -> { + + if (!bugPath134.equals(currentBugPosition)) + + { + bugPath135 = currentBugPosition; + pathLength++; + } + } + + case 134 -> { + + if (!bugPath133.equals(currentBugPosition)) + + { + bugPath134 = currentBugPosition; + pathLength++; + } + } + + case 133 -> { + + if (!bugPath132.equals(currentBugPosition)) + + { + bugPath133 = currentBugPosition; + pathLength++; + } + } + + case 132 -> { + + if (!bugPath131.equals(currentBugPosition)) + + { + bugPath132 = currentBugPosition; + pathLength++; + } + } + + case 131 -> { + + if (!bugPath130.equals(currentBugPosition)) + + { + bugPath131 = currentBugPosition; + pathLength++; + } + } + + case 130 -> { + + if (!bugPath129.equals(currentBugPosition)) + + { + bugPath130 = currentBugPosition; + pathLength++; + } + } + + case 129 -> { + + if (!bugPath128.equals(currentBugPosition)) + + { + bugPath129 = currentBugPosition; + pathLength++; + } + } + + case 128 -> { + + if (!bugPath127.equals(currentBugPosition)) + + { + bugPath128 = currentBugPosition; + pathLength++; + } + } + + case 127 -> { + + if (!bugPath126.equals(currentBugPosition)) + + { + bugPath127 = currentBugPosition; + pathLength++; + } + } + + case 126 -> { + + if (!bugPath125.equals(currentBugPosition)) + + { + bugPath126 = currentBugPosition; + pathLength++; + } + } + + case 125 -> { + + if (!bugPath124.equals(currentBugPosition)) + + { + bugPath125 = currentBugPosition; + pathLength++; + } + } + + case 124 -> { + + if (!bugPath123.equals(currentBugPosition)) + + { + bugPath124 = currentBugPosition; + pathLength++; + } + } + + case 123 -> { + + if (!bugPath122.equals(currentBugPosition)) + + { + bugPath123 = currentBugPosition; + pathLength++; + } + } + + case 122 -> { + + if (!bugPath121.equals(currentBugPosition)) + + { + bugPath122 = currentBugPosition; + pathLength++; + } + } + + case 121 -> { + + if (!bugPath120.equals(currentBugPosition)) + + { + bugPath121 = currentBugPosition; + pathLength++; + } + } + + case 120 -> { + + if (!bugPath119.equals(currentBugPosition)) + + { + bugPath120 = currentBugPosition; + pathLength++; + } + } + + case 119 -> { + + if (!bugPath118.equals(currentBugPosition)) + + { + bugPath119 = currentBugPosition; + pathLength++; + } + } + + case 118 -> { + + if (!bugPath117.equals(currentBugPosition)) + + { + bugPath118 = currentBugPosition; + pathLength++; + } + } + + case 117 -> { + + if (!bugPath116.equals(currentBugPosition)) + + { + bugPath117 = currentBugPosition; + pathLength++; + } + } + + case 116 -> { + + if (!bugPath115.equals(currentBugPosition)) + + { + bugPath116 = currentBugPosition; + pathLength++; + } + } + + case 115 -> { + + if (!bugPath114.equals(currentBugPosition)) + + { + bugPath115 = currentBugPosition; + pathLength++; + } + } + + case 114 -> { + + if (!bugPath113.equals(currentBugPosition)) + + { + bugPath114 = currentBugPosition; + pathLength++; + } + } + + case 113 -> { + + if (!bugPath112.equals(currentBugPosition)) + + { + bugPath113 = currentBugPosition; + pathLength++; + } + } + + case 112 -> { + + if (!bugPath111.equals(currentBugPosition)) + + { + bugPath112 = currentBugPosition; + pathLength++; + } + } + + case 111 -> { + + if (!bugPath110.equals(currentBugPosition)) + + { + bugPath111 = currentBugPosition; + pathLength++; + } + } + + case 110 -> { + + if (!bugPath109.equals(currentBugPosition)) + + { + bugPath110 = currentBugPosition; + pathLength++; + } + } + + case 109 -> { + + if (!bugPath108.equals(currentBugPosition)) + + { + bugPath109 = currentBugPosition; + pathLength++; + } + } + + case 108 -> { + + if (!bugPath107.equals(currentBugPosition)) + + { + bugPath108 = currentBugPosition; + pathLength++; + } + } + + case 107 -> { + + if (!bugPath106.equals(currentBugPosition)) + + { + bugPath107 = currentBugPosition; + pathLength++; + } + } + + case 106 -> { + + if (!bugPath105.equals(currentBugPosition)) + + { + bugPath106 = currentBugPosition; + pathLength++; + } + } + + case 105 -> { + + if (!bugPath104.equals(currentBugPosition)) + + { + bugPath105 = currentBugPosition; + pathLength++; + } + } + + case 104 -> { + + if (!bugPath103.equals(currentBugPosition)) + + { + bugPath104 = currentBugPosition; + pathLength++; + } + } + + case 103 -> { + + if (!bugPath102.equals(currentBugPosition)) + + { + bugPath103 = currentBugPosition; + pathLength++; + } + } + + case 102 -> { + + if (!bugPath101.equals(currentBugPosition)) + + { + bugPath102 = currentBugPosition; + pathLength++; + } + } + + case 101 -> { + + if (!bugPath100.equals(currentBugPosition)) + + { + bugPath101 = currentBugPosition; + pathLength++; + } + } + + case 100 -> { + + if (!bugPath99.equals(currentBugPosition)) + + { + bugPath100 = currentBugPosition; + pathLength++; + } + } + + case 99 -> { + + if (!bugPath98.equals(currentBugPosition)) + + { + bugPath99 = currentBugPosition; + pathLength++; + } + } + + case 98 -> { + + if (!bugPath97.equals(currentBugPosition)) + + { + bugPath98 = currentBugPosition; + pathLength++; + } + } + + case 97 -> { + + if (!bugPath96.equals(currentBugPosition)) + + { + bugPath97 = currentBugPosition; + pathLength++; + } + } + + case 96 -> { + + if (!bugPath95.equals(currentBugPosition)) + + { + bugPath96 = currentBugPosition; + pathLength++; + } + } + + case 95 -> { + + if (!bugPath94.equals(currentBugPosition)) + + { + bugPath95 = currentBugPosition; + pathLength++; + } + } + + case 94 -> { + + if (!bugPath93.equals(currentBugPosition)) + + { + bugPath94 = currentBugPosition; + pathLength++; + } + } + + case 93 -> { + + if (!bugPath92.equals(currentBugPosition)) + + { + bugPath93 = currentBugPosition; + pathLength++; + } + } + + case 92 -> { + + if (!bugPath91.equals(currentBugPosition)) + + { + bugPath92 = currentBugPosition; + pathLength++; + } + } + + case 91 -> { + + if (!bugPath90.equals(currentBugPosition)) + + { + bugPath91 = currentBugPosition; + pathLength++; + } + } + + case 90 -> { + + if (!bugPath89.equals(currentBugPosition)) + + { + bugPath90 = currentBugPosition; + pathLength++; + } + } + + case 89 -> { + + if (!bugPath88.equals(currentBugPosition)) + + { + bugPath89 = currentBugPosition; + pathLength++; + } + } + + case 88 -> { + + if (!bugPath87.equals(currentBugPosition)) + + { + bugPath88 = currentBugPosition; + pathLength++; + } + } + + case 87 -> { + + if (!bugPath86.equals(currentBugPosition)) + + { + bugPath87 = currentBugPosition; + pathLength++; + } + } + + case 86 -> { + + if (!bugPath85.equals(currentBugPosition)) + + { + bugPath86 = currentBugPosition; + pathLength++; + } + } + + case 85 -> { + + if (!bugPath84.equals(currentBugPosition)) + + { + bugPath85 = currentBugPosition; + pathLength++; + } + } + + case 84 -> { + + if (!bugPath83.equals(currentBugPosition)) + + { + bugPath84 = currentBugPosition; + pathLength++; + } + } + + case 83 -> { + + if (!bugPath82.equals(currentBugPosition)) + + { + bugPath83 = currentBugPosition; + pathLength++; + } + } + + case 82 -> { + + if (!bugPath81.equals(currentBugPosition)) + + { + bugPath82 = currentBugPosition; + pathLength++; + } + } + + case 81 -> { + + if (!bugPath80.equals(currentBugPosition)) + + { + bugPath81 = currentBugPosition; + pathLength++; + } + } + + case 80 -> { + + if (!bugPath79.equals(currentBugPosition)) + + { + bugPath80 = currentBugPosition; + pathLength++; + } + } + + case 79 -> { + + if (!bugPath78.equals(currentBugPosition)) + + { + bugPath79 = currentBugPosition; + pathLength++; + } + } + + case 78 -> { + + if (!bugPath77.equals(currentBugPosition)) + + { + bugPath78 = currentBugPosition; + pathLength++; + } + } + + case 77 -> { + + if (!bugPath76.equals(currentBugPosition)) + + { + bugPath77 = currentBugPosition; + pathLength++; + } + } + + case 76 -> { + + if (!bugPath75.equals(currentBugPosition)) + + { + bugPath76 = currentBugPosition; + pathLength++; + } + } + + case 75 -> { + + if (!bugPath74.equals(currentBugPosition)) + + { + bugPath75 = currentBugPosition; + pathLength++; + } + } + + case 74 -> { + + if (!bugPath73.equals(currentBugPosition)) + + { + bugPath74 = currentBugPosition; + pathLength++; + } + } + + case 73 -> { + + if (!bugPath72.equals(currentBugPosition)) + + { + bugPath73 = currentBugPosition; + pathLength++; + } + } + + case 72 -> { + + if (!bugPath71.equals(currentBugPosition)) + + { + bugPath72 = currentBugPosition; + pathLength++; + } + } + + case 71 -> { + + if (!bugPath70.equals(currentBugPosition)) + + { + bugPath71 = currentBugPosition; + pathLength++; + } + } + + case 70 -> { + + if (!bugPath69.equals(currentBugPosition)) + + { + bugPath70 = currentBugPosition; + pathLength++; + } + } + + case 69 -> { + + if (!bugPath68.equals(currentBugPosition)) + + { + bugPath69 = currentBugPosition; + pathLength++; + } + } + + case 68 -> { + + if (!bugPath67.equals(currentBugPosition)) + + { + bugPath68 = currentBugPosition; + pathLength++; + } + } + + case 67 -> { + + if (!bugPath66.equals(currentBugPosition)) + + { + bugPath67 = currentBugPosition; + pathLength++; + } + } + + case 66 -> { + + if (!bugPath65.equals(currentBugPosition)) + + { + bugPath66 = currentBugPosition; + pathLength++; + } + } + + case 65 -> { + + if (!bugPath64.equals(currentBugPosition)) + + { + bugPath65 = currentBugPosition; + pathLength++; + } + } + + case 64 -> { + + if (!bugPath63.equals(currentBugPosition)) + + { + bugPath64 = currentBugPosition; + pathLength++; + } + } + + case 63 -> { + + if (!bugPath62.equals(currentBugPosition)) + + { + bugPath63 = currentBugPosition; + pathLength++; + } + } + + case 62 -> { + + if (!bugPath61.equals(currentBugPosition)) + + { + bugPath62 = currentBugPosition; + pathLength++; + } + } + + case 61 -> { + + if (!bugPath60.equals(currentBugPosition)) + + { + bugPath61 = currentBugPosition; + pathLength++; + } + } + + case 60 -> { + + if (!bugPath59.equals(currentBugPosition)) + + { + bugPath60 = currentBugPosition; + pathLength++; + } + } + + case 59 -> { + + if (!bugPath58.equals(currentBugPosition)) + + { + bugPath59 = currentBugPosition; + pathLength++; + } + } + + case 58 -> { + + if (!bugPath57.equals(currentBugPosition)) + + { + bugPath58 = currentBugPosition; + pathLength++; + } + } + + case 57 -> { + + if (!bugPath56.equals(currentBugPosition)) + + { + bugPath57 = currentBugPosition; + pathLength++; + } + } + + case 56 -> { + + if (!bugPath55.equals(currentBugPosition)) + + { + bugPath56 = currentBugPosition; + pathLength++; + } + } + + case 55 -> { + + if (!bugPath54.equals(currentBugPosition)) + + { + bugPath55 = currentBugPosition; + pathLength++; + } + } + + case 54 -> { + + if (!bugPath53.equals(currentBugPosition)) + + { + bugPath54 = currentBugPosition; + pathLength++; + } + } + + case 53 -> { + + if (!bugPath52.equals(currentBugPosition)) + + { + bugPath53 = currentBugPosition; + pathLength++; + } + } + + case 52 -> { + + if (!bugPath51.equals(currentBugPosition)) + + { + bugPath52 = currentBugPosition; + pathLength++; + } + } + + case 51 -> { + + if (!bugPath50.equals(currentBugPosition)) + + { + bugPath51 = currentBugPosition; + pathLength++; + } + } + + case 50 -> { + + if (!bugPath49.equals(currentBugPosition)) + + { + bugPath50 = currentBugPosition; + pathLength++; + } + } + + case 49 -> { + + if (!bugPath48.equals(currentBugPosition)) + + { + bugPath49 = currentBugPosition; + pathLength++; + } + } + + case 48 -> { + + if (!bugPath47.equals(currentBugPosition)) + + { + bugPath48 = currentBugPosition; + pathLength++; + } + } + + case 47 -> { + + if (!bugPath46.equals(currentBugPosition)) + + { + bugPath47 = currentBugPosition; + pathLength++; + } + } + + case 46 -> { + + if (!bugPath45.equals(currentBugPosition)) + + { + bugPath46 = currentBugPosition; + pathLength++; + } + } + + case 45 -> { + + if (!bugPath44.equals(currentBugPosition)) + + { + bugPath45 = currentBugPosition; + pathLength++; + } + } + + case 44 -> { + + if (!bugPath43.equals(currentBugPosition)) + + { + bugPath44 = currentBugPosition; + pathLength++; + } + } + + case 43 -> { + + if (!bugPath42.equals(currentBugPosition)) + + { + bugPath43 = currentBugPosition; + pathLength++; + } + } + + case 42 -> { + + if (!bugPath41.equals(currentBugPosition)) + + { + bugPath42 = currentBugPosition; + pathLength++; + } + } + + case 41 -> { + + if (!bugPath40.equals(currentBugPosition)) + + { + bugPath41 = currentBugPosition; + pathLength++; + } + } + + case 40 -> { + + if (!bugPath39.equals(currentBugPosition)) + + { + bugPath40 = currentBugPosition; + pathLength++; + } + } + + case 39 -> { + + if (!bugPath38.equals(currentBugPosition)) + + { + bugPath39 = currentBugPosition; + pathLength++; + } + } + + case 38 -> { + + if (!bugPath37.equals(currentBugPosition)) + + { + bugPath38 = currentBugPosition; + pathLength++; + } + } + + case 37 -> { + + if (!bugPath36.equals(currentBugPosition)) + + { + bugPath37 = currentBugPosition; + pathLength++; + } + } + + case 36 -> { + + if (!bugPath35.equals(currentBugPosition)) + + { + bugPath36 = currentBugPosition; + pathLength++; + } + } + + case 35 -> { + + if (!bugPath34.equals(currentBugPosition)) + + { + bugPath35 = currentBugPosition; + pathLength++; + } + } + + case 34 -> { + + if (!bugPath33.equals(currentBugPosition)) + + { + bugPath34 = currentBugPosition; + pathLength++; + } + } + + case 33 -> { + + if (!bugPath32.equals(currentBugPosition)) + + { + bugPath33 = currentBugPosition; + pathLength++; + } + } + + case 32 -> { + + if (!bugPath31.equals(currentBugPosition)) + + { + bugPath32 = currentBugPosition; + pathLength++; + } + } + + case 31 -> { + + if (!bugPath30.equals(currentBugPosition)) + + { + bugPath31 = currentBugPosition; + pathLength++; + } + } + + case 30 -> { + + if (!bugPath29.equals(currentBugPosition)) + + { + bugPath30 = currentBugPosition; + pathLength++; + } + } + + case 29 -> { + + if (!bugPath28.equals(currentBugPosition)) + + { + bugPath29 = currentBugPosition; + pathLength++; + } + } + + case 28 -> { + + if (!bugPath27.equals(currentBugPosition)) + + { + bugPath28 = currentBugPosition; + pathLength++; + } + } + + case 27 -> { + + if (!bugPath26.equals(currentBugPosition)) + + { + bugPath27 = currentBugPosition; + pathLength++; + } + } + + case 26 -> { + + if (!bugPath25.equals(currentBugPosition)) + + { + bugPath26 = currentBugPosition; + pathLength++; + } + } + + case 25 -> { + + if (!bugPath24.equals(currentBugPosition)) + + { + bugPath25 = currentBugPosition; + pathLength++; + } + } + + case 24 -> { + + if (!bugPath23.equals(currentBugPosition)) + + { + bugPath24 = currentBugPosition; + pathLength++; + } + } + + case 23 -> { + + if (!bugPath22.equals(currentBugPosition)) + + { + bugPath23 = currentBugPosition; + pathLength++; + } + } + + case 22 -> { + + if (!bugPath21.equals(currentBugPosition)) + + { + bugPath22 = currentBugPosition; + pathLength++; + } + } + + case 21 -> { + + if (!bugPath20.equals(currentBugPosition)) + + { + bugPath21 = currentBugPosition; + pathLength++; + } + } + + case 20 -> { + + if (!bugPath19.equals(currentBugPosition)) + + { + bugPath20 = currentBugPosition; + pathLength++; + } + } + + case 19 -> { + + if (!bugPath18.equals(currentBugPosition)) + + { + bugPath19 = currentBugPosition; + pathLength++; + } + } + + case 18 -> { + + if (!bugPath17.equals(currentBugPosition)) + + { + bugPath18 = currentBugPosition; + pathLength++; + } + } + + case 17 -> { + + if (!bugPath16.equals(currentBugPosition)) + + { + bugPath17 = currentBugPosition; + pathLength++; + } + } + + case 16 -> { + + if (!bugPath15.equals(currentBugPosition)) + + { + bugPath16 = currentBugPosition; + pathLength++; + } + } + + case 15 -> { + + if (!bugPath14.equals(currentBugPosition)) + + { + bugPath15 = currentBugPosition; + pathLength++; + } + } + + case 14 -> { + + if (!bugPath13.equals(currentBugPosition)) + + { + bugPath14 = currentBugPosition; + pathLength++; + } + } + + case 13 -> { + + if (!bugPath12.equals(currentBugPosition)) + + { + bugPath13 = currentBugPosition; + pathLength++; + } + } + + case 12 -> { + + if (!bugPath11.equals(currentBugPosition)) + + { + bugPath12 = currentBugPosition; + pathLength++; + } + } + + case 11 -> { + + if (!bugPath10.equals(currentBugPosition)) + + { + bugPath11 = currentBugPosition; + pathLength++; + } + } + + case 10 -> { + + if (!bugPath9.equals(currentBugPosition)) + + { + bugPath10 = currentBugPosition; + pathLength++; + } + } + + case 9 -> { + + if (!bugPath8.equals(currentBugPosition)) + + { + bugPath9 = currentBugPosition; + pathLength++; + } + } + + case 8 -> { + + if (!bugPath7.equals(currentBugPosition)) + + { + bugPath8 = currentBugPosition; + pathLength++; + } + } + + case 7 -> { + + if (!bugPath6.equals(currentBugPosition)) + + { + bugPath7 = currentBugPosition; + pathLength++; + } + } + + case 6 -> { + + if (!bugPath5.equals(currentBugPosition)) + + { + bugPath6 = currentBugPosition; + pathLength++; + } + } + + case 5 -> { + + if (!bugPath4.equals(currentBugPosition)) + + { + bugPath5 = currentBugPosition; + pathLength++; + } + } + + case 4 -> { + + if (!bugPath3.equals(currentBugPosition)) + + { + bugPath4 = currentBugPosition; + pathLength++; + } + } + + case 3 -> { + + if (!bugPath2.equals(currentBugPosition)) + + { + bugPath3 = currentBugPosition; + pathLength++; + } + } + + case 2 -> { + + if (!bugPath1.equals(currentBugPosition)) + + { + bugPath2 = currentBugPosition; + pathLength++; + } + } + + case 1 -> { + + if (!bugPath0.equals(currentBugPosition)) + + { + bugPath1 = currentBugPosition; + pathLength++; + } + } + + case 0 -> { + + { + bugPath0 = currentBugPosition; + pathLength++; + } + } + + default -> { assert(pathLength <= 500); } + } + } + + public static void setCurrentPosition() { + currentBugPosition = null; + findCurrentBugPosition: { + switch (pathLength - 1) { + + case 499: { + if (bugPath499.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath499; + break findCurrentBugPosition; + } + } + + case 498: { + if (bugPath498.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath498; + break findCurrentBugPosition; + } + } + + case 497: { + if (bugPath497.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath497; + break findCurrentBugPosition; + } + } + + case 496: { + if (bugPath496.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath496; + break findCurrentBugPosition; + } + } + + case 495: { + if (bugPath495.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath495; + break findCurrentBugPosition; + } + } + + case 494: { + if (bugPath494.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath494; + break findCurrentBugPosition; + } + } + + case 493: { + if (bugPath493.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath493; + break findCurrentBugPosition; + } + } + + case 492: { + if (bugPath492.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath492; + break findCurrentBugPosition; + } + } + + case 491: { + if (bugPath491.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath491; + break findCurrentBugPosition; + } + } + + case 490: { + if (bugPath490.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath490; + break findCurrentBugPosition; + } + } + + case 489: { + if (bugPath489.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath489; + break findCurrentBugPosition; + } + } + + case 488: { + if (bugPath488.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath488; + break findCurrentBugPosition; + } + } + + case 487: { + if (bugPath487.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath487; + break findCurrentBugPosition; + } + } + + case 486: { + if (bugPath486.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath486; + break findCurrentBugPosition; + } + } + + case 485: { + if (bugPath485.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath485; + break findCurrentBugPosition; + } + } + + case 484: { + if (bugPath484.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath484; + break findCurrentBugPosition; + } + } + + case 483: { + if (bugPath483.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath483; + break findCurrentBugPosition; + } + } + + case 482: { + if (bugPath482.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath482; + break findCurrentBugPosition; + } + } + + case 481: { + if (bugPath481.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath481; + break findCurrentBugPosition; + } + } + + case 480: { + if (bugPath480.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath480; + break findCurrentBugPosition; + } + } + + case 479: { + if (bugPath479.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath479; + break findCurrentBugPosition; + } + } + + case 478: { + if (bugPath478.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath478; + break findCurrentBugPosition; + } + } + + case 477: { + if (bugPath477.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath477; + break findCurrentBugPosition; + } + } + + case 476: { + if (bugPath476.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath476; + break findCurrentBugPosition; + } + } + + case 475: { + if (bugPath475.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath475; + break findCurrentBugPosition; + } + } + + case 474: { + if (bugPath474.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath474; + break findCurrentBugPosition; + } + } + + case 473: { + if (bugPath473.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath473; + break findCurrentBugPosition; + } + } + + case 472: { + if (bugPath472.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath472; + break findCurrentBugPosition; + } + } + + case 471: { + if (bugPath471.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath471; + break findCurrentBugPosition; + } + } + + case 470: { + if (bugPath470.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath470; + break findCurrentBugPosition; + } + } + + case 469: { + if (bugPath469.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath469; + break findCurrentBugPosition; + } + } + + case 468: { + if (bugPath468.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath468; + break findCurrentBugPosition; + } + } + + case 467: { + if (bugPath467.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath467; + break findCurrentBugPosition; + } + } + + case 466: { + if (bugPath466.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath466; + break findCurrentBugPosition; + } + } + + case 465: { + if (bugPath465.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath465; + break findCurrentBugPosition; + } + } + + case 464: { + if (bugPath464.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath464; + break findCurrentBugPosition; + } + } + + case 463: { + if (bugPath463.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath463; + break findCurrentBugPosition; + } + } + + case 462: { + if (bugPath462.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath462; + break findCurrentBugPosition; + } + } + + case 461: { + if (bugPath461.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath461; + break findCurrentBugPosition; + } + } + + case 460: { + if (bugPath460.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath460; + break findCurrentBugPosition; + } + } + + case 459: { + if (bugPath459.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath459; + break findCurrentBugPosition; + } + } + + case 458: { + if (bugPath458.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath458; + break findCurrentBugPosition; + } + } + + case 457: { + if (bugPath457.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath457; + break findCurrentBugPosition; + } + } + + case 456: { + if (bugPath456.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath456; + break findCurrentBugPosition; + } + } + + case 455: { + if (bugPath455.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath455; + break findCurrentBugPosition; + } + } + + case 454: { + if (bugPath454.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath454; + break findCurrentBugPosition; + } + } + + case 453: { + if (bugPath453.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath453; + break findCurrentBugPosition; + } + } + + case 452: { + if (bugPath452.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath452; + break findCurrentBugPosition; + } + } + + case 451: { + if (bugPath451.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath451; + break findCurrentBugPosition; + } + } + + case 450: { + if (bugPath450.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath450; + break findCurrentBugPosition; + } + } + + case 449: { + if (bugPath449.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath449; + break findCurrentBugPosition; + } + } + + case 448: { + if (bugPath448.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath448; + break findCurrentBugPosition; + } + } + + case 447: { + if (bugPath447.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath447; + break findCurrentBugPosition; + } + } + + case 446: { + if (bugPath446.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath446; + break findCurrentBugPosition; + } + } + + case 445: { + if (bugPath445.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath445; + break findCurrentBugPosition; + } + } + + case 444: { + if (bugPath444.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath444; + break findCurrentBugPosition; + } + } + + case 443: { + if (bugPath443.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath443; + break findCurrentBugPosition; + } + } + + case 442: { + if (bugPath442.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath442; + break findCurrentBugPosition; + } + } + + case 441: { + if (bugPath441.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath441; + break findCurrentBugPosition; + } + } + + case 440: { + if (bugPath440.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath440; + break findCurrentBugPosition; + } + } + + case 439: { + if (bugPath439.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath439; + break findCurrentBugPosition; + } + } + + case 438: { + if (bugPath438.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath438; + break findCurrentBugPosition; + } + } + + case 437: { + if (bugPath437.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath437; + break findCurrentBugPosition; + } + } + + case 436: { + if (bugPath436.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath436; + break findCurrentBugPosition; + } + } + + case 435: { + if (bugPath435.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath435; + break findCurrentBugPosition; + } + } + + case 434: { + if (bugPath434.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath434; + break findCurrentBugPosition; + } + } + + case 433: { + if (bugPath433.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath433; + break findCurrentBugPosition; + } + } + + case 432: { + if (bugPath432.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath432; + break findCurrentBugPosition; + } + } + + case 431: { + if (bugPath431.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath431; + break findCurrentBugPosition; + } + } + + case 430: { + if (bugPath430.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath430; + break findCurrentBugPosition; + } + } + + case 429: { + if (bugPath429.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath429; + break findCurrentBugPosition; + } + } + + case 428: { + if (bugPath428.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath428; + break findCurrentBugPosition; + } + } + + case 427: { + if (bugPath427.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath427; + break findCurrentBugPosition; + } + } + + case 426: { + if (bugPath426.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath426; + break findCurrentBugPosition; + } + } + + case 425: { + if (bugPath425.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath425; + break findCurrentBugPosition; + } + } + + case 424: { + if (bugPath424.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath424; + break findCurrentBugPosition; + } + } + + case 423: { + if (bugPath423.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath423; + break findCurrentBugPosition; + } + } + + case 422: { + if (bugPath422.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath422; + break findCurrentBugPosition; + } + } + + case 421: { + if (bugPath421.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath421; + break findCurrentBugPosition; + } + } + + case 420: { + if (bugPath420.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath420; + break findCurrentBugPosition; + } + } + + case 419: { + if (bugPath419.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath419; + break findCurrentBugPosition; + } + } + + case 418: { + if (bugPath418.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath418; + break findCurrentBugPosition; + } + } + + case 417: { + if (bugPath417.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath417; + break findCurrentBugPosition; + } + } + + case 416: { + if (bugPath416.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath416; + break findCurrentBugPosition; + } + } + + case 415: { + if (bugPath415.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath415; + break findCurrentBugPosition; + } + } + + case 414: { + if (bugPath414.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath414; + break findCurrentBugPosition; + } + } + + case 413: { + if (bugPath413.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath413; + break findCurrentBugPosition; + } + } + + case 412: { + if (bugPath412.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath412; + break findCurrentBugPosition; + } + } + + case 411: { + if (bugPath411.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath411; + break findCurrentBugPosition; + } + } + + case 410: { + if (bugPath410.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath410; + break findCurrentBugPosition; + } + } + + case 409: { + if (bugPath409.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath409; + break findCurrentBugPosition; + } + } + + case 408: { + if (bugPath408.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath408; + break findCurrentBugPosition; + } + } + + case 407: { + if (bugPath407.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath407; + break findCurrentBugPosition; + } + } + + case 406: { + if (bugPath406.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath406; + break findCurrentBugPosition; + } + } + + case 405: { + if (bugPath405.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath405; + break findCurrentBugPosition; + } + } + + case 404: { + if (bugPath404.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath404; + break findCurrentBugPosition; + } + } + + case 403: { + if (bugPath403.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath403; + break findCurrentBugPosition; + } + } + + case 402: { + if (bugPath402.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath402; + break findCurrentBugPosition; + } + } + + case 401: { + if (bugPath401.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath401; + break findCurrentBugPosition; + } + } + + case 400: { + if (bugPath400.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath400; + break findCurrentBugPosition; + } + } + + case 399: { + if (bugPath399.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath399; + break findCurrentBugPosition; + } + } + + case 398: { + if (bugPath398.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath398; + break findCurrentBugPosition; + } + } + + case 397: { + if (bugPath397.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath397; + break findCurrentBugPosition; + } + } + + case 396: { + if (bugPath396.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath396; + break findCurrentBugPosition; + } + } + + case 395: { + if (bugPath395.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath395; + break findCurrentBugPosition; + } + } + + case 394: { + if (bugPath394.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath394; + break findCurrentBugPosition; + } + } + + case 393: { + if (bugPath393.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath393; + break findCurrentBugPosition; + } + } + + case 392: { + if (bugPath392.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath392; + break findCurrentBugPosition; + } + } + + case 391: { + if (bugPath391.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath391; + break findCurrentBugPosition; + } + } + + case 390: { + if (bugPath390.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath390; + break findCurrentBugPosition; + } + } + + case 389: { + if (bugPath389.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath389; + break findCurrentBugPosition; + } + } + + case 388: { + if (bugPath388.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath388; + break findCurrentBugPosition; + } + } + + case 387: { + if (bugPath387.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath387; + break findCurrentBugPosition; + } + } + + case 386: { + if (bugPath386.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath386; + break findCurrentBugPosition; + } + } + + case 385: { + if (bugPath385.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath385; + break findCurrentBugPosition; + } + } + + case 384: { + if (bugPath384.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath384; + break findCurrentBugPosition; + } + } + + case 383: { + if (bugPath383.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath383; + break findCurrentBugPosition; + } + } + + case 382: { + if (bugPath382.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath382; + break findCurrentBugPosition; + } + } + + case 381: { + if (bugPath381.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath381; + break findCurrentBugPosition; + } + } + + case 380: { + if (bugPath380.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath380; + break findCurrentBugPosition; + } + } + + case 379: { + if (bugPath379.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath379; + break findCurrentBugPosition; + } + } + + case 378: { + if (bugPath378.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath378; + break findCurrentBugPosition; + } + } + + case 377: { + if (bugPath377.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath377; + break findCurrentBugPosition; + } + } + + case 376: { + if (bugPath376.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath376; + break findCurrentBugPosition; + } + } + + case 375: { + if (bugPath375.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath375; + break findCurrentBugPosition; + } + } + + case 374: { + if (bugPath374.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath374; + break findCurrentBugPosition; + } + } + + case 373: { + if (bugPath373.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath373; + break findCurrentBugPosition; + } + } + + case 372: { + if (bugPath372.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath372; + break findCurrentBugPosition; + } + } + + case 371: { + if (bugPath371.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath371; + break findCurrentBugPosition; + } + } + + case 370: { + if (bugPath370.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath370; + break findCurrentBugPosition; + } + } + + case 369: { + if (bugPath369.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath369; + break findCurrentBugPosition; + } + } + + case 368: { + if (bugPath368.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath368; + break findCurrentBugPosition; + } + } + + case 367: { + if (bugPath367.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath367; + break findCurrentBugPosition; + } + } + + case 366: { + if (bugPath366.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath366; + break findCurrentBugPosition; + } + } + + case 365: { + if (bugPath365.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath365; + break findCurrentBugPosition; + } + } + + case 364: { + if (bugPath364.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath364; + break findCurrentBugPosition; + } + } + + case 363: { + if (bugPath363.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath363; + break findCurrentBugPosition; + } + } + + case 362: { + if (bugPath362.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath362; + break findCurrentBugPosition; + } + } + + case 361: { + if (bugPath361.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath361; + break findCurrentBugPosition; + } + } + + case 360: { + if (bugPath360.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath360; + break findCurrentBugPosition; + } + } + + case 359: { + if (bugPath359.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath359; + break findCurrentBugPosition; + } + } + + case 358: { + if (bugPath358.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath358; + break findCurrentBugPosition; + } + } + + case 357: { + if (bugPath357.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath357; + break findCurrentBugPosition; + } + } + + case 356: { + if (bugPath356.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath356; + break findCurrentBugPosition; + } + } + + case 355: { + if (bugPath355.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath355; + break findCurrentBugPosition; + } + } + + case 354: { + if (bugPath354.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath354; + break findCurrentBugPosition; + } + } + + case 353: { + if (bugPath353.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath353; + break findCurrentBugPosition; + } + } + + case 352: { + if (bugPath352.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath352; + break findCurrentBugPosition; + } + } + + case 351: { + if (bugPath351.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath351; + break findCurrentBugPosition; + } + } + + case 350: { + if (bugPath350.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath350; + break findCurrentBugPosition; + } + } + + case 349: { + if (bugPath349.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath349; + break findCurrentBugPosition; + } + } + + case 348: { + if (bugPath348.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath348; + break findCurrentBugPosition; + } + } + + case 347: { + if (bugPath347.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath347; + break findCurrentBugPosition; + } + } + + case 346: { + if (bugPath346.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath346; + break findCurrentBugPosition; + } + } + + case 345: { + if (bugPath345.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath345; + break findCurrentBugPosition; + } + } + + case 344: { + if (bugPath344.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath344; + break findCurrentBugPosition; + } + } + + case 343: { + if (bugPath343.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath343; + break findCurrentBugPosition; + } + } + + case 342: { + if (bugPath342.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath342; + break findCurrentBugPosition; + } + } + + case 341: { + if (bugPath341.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath341; + break findCurrentBugPosition; + } + } + + case 340: { + if (bugPath340.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath340; + break findCurrentBugPosition; + } + } + + case 339: { + if (bugPath339.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath339; + break findCurrentBugPosition; + } + } + + case 338: { + if (bugPath338.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath338; + break findCurrentBugPosition; + } + } + + case 337: { + if (bugPath337.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath337; + break findCurrentBugPosition; + } + } + + case 336: { + if (bugPath336.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath336; + break findCurrentBugPosition; + } + } + + case 335: { + if (bugPath335.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath335; + break findCurrentBugPosition; + } + } + + case 334: { + if (bugPath334.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath334; + break findCurrentBugPosition; + } + } + + case 333: { + if (bugPath333.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath333; + break findCurrentBugPosition; + } + } + + case 332: { + if (bugPath332.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath332; + break findCurrentBugPosition; + } + } + + case 331: { + if (bugPath331.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath331; + break findCurrentBugPosition; + } + } + + case 330: { + if (bugPath330.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath330; + break findCurrentBugPosition; + } + } + + case 329: { + if (bugPath329.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath329; + break findCurrentBugPosition; + } + } + + case 328: { + if (bugPath328.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath328; + break findCurrentBugPosition; + } + } + + case 327: { + if (bugPath327.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath327; + break findCurrentBugPosition; + } + } + + case 326: { + if (bugPath326.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath326; + break findCurrentBugPosition; + } + } + + case 325: { + if (bugPath325.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath325; + break findCurrentBugPosition; + } + } + + case 324: { + if (bugPath324.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath324; + break findCurrentBugPosition; + } + } + + case 323: { + if (bugPath323.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath323; + break findCurrentBugPosition; + } + } + + case 322: { + if (bugPath322.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath322; + break findCurrentBugPosition; + } + } + + case 321: { + if (bugPath321.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath321; + break findCurrentBugPosition; + } + } + + case 320: { + if (bugPath320.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath320; + break findCurrentBugPosition; + } + } + + case 319: { + if (bugPath319.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath319; + break findCurrentBugPosition; + } + } + + case 318: { + if (bugPath318.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath318; + break findCurrentBugPosition; + } + } + + case 317: { + if (bugPath317.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath317; + break findCurrentBugPosition; + } + } + + case 316: { + if (bugPath316.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath316; + break findCurrentBugPosition; + } + } + + case 315: { + if (bugPath315.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath315; + break findCurrentBugPosition; + } + } + + case 314: { + if (bugPath314.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath314; + break findCurrentBugPosition; + } + } + + case 313: { + if (bugPath313.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath313; + break findCurrentBugPosition; + } + } + + case 312: { + if (bugPath312.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath312; + break findCurrentBugPosition; + } + } + + case 311: { + if (bugPath311.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath311; + break findCurrentBugPosition; + } + } + + case 310: { + if (bugPath310.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath310; + break findCurrentBugPosition; + } + } + + case 309: { + if (bugPath309.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath309; + break findCurrentBugPosition; + } + } + + case 308: { + if (bugPath308.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath308; + break findCurrentBugPosition; + } + } + + case 307: { + if (bugPath307.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath307; + break findCurrentBugPosition; + } + } + + case 306: { + if (bugPath306.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath306; + break findCurrentBugPosition; + } + } + + case 305: { + if (bugPath305.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath305; + break findCurrentBugPosition; + } + } + + case 304: { + if (bugPath304.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath304; + break findCurrentBugPosition; + } + } + + case 303: { + if (bugPath303.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath303; + break findCurrentBugPosition; + } + } + + case 302: { + if (bugPath302.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath302; + break findCurrentBugPosition; + } + } + + case 301: { + if (bugPath301.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath301; + break findCurrentBugPosition; + } + } + + case 300: { + if (bugPath300.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath300; + break findCurrentBugPosition; + } + } + + case 299: { + if (bugPath299.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath299; + break findCurrentBugPosition; + } + } + + case 298: { + if (bugPath298.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath298; + break findCurrentBugPosition; + } + } + + case 297: { + if (bugPath297.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath297; + break findCurrentBugPosition; + } + } + + case 296: { + if (bugPath296.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath296; + break findCurrentBugPosition; + } + } + + case 295: { + if (bugPath295.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath295; + break findCurrentBugPosition; + } + } + + case 294: { + if (bugPath294.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath294; + break findCurrentBugPosition; + } + } + + case 293: { + if (bugPath293.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath293; + break findCurrentBugPosition; + } + } + + case 292: { + if (bugPath292.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath292; + break findCurrentBugPosition; + } + } + + case 291: { + if (bugPath291.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath291; + break findCurrentBugPosition; + } + } + + case 290: { + if (bugPath290.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath290; + break findCurrentBugPosition; + } + } + + case 289: { + if (bugPath289.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath289; + break findCurrentBugPosition; + } + } + + case 288: { + if (bugPath288.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath288; + break findCurrentBugPosition; + } + } + + case 287: { + if (bugPath287.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath287; + break findCurrentBugPosition; + } + } + + case 286: { + if (bugPath286.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath286; + break findCurrentBugPosition; + } + } + + case 285: { + if (bugPath285.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath285; + break findCurrentBugPosition; + } + } + + case 284: { + if (bugPath284.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath284; + break findCurrentBugPosition; + } + } + + case 283: { + if (bugPath283.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath283; + break findCurrentBugPosition; + } + } + + case 282: { + if (bugPath282.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath282; + break findCurrentBugPosition; + } + } + + case 281: { + if (bugPath281.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath281; + break findCurrentBugPosition; + } + } + + case 280: { + if (bugPath280.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath280; + break findCurrentBugPosition; + } + } + + case 279: { + if (bugPath279.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath279; + break findCurrentBugPosition; + } + } + + case 278: { + if (bugPath278.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath278; + break findCurrentBugPosition; + } + } + + case 277: { + if (bugPath277.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath277; + break findCurrentBugPosition; + } + } + + case 276: { + if (bugPath276.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath276; + break findCurrentBugPosition; + } + } + + case 275: { + if (bugPath275.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath275; + break findCurrentBugPosition; + } + } + + case 274: { + if (bugPath274.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath274; + break findCurrentBugPosition; + } + } + + case 273: { + if (bugPath273.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath273; + break findCurrentBugPosition; + } + } + + case 272: { + if (bugPath272.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath272; + break findCurrentBugPosition; + } + } + + case 271: { + if (bugPath271.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath271; + break findCurrentBugPosition; + } + } + + case 270: { + if (bugPath270.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath270; + break findCurrentBugPosition; + } + } + + case 269: { + if (bugPath269.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath269; + break findCurrentBugPosition; + } + } + + case 268: { + if (bugPath268.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath268; + break findCurrentBugPosition; + } + } + + case 267: { + if (bugPath267.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath267; + break findCurrentBugPosition; + } + } + + case 266: { + if (bugPath266.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath266; + break findCurrentBugPosition; + } + } + + case 265: { + if (bugPath265.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath265; + break findCurrentBugPosition; + } + } + + case 264: { + if (bugPath264.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath264; + break findCurrentBugPosition; + } + } + + case 263: { + if (bugPath263.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath263; + break findCurrentBugPosition; + } + } + + case 262: { + if (bugPath262.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath262; + break findCurrentBugPosition; + } + } + + case 261: { + if (bugPath261.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath261; + break findCurrentBugPosition; + } + } + + case 260: { + if (bugPath260.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath260; + break findCurrentBugPosition; + } + } + + case 259: { + if (bugPath259.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath259; + break findCurrentBugPosition; + } + } + + case 258: { + if (bugPath258.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath258; + break findCurrentBugPosition; + } + } + + case 257: { + if (bugPath257.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath257; + break findCurrentBugPosition; + } + } + + case 256: { + if (bugPath256.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath256; + break findCurrentBugPosition; + } + } + + case 255: { + if (bugPath255.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath255; + break findCurrentBugPosition; + } + } + + case 254: { + if (bugPath254.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath254; + break findCurrentBugPosition; + } + } + + case 253: { + if (bugPath253.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath253; + break findCurrentBugPosition; + } + } + + case 252: { + if (bugPath252.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath252; + break findCurrentBugPosition; + } + } + + case 251: { + if (bugPath251.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath251; + break findCurrentBugPosition; + } + } + + case 250: { + if (bugPath250.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath250; + break findCurrentBugPosition; + } + } + + case 249: { + if (bugPath249.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath249; + break findCurrentBugPosition; + } + } + + case 248: { + if (bugPath248.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath248; + break findCurrentBugPosition; + } + } + + case 247: { + if (bugPath247.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath247; + break findCurrentBugPosition; + } + } + + case 246: { + if (bugPath246.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath246; + break findCurrentBugPosition; + } + } + + case 245: { + if (bugPath245.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath245; + break findCurrentBugPosition; + } + } + + case 244: { + if (bugPath244.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath244; + break findCurrentBugPosition; + } + } + + case 243: { + if (bugPath243.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath243; + break findCurrentBugPosition; + } + } + + case 242: { + if (bugPath242.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath242; + break findCurrentBugPosition; + } + } + + case 241: { + if (bugPath241.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath241; + break findCurrentBugPosition; + } + } + + case 240: { + if (bugPath240.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath240; + break findCurrentBugPosition; + } + } + + case 239: { + if (bugPath239.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath239; + break findCurrentBugPosition; + } + } + + case 238: { + if (bugPath238.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath238; + break findCurrentBugPosition; + } + } + + case 237: { + if (bugPath237.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath237; + break findCurrentBugPosition; + } + } + + case 236: { + if (bugPath236.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath236; + break findCurrentBugPosition; + } + } + + case 235: { + if (bugPath235.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath235; + break findCurrentBugPosition; + } + } + + case 234: { + if (bugPath234.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath234; + break findCurrentBugPosition; + } + } + + case 233: { + if (bugPath233.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath233; + break findCurrentBugPosition; + } + } + + case 232: { + if (bugPath232.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath232; + break findCurrentBugPosition; + } + } + + case 231: { + if (bugPath231.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath231; + break findCurrentBugPosition; + } + } + + case 230: { + if (bugPath230.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath230; + break findCurrentBugPosition; + } + } + + case 229: { + if (bugPath229.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath229; + break findCurrentBugPosition; + } + } + + case 228: { + if (bugPath228.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath228; + break findCurrentBugPosition; + } + } + + case 227: { + if (bugPath227.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath227; + break findCurrentBugPosition; + } + } + + case 226: { + if (bugPath226.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath226; + break findCurrentBugPosition; + } + } + + case 225: { + if (bugPath225.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath225; + break findCurrentBugPosition; + } + } + + case 224: { + if (bugPath224.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath224; + break findCurrentBugPosition; + } + } + + case 223: { + if (bugPath223.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath223; + break findCurrentBugPosition; + } + } + + case 222: { + if (bugPath222.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath222; + break findCurrentBugPosition; + } + } + + case 221: { + if (bugPath221.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath221; + break findCurrentBugPosition; + } + } + + case 220: { + if (bugPath220.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath220; + break findCurrentBugPosition; + } + } + + case 219: { + if (bugPath219.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath219; + break findCurrentBugPosition; + } + } + + case 218: { + if (bugPath218.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath218; + break findCurrentBugPosition; + } + } + + case 217: { + if (bugPath217.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath217; + break findCurrentBugPosition; + } + } + + case 216: { + if (bugPath216.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath216; + break findCurrentBugPosition; + } + } + + case 215: { + if (bugPath215.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath215; + break findCurrentBugPosition; + } + } + + case 214: { + if (bugPath214.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath214; + break findCurrentBugPosition; + } + } + + case 213: { + if (bugPath213.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath213; + break findCurrentBugPosition; + } + } + + case 212: { + if (bugPath212.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath212; + break findCurrentBugPosition; + } + } + + case 211: { + if (bugPath211.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath211; + break findCurrentBugPosition; + } + } + + case 210: { + if (bugPath210.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath210; + break findCurrentBugPosition; + } + } + + case 209: { + if (bugPath209.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath209; + break findCurrentBugPosition; + } + } + + case 208: { + if (bugPath208.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath208; + break findCurrentBugPosition; + } + } + + case 207: { + if (bugPath207.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath207; + break findCurrentBugPosition; + } + } + + case 206: { + if (bugPath206.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath206; + break findCurrentBugPosition; + } + } + + case 205: { + if (bugPath205.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath205; + break findCurrentBugPosition; + } + } + + case 204: { + if (bugPath204.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath204; + break findCurrentBugPosition; + } + } + + case 203: { + if (bugPath203.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath203; + break findCurrentBugPosition; + } + } + + case 202: { + if (bugPath202.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath202; + break findCurrentBugPosition; + } + } + + case 201: { + if (bugPath201.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath201; + break findCurrentBugPosition; + } + } + + case 200: { + if (bugPath200.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath200; + break findCurrentBugPosition; + } + } + + case 199: { + if (bugPath199.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath199; + break findCurrentBugPosition; + } + } + + case 198: { + if (bugPath198.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath198; + break findCurrentBugPosition; + } + } + + case 197: { + if (bugPath197.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath197; + break findCurrentBugPosition; + } + } + + case 196: { + if (bugPath196.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath196; + break findCurrentBugPosition; + } + } + + case 195: { + if (bugPath195.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath195; + break findCurrentBugPosition; + } + } + + case 194: { + if (bugPath194.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath194; + break findCurrentBugPosition; + } + } + + case 193: { + if (bugPath193.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath193; + break findCurrentBugPosition; + } + } + + case 192: { + if (bugPath192.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath192; + break findCurrentBugPosition; + } + } + + case 191: { + if (bugPath191.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath191; + break findCurrentBugPosition; + } + } + + case 190: { + if (bugPath190.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath190; + break findCurrentBugPosition; + } + } + + case 189: { + if (bugPath189.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath189; + break findCurrentBugPosition; + } + } + + case 188: { + if (bugPath188.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath188; + break findCurrentBugPosition; + } + } + + case 187: { + if (bugPath187.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath187; + break findCurrentBugPosition; + } + } + + case 186: { + if (bugPath186.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath186; + break findCurrentBugPosition; + } + } + + case 185: { + if (bugPath185.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath185; + break findCurrentBugPosition; + } + } + + case 184: { + if (bugPath184.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath184; + break findCurrentBugPosition; + } + } + + case 183: { + if (bugPath183.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath183; + break findCurrentBugPosition; + } + } + + case 182: { + if (bugPath182.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath182; + break findCurrentBugPosition; + } + } + + case 181: { + if (bugPath181.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath181; + break findCurrentBugPosition; + } + } + + case 180: { + if (bugPath180.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath180; + break findCurrentBugPosition; + } + } + + case 179: { + if (bugPath179.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath179; + break findCurrentBugPosition; + } + } + + case 178: { + if (bugPath178.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath178; + break findCurrentBugPosition; + } + } + + case 177: { + if (bugPath177.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath177; + break findCurrentBugPosition; + } + } + + case 176: { + if (bugPath176.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath176; + break findCurrentBugPosition; + } + } + + case 175: { + if (bugPath175.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath175; + break findCurrentBugPosition; + } + } + + case 174: { + if (bugPath174.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath174; + break findCurrentBugPosition; + } + } + + case 173: { + if (bugPath173.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath173; + break findCurrentBugPosition; + } + } + + case 172: { + if (bugPath172.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath172; + break findCurrentBugPosition; + } + } + + case 171: { + if (bugPath171.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath171; + break findCurrentBugPosition; + } + } + + case 170: { + if (bugPath170.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath170; + break findCurrentBugPosition; + } + } + + case 169: { + if (bugPath169.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath169; + break findCurrentBugPosition; + } + } + + case 168: { + if (bugPath168.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath168; + break findCurrentBugPosition; + } + } + + case 167: { + if (bugPath167.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath167; + break findCurrentBugPosition; + } + } + + case 166: { + if (bugPath166.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath166; + break findCurrentBugPosition; + } + } + + case 165: { + if (bugPath165.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath165; + break findCurrentBugPosition; + } + } + + case 164: { + if (bugPath164.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath164; + break findCurrentBugPosition; + } + } + + case 163: { + if (bugPath163.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath163; + break findCurrentBugPosition; + } + } + + case 162: { + if (bugPath162.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath162; + break findCurrentBugPosition; + } + } + + case 161: { + if (bugPath161.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath161; + break findCurrentBugPosition; + } + } + + case 160: { + if (bugPath160.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath160; + break findCurrentBugPosition; + } + } + + case 159: { + if (bugPath159.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath159; + break findCurrentBugPosition; + } + } + + case 158: { + if (bugPath158.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath158; + break findCurrentBugPosition; + } + } + + case 157: { + if (bugPath157.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath157; + break findCurrentBugPosition; + } + } + + case 156: { + if (bugPath156.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath156; + break findCurrentBugPosition; + } + } + + case 155: { + if (bugPath155.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath155; + break findCurrentBugPosition; + } + } + + case 154: { + if (bugPath154.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath154; + break findCurrentBugPosition; + } + } + + case 153: { + if (bugPath153.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath153; + break findCurrentBugPosition; + } + } + + case 152: { + if (bugPath152.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath152; + break findCurrentBugPosition; + } + } + + case 151: { + if (bugPath151.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath151; + break findCurrentBugPosition; + } + } + + case 150: { + if (bugPath150.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath150; + break findCurrentBugPosition; + } + } + + case 149: { + if (bugPath149.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath149; + break findCurrentBugPosition; + } + } + + case 148: { + if (bugPath148.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath148; + break findCurrentBugPosition; + } + } + + case 147: { + if (bugPath147.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath147; + break findCurrentBugPosition; + } + } + + case 146: { + if (bugPath146.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath146; + break findCurrentBugPosition; + } + } + + case 145: { + if (bugPath145.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath145; + break findCurrentBugPosition; + } + } + + case 144: { + if (bugPath144.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath144; + break findCurrentBugPosition; + } + } + + case 143: { + if (bugPath143.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath143; + break findCurrentBugPosition; + } + } + + case 142: { + if (bugPath142.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath142; + break findCurrentBugPosition; + } + } + + case 141: { + if (bugPath141.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath141; + break findCurrentBugPosition; + } + } + + case 140: { + if (bugPath140.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath140; + break findCurrentBugPosition; + } + } + + case 139: { + if (bugPath139.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath139; + break findCurrentBugPosition; + } + } + + case 138: { + if (bugPath138.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath138; + break findCurrentBugPosition; + } + } + + case 137: { + if (bugPath137.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath137; + break findCurrentBugPosition; + } + } + + case 136: { + if (bugPath136.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath136; + break findCurrentBugPosition; + } + } + + case 135: { + if (bugPath135.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath135; + break findCurrentBugPosition; + } + } + + case 134: { + if (bugPath134.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath134; + break findCurrentBugPosition; + } + } + + case 133: { + if (bugPath133.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath133; + break findCurrentBugPosition; + } + } + + case 132: { + if (bugPath132.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath132; + break findCurrentBugPosition; + } + } + + case 131: { + if (bugPath131.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath131; + break findCurrentBugPosition; + } + } + + case 130: { + if (bugPath130.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath130; + break findCurrentBugPosition; + } + } + + case 129: { + if (bugPath129.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath129; + break findCurrentBugPosition; + } + } + + case 128: { + if (bugPath128.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath128; + break findCurrentBugPosition; + } + } + + case 127: { + if (bugPath127.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath127; + break findCurrentBugPosition; + } + } + + case 126: { + if (bugPath126.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath126; + break findCurrentBugPosition; + } + } + + case 125: { + if (bugPath125.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath125; + break findCurrentBugPosition; + } + } + + case 124: { + if (bugPath124.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath124; + break findCurrentBugPosition; + } + } + + case 123: { + if (bugPath123.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath123; + break findCurrentBugPosition; + } + } + + case 122: { + if (bugPath122.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath122; + break findCurrentBugPosition; + } + } + + case 121: { + if (bugPath121.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath121; + break findCurrentBugPosition; + } + } + + case 120: { + if (bugPath120.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath120; + break findCurrentBugPosition; + } + } + + case 119: { + if (bugPath119.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath119; + break findCurrentBugPosition; + } + } + + case 118: { + if (bugPath118.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath118; + break findCurrentBugPosition; + } + } + + case 117: { + if (bugPath117.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath117; + break findCurrentBugPosition; + } + } + + case 116: { + if (bugPath116.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath116; + break findCurrentBugPosition; + } + } + + case 115: { + if (bugPath115.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath115; + break findCurrentBugPosition; + } + } + + case 114: { + if (bugPath114.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath114; + break findCurrentBugPosition; + } + } + + case 113: { + if (bugPath113.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath113; + break findCurrentBugPosition; + } + } + + case 112: { + if (bugPath112.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath112; + break findCurrentBugPosition; + } + } + + case 111: { + if (bugPath111.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath111; + break findCurrentBugPosition; + } + } + + case 110: { + if (bugPath110.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath110; + break findCurrentBugPosition; + } + } + + case 109: { + if (bugPath109.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath109; + break findCurrentBugPosition; + } + } + + case 108: { + if (bugPath108.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath108; + break findCurrentBugPosition; + } + } + + case 107: { + if (bugPath107.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath107; + break findCurrentBugPosition; + } + } + + case 106: { + if (bugPath106.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath106; + break findCurrentBugPosition; + } + } + + case 105: { + if (bugPath105.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath105; + break findCurrentBugPosition; + } + } + + case 104: { + if (bugPath104.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath104; + break findCurrentBugPosition; + } + } + + case 103: { + if (bugPath103.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath103; + break findCurrentBugPosition; + } + } + + case 102: { + if (bugPath102.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath102; + break findCurrentBugPosition; + } + } + + case 101: { + if (bugPath101.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath101; + break findCurrentBugPosition; + } + } + + case 100: { + if (bugPath100.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath100; + break findCurrentBugPosition; + } + } + + case 99: { + if (bugPath99.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath99; + break findCurrentBugPosition; + } + } + + case 98: { + if (bugPath98.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath98; + break findCurrentBugPosition; + } + } + + case 97: { + if (bugPath97.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath97; + break findCurrentBugPosition; + } + } + + case 96: { + if (bugPath96.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath96; + break findCurrentBugPosition; + } + } + + case 95: { + if (bugPath95.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath95; + break findCurrentBugPosition; + } + } + + case 94: { + if (bugPath94.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath94; + break findCurrentBugPosition; + } + } + + case 93: { + if (bugPath93.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath93; + break findCurrentBugPosition; + } + } + + case 92: { + if (bugPath92.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath92; + break findCurrentBugPosition; + } + } + + case 91: { + if (bugPath91.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath91; + break findCurrentBugPosition; + } + } + + case 90: { + if (bugPath90.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath90; + break findCurrentBugPosition; + } + } + + case 89: { + if (bugPath89.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath89; + break findCurrentBugPosition; + } + } + + case 88: { + if (bugPath88.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath88; + break findCurrentBugPosition; + } + } + + case 87: { + if (bugPath87.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath87; + break findCurrentBugPosition; + } + } + + case 86: { + if (bugPath86.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath86; + break findCurrentBugPosition; + } + } + + case 85: { + if (bugPath85.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath85; + break findCurrentBugPosition; + } + } + + case 84: { + if (bugPath84.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath84; + break findCurrentBugPosition; + } + } + + case 83: { + if (bugPath83.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath83; + break findCurrentBugPosition; + } + } + + case 82: { + if (bugPath82.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath82; + break findCurrentBugPosition; + } + } + + case 81: { + if (bugPath81.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath81; + break findCurrentBugPosition; + } + } + + case 80: { + if (bugPath80.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath80; + break findCurrentBugPosition; + } + } + + case 79: { + if (bugPath79.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath79; + break findCurrentBugPosition; + } + } + + case 78: { + if (bugPath78.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath78; + break findCurrentBugPosition; + } + } + + case 77: { + if (bugPath77.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath77; + break findCurrentBugPosition; + } + } + + case 76: { + if (bugPath76.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath76; + break findCurrentBugPosition; + } + } + + case 75: { + if (bugPath75.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath75; + break findCurrentBugPosition; + } + } + + case 74: { + if (bugPath74.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath74; + break findCurrentBugPosition; + } + } + + case 73: { + if (bugPath73.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath73; + break findCurrentBugPosition; + } + } + + case 72: { + if (bugPath72.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath72; + break findCurrentBugPosition; + } + } + + case 71: { + if (bugPath71.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath71; + break findCurrentBugPosition; + } + } + + case 70: { + if (bugPath70.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath70; + break findCurrentBugPosition; + } + } + + case 69: { + if (bugPath69.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath69; + break findCurrentBugPosition; + } + } + + case 68: { + if (bugPath68.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath68; + break findCurrentBugPosition; + } + } + + case 67: { + if (bugPath67.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath67; + break findCurrentBugPosition; + } + } + + case 66: { + if (bugPath66.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath66; + break findCurrentBugPosition; + } + } + + case 65: { + if (bugPath65.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath65; + break findCurrentBugPosition; + } + } + + case 64: { + if (bugPath64.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath64; + break findCurrentBugPosition; + } + } + + case 63: { + if (bugPath63.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath63; + break findCurrentBugPosition; + } + } + + case 62: { + if (bugPath62.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath62; + break findCurrentBugPosition; + } + } + + case 61: { + if (bugPath61.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath61; + break findCurrentBugPosition; + } + } + + case 60: { + if (bugPath60.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath60; + break findCurrentBugPosition; + } + } + + case 59: { + if (bugPath59.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath59; + break findCurrentBugPosition; + } + } + + case 58: { + if (bugPath58.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath58; + break findCurrentBugPosition; + } + } + + case 57: { + if (bugPath57.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath57; + break findCurrentBugPosition; + } + } + + case 56: { + if (bugPath56.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath56; + break findCurrentBugPosition; + } + } + + case 55: { + if (bugPath55.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath55; + break findCurrentBugPosition; + } + } + + case 54: { + if (bugPath54.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath54; + break findCurrentBugPosition; + } + } + + case 53: { + if (bugPath53.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath53; + break findCurrentBugPosition; + } + } + + case 52: { + if (bugPath52.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath52; + break findCurrentBugPosition; + } + } + + case 51: { + if (bugPath51.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath51; + break findCurrentBugPosition; + } + } + + case 50: { + if (bugPath50.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath50; + break findCurrentBugPosition; + } + } + + case 49: { + if (bugPath49.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath49; + break findCurrentBugPosition; + } + } + + case 48: { + if (bugPath48.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath48; + break findCurrentBugPosition; + } + } + + case 47: { + if (bugPath47.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath47; + break findCurrentBugPosition; + } + } + + case 46: { + if (bugPath46.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath46; + break findCurrentBugPosition; + } + } + + case 45: { + if (bugPath45.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath45; + break findCurrentBugPosition; + } + } + + case 44: { + if (bugPath44.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath44; + break findCurrentBugPosition; + } + } + + case 43: { + if (bugPath43.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath43; + break findCurrentBugPosition; + } + } + + case 42: { + if (bugPath42.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath42; + break findCurrentBugPosition; + } + } + + case 41: { + if (bugPath41.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath41; + break findCurrentBugPosition; + } + } + + case 40: { + if (bugPath40.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath40; + break findCurrentBugPosition; + } + } + + case 39: { + if (bugPath39.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath39; + break findCurrentBugPosition; + } + } + + case 38: { + if (bugPath38.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath38; + break findCurrentBugPosition; + } + } + + case 37: { + if (bugPath37.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath37; + break findCurrentBugPosition; + } + } + + case 36: { + if (bugPath36.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath36; + break findCurrentBugPosition; + } + } + + case 35: { + if (bugPath35.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath35; + break findCurrentBugPosition; + } + } + + case 34: { + if (bugPath34.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath34; + break findCurrentBugPosition; + } + } + + case 33: { + if (bugPath33.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath33; + break findCurrentBugPosition; + } + } + + case 32: { + if (bugPath32.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath32; + break findCurrentBugPosition; + } + } + + case 31: { + if (bugPath31.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath31; + break findCurrentBugPosition; + } + } + + case 30: { + if (bugPath30.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath30; + break findCurrentBugPosition; + } + } + + case 29: { + if (bugPath29.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath29; + break findCurrentBugPosition; + } + } + + case 28: { + if (bugPath28.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath28; + break findCurrentBugPosition; + } + } + + case 27: { + if (bugPath27.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath27; + break findCurrentBugPosition; + } + } + + case 26: { + if (bugPath26.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath26; + break findCurrentBugPosition; + } + } + + case 25: { + if (bugPath25.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath25; + break findCurrentBugPosition; + } + } + + case 24: { + if (bugPath24.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath24; + break findCurrentBugPosition; + } + } + + case 23: { + if (bugPath23.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath23; + break findCurrentBugPosition; + } + } + + case 22: { + if (bugPath22.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath22; + break findCurrentBugPosition; + } + } + + case 21: { + if (bugPath21.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath21; + break findCurrentBugPosition; + } + } + + case 20: { + if (bugPath20.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath20; + break findCurrentBugPosition; + } + } + + case 19: { + if (bugPath19.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath19; + break findCurrentBugPosition; + } + } + + case 18: { + if (bugPath18.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath18; + break findCurrentBugPosition; + } + } + + case 17: { + if (bugPath17.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath17; + break findCurrentBugPosition; + } + } + + case 16: { + if (bugPath16.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath16; + break findCurrentBugPosition; + } + } + + case 15: { + if (bugPath15.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath15; + break findCurrentBugPosition; + } + } + + case 14: { + if (bugPath14.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath14; + break findCurrentBugPosition; + } + } + + case 13: { + if (bugPath13.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath13; + break findCurrentBugPosition; + } + } + + case 12: { + if (bugPath12.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath12; + break findCurrentBugPosition; + } + } + + case 11: { + if (bugPath11.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath11; + break findCurrentBugPosition; + } + } + + case 10: { + if (bugPath10.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath10; + break findCurrentBugPosition; + } + } + + case 9: { + if (bugPath9.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath9; + break findCurrentBugPosition; + } + } + + case 8: { + if (bugPath8.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath8; + break findCurrentBugPosition; + } + } + + case 7: { + if (bugPath7.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath7; + break findCurrentBugPosition; + } + } + + case 6: { + if (bugPath6.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath6; + break findCurrentBugPosition; + } + } + + case 5: { + if (bugPath5.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath5; + break findCurrentBugPosition; + } + } + + case 4: { + if (bugPath4.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath4; + break findCurrentBugPosition; + } + } + + case 3: { + if (bugPath3.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath3; + break findCurrentBugPosition; + } + } + + case 2: { + if (bugPath2.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath2; + break findCurrentBugPosition; + } + } + + case 1: { + if (bugPath1.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath1; + break findCurrentBugPosition; + } + } + + case 0: { + if (bugPath0.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + currentBugPosition = bugPath0; + break findCurrentBugPosition; + } + } + + default: { + assert(pathLength <= 500); + } + } + } + if (currentBugPosition == null) { + resetPathing(currentTarget); + } + } + + public static MapLocation currentBugPosition = null; + public static Direction currentBugDirection = null; + public static void pathTo(MapLocation target) throws GameActionException { + if (!rc.isMovementReady()) return; + + // Simple cases that shouldn't require the full call. + myloc = rc.getLocation(); + if (myloc.equals(target)) return; + if (myloc.isAdjacentTo(target)) { + if (rc.canMove(myloc.directionTo(target))) { + rc.move(myloc.directionTo(target)); + } + return; + } + + int count = Clock.getBytecodeNum(); + rc.setIndicatorDot(target, 0, 0, 255); + if (currentTarget == null || !target.equals(currentTarget)) { + resetPathing(target); + } else { + setCurrentPosition(); + } + + rc.setIndicatorDot(currentBugPosition, 0, 255, 0); + doneSimulating = currentBugPosition.equals(target); + bugLoop: { + + if (doneSimulating || currentBugPosition.equals(target)) break bugLoop; + if (shouldBug) { + bug(); + } else { + greedy(); + } + appendCurrentPosition(); + + if (doneSimulating || currentBugPosition.equals(target)) break bugLoop; + if (shouldBug) { + bug(); + } else { + greedy(); + } + appendCurrentPosition(); + + if (doneSimulating || currentBugPosition.equals(target)) break bugLoop; + if (shouldBug) { + bug(); + } else { + greedy(); + } + appendCurrentPosition(); + + if (doneSimulating || currentBugPosition.equals(target)) break bugLoop; + if (shouldBug) { + bug(); + } else { + greedy(); + } + appendCurrentPosition(); + + if (doneSimulating || currentBugPosition.equals(target)) break bugLoop; + if (shouldBug) { + bug(); + } else { + greedy(); + } + appendCurrentPosition(); + + if (doneSimulating || currentBugPosition.equals(target)) break bugLoop; + if (shouldBug) { + bug(); + } else { + greedy(); + } + appendCurrentPosition(); + + if (doneSimulating || currentBugPosition.equals(target)) break bugLoop; + if (shouldBug) { + bug(); + } else { + greedy(); + } + appendCurrentPosition(); + + if (doneSimulating || currentBugPosition.equals(target)) break bugLoop; + if (shouldBug) { + bug(); + } else { + greedy(); + } + appendCurrentPosition(); + + if (doneSimulating || currentBugPosition.equals(target)) break bugLoop; + if (shouldBug) { + bug(); + } else { + greedy(); + } + appendCurrentPosition(); + + if (doneSimulating || currentBugPosition.equals(target)) break bugLoop; + if (shouldBug) { + bug(); + } else { + greedy(); + } + appendCurrentPosition(); + + } + + + long localMask0 = 0; + long localMask1 = 0; + int index = ((currentBugPosition.y - (myloc.y - 4)) * 9) + + (currentBugPosition.x - (myloc.x - 4)); + if (index >= 63) { + localMask1 = 1L << (index - 63); + } else { + localMask0 = 1L << index; + } + + long temp; + long adjIntersection; + // 0b000000000 + // 000111000 + // 000111000 + // 000111000 + // 000000000 + // 000000000 + // 000000000L; + long adjTiles = 0b000000000000111000000111000000111000000000000000000000000000000L; + long mask0 = 0x7FFFFFFFFFFFFFFFL; + long mask1 = 0x3FFFFL; + long loverflow = 0x7fbfdfeff7fbfdfeL; + long roverflow = 0x3fdfeff7fbfdfeffL; + + // Seen mask. + // 111111111 + // 111111111 + // 111111111 + // 111111111 + // 111111111 + // 011111110 + // 001111100 + long passible0 = (~( + ((long)(TileLoader.local_wall6 | TileLoader.local_ruin6) << 54) + | ((long)(TileLoader.local_wall5 | TileLoader.local_ruin5) << 45) + | ((long)(TileLoader.local_wall4 | TileLoader.local_ruin4) << 36) + | ((long)(TileLoader.local_wall3 | TileLoader.local_ruin3) << 27) + | ((long)(TileLoader.local_wall2 | TileLoader.local_ruin2) << 18) + | ((long)(TileLoader.local_wall1 | TileLoader.local_ruin1) << 9) + | ((long)(TileLoader.local_wall0 | TileLoader.local_ruin0)) + ) | localMask0) & 0b111111111111111111111111111111111111111111111011111110001111100L; + + long passible1 = (~( + ((long)(TileLoader.local_wall8) << 9) + | ((long)(TileLoader.local_wall7)) + ) | localMask1) & 0b001111100011111110L; + + + + int dist00 = 10000; + + int dist01 = 10000; + + int dist02 = 10000; + + + + int dist10 = 10000; + + int dist11 = 10000; + + int dist12 = 10000; + + + + int dist20 = 10000; + + int dist21 = 10000; + + int dist22 = 10000; + + + + // Run a BFS + long mask0AndPassible = mask0 & passible0; + long mask1AndPassible = mask1 & passible1; + bfsLoop: { + + + adjIntersection = (localMask0 & adjTiles); + + // if (adjIntersection == (passible0 & adjTiles)) break bfsLoop; + + + + + if ((0x40000000L & adjIntersection) != 0) { + dist00 = Math.min(dist00, 0); + } + + + + if ((0x8000000000L & adjIntersection) != 0) { + dist01 = Math.min(dist01, 0); + } + + + + if ((0x1000000000000L & adjIntersection) != 0) { + dist02 = Math.min(dist02, 0); + } + + + + + + if ((0x80000000L & adjIntersection) != 0) { + dist10 = Math.min(dist10, 0); + } + + + + if ((0x10000000000L & adjIntersection) != 0) { + dist11 = Math.min(dist11, 0); + } + + + + if ((0x2000000000000L & adjIntersection) != 0) { + dist12 = Math.min(dist12, 0); + } + + + + + + if ((0x100000000L & adjIntersection) != 0) { + dist20 = Math.min(dist20, 0); + } + + + + if ((0x20000000000L & adjIntersection) != 0) { + dist21 = Math.min(dist21, 0); + } + + + + if ((0x4000000000000L & adjIntersection) != 0) { + dist22 = Math.min(dist22, 0); + } + + + localMask0 = (localMask0 | ((localMask0 << 1) & loverflow) | ((localMask0 >>> 1) & roverflow)); + localMask1 = (localMask1 | ((localMask1 << 1) & loverflow) | ((localMask1 >>> 1) & roverflow)); + temp = localMask0; + localMask0 = (localMask0 | (localMask0 << 9) | (localMask0 >>> 9) + | (localMask1 << 54)) & mask0AndPassible; + localMask1 = (localMask1 | (localMask1 << 9) | (localMask1 >>> 9) + | (temp >>> 54)) & mask1AndPassible; + + + adjIntersection = (localMask0 & adjTiles); + + // if (adjIntersection == (passible0 & adjTiles)) break bfsLoop; + + + + + if ((0x40000000L & adjIntersection) != 0) { + dist00 = Math.min(dist00, 1); + } + + + + if ((0x8000000000L & adjIntersection) != 0) { + dist01 = Math.min(dist01, 1); + } + + + + if ((0x1000000000000L & adjIntersection) != 0) { + dist02 = Math.min(dist02, 1); + } + + + + + + if ((0x80000000L & adjIntersection) != 0) { + dist10 = Math.min(dist10, 1); + } + + + + if ((0x10000000000L & adjIntersection) != 0) { + dist11 = Math.min(dist11, 1); + } + + + + if ((0x2000000000000L & adjIntersection) != 0) { + dist12 = Math.min(dist12, 1); + } + + + + + + if ((0x100000000L & adjIntersection) != 0) { + dist20 = Math.min(dist20, 1); + } + + + + if ((0x20000000000L & adjIntersection) != 0) { + dist21 = Math.min(dist21, 1); + } + + + + if ((0x4000000000000L & adjIntersection) != 0) { + dist22 = Math.min(dist22, 1); + } + + + localMask0 = (localMask0 | ((localMask0 << 1) & loverflow) | ((localMask0 >>> 1) & roverflow)); + localMask1 = (localMask1 | ((localMask1 << 1) & loverflow) | ((localMask1 >>> 1) & roverflow)); + temp = localMask0; + localMask0 = (localMask0 | (localMask0 << 9) | (localMask0 >>> 9) + | (localMask1 << 54)) & mask0AndPassible; + localMask1 = (localMask1 | (localMask1 << 9) | (localMask1 >>> 9) + | (temp >>> 54)) & mask1AndPassible; + + + adjIntersection = (localMask0 & adjTiles); + + // if (adjIntersection == (passible0 & adjTiles)) break bfsLoop; + + + + + if ((0x40000000L & adjIntersection) != 0) { + dist00 = Math.min(dist00, 2); + } + + + + if ((0x8000000000L & adjIntersection) != 0) { + dist01 = Math.min(dist01, 2); + } + + + + if ((0x1000000000000L & adjIntersection) != 0) { + dist02 = Math.min(dist02, 2); + } + + + + + + if ((0x80000000L & adjIntersection) != 0) { + dist10 = Math.min(dist10, 2); + } + + + + if ((0x10000000000L & adjIntersection) != 0) { + dist11 = Math.min(dist11, 2); + } + + + + if ((0x2000000000000L & adjIntersection) != 0) { + dist12 = Math.min(dist12, 2); + } + + + + + + if ((0x100000000L & adjIntersection) != 0) { + dist20 = Math.min(dist20, 2); + } + + + + if ((0x20000000000L & adjIntersection) != 0) { + dist21 = Math.min(dist21, 2); + } + + + + if ((0x4000000000000L & adjIntersection) != 0) { + dist22 = Math.min(dist22, 2); + } + + + localMask0 = (localMask0 | ((localMask0 << 1) & loverflow) | ((localMask0 >>> 1) & roverflow)); + localMask1 = (localMask1 | ((localMask1 << 1) & loverflow) | ((localMask1 >>> 1) & roverflow)); + temp = localMask0; + localMask0 = (localMask0 | (localMask0 << 9) | (localMask0 >>> 9) + | (localMask1 << 54)) & mask0AndPassible; + localMask1 = (localMask1 | (localMask1 << 9) | (localMask1 >>> 9) + | (temp >>> 54)) & mask1AndPassible; + + + adjIntersection = (localMask0 & adjTiles); + + // if (adjIntersection == (passible0 & adjTiles)) break bfsLoop; + + + + + if ((0x40000000L & adjIntersection) != 0) { + dist00 = Math.min(dist00, 3); + } + + + + if ((0x8000000000L & adjIntersection) != 0) { + dist01 = Math.min(dist01, 3); + } + + + + if ((0x1000000000000L & adjIntersection) != 0) { + dist02 = Math.min(dist02, 3); + } + + + + + + if ((0x80000000L & adjIntersection) != 0) { + dist10 = Math.min(dist10, 3); + } + + + + if ((0x10000000000L & adjIntersection) != 0) { + dist11 = Math.min(dist11, 3); + } + + + + if ((0x2000000000000L & adjIntersection) != 0) { + dist12 = Math.min(dist12, 3); + } + + + + + + if ((0x100000000L & adjIntersection) != 0) { + dist20 = Math.min(dist20, 3); + } + + + + if ((0x20000000000L & adjIntersection) != 0) { + dist21 = Math.min(dist21, 3); + } + + + + if ((0x4000000000000L & adjIntersection) != 0) { + dist22 = Math.min(dist22, 3); + } + + + localMask0 = (localMask0 | ((localMask0 << 1) & loverflow) | ((localMask0 >>> 1) & roverflow)); + localMask1 = (localMask1 | ((localMask1 << 1) & loverflow) | ((localMask1 >>> 1) & roverflow)); + temp = localMask0; + localMask0 = (localMask0 | (localMask0 << 9) | (localMask0 >>> 9) + | (localMask1 << 54)) & mask0AndPassible; + localMask1 = (localMask1 | (localMask1 << 9) | (localMask1 >>> 9) + | (temp >>> 54)) & mask1AndPassible; + + + adjIntersection = (localMask0 & adjTiles); + + // if (adjIntersection == (passible0 & adjTiles)) break bfsLoop; + + + + + if ((0x40000000L & adjIntersection) != 0) { + dist00 = Math.min(dist00, 4); + } + + + + if ((0x8000000000L & adjIntersection) != 0) { + dist01 = Math.min(dist01, 4); + } + + + + if ((0x1000000000000L & adjIntersection) != 0) { + dist02 = Math.min(dist02, 4); + } + + + + + + if ((0x80000000L & adjIntersection) != 0) { + dist10 = Math.min(dist10, 4); + } + + + + if ((0x10000000000L & adjIntersection) != 0) { + dist11 = Math.min(dist11, 4); + } + + + + if ((0x2000000000000L & adjIntersection) != 0) { + dist12 = Math.min(dist12, 4); + } + + + + + + if ((0x100000000L & adjIntersection) != 0) { + dist20 = Math.min(dist20, 4); + } + + + + if ((0x20000000000L & adjIntersection) != 0) { + dist21 = Math.min(dist21, 4); + } + + + + if ((0x4000000000000L & adjIntersection) != 0) { + dist22 = Math.min(dist22, 4); + } + + + localMask0 = (localMask0 | ((localMask0 << 1) & loverflow) | ((localMask0 >>> 1) & roverflow)); + localMask1 = (localMask1 | ((localMask1 << 1) & loverflow) | ((localMask1 >>> 1) & roverflow)); + temp = localMask0; + localMask0 = (localMask0 | (localMask0 << 9) | (localMask0 >>> 9) + | (localMask1 << 54)) & mask0AndPassible; + localMask1 = (localMask1 | (localMask1 << 9) | (localMask1 >>> 9) + | (temp >>> 54)) & mask1AndPassible; + + + adjIntersection = (localMask0 & adjTiles); + + // if (adjIntersection == (passible0 & adjTiles)) break bfsLoop; + + + + + if ((0x40000000L & adjIntersection) != 0) { + dist00 = Math.min(dist00, 5); + } + + + + if ((0x8000000000L & adjIntersection) != 0) { + dist01 = Math.min(dist01, 5); + } + + + + if ((0x1000000000000L & adjIntersection) != 0) { + dist02 = Math.min(dist02, 5); + } + + + + + + if ((0x80000000L & adjIntersection) != 0) { + dist10 = Math.min(dist10, 5); + } + + + + if ((0x10000000000L & adjIntersection) != 0) { + dist11 = Math.min(dist11, 5); + } + + + + if ((0x2000000000000L & adjIntersection) != 0) { + dist12 = Math.min(dist12, 5); + } + + + + + + if ((0x100000000L & adjIntersection) != 0) { + dist20 = Math.min(dist20, 5); + } + + + + if ((0x20000000000L & adjIntersection) != 0) { + dist21 = Math.min(dist21, 5); + } + + + + if ((0x4000000000000L & adjIntersection) != 0) { + dist22 = Math.min(dist22, 5); + } + + + localMask0 = (localMask0 | ((localMask0 << 1) & loverflow) | ((localMask0 >>> 1) & roverflow)); + localMask1 = (localMask1 | ((localMask1 << 1) & loverflow) | ((localMask1 >>> 1) & roverflow)); + temp = localMask0; + localMask0 = (localMask0 | (localMask0 << 9) | (localMask0 >>> 9) + | (localMask1 << 54)) & mask0AndPassible; + localMask1 = (localMask1 | (localMask1 << 9) | (localMask1 >>> 9) + | (temp >>> 54)) & mask1AndPassible; + + + adjIntersection = (localMask0 & adjTiles); + + // if (adjIntersection == (passible0 & adjTiles)) break bfsLoop; + + + + + if ((0x40000000L & adjIntersection) != 0) { + dist00 = Math.min(dist00, 6); + } + + + + if ((0x8000000000L & adjIntersection) != 0) { + dist01 = Math.min(dist01, 6); + } + + + + if ((0x1000000000000L & adjIntersection) != 0) { + dist02 = Math.min(dist02, 6); + } + + + + + + if ((0x80000000L & adjIntersection) != 0) { + dist10 = Math.min(dist10, 6); + } + + + + if ((0x10000000000L & adjIntersection) != 0) { + dist11 = Math.min(dist11, 6); + } + + + + if ((0x2000000000000L & adjIntersection) != 0) { + dist12 = Math.min(dist12, 6); + } + + + + + + if ((0x100000000L & adjIntersection) != 0) { + dist20 = Math.min(dist20, 6); + } + + + + if ((0x20000000000L & adjIntersection) != 0) { + dist21 = Math.min(dist21, 6); + } + + + + if ((0x4000000000000L & adjIntersection) != 0) { + dist22 = Math.min(dist22, 6); + } + + + localMask0 = (localMask0 | ((localMask0 << 1) & loverflow) | ((localMask0 >>> 1) & roverflow)); + localMask1 = (localMask1 | ((localMask1 << 1) & loverflow) | ((localMask1 >>> 1) & roverflow)); + temp = localMask0; + localMask0 = (localMask0 | (localMask0 << 9) | (localMask0 >>> 9) + | (localMask1 << 54)) & mask0AndPassible; + localMask1 = (localMask1 | (localMask1 << 9) | (localMask1 >>> 9) + | (temp >>> 54)) & mask1AndPassible; + + + adjIntersection = (localMask0 & adjTiles); + + // if (adjIntersection == (passible0 & adjTiles)) break bfsLoop; + + + + + if ((0x40000000L & adjIntersection) != 0) { + dist00 = Math.min(dist00, 7); + } + + + + if ((0x8000000000L & adjIntersection) != 0) { + dist01 = Math.min(dist01, 7); + } + + + + if ((0x1000000000000L & adjIntersection) != 0) { + dist02 = Math.min(dist02, 7); + } + + + + + + if ((0x80000000L & adjIntersection) != 0) { + dist10 = Math.min(dist10, 7); + } + + + + if ((0x10000000000L & adjIntersection) != 0) { + dist11 = Math.min(dist11, 7); + } + + + + if ((0x2000000000000L & adjIntersection) != 0) { + dist12 = Math.min(dist12, 7); + } + + + + + + if ((0x100000000L & adjIntersection) != 0) { + dist20 = Math.min(dist20, 7); + } + + + + if ((0x20000000000L & adjIntersection) != 0) { + dist21 = Math.min(dist21, 7); + } + + + + if ((0x4000000000000L & adjIntersection) != 0) { + dist22 = Math.min(dist22, 7); + } + + + localMask0 = (localMask0 | ((localMask0 << 1) & loverflow) | ((localMask0 >>> 1) & roverflow)); + localMask1 = (localMask1 | ((localMask1 << 1) & loverflow) | ((localMask1 >>> 1) & roverflow)); + temp = localMask0; + localMask0 = (localMask0 | (localMask0 << 9) | (localMask0 >>> 9) + | (localMask1 << 54)) & mask0AndPassible; + localMask1 = (localMask1 | (localMask1 << 9) | (localMask1 >>> 9) + | (temp >>> 54)) & mask1AndPassible; + + + adjIntersection = (localMask0 & adjTiles); + + // if (adjIntersection == (passible0 & adjTiles)) break bfsLoop; + + + + + if ((0x40000000L & adjIntersection) != 0) { + dist00 = Math.min(dist00, 8); + } + + + + if ((0x8000000000L & adjIntersection) != 0) { + dist01 = Math.min(dist01, 8); + } + + + + if ((0x1000000000000L & adjIntersection) != 0) { + dist02 = Math.min(dist02, 8); + } + + + + + + if ((0x80000000L & adjIntersection) != 0) { + dist10 = Math.min(dist10, 8); + } + + + + if ((0x10000000000L & adjIntersection) != 0) { + dist11 = Math.min(dist11, 8); + } + + + + if ((0x2000000000000L & adjIntersection) != 0) { + dist12 = Math.min(dist12, 8); + } + + + + + + if ((0x100000000L & adjIntersection) != 0) { + dist20 = Math.min(dist20, 8); + } + + + + if ((0x20000000000L & adjIntersection) != 0) { + dist21 = Math.min(dist21, 8); + } + + + + if ((0x4000000000000L & adjIntersection) != 0) { + dist22 = Math.min(dist22, 8); + } + + + localMask0 = (localMask0 | ((localMask0 << 1) & loverflow) | ((localMask0 >>> 1) & roverflow)); + localMask1 = (localMask1 | ((localMask1 << 1) & loverflow) | ((localMask1 >>> 1) & roverflow)); + temp = localMask0; + localMask0 = (localMask0 | (localMask0 << 9) | (localMask0 >>> 9) + | (localMask1 << 54)) & mask0AndPassible; + localMask1 = (localMask1 | (localMask1 << 9) | (localMask1 >>> 9) + | (temp >>> 54)) & mask1AndPassible; + + + adjIntersection = (localMask0 & adjTiles); + + // if (adjIntersection == (passible0 & adjTiles)) break bfsLoop; + + + + + if ((0x40000000L & adjIntersection) != 0) { + dist00 = Math.min(dist00, 9); + } + + + + if ((0x8000000000L & adjIntersection) != 0) { + dist01 = Math.min(dist01, 9); + } + + + + if ((0x1000000000000L & adjIntersection) != 0) { + dist02 = Math.min(dist02, 9); + } + + + + + + if ((0x80000000L & adjIntersection) != 0) { + dist10 = Math.min(dist10, 9); + } + + + + if ((0x10000000000L & adjIntersection) != 0) { + dist11 = Math.min(dist11, 9); + } + + + + if ((0x2000000000000L & adjIntersection) != 0) { + dist12 = Math.min(dist12, 9); + } + + + + + + if ((0x100000000L & adjIntersection) != 0) { + dist20 = Math.min(dist20, 9); + } + + + + if ((0x20000000000L & adjIntersection) != 0) { + dist21 = Math.min(dist21, 9); + } + + + + if ((0x4000000000000L & adjIntersection) != 0) { + dist22 = Math.min(dist22, 9); + } + + + localMask0 = (localMask0 | ((localMask0 << 1) & loverflow) | ((localMask0 >>> 1) & roverflow)); + localMask1 = (localMask1 | ((localMask1 << 1) & loverflow) | ((localMask1 >>> 1) & roverflow)); + temp = localMask0; + localMask0 = (localMask0 | (localMask0 << 9) | (localMask0 >>> 9) + | (localMask1 << 54)) & mask0AndPassible; + localMask1 = (localMask1 | (localMask1 << 9) | (localMask1 >>> 9) + | (temp >>> 54)) & mask1AndPassible; + + } + + + // Pick the best direction. + // One thing I noticed is if units are going in opposite directions, + // Then they'll hit each other at this step. Perhaps we should disallow stay-still moves? + String dists = ""; + + + Direction bestDir = null; + int bestPaint = -10000; + int bestDist = 10000000; + boolean canMove; + + + + + + + dists += "N=" + dist12 + " "; + canMove = rc.canMove(Direction.NORTH); + if (canMove && dist12 < bestDist) { + bestDir = Direction.NORTH; + bestDist = dist12; + } + + + + dists += "NE=" + dist22 + " "; + canMove = rc.canMove(Direction.NORTHEAST); + if (canMove && dist22 < bestDist) { + bestDir = Direction.NORTHEAST; + bestDist = dist22; + } + + + + dists += "E=" + dist21 + " "; + canMove = rc.canMove(Direction.EAST); + if (canMove && dist21 < bestDist) { + bestDir = Direction.EAST; + bestDist = dist21; + } + + + + dists += "SE=" + dist20 + " "; + canMove = rc.canMove(Direction.SOUTHEAST); + if (canMove && dist20 < bestDist) { + bestDir = Direction.SOUTHEAST; + bestDist = dist20; + } + + + + dists += "S=" + dist10 + " "; + canMove = rc.canMove(Direction.SOUTH); + if (canMove && dist10 < bestDist) { + bestDir = Direction.SOUTH; + bestDist = dist10; + } + + + + dists += "SW=" + dist00 + " "; + canMove = rc.canMove(Direction.SOUTHWEST); + if (canMove && dist00 < bestDist) { + bestDir = Direction.SOUTHWEST; + bestDist = dist00; + } + + + + dists += "W=" + dist01 + " "; + canMove = rc.canMove(Direction.WEST); + if (canMove && dist01 < bestDist) { + bestDir = Direction.WEST; + bestDist = dist01; + } + + + + dists += "NW=" + dist02 + " "; + canMove = rc.canMove(Direction.NORTHWEST); + if (canMove && dist02 < bestDist) { + bestDir = Direction.NORTHWEST; + bestDist = dist02; + } + + + //rc.setIndicatorString("Left: " + (count - Clock.getBytecodeNum())); + if (bestDir != null && bestDir != Direction.CENTER) + rc.move(bestDir); + return; + } + + public static void bug() throws GameActionException { + assert(bestBugDist < 10000); + assert(!currentBugDirection.equals(Direction.CENTER)); + + MapLocation currentLoc = null, newLoc = currentBugPosition.add(currentBugDirection); + if (newLoc.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + if (rc.onTheMap(newLoc)) { + MapInfo mi = rc.senseMapInfo(newLoc); + if (mi.isPassable() || newLoc.equals(currentTarget)) { + currentLoc = newLoc; + } + } + } else { + // We're starting to consider locations out of vision range, + // We must halt to prevent wrong decisions. + doneSimulating = true; + return; + } + + if (currentLoc == null) { + leftLoop: { + + newLoc = currentBugPosition.add(currentBugDirection.rotateLeft()); + if (newLoc.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + if (rc.onTheMap(newLoc)) { + MapInfo mi = rc.senseMapInfo(newLoc); + if (mi.isPassable() || newLoc.equals(currentTarget)) { + currentLoc = newLoc; + break leftLoop; + } + } + } else { + // We're starting to consider locations out of vision range, + // We must halt to prevent wrong decisions. + doneSimulating = true; + return; + } + + // If the new direction is not passible, set currentBugDirection to it. + currentBugDirection = currentBugDirection.rotateLeft(); + + newLoc = currentBugPosition.add(currentBugDirection.rotateLeft()); + if (newLoc.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + if (rc.onTheMap(newLoc)) { + MapInfo mi = rc.senseMapInfo(newLoc); + if (mi.isPassable() || newLoc.equals(currentTarget)) { + currentLoc = newLoc; + break leftLoop; + } + } + } else { + // We're starting to consider locations out of vision range, + // We must halt to prevent wrong decisions. + doneSimulating = true; + return; + } + + // If the new direction is not passible, set currentBugDirection to it. + currentBugDirection = currentBugDirection.rotateLeft(); + + newLoc = currentBugPosition.add(currentBugDirection.rotateLeft()); + if (newLoc.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + if (rc.onTheMap(newLoc)) { + MapInfo mi = rc.senseMapInfo(newLoc); + if (mi.isPassable() || newLoc.equals(currentTarget)) { + currentLoc = newLoc; + break leftLoop; + } + } + } else { + // We're starting to consider locations out of vision range, + // We must halt to prevent wrong decisions. + doneSimulating = true; + return; + } + + // If the new direction is not passible, set currentBugDirection to it. + currentBugDirection = currentBugDirection.rotateLeft(); + + newLoc = currentBugPosition.add(currentBugDirection.rotateLeft()); + if (newLoc.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + if (rc.onTheMap(newLoc)) { + MapInfo mi = rc.senseMapInfo(newLoc); + if (mi.isPassable() || newLoc.equals(currentTarget)) { + currentLoc = newLoc; + break leftLoop; + } + } + } else { + // We're starting to consider locations out of vision range, + // We must halt to prevent wrong decisions. + doneSimulating = true; + return; + } + + // If the new direction is not passible, set currentBugDirection to it. + currentBugDirection = currentBugDirection.rotateLeft(); + + newLoc = currentBugPosition.add(currentBugDirection.rotateLeft()); + if (newLoc.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + if (rc.onTheMap(newLoc)) { + MapInfo mi = rc.senseMapInfo(newLoc); + if (mi.isPassable() || newLoc.equals(currentTarget)) { + currentLoc = newLoc; + break leftLoop; + } + } + } else { + // We're starting to consider locations out of vision range, + // We must halt to prevent wrong decisions. + doneSimulating = true; + return; + } + + // If the new direction is not passible, set currentBugDirection to it. + currentBugDirection = currentBugDirection.rotateLeft(); + + newLoc = currentBugPosition.add(currentBugDirection.rotateLeft()); + if (newLoc.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + if (rc.onTheMap(newLoc)) { + MapInfo mi = rc.senseMapInfo(newLoc); + if (mi.isPassable() || newLoc.equals(currentTarget)) { + currentLoc = newLoc; + break leftLoop; + } + } + } else { + // We're starting to consider locations out of vision range, + // We must halt to prevent wrong decisions. + doneSimulating = true; + return; + } + + // If the new direction is not passible, set currentBugDirection to it. + currentBugDirection = currentBugDirection.rotateLeft(); + + newLoc = currentBugPosition.add(currentBugDirection.rotateLeft()); + if (newLoc.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + if (rc.onTheMap(newLoc)) { + MapInfo mi = rc.senseMapInfo(newLoc); + if (mi.isPassable() || newLoc.equals(currentTarget)) { + currentLoc = newLoc; + break leftLoop; + } + } + } else { + // We're starting to consider locations out of vision range, + // We must halt to prevent wrong decisions. + doneSimulating = true; + return; + } + + // If the new direction is not passible, set currentBugDirection to it. + currentBugDirection = currentBugDirection.rotateLeft(); + + newLoc = currentBugPosition.add(currentBugDirection.rotateLeft()); + if (newLoc.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + if (rc.onTheMap(newLoc)) { + MapInfo mi = rc.senseMapInfo(newLoc); + if (mi.isPassable() || newLoc.equals(currentTarget)) { + currentLoc = newLoc; + break leftLoop; + } + } + } else { + // We're starting to consider locations out of vision range, + // We must halt to prevent wrong decisions. + doneSimulating = true; + return; + } + + // If the new direction is not passible, set currentBugDirection to it. + currentBugDirection = currentBugDirection.rotateLeft(); + + } + } + + if (currentLoc != null) { + assert(!currentLoc.equals(currentBugPosition)); + currentBugPosition = currentLoc; + currentBugDirection = currentBugDirection.rotateRight(); + int d = currentBugPosition.distanceSquaredTo(currentTarget); + if (d < bestBugDist) shouldBug = false; + } else { + System.out.println("Trapped in a box!"); + } + } + + public static void greedy() throws GameActionException { + int closestDist = currentBugPosition.distanceSquaredTo(currentTarget); + MapLocation bestLoc = null; + // Looping over all directions is kind of not great. + + { + MapLocation newLoc = currentBugPosition.add(Direction.NORTH); + if (newLoc.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + if (rc.onTheMap(newLoc)) { + MapInfo mi = rc.senseMapInfo(newLoc); + if (mi.isPassable() || newLoc.equals(currentTarget)) { + int d = newLoc.distanceSquaredTo(currentTarget); + if (d < closestDist) { + closestDist = d; + bestLoc = newLoc; + } + } + } + } else { + // This is kind of not great. + doneSimulating = true; + return; + } + } + + { + MapLocation newLoc = currentBugPosition.add(Direction.NORTHEAST); + if (newLoc.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + if (rc.onTheMap(newLoc)) { + MapInfo mi = rc.senseMapInfo(newLoc); + if (mi.isPassable() || newLoc.equals(currentTarget)) { + int d = newLoc.distanceSquaredTo(currentTarget); + if (d < closestDist) { + closestDist = d; + bestLoc = newLoc; + } + } + } + } else { + // This is kind of not great. + doneSimulating = true; + return; + } + } + + { + MapLocation newLoc = currentBugPosition.add(Direction.EAST); + if (newLoc.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + if (rc.onTheMap(newLoc)) { + MapInfo mi = rc.senseMapInfo(newLoc); + if (mi.isPassable() || newLoc.equals(currentTarget)) { + int d = newLoc.distanceSquaredTo(currentTarget); + if (d < closestDist) { + closestDist = d; + bestLoc = newLoc; + } + } + } + } else { + // This is kind of not great. + doneSimulating = true; + return; + } + } + + { + MapLocation newLoc = currentBugPosition.add(Direction.SOUTHEAST); + if (newLoc.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + if (rc.onTheMap(newLoc)) { + MapInfo mi = rc.senseMapInfo(newLoc); + if (mi.isPassable() || newLoc.equals(currentTarget)) { + int d = newLoc.distanceSquaredTo(currentTarget); + if (d < closestDist) { + closestDist = d; + bestLoc = newLoc; + } + } + } + } else { + // This is kind of not great. + doneSimulating = true; + return; + } + } + + { + MapLocation newLoc = currentBugPosition.add(Direction.SOUTH); + if (newLoc.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + if (rc.onTheMap(newLoc)) { + MapInfo mi = rc.senseMapInfo(newLoc); + if (mi.isPassable() || newLoc.equals(currentTarget)) { + int d = newLoc.distanceSquaredTo(currentTarget); + if (d < closestDist) { + closestDist = d; + bestLoc = newLoc; + } + } + } + } else { + // This is kind of not great. + doneSimulating = true; + return; + } + } + + { + MapLocation newLoc = currentBugPosition.add(Direction.SOUTHWEST); + if (newLoc.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + if (rc.onTheMap(newLoc)) { + MapInfo mi = rc.senseMapInfo(newLoc); + if (mi.isPassable() || newLoc.equals(currentTarget)) { + int d = newLoc.distanceSquaredTo(currentTarget); + if (d < closestDist) { + closestDist = d; + bestLoc = newLoc; + } + } + } + } else { + // This is kind of not great. + doneSimulating = true; + return; + } + } + + { + MapLocation newLoc = currentBugPosition.add(Direction.WEST); + if (newLoc.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + if (rc.onTheMap(newLoc)) { + MapInfo mi = rc.senseMapInfo(newLoc); + if (mi.isPassable() || newLoc.equals(currentTarget)) { + int d = newLoc.distanceSquaredTo(currentTarget); + if (d < closestDist) { + closestDist = d; + bestLoc = newLoc; + } + } + } + } else { + // This is kind of not great. + doneSimulating = true; + return; + } + } + + { + MapLocation newLoc = currentBugPosition.add(Direction.NORTHWEST); + if (newLoc.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + if (rc.onTheMap(newLoc)) { + MapInfo mi = rc.senseMapInfo(newLoc); + if (mi.isPassable() || newLoc.equals(currentTarget)) { + int d = newLoc.distanceSquaredTo(currentTarget); + if (d < closestDist) { + closestDist = d; + bestLoc = newLoc; + } + } + } + } else { + // This is kind of not great. + doneSimulating = true; + return; + } + } + + { + MapLocation newLoc = currentBugPosition.add(Direction.CENTER); + if (newLoc.distanceSquaredTo(myloc) <= GameConstants.VISION_RADIUS_SQUARED) { + if (rc.onTheMap(newLoc)) { + MapInfo mi = rc.senseMapInfo(newLoc); + if (mi.isPassable() || newLoc.equals(currentTarget)) { + int d = newLoc.distanceSquaredTo(currentTarget); + if (d < closestDist) { + closestDist = d; + bestLoc = newLoc; + } + } + } + } else { + // This is kind of not great. + doneSimulating = true; + return; + } + } + + + if (bestLoc != null) { + assert(bestLoc.distanceSquaredTo(currentTarget) < currentBugPosition.distanceSquaredTo(currentTarget)); + assert(!currentBugPosition.equals(bestLoc)); + currentBugPosition = bestLoc; + return; + } else { + bestBugDist = currentBugPosition.distanceSquaredTo(currentTarget); + currentBugDirection = currentBugPosition.directionTo(currentTarget); + assert(!currentBugDirection.equals(Direction.CENTER)); + shouldBug = true; + return; + } + } + + public static void resetPathing(MapLocation target) { + bestBugDist = 100000000; + shouldBug = false; + currentTarget = target; + currentBugDirection = null; + currentBugPosition = rc.getLocation(); + pathLength = 0; + } +} \ No newline at end of file diff --git a/java/src/moreMoppers/RefuelManager.java b/java/src/moreMoppers/RefuelManager.java new file mode 100644 index 0000000..92a317b --- /dev/null +++ b/java/src/moreMoppers/RefuelManager.java @@ -0,0 +1,681 @@ +package moreMoppers; +import java.util.Random; +import battlecode.common.*; + +public class RefuelManager { + public static RobotController rc; + public static int homeState; + public static MapLocation home = null; + public static boolean reachedHome = false; + + + + public static MapLocation previousPosition0; + + public static MapLocation previousPosition1; + + public static MapLocation previousPosition2; + + public static MapLocation previousPosition3; + + public static MapLocation previousPosition4; + + public static MapLocation previousPosition5; + + public static MapLocation previousPosition6; + + public static MapLocation previousPosition7; + + public static MapLocation previousPosition8; + + public static MapLocation previousPosition9; + + + public static void init(RobotController rc) { + RefuelManager.rc = rc; + + previousPosition0 = rc.getLocation(); + + previousPosition1 = rc.getLocation(); + + previousPosition2 = rc.getLocation(); + + previousPosition3 = rc.getLocation(); + + previousPosition4 = rc.getLocation(); + + previousPosition5 = rc.getLocation(); + + previousPosition6 = rc.getLocation(); + + previousPosition7 = rc.getLocation(); + + previousPosition8 = rc.getLocation(); + + previousPosition9 = rc.getLocation(); + + } + + public static void updatePositions() throws GameActionException { + + previousPosition9 = previousPosition8; + + previousPosition8 = previousPosition7; + + previousPosition7 = previousPosition6; + + previousPosition6 = previousPosition5; + + previousPosition5 = previousPosition4; + + previousPosition4 = previousPosition3; + + previousPosition3 = previousPosition2; + + previousPosition2 = previousPosition1; + + previousPosition1 = previousPosition0; + + previousPosition0 = rc.getLocation(); + } + + public static final int TOWER_RUIN = 0; + public static final int TOWER_NOT_PAINT = 1; + public static final int TOWER_PAINT = 2; + public static int getTowerState(RobotInfo robot) { + if (robot == null) return TOWER_RUIN; + else { + switch (robot.type) { + case LEVEL_ONE_PAINT_TOWER, LEVEL_TWO_PAINT_TOWER, LEVEL_THREE_PAINT_TOWER: + return TOWER_PAINT; + default: { + if (robot.paintAmount != 0) return TOWER_PAINT; + else return TOWER_NOT_PAINT; + } + } + } + } + + public static void setHome() throws GameActionException { + if (home != null && rc.canSenseLocation(home)) { + RobotInfo robot = rc.senseRobotAtLocation(home); + homeState = getTowerState(robot); + } + MapLocation[] ruins = rc.senseNearbyRuins(-1); + for (MapLocation ruin: ruins) { + RobotInfo robot = rc.senseRobotAtLocation(ruin); + if (robot != null && robot.team != rc.getTeam()) continue; + int towerState = getTowerState(robot); + // This home null check is only for when the robot is initialized + // Home will never be null after the robot is created. + if (home == null || towerState >= homeState) { + home = ruin; + homeState = towerState; + reachedHome = false; + } + } + } + + public static void refuel() throws GameActionException { + boolean atHome = (rc.getLocation().distanceSquaredTo(home) <= 9); + if (atHome && !reachedHome) { + reachedHome = true; + } + + if (!reachedHome && homeState == TOWER_PAINT) { + rc.setIndicatorString("Going home... " + home.x + " " + home.y); + Pathing.pathTo(home); + } else if (atHome && homeState == TOWER_PAINT) { + rc.setIndicatorString("At home, refueling..."); + // Pathing.pathTo(home); + carefullyGoHome(); + RobotInfo r = rc.senseRobotAtLocation(home); + if (r == null) { + homeState = getTowerState(r); + } else { + int amt = Math.max(rc.getPaint() - rc.getType().paintCapacity, -r.getPaintAmount()); + if (rc.canTransferPaint(home, amt)) { + rc.transferPaint(home, amt); + } + } + } else if (homeState != TOWER_PAINT) { + rc.setIndicatorString("Going somewhere new!"); + findPaintTower(); + } else { + rc.setIndicatorString("homeState := " + homeState + ", " + home.x + " " + home.y); + } + } + + public static void carefullyGoHome() throws GameActionException { + rc.setIndicatorString("Going home... safely..."); + SquareManager.computePaintPenalties(); + MapLocation myloc = rc.getLocation(); + + String penalties = ""; + Direction bestDir = null; + int bestDist = 10000000; + + + { + int dist = SquareManager.m11.distanceSquaredTo(home); + Direction dir = myloc.directionTo(SquareManager.m11); + penalties += ("" + dir + "=" + SquareManager.penalty11 + " "); + if (SquareManager.penalty11 <= 1 && dist < bestDist && rc.canMove(dir)) { + bestDist = dist; + bestDir = dir; + } + } + + { + int dist = SquareManager.m12.distanceSquaredTo(home); + Direction dir = myloc.directionTo(SquareManager.m12); + penalties += ("" + dir + "=" + SquareManager.penalty12 + " "); + if (SquareManager.penalty12 <= 1 && dist < bestDist && rc.canMove(dir)) { + bestDist = dist; + bestDir = dir; + } + } + + { + int dist = SquareManager.m13.distanceSquaredTo(home); + Direction dir = myloc.directionTo(SquareManager.m13); + penalties += ("" + dir + "=" + SquareManager.penalty13 + " "); + if (SquareManager.penalty13 <= 1 && dist < bestDist && rc.canMove(dir)) { + bestDist = dist; + bestDir = dir; + } + } + + + + { + int dist = SquareManager.m21.distanceSquaredTo(home); + Direction dir = myloc.directionTo(SquareManager.m21); + penalties += ("" + dir + "=" + SquareManager.penalty21 + " "); + if (SquareManager.penalty21 <= 1 && dist < bestDist && rc.canMove(dir)) { + bestDist = dist; + bestDir = dir; + } + } + + { + int dist = SquareManager.m22.distanceSquaredTo(home); + Direction dir = myloc.directionTo(SquareManager.m22); + penalties += ("" + dir + "=" + SquareManager.penalty22 + " "); + if (SquareManager.penalty22 <= 1 && dist < bestDist && rc.canMove(dir)) { + bestDist = dist; + bestDir = dir; + } + } + + { + int dist = SquareManager.m23.distanceSquaredTo(home); + Direction dir = myloc.directionTo(SquareManager.m23); + penalties += ("" + dir + "=" + SquareManager.penalty23 + " "); + if (SquareManager.penalty23 <= 1 && dist < bestDist && rc.canMove(dir)) { + bestDist = dist; + bestDir = dir; + } + } + + + + { + int dist = SquareManager.m31.distanceSquaredTo(home); + Direction dir = myloc.directionTo(SquareManager.m31); + penalties += ("" + dir + "=" + SquareManager.penalty31 + " "); + if (SquareManager.penalty31 <= 1 && dist < bestDist && rc.canMove(dir)) { + bestDist = dist; + bestDir = dir; + } + } + + { + int dist = SquareManager.m32.distanceSquaredTo(home); + Direction dir = myloc.directionTo(SquareManager.m32); + penalties += ("" + dir + "=" + SquareManager.penalty32 + " "); + if (SquareManager.penalty32 <= 1 && dist < bestDist && rc.canMove(dir)) { + bestDist = dist; + bestDir = dir; + } + } + + { + int dist = SquareManager.m33.distanceSquaredTo(home); + Direction dir = myloc.directionTo(SquareManager.m33); + penalties += ("" + dir + "=" + SquareManager.penalty33 + " "); + if (SquareManager.penalty33 <= 1 && dist < bestDist && rc.canMove(dir)) { + bestDist = dist; + bestDir = dir; + } + } + + + + rc.setIndicatorString(penalties); + if (bestDir != null) rc.move(bestDir); + } + + public static void findPaintTower() throws GameActionException { + double bestForce = 100000000; + double currentForce = 0; + Direction bestDir = Direction.CENTER; + MapLocation myloc = rc.getLocation(); + MapLocation nloc; + + nloc = myloc.add(Direction.NORTH); + if (rc.canSenseLocation(nloc) && rc.canMove(Direction.NORTH)) { + MapInfo mi = rc.senseMapInfo(nloc); + if (mi.getPaint().isAlly()) { + // currentDistance = 0.2 * nloc.distanceSquaredTo(pastTowerTarget); + currentForce = 0; + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition0) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition0); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition1) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition1); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition2) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition2); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition3) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition3); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition4) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition4); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition5) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition5); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition6) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition6); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition7) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition7); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition8) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition8); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition9) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition9); + + + if (currentForce < bestForce) { + bestDir = Direction.NORTH; + bestForce = currentForce; + } + } + } + + nloc = myloc.add(Direction.NORTHEAST); + if (rc.canSenseLocation(nloc) && rc.canMove(Direction.NORTHEAST)) { + MapInfo mi = rc.senseMapInfo(nloc); + if (mi.getPaint().isAlly()) { + // currentDistance = 0.2 * nloc.distanceSquaredTo(pastTowerTarget); + currentForce = 0; + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition0) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition0); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition1) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition1); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition2) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition2); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition3) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition3); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition4) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition4); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition5) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition5); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition6) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition6); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition7) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition7); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition8) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition8); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition9) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition9); + + + if (currentForce < bestForce) { + bestDir = Direction.NORTHEAST; + bestForce = currentForce; + } + } + } + + nloc = myloc.add(Direction.EAST); + if (rc.canSenseLocation(nloc) && rc.canMove(Direction.EAST)) { + MapInfo mi = rc.senseMapInfo(nloc); + if (mi.getPaint().isAlly()) { + // currentDistance = 0.2 * nloc.distanceSquaredTo(pastTowerTarget); + currentForce = 0; + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition0) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition0); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition1) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition1); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition2) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition2); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition3) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition3); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition4) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition4); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition5) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition5); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition6) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition6); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition7) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition7); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition8) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition8); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition9) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition9); + + + if (currentForce < bestForce) { + bestDir = Direction.EAST; + bestForce = currentForce; + } + } + } + + nloc = myloc.add(Direction.SOUTHEAST); + if (rc.canSenseLocation(nloc) && rc.canMove(Direction.SOUTHEAST)) { + MapInfo mi = rc.senseMapInfo(nloc); + if (mi.getPaint().isAlly()) { + // currentDistance = 0.2 * nloc.distanceSquaredTo(pastTowerTarget); + currentForce = 0; + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition0) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition0); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition1) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition1); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition2) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition2); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition3) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition3); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition4) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition4); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition5) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition5); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition6) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition6); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition7) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition7); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition8) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition8); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition9) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition9); + + + if (currentForce < bestForce) { + bestDir = Direction.SOUTHEAST; + bestForce = currentForce; + } + } + } + + nloc = myloc.add(Direction.SOUTH); + if (rc.canSenseLocation(nloc) && rc.canMove(Direction.SOUTH)) { + MapInfo mi = rc.senseMapInfo(nloc); + if (mi.getPaint().isAlly()) { + // currentDistance = 0.2 * nloc.distanceSquaredTo(pastTowerTarget); + currentForce = 0; + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition0) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition0); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition1) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition1); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition2) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition2); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition3) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition3); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition4) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition4); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition5) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition5); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition6) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition6); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition7) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition7); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition8) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition8); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition9) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition9); + + + if (currentForce < bestForce) { + bestDir = Direction.SOUTH; + bestForce = currentForce; + } + } + } + + nloc = myloc.add(Direction.SOUTHWEST); + if (rc.canSenseLocation(nloc) && rc.canMove(Direction.SOUTHWEST)) { + MapInfo mi = rc.senseMapInfo(nloc); + if (mi.getPaint().isAlly()) { + // currentDistance = 0.2 * nloc.distanceSquaredTo(pastTowerTarget); + currentForce = 0; + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition0) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition0); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition1) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition1); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition2) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition2); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition3) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition3); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition4) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition4); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition5) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition5); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition6) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition6); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition7) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition7); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition8) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition8); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition9) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition9); + + + if (currentForce < bestForce) { + bestDir = Direction.SOUTHWEST; + bestForce = currentForce; + } + } + } + + nloc = myloc.add(Direction.WEST); + if (rc.canSenseLocation(nloc) && rc.canMove(Direction.WEST)) { + MapInfo mi = rc.senseMapInfo(nloc); + if (mi.getPaint().isAlly()) { + // currentDistance = 0.2 * nloc.distanceSquaredTo(pastTowerTarget); + currentForce = 0; + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition0) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition0); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition1) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition1); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition2) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition2); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition3) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition3); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition4) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition4); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition5) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition5); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition6) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition6); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition7) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition7); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition8) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition8); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition9) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition9); + + + if (currentForce < bestForce) { + bestDir = Direction.WEST; + bestForce = currentForce; + } + } + } + + nloc = myloc.add(Direction.NORTHWEST); + if (rc.canSenseLocation(nloc) && rc.canMove(Direction.NORTHWEST)) { + MapInfo mi = rc.senseMapInfo(nloc); + if (mi.getPaint().isAlly()) { + // currentDistance = 0.2 * nloc.distanceSquaredTo(pastTowerTarget); + currentForce = 0; + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition0) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition0); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition1) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition1); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition2) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition2); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition3) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition3); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition4) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition4); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition5) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition5); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition6) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition6); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition7) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition7); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition8) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition8); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition9) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition9); + + + if (currentForce < bestForce) { + bestDir = Direction.NORTHWEST; + bestForce = currentForce; + } + } + } + + nloc = myloc.add(Direction.CENTER); + if (rc.canSenseLocation(nloc) && rc.canMove(Direction.CENTER)) { + MapInfo mi = rc.senseMapInfo(nloc); + if (mi.getPaint().isAlly()) { + // currentDistance = 0.2 * nloc.distanceSquaredTo(pastTowerTarget); + currentForce = 0; + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition0) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition0); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition1) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition1); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition2) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition2); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition3) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition3); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition4) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition4); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition5) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition5); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition6) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition6); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition7) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition7); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition8) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition8); + + currentForce += (1000 / (nloc.distanceSquaredTo(previousPosition9) + 1)); + // currentDistance += nloc.distanceSquaredTo(previousPosition9); + + + if (currentForce < bestForce) { + bestDir = Direction.CENTER; + bestForce = currentForce; + } + } + } + + + if (rc.canMove(bestDir)) + rc.move(bestDir); + updatePositions(); + } + + + public static void reset() throws GameActionException { + reachedHome = false; + } +} \ No newline at end of file diff --git a/java/src/moreMoppers/RobotPlayer.java b/java/src/moreMoppers/RobotPlayer.java new file mode 100644 index 0000000..c61776a --- /dev/null +++ b/java/src/moreMoppers/RobotPlayer.java @@ -0,0 +1,98 @@ +package moreMoppers; +import battlecode.common.*; +public class RobotPlayer { + @SuppressWarnings("unused") + public static void run(RobotController rc) throws GameActionException { + + Globals.init(rc); + Mopper.init(rc); + Pathing.init(rc); + Soldier.init(rc); + Splasher.init(rc); + Tower.init(rc); + TileLoader.init(rc); + SymmetryChecker.init(rc); + Attack.init(rc); + MopperAttack.init(rc); + Explore.init(rc); + RefuelManager.init(rc); + TowerBuild.init(rc); + SquareManager.init(rc); + Comms.init(rc); + switch (rc.getType()) { + case SOLDIER: { + while (true) { + try { + TileLoader.load(); + Globals.run(); + SquareManager.run(); + Soldier.run(); + SymmetryChecker.run(); + Comms.run(); + // rc.setIndicatorString("Symmetry: R = " + SymmetryChecker.RSYM + " V = " + SymmetryChecker.VSYM + " H = " + SymmetryChecker.HSYM); + } catch (GameActionException e) { + System.out.println("Exception = "); + e.printStackTrace(); + } finally { + Clock.yield(); + } + } + } + case MOPPER: { + while (true) { + try { + TileLoader.load(); + Globals.run(); + SquareManager.run(); + Mopper.run(); + SymmetryChecker.run(); + Comms.run(); + // rc.setIndicatorString("Symmetry: R = " + SymmetryChecker.RSYM + " V = " + SymmetryChecker.VSYM + " H = " + SymmetryChecker.HSYM); + } catch (GameActionException e) { + System.out.println("Exception = "); + e.printStackTrace(); + } finally { + Clock.yield(); + } + } + } + case SPLASHER: { + while (true) { + try { + TileLoader.load(); + Globals.run(); + SquareManager.run(); + Splasher.run(); + SymmetryChecker.run(); + Comms.run(); + // rc.setIndicatorString("Symmetry: R = " + SymmetryChecker.RSYM + " V = " + SymmetryChecker.VSYM + " H = " + SymmetryChecker.HSYM); + } catch (GameActionException e) { + System.out.println("Exception = "); + e.printStackTrace(); + } finally { + Clock.yield(); + } + } + } + + default: { + while (true) { + try { + TileLoader.load(); + Globals.run(); + SquareManager.run(); + Tower.run(); + SymmetryChecker.run(); + Comms.run(); + // rc.setIndicatorString("Symmetry: R = " + SymmetryChecker.RSYM + " V = " + SymmetryChecker.VSYM + " H = " + SymmetryChecker.HSYM); + } catch (GameActionException e) { + System.out.println("Exception = "); + e.printStackTrace(); + } finally { + Clock.yield(); + } + } + } + } + } +} \ No newline at end of file diff --git a/java/src/moreMoppers/Soldier.java b/java/src/moreMoppers/Soldier.java new file mode 100644 index 0000000..0ab7d59 --- /dev/null +++ b/java/src/moreMoppers/Soldier.java @@ -0,0 +1,1839 @@ + + +package moreMoppers; +import battlecode.common.*; +import java.util.ArrayList; +import java.util.Collections; + +public class Soldier { + public static RobotController rc; + public static boolean homeHasPaint = false; + public static MapLocation buildTower = null; + public static MapLocation myloc; + public static int paintCapacity = UnitType.SOLDIER.paintCapacity; + public static int myPaint; + public static MapLocation exploreTarget; + public static MapInfo[] near; + public static MapLocation ruinLoc; + public static MapLocation markedResource = null; + public static boolean[][] resourcePat = null; + public static boolean shouldGoHome = false; + public static boolean moved = false; + public static MapLocation returnLoc = null; + public static boolean reallyGoing = false; + + public static MapLocation chunkGoal = null; + + public static int[] dy = {0, 0, 4, -4}; + public static int[] dx = {-4, 4, 0, 0}; + + public static void init(RobotController rc) { + Soldier.rc = rc; + resourcePat = rc.getResourcePattern(); + } + + public static boolean shouldUseSecond(MapLocation loc, MapLocation center) throws GameActionException { + return resourcePat[2 + (loc.x - center.x)][2 + (loc.y - center.y)]; + } + + public static boolean okToTile(MapLocation m) throws GameActionException { + if (rc.getNumberTowers() == 25) return true; + if (rc.canSenseLocation(m)) { + MapInfo mc = rc.senseMapInfo(m); + if (mc.getPaint() != PaintType.EMPTY) return false; + } + for (int i = 3; --i >= -2; ){ + for (int j = 3; --j >= -2; ){ + if (i == 0 && j == 0) continue; + MapLocation tmp = new MapLocation(m.x + i, m.y + j); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.hasRuin()) { + RobotInfo r = rc.senseRobotAtLocation(tmp); + if (r == null) return false; + } + } + } + } + return true; + } + + public static void checkMoneyPatterns() throws GameActionException { + MapLocation tmp; + + + + tmp = new MapLocation(myloc.x + 2, myloc.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + if (rc.canCompleteResourcePattern(tmp)) { + rc.completeResourcePattern(tmp); + return; + } + } + } + + + + tmp = new MapLocation(myloc.x + 2, myloc.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + if (rc.canCompleteResourcePattern(tmp)) { + rc.completeResourcePattern(tmp); + return; + } + } + } + + + + tmp = new MapLocation(myloc.x + 2, myloc.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + if (rc.canCompleteResourcePattern(tmp)) { + rc.completeResourcePattern(tmp); + return; + } + } + } + + + + tmp = new MapLocation(myloc.x + 2, myloc.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + if (rc.canCompleteResourcePattern(tmp)) { + rc.completeResourcePattern(tmp); + return; + } + } + } + + + + tmp = new MapLocation(myloc.x + 2, myloc.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + if (rc.canCompleteResourcePattern(tmp)) { + rc.completeResourcePattern(tmp); + return; + } + } + } + + + + + + tmp = new MapLocation(myloc.x + 1, myloc.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + if (rc.canCompleteResourcePattern(tmp)) { + rc.completeResourcePattern(tmp); + return; + } + } + } + + + + tmp = new MapLocation(myloc.x + 1, myloc.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + if (rc.canCompleteResourcePattern(tmp)) { + rc.completeResourcePattern(tmp); + return; + } + } + } + + + + tmp = new MapLocation(myloc.x + 1, myloc.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + if (rc.canCompleteResourcePattern(tmp)) { + rc.completeResourcePattern(tmp); + return; + } + } + } + + + + tmp = new MapLocation(myloc.x + 1, myloc.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + if (rc.canCompleteResourcePattern(tmp)) { + rc.completeResourcePattern(tmp); + return; + } + } + } + + + + tmp = new MapLocation(myloc.x + 1, myloc.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + if (rc.canCompleteResourcePattern(tmp)) { + rc.completeResourcePattern(tmp); + return; + } + } + } + + + + + + tmp = new MapLocation(myloc.x + 0, myloc.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + if (rc.canCompleteResourcePattern(tmp)) { + rc.completeResourcePattern(tmp); + return; + } + } + } + + + + tmp = new MapLocation(myloc.x + 0, myloc.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + if (rc.canCompleteResourcePattern(tmp)) { + rc.completeResourcePattern(tmp); + return; + } + } + } + + + + + + tmp = new MapLocation(myloc.x + 0, myloc.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + if (rc.canCompleteResourcePattern(tmp)) { + rc.completeResourcePattern(tmp); + return; + } + } + } + + + + tmp = new MapLocation(myloc.x + 0, myloc.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + if (rc.canCompleteResourcePattern(tmp)) { + rc.completeResourcePattern(tmp); + return; + } + } + } + + + + + + tmp = new MapLocation(myloc.x + -1, myloc.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + if (rc.canCompleteResourcePattern(tmp)) { + rc.completeResourcePattern(tmp); + return; + } + } + } + + + + tmp = new MapLocation(myloc.x + -1, myloc.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + if (rc.canCompleteResourcePattern(tmp)) { + rc.completeResourcePattern(tmp); + return; + } + } + } + + + + tmp = new MapLocation(myloc.x + -1, myloc.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + if (rc.canCompleteResourcePattern(tmp)) { + rc.completeResourcePattern(tmp); + return; + } + } + } + + + + tmp = new MapLocation(myloc.x + -1, myloc.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + if (rc.canCompleteResourcePattern(tmp)) { + rc.completeResourcePattern(tmp); + return; + } + } + } + + + + tmp = new MapLocation(myloc.x + -1, myloc.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + if (rc.canCompleteResourcePattern(tmp)) { + rc.completeResourcePattern(tmp); + return; + } + } + } + + + + + + tmp = new MapLocation(myloc.x + -2, myloc.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + if (rc.canCompleteResourcePattern(tmp)) { + rc.completeResourcePattern(tmp); + return; + } + } + } + + + + tmp = new MapLocation(myloc.x + -2, myloc.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + if (rc.canCompleteResourcePattern(tmp)) { + rc.completeResourcePattern(tmp); + return; + } + } + } + + + + tmp = new MapLocation(myloc.x + -2, myloc.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + if (rc.canCompleteResourcePattern(tmp)) { + rc.completeResourcePattern(tmp); + return; + } + } + } + + + + tmp = new MapLocation(myloc.x + -2, myloc.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + if (rc.canCompleteResourcePattern(tmp)) { + rc.completeResourcePattern(tmp); + return; + } + } + } + + + + tmp = new MapLocation(myloc.x + -2, myloc.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + if (rc.canCompleteResourcePattern(tmp)) { + rc.completeResourcePattern(tmp); + return; + } + } + } + + + + } + + public static boolean canChangeColor(MapInfo mi) throws GameActionException { + return (mi.getPaint().isAlly() || mi.getPaint() == PaintType.EMPTY); + } + + public static boolean canChangeColor(MapLocation m) throws GameActionException { + if (!rc.canSenseLocation(m)) return false; + MapInfo mi = rc.senseMapInfo(m); + return canChangeColor(mi); + } + + public static boolean visited(MapLocation m) throws GameActionException { + switch (m.y) { + case 0 -> { + return ((TileLoader.visited0 >> m.x) & 1) == 1; + } + case 1 -> { + return ((TileLoader.visited1 >> m.x) & 1) == 1; + } + case 2 -> { + return ((TileLoader.visited2 >> m.x) & 1) == 1; + } + case 3 -> { + return ((TileLoader.visited3 >> m.x) & 1) == 1; + } + case 4 -> { + return ((TileLoader.visited4 >> m.x) & 1) == 1; + } + case 5 -> { + return ((TileLoader.visited5 >> m.x) & 1) == 1; + } + case 6 -> { + return ((TileLoader.visited6 >> m.x) & 1) == 1; + } + case 7 -> { + return ((TileLoader.visited7 >> m.x) & 1) == 1; + } + case 8 -> { + return ((TileLoader.visited8 >> m.x) & 1) == 1; + } + case 9 -> { + return ((TileLoader.visited9 >> m.x) & 1) == 1; + } + case 10 -> { + return ((TileLoader.visited10 >> m.x) & 1) == 1; + } + case 11 -> { + return ((TileLoader.visited11 >> m.x) & 1) == 1; + } + case 12 -> { + return ((TileLoader.visited12 >> m.x) & 1) == 1; + } + case 13 -> { + return ((TileLoader.visited13 >> m.x) & 1) == 1; + } + case 14 -> { + return ((TileLoader.visited14 >> m.x) & 1) == 1; + } + case 15 -> { + return ((TileLoader.visited15 >> m.x) & 1) == 1; + } + case 16 -> { + return ((TileLoader.visited16 >> m.x) & 1) == 1; + } + case 17 -> { + return ((TileLoader.visited17 >> m.x) & 1) == 1; + } + case 18 -> { + return ((TileLoader.visited18 >> m.x) & 1) == 1; + } + case 19 -> { + return ((TileLoader.visited19 >> m.x) & 1) == 1; + } + case 20 -> { + return ((TileLoader.visited20 >> m.x) & 1) == 1; + } + case 21 -> { + return ((TileLoader.visited21 >> m.x) & 1) == 1; + } + case 22 -> { + return ((TileLoader.visited22 >> m.x) & 1) == 1; + } + case 23 -> { + return ((TileLoader.visited23 >> m.x) & 1) == 1; + } + case 24 -> { + return ((TileLoader.visited24 >> m.x) & 1) == 1; + } + case 25 -> { + return ((TileLoader.visited25 >> m.x) & 1) == 1; + } + case 26 -> { + return ((TileLoader.visited26 >> m.x) & 1) == 1; + } + case 27 -> { + return ((TileLoader.visited27 >> m.x) & 1) == 1; + } + case 28 -> { + return ((TileLoader.visited28 >> m.x) & 1) == 1; + } + case 29 -> { + return ((TileLoader.visited29 >> m.x) & 1) == 1; + } + case 30 -> { + return ((TileLoader.visited30 >> m.x) & 1) == 1; + } + case 31 -> { + return ((TileLoader.visited31 >> m.x) & 1) == 1; + } + case 32 -> { + return ((TileLoader.visited32 >> m.x) & 1) == 1; + } + case 33 -> { + return ((TileLoader.visited33 >> m.x) & 1) == 1; + } + case 34 -> { + return ((TileLoader.visited34 >> m.x) & 1) == 1; + } + case 35 -> { + return ((TileLoader.visited35 >> m.x) & 1) == 1; + } + case 36 -> { + return ((TileLoader.visited36 >> m.x) & 1) == 1; + } + case 37 -> { + return ((TileLoader.visited37 >> m.x) & 1) == 1; + } + case 38 -> { + return ((TileLoader.visited38 >> m.x) & 1) == 1; + } + case 39 -> { + return ((TileLoader.visited39 >> m.x) & 1) == 1; + } + case 40 -> { + return ((TileLoader.visited40 >> m.x) & 1) == 1; + } + case 41 -> { + return ((TileLoader.visited41 >> m.x) & 1) == 1; + } + case 42 -> { + return ((TileLoader.visited42 >> m.x) & 1) == 1; + } + case 43 -> { + return ((TileLoader.visited43 >> m.x) & 1) == 1; + } + case 44 -> { + return ((TileLoader.visited44 >> m.x) & 1) == 1; + } + case 45 -> { + return ((TileLoader.visited45 >> m.x) & 1) == 1; + } + case 46 -> { + return ((TileLoader.visited46 >> m.x) & 1) == 1; + } + case 47 -> { + return ((TileLoader.visited47 >> m.x) & 1) == 1; + } + case 48 -> { + return ((TileLoader.visited48 >> m.x) & 1) == 1; + } + case 49 -> { + return ((TileLoader.visited49 >> m.x) & 1) == 1; + } + case 50 -> { + return ((TileLoader.visited50 >> m.x) & 1) == 1; + } + case 51 -> { + return ((TileLoader.visited51 >> m.x) & 1) == 1; + } + case 52 -> { + return ((TileLoader.visited52 >> m.x) & 1) == 1; + } + case 53 -> { + return ((TileLoader.visited53 >> m.x) & 1) == 1; + } + case 54 -> { + return ((TileLoader.visited54 >> m.x) & 1) == 1; + } + case 55 -> { + return ((TileLoader.visited55 >> m.x) & 1) == 1; + } + case 56 -> { + return ((TileLoader.visited56 >> m.x) & 1) == 1; + } + case 57 -> { + return ((TileLoader.visited57 >> m.x) & 1) == 1; + } + case 58 -> { + return ((TileLoader.visited58 >> m.x) & 1) == 1; + } + case 59 -> { + return ((TileLoader.visited59 >> m.x) & 1) == 1; + } + } + return false; + } + + public static boolean isOk(MapLocation p, MapLocation q) throws GameActionException { + MapLocation tmp; + + + tmp = new MapLocation(q.x + 2, q.y + 2); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + tmp = new MapLocation(q.x + 2, q.y + 1); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + tmp = new MapLocation(q.x + 2, q.y + 0); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + tmp = new MapLocation(q.x + 2, q.y + -1); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + tmp = new MapLocation(q.x + 2, q.y + -2); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + + + tmp = new MapLocation(q.x + 1, q.y + 2); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + tmp = new MapLocation(q.x + 1, q.y + 1); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + tmp = new MapLocation(q.x + 1, q.y + 0); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + tmp = new MapLocation(q.x + 1, q.y + -1); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + tmp = new MapLocation(q.x + 1, q.y + -2); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + + + tmp = new MapLocation(q.x + 0, q.y + 2); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + tmp = new MapLocation(q.x + 0, q.y + 1); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + tmp = new MapLocation(q.x + 0, q.y + 0); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + tmp = new MapLocation(q.x + 0, q.y + -1); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + tmp = new MapLocation(q.x + 0, q.y + -2); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + + + tmp = new MapLocation(q.x + -1, q.y + 2); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + tmp = new MapLocation(q.x + -1, q.y + 1); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + tmp = new MapLocation(q.x + -1, q.y + 0); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + tmp = new MapLocation(q.x + -1, q.y + -1); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + tmp = new MapLocation(q.x + -1, q.y + -2); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + + + tmp = new MapLocation(q.x + -2, q.y + 2); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + tmp = new MapLocation(q.x + -2, q.y + 1); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + tmp = new MapLocation(q.x + -2, q.y + 0); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + tmp = new MapLocation(q.x + -2, q.y + -1); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + tmp = new MapLocation(q.x + -2, q.y + -2); + if (rc.canSenseLocation(tmp)) { + if (tmp.distanceSquaredTo(p) <= 8) { + if (shouldUseSecond(tmp, p) != shouldUseSecond(tmp, q)) return false; + } + } + + + return true; + } + + public static boolean enoughToSRP() throws GameActionException { + //TODO: if we see a conflict, stop building and mark with a 2 (can add later) + int need = 0; + for (int i = 3; --i >= -2; ){ + for (int j = 3; --j >= -2; ){ + MapLocation tmp = new MapLocation(markedResource.x + i, markedResource.y + j); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (canChangeColor(mi)) { + boolean b = shouldUseSecond(tmp, markedResource); + if (mi.getPaint().isAlly()) { + if (b == (mi.getPaint() == PaintType.ALLY_SECONDARY)) { + continue; + } + } + need += 5; + } + } + } + } + return (rc.getPaint() - need >= 10); + } + + public static void moneyPattern() throws GameActionException { + if (markedResource != null) return; + if (!(rc.getNumberTowers() > 2 || rc.getRoundNum() > 100)) return; + + if (chunkGoal != null) { + if (myloc.equals(chunkGoal)) chunkGoal = null; + else Pathing.pathTo(chunkGoal); + } + + if (Globals.enemies.length > 0) return; + + //this just checks that nothing is like directly in the way + for (int i = 3; --i >= -2; ){ + for (int j = 3; --j >= -2; ){ + MapLocation tmp = new MapLocation(myloc.x + i, myloc.y + j); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) { + return; + } + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return; + if (mi.isResourcePatternCenter()) return; + RobotInfo r = rc.senseRobotAtLocation(tmp); + if (r != null && Globals.isTower(r.getType())) { + return; + } + } + else { + return; + } + } + } + + // ok there is probably better way to do this with bitmasks or something but ill just do this for now... + for (int i = near.length; --i >= 0; ) { + if (near[i].getMark() == PaintType.ALLY_PRIMARY) { + if (!isOk(near[i].getMapLocation(), myloc)) return; + } + } + + if (rc.canMark(myloc)) { + rc.mark(myloc, false); + markedResource = myloc; + } + } + + public static boolean okSRP(MapLocation loc) throws GameActionException { + MapLocation tmp; + + + tmp = new MapLocation(loc.x + 2, loc.y + 2); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + tmp = new MapLocation(loc.x + 2, loc.y + 1); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + tmp = new MapLocation(loc.x + 2, loc.y + 0); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + tmp = new MapLocation(loc.x + 2, loc.y + -1); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + tmp = new MapLocation(loc.x + 2, loc.y + -2); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + + + tmp = new MapLocation(loc.x + 1, loc.y + 2); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + tmp = new MapLocation(loc.x + 1, loc.y + 1); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + tmp = new MapLocation(loc.x + 1, loc.y + 0); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + tmp = new MapLocation(loc.x + 1, loc.y + -1); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + tmp = new MapLocation(loc.x + 1, loc.y + -2); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + + + tmp = new MapLocation(loc.x + 0, loc.y + 2); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + tmp = new MapLocation(loc.x + 0, loc.y + 1); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + tmp = new MapLocation(loc.x + 0, loc.y + 0); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + tmp = new MapLocation(loc.x + 0, loc.y + -1); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + tmp = new MapLocation(loc.x + 0, loc.y + -2); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + + + tmp = new MapLocation(loc.x + -1, loc.y + 2); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + tmp = new MapLocation(loc.x + -1, loc.y + 1); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + tmp = new MapLocation(loc.x + -1, loc.y + 0); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + tmp = new MapLocation(loc.x + -1, loc.y + -1); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + tmp = new MapLocation(loc.x + -1, loc.y + -2); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + + + tmp = new MapLocation(loc.x + -2, loc.y + 2); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + tmp = new MapLocation(loc.x + -2, loc.y + 1); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + tmp = new MapLocation(loc.x + -2, loc.y + 0); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + tmp = new MapLocation(loc.x + -2, loc.y + -1); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + tmp = new MapLocation(loc.x + -2, loc.y + -2); + if (!Globals.onMap(tmp)) return false; + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (!mi.isPassable()) return false; + if (!mi.getPaint().isAlly() && mi.getPaint() != PaintType.EMPTY) return false; + } + + + return true; + } + + public static MapLocation findNext(MapLocation m) throws GameActionException { + int st = Globals.rng.nextInt(4); + MapLocation tmp; + MapInfo mi; + + tmp = new MapLocation(m.x + dx[(st + 0) % 4], m.y + dy[(st + 0) % 4]); + mi = rc.senseMapInfo(tmp); + if (okSRP(tmp) && mi.getMark() != PaintType.ALLY_PRIMARY) { + return tmp; + } + + tmp = new MapLocation(m.x + dx[(st + 1) % 4], m.y + dy[(st + 1) % 4]); + mi = rc.senseMapInfo(tmp); + if (okSRP(tmp) && mi.getMark() != PaintType.ALLY_PRIMARY) { + return tmp; + } + + tmp = new MapLocation(m.x + dx[(st + 2) % 4], m.y + dy[(st + 2) % 4]); + mi = rc.senseMapInfo(tmp); + if (okSRP(tmp) && mi.getMark() != PaintType.ALLY_PRIMARY) { + return tmp; + } + + tmp = new MapLocation(m.x + dx[(st + 3) % 4], m.y + dy[(st + 3) % 4]); + mi = rc.senseMapInfo(tmp); + if (okSRP(tmp) && mi.getMark() != PaintType.ALLY_PRIMARY) { + return tmp; + } + + return null; + } + + public static void makeResourcePatch() throws GameActionException { + //TODO: if we see a conflict, stop building and mark with a 2 (can add later) + if (!rc.getLocation().equals(markedResource)) Pathing.pathTo(markedResource); + moved = true; + MapLocation goal = null; + int bestDist = 1000000000; + boolean secondCol = false; + for (int i = 3; --i >= -2; ){ + for (int j = 3; --j >= -2; ){ + MapLocation tmp = new MapLocation(markedResource.x + i, markedResource.y + j); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (canChangeColor(mi)) { + boolean b = shouldUseSecond(tmp, markedResource); + if (mi.getPaint().isAlly()) { + if (b == (mi.getPaint() == PaintType.ALLY_SECONDARY)) { + continue; + } + } + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist) { + bestDist = d; + goal = tmp; + secondCol = b; + } + } + } + } + } + if (goal != null) { + if (rc.canAttack(goal)) { + rc.attack(goal, secondCol); + } + if (rc.canCompleteResourcePattern(markedResource)) { + rc.completeResourcePattern(markedResource); + markedResource = null; + chunkGoal = findNext(myloc); + } + MapInfo mi = rc.senseMapInfo(myloc); + if (mi.isResourcePatternCenter()) { + markedResource = null; + chunkGoal = findNext(myloc); + } + } + else { + if (rc.canCompleteResourcePattern(markedResource)) { + rc.completeResourcePattern(markedResource); + chunkGoal = findNext(myloc); + } + markedResource = null; + } + } + + public static void run() throws GameActionException { + initTurn(); + runTurn(); + postTurn(); + } + + public static void initTurn() throws GameActionException { + near = rc.senseNearbyMapInfos(); + myloc = rc.getLocation(); + myPaint = rc.getPaint(); + moved = false; + + RefuelManager.setHome(); + boolean lowHealth = (myPaint <= (paintCapacity >> 2)); + if (lowHealth != shouldGoHome) { + shouldGoHome = lowHealth; + reallyGoing = false; + if (buildTower != null && shouldGoHome) returnLoc = buildTower; + RefuelManager.reset(); + } + } + + + public static boolean getGoodColor(MapLocation m) throws GameActionException { + MapLocation tmp; + + + tmp = new MapLocation(m.x + 2, m.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + tmp = new MapLocation(m.x + 2, m.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + tmp = new MapLocation(m.x + 2, m.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + tmp = new MapLocation(m.x + 2, m.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + tmp = new MapLocation(m.x + 2, m.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + + + tmp = new MapLocation(m.x + 1, m.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + tmp = new MapLocation(m.x + 1, m.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + tmp = new MapLocation(m.x + 1, m.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + tmp = new MapLocation(m.x + 1, m.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + tmp = new MapLocation(m.x + 1, m.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + + + tmp = new MapLocation(m.x + 0, m.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + tmp = new MapLocation(m.x + 0, m.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + tmp = new MapLocation(m.x + 0, m.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + tmp = new MapLocation(m.x + 0, m.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + tmp = new MapLocation(m.x + 0, m.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + + + tmp = new MapLocation(m.x + -1, m.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + tmp = new MapLocation(m.x + -1, m.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + tmp = new MapLocation(m.x + -1, m.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + tmp = new MapLocation(m.x + -1, m.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + tmp = new MapLocation(m.x + -1, m.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + + + tmp = new MapLocation(m.x + -2, m.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + tmp = new MapLocation(m.x + -2, m.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + tmp = new MapLocation(m.x + -2, m.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + tmp = new MapLocation(m.x + -2, m.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + tmp = new MapLocation(m.x + -2, m.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + if (mi.getMark() == PaintType.ALLY_PRIMARY) { + return Soldier.shouldUseSecond(m, tmp); + } + } + + + return false; + } + + public static boolean checkNearby(MapLocation loc) throws GameActionException { + MapLocation tmp; + + + + tmp = new MapLocation(loc.x + 2, loc.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + boolean b = shouldUseSecond(tmp, loc); + if (mi.getPaint() == PaintType.EMPTY || (mi.getPaint().isAlly() && b != (mi.getPaint() == PaintType.ALLY_SECONDARY))) { + if (rc.canAttack(tmp)) { + rc.attack(tmp, b); + return true; + } + } + } + + + + tmp = new MapLocation(loc.x + 2, loc.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + boolean b = shouldUseSecond(tmp, loc); + if (mi.getPaint() == PaintType.EMPTY || (mi.getPaint().isAlly() && b != (mi.getPaint() == PaintType.ALLY_SECONDARY))) { + if (rc.canAttack(tmp)) { + rc.attack(tmp, b); + return true; + } + } + } + + + + tmp = new MapLocation(loc.x + 2, loc.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + boolean b = shouldUseSecond(tmp, loc); + if (mi.getPaint() == PaintType.EMPTY || (mi.getPaint().isAlly() && b != (mi.getPaint() == PaintType.ALLY_SECONDARY))) { + if (rc.canAttack(tmp)) { + rc.attack(tmp, b); + return true; + } + } + } + + + + tmp = new MapLocation(loc.x + 2, loc.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + boolean b = shouldUseSecond(tmp, loc); + if (mi.getPaint() == PaintType.EMPTY || (mi.getPaint().isAlly() && b != (mi.getPaint() == PaintType.ALLY_SECONDARY))) { + if (rc.canAttack(tmp)) { + rc.attack(tmp, b); + return true; + } + } + } + + + + tmp = new MapLocation(loc.x + 2, loc.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + boolean b = shouldUseSecond(tmp, loc); + if (mi.getPaint() == PaintType.EMPTY || (mi.getPaint().isAlly() && b != (mi.getPaint() == PaintType.ALLY_SECONDARY))) { + if (rc.canAttack(tmp)) { + rc.attack(tmp, b); + return true; + } + } + } + + + + + + tmp = new MapLocation(loc.x + 1, loc.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + boolean b = shouldUseSecond(tmp, loc); + if (mi.getPaint() == PaintType.EMPTY || (mi.getPaint().isAlly() && b != (mi.getPaint() == PaintType.ALLY_SECONDARY))) { + if (rc.canAttack(tmp)) { + rc.attack(tmp, b); + return true; + } + } + } + + + + tmp = new MapLocation(loc.x + 1, loc.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + boolean b = shouldUseSecond(tmp, loc); + if (mi.getPaint() == PaintType.EMPTY || (mi.getPaint().isAlly() && b != (mi.getPaint() == PaintType.ALLY_SECONDARY))) { + if (rc.canAttack(tmp)) { + rc.attack(tmp, b); + return true; + } + } + } + + + + tmp = new MapLocation(loc.x + 1, loc.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + boolean b = shouldUseSecond(tmp, loc); + if (mi.getPaint() == PaintType.EMPTY || (mi.getPaint().isAlly() && b != (mi.getPaint() == PaintType.ALLY_SECONDARY))) { + if (rc.canAttack(tmp)) { + rc.attack(tmp, b); + return true; + } + } + } + + + + tmp = new MapLocation(loc.x + 1, loc.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + boolean b = shouldUseSecond(tmp, loc); + if (mi.getPaint() == PaintType.EMPTY || (mi.getPaint().isAlly() && b != (mi.getPaint() == PaintType.ALLY_SECONDARY))) { + if (rc.canAttack(tmp)) { + rc.attack(tmp, b); + return true; + } + } + } + + + + tmp = new MapLocation(loc.x + 1, loc.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + boolean b = shouldUseSecond(tmp, loc); + if (mi.getPaint() == PaintType.EMPTY || (mi.getPaint().isAlly() && b != (mi.getPaint() == PaintType.ALLY_SECONDARY))) { + if (rc.canAttack(tmp)) { + rc.attack(tmp, b); + return true; + } + } + } + + + + + + tmp = new MapLocation(loc.x + 0, loc.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + boolean b = shouldUseSecond(tmp, loc); + if (mi.getPaint() == PaintType.EMPTY || (mi.getPaint().isAlly() && b != (mi.getPaint() == PaintType.ALLY_SECONDARY))) { + if (rc.canAttack(tmp)) { + rc.attack(tmp, b); + return true; + } + } + } + + + + tmp = new MapLocation(loc.x + 0, loc.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + boolean b = shouldUseSecond(tmp, loc); + if (mi.getPaint() == PaintType.EMPTY || (mi.getPaint().isAlly() && b != (mi.getPaint() == PaintType.ALLY_SECONDARY))) { + if (rc.canAttack(tmp)) { + rc.attack(tmp, b); + return true; + } + } + } + + + + + + tmp = new MapLocation(loc.x + 0, loc.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + boolean b = shouldUseSecond(tmp, loc); + if (mi.getPaint() == PaintType.EMPTY || (mi.getPaint().isAlly() && b != (mi.getPaint() == PaintType.ALLY_SECONDARY))) { + if (rc.canAttack(tmp)) { + rc.attack(tmp, b); + return true; + } + } + } + + + + tmp = new MapLocation(loc.x + 0, loc.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + boolean b = shouldUseSecond(tmp, loc); + if (mi.getPaint() == PaintType.EMPTY || (mi.getPaint().isAlly() && b != (mi.getPaint() == PaintType.ALLY_SECONDARY))) { + if (rc.canAttack(tmp)) { + rc.attack(tmp, b); + return true; + } + } + } + + + + + + tmp = new MapLocation(loc.x + -1, loc.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + boolean b = shouldUseSecond(tmp, loc); + if (mi.getPaint() == PaintType.EMPTY || (mi.getPaint().isAlly() && b != (mi.getPaint() == PaintType.ALLY_SECONDARY))) { + if (rc.canAttack(tmp)) { + rc.attack(tmp, b); + return true; + } + } + } + + + + tmp = new MapLocation(loc.x + -1, loc.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + boolean b = shouldUseSecond(tmp, loc); + if (mi.getPaint() == PaintType.EMPTY || (mi.getPaint().isAlly() && b != (mi.getPaint() == PaintType.ALLY_SECONDARY))) { + if (rc.canAttack(tmp)) { + rc.attack(tmp, b); + return true; + } + } + } + + + + tmp = new MapLocation(loc.x + -1, loc.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + boolean b = shouldUseSecond(tmp, loc); + if (mi.getPaint() == PaintType.EMPTY || (mi.getPaint().isAlly() && b != (mi.getPaint() == PaintType.ALLY_SECONDARY))) { + if (rc.canAttack(tmp)) { + rc.attack(tmp, b); + return true; + } + } + } + + + + tmp = new MapLocation(loc.x + -1, loc.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + boolean b = shouldUseSecond(tmp, loc); + if (mi.getPaint() == PaintType.EMPTY || (mi.getPaint().isAlly() && b != (mi.getPaint() == PaintType.ALLY_SECONDARY))) { + if (rc.canAttack(tmp)) { + rc.attack(tmp, b); + return true; + } + } + } + + + + tmp = new MapLocation(loc.x + -1, loc.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + boolean b = shouldUseSecond(tmp, loc); + if (mi.getPaint() == PaintType.EMPTY || (mi.getPaint().isAlly() && b != (mi.getPaint() == PaintType.ALLY_SECONDARY))) { + if (rc.canAttack(tmp)) { + rc.attack(tmp, b); + return true; + } + } + } + + + + + + tmp = new MapLocation(loc.x + -2, loc.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + boolean b = shouldUseSecond(tmp, loc); + if (mi.getPaint() == PaintType.EMPTY || (mi.getPaint().isAlly() && b != (mi.getPaint() == PaintType.ALLY_SECONDARY))) { + if (rc.canAttack(tmp)) { + rc.attack(tmp, b); + return true; + } + } + } + + + + tmp = new MapLocation(loc.x + -2, loc.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + boolean b = shouldUseSecond(tmp, loc); + if (mi.getPaint() == PaintType.EMPTY || (mi.getPaint().isAlly() && b != (mi.getPaint() == PaintType.ALLY_SECONDARY))) { + if (rc.canAttack(tmp)) { + rc.attack(tmp, b); + return true; + } + } + } + + + + tmp = new MapLocation(loc.x + -2, loc.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + boolean b = shouldUseSecond(tmp, loc); + if (mi.getPaint() == PaintType.EMPTY || (mi.getPaint().isAlly() && b != (mi.getPaint() == PaintType.ALLY_SECONDARY))) { + if (rc.canAttack(tmp)) { + rc.attack(tmp, b); + return true; + } + } + } + + + + tmp = new MapLocation(loc.x + -2, loc.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + boolean b = shouldUseSecond(tmp, loc); + if (mi.getPaint() == PaintType.EMPTY || (mi.getPaint().isAlly() && b != (mi.getPaint() == PaintType.ALLY_SECONDARY))) { + if (rc.canAttack(tmp)) { + rc.attack(tmp, b); + return true; + } + } + } + + + + tmp = new MapLocation(loc.x + -2, loc.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + boolean b = shouldUseSecond(tmp, loc); + if (mi.getPaint() == PaintType.EMPTY || (mi.getPaint().isAlly() && b != (mi.getPaint() == PaintType.ALLY_SECONDARY))) { + if (rc.canAttack(tmp)) { + rc.attack(tmp, b); + return true; + } + } + } + + + + return false; + } + + public static void helpPattern(MapInfo[] near) throws GameActionException { + for (int i = near.length; --i >= 0;) { + if (near[i].getMark() == PaintType.ALLY_PRIMARY) { + if (checkNearby(near[i].getMapLocation())) return; + } + } + } + + public static void runTurn() throws GameActionException { + if (Attack.shouldSoldierMicro()) { + rc.setIndicatorString("Attacking"); + Attack.soldierAttackMicro(); + return; + } + + buildTower = TowerBuild.getRuin(near); + if (TowerBuild.leaveMark != null) { + if (rc.canAttack(TowerBuild.leaveMark)) { + rc.attack(TowerBuild.leaveMark); + } + } + + if (rc.getNumberTowers() < 25 && rc.getPaint() < 50 && !reallyGoing) { + if (buildTower != null && TowerBuild.enoughPaint(buildTower)) { + TowerBuild.makeTower(buildTower); + return; + } + else reallyGoing = true; + } + + if (markedResource != null && !reallyGoing && rc.getPaint() < 50) { + if (enoughToSRP() && !reallyGoing){ + makeResourcePatch(); + return; + } + else reallyGoing = true; + } + + if (TowerBuild.finishedTower != null){ + TowerBuild.removePattern(); + return; + } + + if (shouldGoHome) { + rc.setIndicatorString("Refueling"); + RefuelManager.refuel(); + return; + } else if (rc.getNumberTowers() < 25 && markedResource == null) { + if (buildTower != null) { + TowerBuild.makeTower(buildTower); + return; + } + } + + if (returnLoc != null) { + if (myloc.distanceSquaredTo(returnLoc) <= 5) { + returnLoc = null; + } + else { + Pathing.pathTo(returnLoc); + } + } + + moneyPattern(); + if (markedResource != null) { + rc.setIndicatorString("Patching Resource"); + makeResourcePatch(); + return; + } + + helpPattern(near); + + if (moved) return; + + //rc.setIndicatorString("Exploring"); + Explore.explore(near); + } + + public static void postTurn() throws GameActionException { + + // Lay paint where I am first. + if (canChangeColor(myloc) && rc.canAttack(myloc) && rc.getPaint() >= 50 && okToTile(myloc)){ + rc.attack(myloc, getGoodColor(myloc)); + } + + if (buildTower != null && !Globals.shouldStallForIncome()) { + if (rc.canCompleteTowerPattern(UnitType.LEVEL_ONE_PAINT_TOWER, buildTower)) { + rc.completeTowerPattern(UnitType.LEVEL_ONE_PAINT_TOWER, buildTower); + TowerBuild.finishedTower = buildTower; + TowerBuild.removePattern(); + } + if (rc.canCompleteTowerPattern(UnitType.LEVEL_ONE_MONEY_TOWER, buildTower)) { + rc.completeTowerPattern(UnitType.LEVEL_ONE_MONEY_TOWER, buildTower); + TowerBuild.finishedTower = buildTower; + TowerBuild.removePattern(); + } + } + checkMoneyPatterns(); + } +} \ No newline at end of file diff --git a/java/src/moreMoppers/Splasher.java b/java/src/moreMoppers/Splasher.java new file mode 100644 index 0000000..e342731 --- /dev/null +++ b/java/src/moreMoppers/Splasher.java @@ -0,0 +1,2262 @@ + + +package moreMoppers; +import battlecode.common.*; + +public class Splasher { + public static RobotController rc; + public static MapLocation buildTower = null; + public static MapLocation myloc; + public static int paintCapacity = UnitType.SOLDIER.paintCapacity; + public static int myPaint; + public static boolean shouldGoHome = false; + + public static void init(RobotController rc) { + Splasher.rc = rc; + } + + public static void run() throws GameActionException { + initTurn(); + runTurn(); + postTurn(); + } + + public static void initTurn() throws GameActionException { + myloc = rc.getLocation(); + myPaint = rc.getPaint(); + + RefuelManager.setHome(); + boolean lowHealth = (myPaint <= (paintCapacity >> 2)); + if (lowHealth != shouldGoHome) { + shouldGoHome = lowHealth; + RefuelManager.reset(); + } + } + + public static void runTurn() throws GameActionException { + if (shouldGoHome) { + rc.setIndicatorString("Refueling"); + RefuelManager.refuel(); + return; + } else if (Attack.shouldSplasherMicro()) { + rc.setIndicatorString("Attacking"); + Attack.splasherAttackMicro(); + return; + } else { + Explore.explore(null); + } + } + + public static void postTurn() throws GameActionException { + doAttack(); + } + + public static void doAttack() throws GameActionException { + rc.setIndicatorString("Preparing to attack, but didn't"); + if (!rc.isActionReady() || rc.getPaint() < (paintCapacity >> 2)) return; + rc.setIndicatorString("Running attack code..."); + MapLocation myloc = rc.getLocation(); + int x = myloc.x, y = myloc.y; + MapLocation bestLoc = null; + int count = 0, bestCount = -1; + + + + MapLocation mloc00 = new MapLocation(x + -3, y + -3); + PaintType mpaint00 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc00)) { + MapInfo minfo00 = rc.senseMapInfo(mloc00); + if (!minfo00.hasRuin() && !minfo00.isWall()) { + mpaint00 = minfo00.getPaint(); + } + } + + MapLocation mloc01 = new MapLocation(x + -3, y + -2); + PaintType mpaint01 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc01)) { + MapInfo minfo01 = rc.senseMapInfo(mloc01); + if (!minfo01.hasRuin() && !minfo01.isWall()) { + mpaint01 = minfo01.getPaint(); + } + } + + MapLocation mloc02 = new MapLocation(x + -3, y + -1); + PaintType mpaint02 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc02)) { + MapInfo minfo02 = rc.senseMapInfo(mloc02); + if (!minfo02.hasRuin() && !minfo02.isWall()) { + mpaint02 = minfo02.getPaint(); + } + } + + MapLocation mloc03 = new MapLocation(x + -3, y + 0); + PaintType mpaint03 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc03)) { + MapInfo minfo03 = rc.senseMapInfo(mloc03); + if (!minfo03.hasRuin() && !minfo03.isWall()) { + mpaint03 = minfo03.getPaint(); + } + } + + MapLocation mloc04 = new MapLocation(x + -3, y + 1); + PaintType mpaint04 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc04)) { + MapInfo minfo04 = rc.senseMapInfo(mloc04); + if (!minfo04.hasRuin() && !minfo04.isWall()) { + mpaint04 = minfo04.getPaint(); + } + } + + MapLocation mloc05 = new MapLocation(x + -3, y + 2); + PaintType mpaint05 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc05)) { + MapInfo minfo05 = rc.senseMapInfo(mloc05); + if (!minfo05.hasRuin() && !minfo05.isWall()) { + mpaint05 = minfo05.getPaint(); + } + } + + MapLocation mloc06 = new MapLocation(x + -3, y + 3); + PaintType mpaint06 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc06)) { + MapInfo minfo06 = rc.senseMapInfo(mloc06); + if (!minfo06.hasRuin() && !minfo06.isWall()) { + mpaint06 = minfo06.getPaint(); + } + } + + + + MapLocation mloc10 = new MapLocation(x + -2, y + -3); + PaintType mpaint10 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc10)) { + MapInfo minfo10 = rc.senseMapInfo(mloc10); + if (!minfo10.hasRuin() && !minfo10.isWall()) { + mpaint10 = minfo10.getPaint(); + } + } + + MapLocation mloc11 = new MapLocation(x + -2, y + -2); + PaintType mpaint11 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc11)) { + MapInfo minfo11 = rc.senseMapInfo(mloc11); + if (!minfo11.hasRuin() && !minfo11.isWall()) { + mpaint11 = minfo11.getPaint(); + } + } + + MapLocation mloc12 = new MapLocation(x + -2, y + -1); + PaintType mpaint12 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc12)) { + MapInfo minfo12 = rc.senseMapInfo(mloc12); + if (!minfo12.hasRuin() && !minfo12.isWall()) { + mpaint12 = minfo12.getPaint(); + } + } + + MapLocation mloc13 = new MapLocation(x + -2, y + 0); + PaintType mpaint13 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc13)) { + MapInfo minfo13 = rc.senseMapInfo(mloc13); + if (!minfo13.hasRuin() && !minfo13.isWall()) { + mpaint13 = minfo13.getPaint(); + } + } + + MapLocation mloc14 = new MapLocation(x + -2, y + 1); + PaintType mpaint14 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc14)) { + MapInfo minfo14 = rc.senseMapInfo(mloc14); + if (!minfo14.hasRuin() && !minfo14.isWall()) { + mpaint14 = minfo14.getPaint(); + } + } + + MapLocation mloc15 = new MapLocation(x + -2, y + 2); + PaintType mpaint15 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc15)) { + MapInfo minfo15 = rc.senseMapInfo(mloc15); + if (!minfo15.hasRuin() && !minfo15.isWall()) { + mpaint15 = minfo15.getPaint(); + } + } + + MapLocation mloc16 = new MapLocation(x + -2, y + 3); + PaintType mpaint16 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc16)) { + MapInfo minfo16 = rc.senseMapInfo(mloc16); + if (!minfo16.hasRuin() && !minfo16.isWall()) { + mpaint16 = minfo16.getPaint(); + } + } + + + + MapLocation mloc20 = new MapLocation(x + -1, y + -3); + PaintType mpaint20 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc20)) { + MapInfo minfo20 = rc.senseMapInfo(mloc20); + if (!minfo20.hasRuin() && !minfo20.isWall()) { + mpaint20 = minfo20.getPaint(); + } + } + + MapLocation mloc21 = new MapLocation(x + -1, y + -2); + PaintType mpaint21 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc21)) { + MapInfo minfo21 = rc.senseMapInfo(mloc21); + if (!minfo21.hasRuin() && !minfo21.isWall()) { + mpaint21 = minfo21.getPaint(); + } + } + + MapLocation mloc22 = new MapLocation(x + -1, y + -1); + PaintType mpaint22 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc22)) { + MapInfo minfo22 = rc.senseMapInfo(mloc22); + if (!minfo22.hasRuin() && !minfo22.isWall()) { + mpaint22 = minfo22.getPaint(); + } + } + + MapLocation mloc23 = new MapLocation(x + -1, y + 0); + PaintType mpaint23 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc23)) { + MapInfo minfo23 = rc.senseMapInfo(mloc23); + if (!minfo23.hasRuin() && !minfo23.isWall()) { + mpaint23 = minfo23.getPaint(); + } + } + + MapLocation mloc24 = new MapLocation(x + -1, y + 1); + PaintType mpaint24 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc24)) { + MapInfo minfo24 = rc.senseMapInfo(mloc24); + if (!minfo24.hasRuin() && !minfo24.isWall()) { + mpaint24 = minfo24.getPaint(); + } + } + + MapLocation mloc25 = new MapLocation(x + -1, y + 2); + PaintType mpaint25 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc25)) { + MapInfo minfo25 = rc.senseMapInfo(mloc25); + if (!minfo25.hasRuin() && !minfo25.isWall()) { + mpaint25 = minfo25.getPaint(); + } + } + + MapLocation mloc26 = new MapLocation(x + -1, y + 3); + PaintType mpaint26 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc26)) { + MapInfo minfo26 = rc.senseMapInfo(mloc26); + if (!minfo26.hasRuin() && !minfo26.isWall()) { + mpaint26 = minfo26.getPaint(); + } + } + + + + MapLocation mloc30 = new MapLocation(x + 0, y + -3); + PaintType mpaint30 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc30)) { + MapInfo minfo30 = rc.senseMapInfo(mloc30); + if (!minfo30.hasRuin() && !minfo30.isWall()) { + mpaint30 = minfo30.getPaint(); + } + } + + MapLocation mloc31 = new MapLocation(x + 0, y + -2); + PaintType mpaint31 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc31)) { + MapInfo minfo31 = rc.senseMapInfo(mloc31); + if (!minfo31.hasRuin() && !minfo31.isWall()) { + mpaint31 = minfo31.getPaint(); + } + } + + MapLocation mloc32 = new MapLocation(x + 0, y + -1); + PaintType mpaint32 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc32)) { + MapInfo minfo32 = rc.senseMapInfo(mloc32); + if (!minfo32.hasRuin() && !minfo32.isWall()) { + mpaint32 = minfo32.getPaint(); + } + } + + MapLocation mloc33 = new MapLocation(x + 0, y + 0); + PaintType mpaint33 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc33)) { + MapInfo minfo33 = rc.senseMapInfo(mloc33); + if (!minfo33.hasRuin() && !minfo33.isWall()) { + mpaint33 = minfo33.getPaint(); + } + } + + MapLocation mloc34 = new MapLocation(x + 0, y + 1); + PaintType mpaint34 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc34)) { + MapInfo minfo34 = rc.senseMapInfo(mloc34); + if (!minfo34.hasRuin() && !minfo34.isWall()) { + mpaint34 = minfo34.getPaint(); + } + } + + MapLocation mloc35 = new MapLocation(x + 0, y + 2); + PaintType mpaint35 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc35)) { + MapInfo minfo35 = rc.senseMapInfo(mloc35); + if (!minfo35.hasRuin() && !minfo35.isWall()) { + mpaint35 = minfo35.getPaint(); + } + } + + MapLocation mloc36 = new MapLocation(x + 0, y + 3); + PaintType mpaint36 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc36)) { + MapInfo minfo36 = rc.senseMapInfo(mloc36); + if (!minfo36.hasRuin() && !minfo36.isWall()) { + mpaint36 = minfo36.getPaint(); + } + } + + + + MapLocation mloc40 = new MapLocation(x + 1, y + -3); + PaintType mpaint40 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc40)) { + MapInfo minfo40 = rc.senseMapInfo(mloc40); + if (!minfo40.hasRuin() && !minfo40.isWall()) { + mpaint40 = minfo40.getPaint(); + } + } + + MapLocation mloc41 = new MapLocation(x + 1, y + -2); + PaintType mpaint41 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc41)) { + MapInfo minfo41 = rc.senseMapInfo(mloc41); + if (!minfo41.hasRuin() && !minfo41.isWall()) { + mpaint41 = minfo41.getPaint(); + } + } + + MapLocation mloc42 = new MapLocation(x + 1, y + -1); + PaintType mpaint42 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc42)) { + MapInfo minfo42 = rc.senseMapInfo(mloc42); + if (!minfo42.hasRuin() && !minfo42.isWall()) { + mpaint42 = minfo42.getPaint(); + } + } + + MapLocation mloc43 = new MapLocation(x + 1, y + 0); + PaintType mpaint43 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc43)) { + MapInfo minfo43 = rc.senseMapInfo(mloc43); + if (!minfo43.hasRuin() && !minfo43.isWall()) { + mpaint43 = minfo43.getPaint(); + } + } + + MapLocation mloc44 = new MapLocation(x + 1, y + 1); + PaintType mpaint44 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc44)) { + MapInfo minfo44 = rc.senseMapInfo(mloc44); + if (!minfo44.hasRuin() && !minfo44.isWall()) { + mpaint44 = minfo44.getPaint(); + } + } + + MapLocation mloc45 = new MapLocation(x + 1, y + 2); + PaintType mpaint45 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc45)) { + MapInfo minfo45 = rc.senseMapInfo(mloc45); + if (!minfo45.hasRuin() && !minfo45.isWall()) { + mpaint45 = minfo45.getPaint(); + } + } + + MapLocation mloc46 = new MapLocation(x + 1, y + 3); + PaintType mpaint46 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc46)) { + MapInfo minfo46 = rc.senseMapInfo(mloc46); + if (!minfo46.hasRuin() && !minfo46.isWall()) { + mpaint46 = minfo46.getPaint(); + } + } + + + + MapLocation mloc50 = new MapLocation(x + 2, y + -3); + PaintType mpaint50 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc50)) { + MapInfo minfo50 = rc.senseMapInfo(mloc50); + if (!minfo50.hasRuin() && !minfo50.isWall()) { + mpaint50 = minfo50.getPaint(); + } + } + + MapLocation mloc51 = new MapLocation(x + 2, y + -2); + PaintType mpaint51 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc51)) { + MapInfo minfo51 = rc.senseMapInfo(mloc51); + if (!minfo51.hasRuin() && !minfo51.isWall()) { + mpaint51 = minfo51.getPaint(); + } + } + + MapLocation mloc52 = new MapLocation(x + 2, y + -1); + PaintType mpaint52 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc52)) { + MapInfo minfo52 = rc.senseMapInfo(mloc52); + if (!minfo52.hasRuin() && !minfo52.isWall()) { + mpaint52 = minfo52.getPaint(); + } + } + + MapLocation mloc53 = new MapLocation(x + 2, y + 0); + PaintType mpaint53 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc53)) { + MapInfo minfo53 = rc.senseMapInfo(mloc53); + if (!minfo53.hasRuin() && !minfo53.isWall()) { + mpaint53 = minfo53.getPaint(); + } + } + + MapLocation mloc54 = new MapLocation(x + 2, y + 1); + PaintType mpaint54 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc54)) { + MapInfo minfo54 = rc.senseMapInfo(mloc54); + if (!minfo54.hasRuin() && !minfo54.isWall()) { + mpaint54 = minfo54.getPaint(); + } + } + + MapLocation mloc55 = new MapLocation(x + 2, y + 2); + PaintType mpaint55 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc55)) { + MapInfo minfo55 = rc.senseMapInfo(mloc55); + if (!minfo55.hasRuin() && !minfo55.isWall()) { + mpaint55 = minfo55.getPaint(); + } + } + + MapLocation mloc56 = new MapLocation(x + 2, y + 3); + PaintType mpaint56 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc56)) { + MapInfo minfo56 = rc.senseMapInfo(mloc56); + if (!minfo56.hasRuin() && !minfo56.isWall()) { + mpaint56 = minfo56.getPaint(); + } + } + + + + MapLocation mloc60 = new MapLocation(x + 3, y + -3); + PaintType mpaint60 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc60)) { + MapInfo minfo60 = rc.senseMapInfo(mloc60); + if (!minfo60.hasRuin() && !minfo60.isWall()) { + mpaint60 = minfo60.getPaint(); + } + } + + MapLocation mloc61 = new MapLocation(x + 3, y + -2); + PaintType mpaint61 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc61)) { + MapInfo minfo61 = rc.senseMapInfo(mloc61); + if (!minfo61.hasRuin() && !minfo61.isWall()) { + mpaint61 = minfo61.getPaint(); + } + } + + MapLocation mloc62 = new MapLocation(x + 3, y + -1); + PaintType mpaint62 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc62)) { + MapInfo minfo62 = rc.senseMapInfo(mloc62); + if (!minfo62.hasRuin() && !minfo62.isWall()) { + mpaint62 = minfo62.getPaint(); + } + } + + MapLocation mloc63 = new MapLocation(x + 3, y + 0); + PaintType mpaint63 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc63)) { + MapInfo minfo63 = rc.senseMapInfo(mloc63); + if (!minfo63.hasRuin() && !minfo63.isWall()) { + mpaint63 = minfo63.getPaint(); + } + } + + MapLocation mloc64 = new MapLocation(x + 3, y + 1); + PaintType mpaint64 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc64)) { + MapInfo minfo64 = rc.senseMapInfo(mloc64); + if (!minfo64.hasRuin() && !minfo64.isWall()) { + mpaint64 = minfo64.getPaint(); + } + } + + MapLocation mloc65 = new MapLocation(x + 3, y + 2); + PaintType mpaint65 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc65)) { + MapInfo minfo65 = rc.senseMapInfo(mloc65); + if (!minfo65.hasRuin() && !minfo65.isWall()) { + mpaint65 = minfo65.getPaint(); + } + } + + MapLocation mloc66 = new MapLocation(x + 3, y + 3); + PaintType mpaint66 = PaintType.ALLY_SECONDARY; + if (rc.canSenseLocation(mloc66)) { + MapInfo minfo66 = rc.senseMapInfo(mloc66); + if (!minfo66.hasRuin() && !minfo66.isWall()) { + mpaint66 = minfo66.getPaint(); + } + } + + + + + + if (rc.canAttack(mloc11)) { + count = 0; + + + switch (mpaint00) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint01) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint02) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint10) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint11) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint12) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint20) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint21) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint22) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc11; + bestCount = count; + } + } + + if (rc.canAttack(mloc12)) { + count = 0; + + + switch (mpaint01) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint02) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint03) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint11) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint12) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint13) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint21) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint22) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint23) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc12; + bestCount = count; + } + } + + if (rc.canAttack(mloc13)) { + count = 0; + + + switch (mpaint02) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint03) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint04) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint12) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint13) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint14) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint22) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint23) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint24) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc13; + bestCount = count; + } + } + + if (rc.canAttack(mloc14)) { + count = 0; + + + switch (mpaint03) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint04) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint05) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint13) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint14) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint15) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint23) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint24) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint25) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc14; + bestCount = count; + } + } + + if (rc.canAttack(mloc15)) { + count = 0; + + + switch (mpaint04) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint05) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint06) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint14) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint15) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint16) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint24) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint25) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint26) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc15; + bestCount = count; + } + } + + + + if (rc.canAttack(mloc21)) { + count = 0; + + + switch (mpaint10) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint11) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint12) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint20) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint21) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint22) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint30) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint31) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint32) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc21; + bestCount = count; + } + } + + if (rc.canAttack(mloc22)) { + count = 0; + + + switch (mpaint11) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint12) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint13) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint21) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint22) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint23) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint31) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint32) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint33) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc22; + bestCount = count; + } + } + + if (rc.canAttack(mloc23)) { + count = 0; + + + switch (mpaint12) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint13) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint14) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint22) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint23) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint24) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint32) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint33) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint34) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc23; + bestCount = count; + } + } + + if (rc.canAttack(mloc24)) { + count = 0; + + + switch (mpaint13) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint14) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint15) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint23) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint24) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint25) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint33) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint34) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint35) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc24; + bestCount = count; + } + } + + if (rc.canAttack(mloc25)) { + count = 0; + + + switch (mpaint14) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint15) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint16) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint24) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint25) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint26) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint34) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint35) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint36) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc25; + bestCount = count; + } + } + + + + if (rc.canAttack(mloc31)) { + count = 0; + + + switch (mpaint20) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint21) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint22) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint30) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint31) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint32) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint40) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint41) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint42) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc31; + bestCount = count; + } + } + + if (rc.canAttack(mloc32)) { + count = 0; + + + switch (mpaint21) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint22) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint23) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint31) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint32) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint33) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint41) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint42) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint43) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc32; + bestCount = count; + } + } + + if (rc.canAttack(mloc33)) { + count = 0; + + + switch (mpaint22) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint23) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint24) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint32) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint33) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint34) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint42) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint43) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint44) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc33; + bestCount = count; + } + } + + if (rc.canAttack(mloc34)) { + count = 0; + + + switch (mpaint23) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint24) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint25) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint33) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint34) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint35) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint43) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint44) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint45) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc34; + bestCount = count; + } + } + + if (rc.canAttack(mloc35)) { + count = 0; + + + switch (mpaint24) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint25) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint26) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint34) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint35) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint36) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint44) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint45) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint46) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc35; + bestCount = count; + } + } + + + + if (rc.canAttack(mloc41)) { + count = 0; + + + switch (mpaint30) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint31) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint32) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint40) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint41) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint42) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint50) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint51) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint52) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc41; + bestCount = count; + } + } + + if (rc.canAttack(mloc42)) { + count = 0; + + + switch (mpaint31) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint32) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint33) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint41) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint42) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint43) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint51) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint52) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint53) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc42; + bestCount = count; + } + } + + if (rc.canAttack(mloc43)) { + count = 0; + + + switch (mpaint32) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint33) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint34) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint42) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint43) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint44) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint52) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint53) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint54) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc43; + bestCount = count; + } + } + + if (rc.canAttack(mloc44)) { + count = 0; + + + switch (mpaint33) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint34) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint35) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint43) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint44) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint45) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint53) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint54) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint55) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc44; + bestCount = count; + } + } + + if (rc.canAttack(mloc45)) { + count = 0; + + + switch (mpaint34) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint35) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint36) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint44) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint45) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint46) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint54) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint55) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint56) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc45; + bestCount = count; + } + } + + + + if (rc.canAttack(mloc51)) { + count = 0; + + + switch (mpaint40) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint41) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint42) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint50) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint51) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint52) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint60) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint61) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint62) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc51; + bestCount = count; + } + } + + if (rc.canAttack(mloc52)) { + count = 0; + + + switch (mpaint41) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint42) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint43) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint51) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint52) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint53) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint61) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint62) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint63) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc52; + bestCount = count; + } + } + + if (rc.canAttack(mloc53)) { + count = 0; + + + switch (mpaint42) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint43) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint44) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint52) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint53) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint54) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint62) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint63) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint64) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc53; + bestCount = count; + } + } + + if (rc.canAttack(mloc54)) { + count = 0; + + + switch (mpaint43) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint44) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint45) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint53) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint54) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint55) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint63) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint64) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint65) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc54; + bestCount = count; + } + } + + if (rc.canAttack(mloc55)) { + count = 0; + + + switch (mpaint44) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint45) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint46) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint54) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint55) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint56) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + + switch (mpaint64) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint65) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + switch (mpaint66) { + case EMPTY -> count += 1; + case ENEMY_PRIMARY, ENEMY_SECONDARY -> count += 2; + default -> {} + } + + + if (count > bestCount) { + bestLoc = mloc55; + bestCount = count; + } + } + + + + + if (bestCount > 5) { + rc.attack(bestLoc); + } + } +} \ No newline at end of file diff --git a/java/src/moreMoppers/SquareManager.java b/java/src/moreMoppers/SquareManager.java new file mode 100644 index 0000000..c53b56b --- /dev/null +++ b/java/src/moreMoppers/SquareManager.java @@ -0,0 +1,1242 @@ +package moreMoppers; +import battlecode.common.*; + +public class SquareManager { + public static RobotController rc; + public static void init(RobotController rc) { + SquareManager.rc = rc; + } + + public static MapLocation myloc = null; + + + + + + public static MapLocation m00 = null; + public static boolean canSense00 = false; + public static MapInfo info00 = null; + public static RobotInfo r00 = null; + public static boolean friend00 = false; + public static int penalty00 = 0; + public static int adjacent00 = 0; + + + + public static MapLocation m01 = null; + public static boolean canSense01 = false; + public static MapInfo info01 = null; + public static RobotInfo r01 = null; + public static boolean friend01 = false; + public static int penalty01 = 0; + public static int adjacent01 = 0; + + + + public static MapLocation m02 = null; + public static boolean canSense02 = false; + public static MapInfo info02 = null; + public static RobotInfo r02 = null; + public static boolean friend02 = false; + public static int penalty02 = 0; + public static int adjacent02 = 0; + + + + public static MapLocation m03 = null; + public static boolean canSense03 = false; + public static MapInfo info03 = null; + public static RobotInfo r03 = null; + public static boolean friend03 = false; + public static int penalty03 = 0; + public static int adjacent03 = 0; + + + + public static MapLocation m04 = null; + public static boolean canSense04 = false; + public static MapInfo info04 = null; + public static RobotInfo r04 = null; + public static boolean friend04 = false; + public static int penalty04 = 0; + public static int adjacent04 = 0; + + + + + + public static MapLocation m10 = null; + public static boolean canSense10 = false; + public static MapInfo info10 = null; + public static RobotInfo r10 = null; + public static boolean friend10 = false; + public static int penalty10 = 0; + public static int adjacent10 = 0; + + + + public static MapLocation m11 = null; + public static boolean canSense11 = false; + public static MapInfo info11 = null; + public static RobotInfo r11 = null; + public static boolean friend11 = false; + public static int penalty11 = 0; + public static int adjacent11 = 0; + + + + public static MapLocation m12 = null; + public static boolean canSense12 = false; + public static MapInfo info12 = null; + public static RobotInfo r12 = null; + public static boolean friend12 = false; + public static int penalty12 = 0; + public static int adjacent12 = 0; + + + + public static MapLocation m13 = null; + public static boolean canSense13 = false; + public static MapInfo info13 = null; + public static RobotInfo r13 = null; + public static boolean friend13 = false; + public static int penalty13 = 0; + public static int adjacent13 = 0; + + + + public static MapLocation m14 = null; + public static boolean canSense14 = false; + public static MapInfo info14 = null; + public static RobotInfo r14 = null; + public static boolean friend14 = false; + public static int penalty14 = 0; + public static int adjacent14 = 0; + + + + + + public static MapLocation m20 = null; + public static boolean canSense20 = false; + public static MapInfo info20 = null; + public static RobotInfo r20 = null; + public static boolean friend20 = false; + public static int penalty20 = 0; + public static int adjacent20 = 0; + + + + public static MapLocation m21 = null; + public static boolean canSense21 = false; + public static MapInfo info21 = null; + public static RobotInfo r21 = null; + public static boolean friend21 = false; + public static int penalty21 = 0; + public static int adjacent21 = 0; + + + + public static MapLocation m22 = null; + public static boolean canSense22 = false; + public static MapInfo info22 = null; + public static RobotInfo r22 = null; + public static boolean friend22 = false; + public static int penalty22 = 0; + public static int adjacent22 = 0; + + + + public static MapLocation m23 = null; + public static boolean canSense23 = false; + public static MapInfo info23 = null; + public static RobotInfo r23 = null; + public static boolean friend23 = false; + public static int penalty23 = 0; + public static int adjacent23 = 0; + + + + public static MapLocation m24 = null; + public static boolean canSense24 = false; + public static MapInfo info24 = null; + public static RobotInfo r24 = null; + public static boolean friend24 = false; + public static int penalty24 = 0; + public static int adjacent24 = 0; + + + + + + public static MapLocation m30 = null; + public static boolean canSense30 = false; + public static MapInfo info30 = null; + public static RobotInfo r30 = null; + public static boolean friend30 = false; + public static int penalty30 = 0; + public static int adjacent30 = 0; + + + + public static MapLocation m31 = null; + public static boolean canSense31 = false; + public static MapInfo info31 = null; + public static RobotInfo r31 = null; + public static boolean friend31 = false; + public static int penalty31 = 0; + public static int adjacent31 = 0; + + + + public static MapLocation m32 = null; + public static boolean canSense32 = false; + public static MapInfo info32 = null; + public static RobotInfo r32 = null; + public static boolean friend32 = false; + public static int penalty32 = 0; + public static int adjacent32 = 0; + + + + public static MapLocation m33 = null; + public static boolean canSense33 = false; + public static MapInfo info33 = null; + public static RobotInfo r33 = null; + public static boolean friend33 = false; + public static int penalty33 = 0; + public static int adjacent33 = 0; + + + + public static MapLocation m34 = null; + public static boolean canSense34 = false; + public static MapInfo info34 = null; + public static RobotInfo r34 = null; + public static boolean friend34 = false; + public static int penalty34 = 0; + public static int adjacent34 = 0; + + + + + + public static MapLocation m40 = null; + public static boolean canSense40 = false; + public static MapInfo info40 = null; + public static RobotInfo r40 = null; + public static boolean friend40 = false; + public static int penalty40 = 0; + public static int adjacent40 = 0; + + + + public static MapLocation m41 = null; + public static boolean canSense41 = false; + public static MapInfo info41 = null; + public static RobotInfo r41 = null; + public static boolean friend41 = false; + public static int penalty41 = 0; + public static int adjacent41 = 0; + + + + public static MapLocation m42 = null; + public static boolean canSense42 = false; + public static MapInfo info42 = null; + public static RobotInfo r42 = null; + public static boolean friend42 = false; + public static int penalty42 = 0; + public static int adjacent42 = 0; + + + + public static MapLocation m43 = null; + public static boolean canSense43 = false; + public static MapInfo info43 = null; + public static RobotInfo r43 = null; + public static boolean friend43 = false; + public static int penalty43 = 0; + public static int adjacent43 = 0; + + + + public static MapLocation m44 = null; + public static boolean canSense44 = false; + public static MapInfo info44 = null; + public static RobotInfo r44 = null; + public static boolean friend44 = false; + public static int penalty44 = 0; + public static int adjacent44 = 0; + + + + public static void run() throws GameActionException { + myloc = rc.getLocation(); + loadSquaresDone = false; + computeAllyAdjacencyDone = false; + computePaintPenaltiesDone = false; + } + + public static boolean loadSquaresDone = false; + public static void loadSquares() throws GameActionException { + if (loadSquaresDone) return; + + + + + m00 = new MapLocation(myloc.x + -2, myloc.y + -2); + canSense00 = rc.canSenseLocation(m00); + if (canSense00) { + info00 = rc.senseMapInfo(m00); + r00 = rc.senseRobotAtLocation(m00); + friend00 = (r00 != null) ? r00.team == rc.getTeam() : false; + } else { + info00 = null; + r00 = null; + friend00 = false; + } + + + + m01 = new MapLocation(myloc.x + -2, myloc.y + -1); + canSense01 = rc.canSenseLocation(m01); + if (canSense01) { + info01 = rc.senseMapInfo(m01); + r01 = rc.senseRobotAtLocation(m01); + friend01 = (r01 != null) ? r01.team == rc.getTeam() : false; + } else { + info01 = null; + r01 = null; + friend01 = false; + } + + + + m02 = new MapLocation(myloc.x + -2, myloc.y + 0); + canSense02 = rc.canSenseLocation(m02); + if (canSense02) { + info02 = rc.senseMapInfo(m02); + r02 = rc.senseRobotAtLocation(m02); + friend02 = (r02 != null) ? r02.team == rc.getTeam() : false; + } else { + info02 = null; + r02 = null; + friend02 = false; + } + + + + m03 = new MapLocation(myloc.x + -2, myloc.y + 1); + canSense03 = rc.canSenseLocation(m03); + if (canSense03) { + info03 = rc.senseMapInfo(m03); + r03 = rc.senseRobotAtLocation(m03); + friend03 = (r03 != null) ? r03.team == rc.getTeam() : false; + } else { + info03 = null; + r03 = null; + friend03 = false; + } + + + + m04 = new MapLocation(myloc.x + -2, myloc.y + 2); + canSense04 = rc.canSenseLocation(m04); + if (canSense04) { + info04 = rc.senseMapInfo(m04); + r04 = rc.senseRobotAtLocation(m04); + friend04 = (r04 != null) ? r04.team == rc.getTeam() : false; + } else { + info04 = null; + r04 = null; + friend04 = false; + } + + + + + + m10 = new MapLocation(myloc.x + -1, myloc.y + -2); + canSense10 = rc.canSenseLocation(m10); + if (canSense10) { + info10 = rc.senseMapInfo(m10); + r10 = rc.senseRobotAtLocation(m10); + friend10 = (r10 != null) ? r10.team == rc.getTeam() : false; + } else { + info10 = null; + r10 = null; + friend10 = false; + } + + + + m11 = new MapLocation(myloc.x + -1, myloc.y + -1); + canSense11 = rc.canSenseLocation(m11); + if (canSense11) { + info11 = rc.senseMapInfo(m11); + r11 = rc.senseRobotAtLocation(m11); + friend11 = (r11 != null) ? r11.team == rc.getTeam() : false; + } else { + info11 = null; + r11 = null; + friend11 = false; + } + + + + m12 = new MapLocation(myloc.x + -1, myloc.y + 0); + canSense12 = rc.canSenseLocation(m12); + if (canSense12) { + info12 = rc.senseMapInfo(m12); + r12 = rc.senseRobotAtLocation(m12); + friend12 = (r12 != null) ? r12.team == rc.getTeam() : false; + } else { + info12 = null; + r12 = null; + friend12 = false; + } + + + + m13 = new MapLocation(myloc.x + -1, myloc.y + 1); + canSense13 = rc.canSenseLocation(m13); + if (canSense13) { + info13 = rc.senseMapInfo(m13); + r13 = rc.senseRobotAtLocation(m13); + friend13 = (r13 != null) ? r13.team == rc.getTeam() : false; + } else { + info13 = null; + r13 = null; + friend13 = false; + } + + + + m14 = new MapLocation(myloc.x + -1, myloc.y + 2); + canSense14 = rc.canSenseLocation(m14); + if (canSense14) { + info14 = rc.senseMapInfo(m14); + r14 = rc.senseRobotAtLocation(m14); + friend14 = (r14 != null) ? r14.team == rc.getTeam() : false; + } else { + info14 = null; + r14 = null; + friend14 = false; + } + + + + + + m20 = new MapLocation(myloc.x + 0, myloc.y + -2); + canSense20 = rc.canSenseLocation(m20); + if (canSense20) { + info20 = rc.senseMapInfo(m20); + r20 = rc.senseRobotAtLocation(m20); + friend20 = (r20 != null) ? r20.team == rc.getTeam() : false; + } else { + info20 = null; + r20 = null; + friend20 = false; + } + + + + m21 = new MapLocation(myloc.x + 0, myloc.y + -1); + canSense21 = rc.canSenseLocation(m21); + if (canSense21) { + info21 = rc.senseMapInfo(m21); + r21 = rc.senseRobotAtLocation(m21); + friend21 = (r21 != null) ? r21.team == rc.getTeam() : false; + } else { + info21 = null; + r21 = null; + friend21 = false; + } + + + + m22 = new MapLocation(myloc.x + 0, myloc.y + 0); + canSense22 = rc.canSenseLocation(m22); + if (canSense22) { + info22 = rc.senseMapInfo(m22); + r22 = rc.senseRobotAtLocation(m22); + friend22 = (r22 != null) ? r22.team == rc.getTeam() : false; + } else { + info22 = null; + r22 = null; + friend22 = false; + } + + + + m23 = new MapLocation(myloc.x + 0, myloc.y + 1); + canSense23 = rc.canSenseLocation(m23); + if (canSense23) { + info23 = rc.senseMapInfo(m23); + r23 = rc.senseRobotAtLocation(m23); + friend23 = (r23 != null) ? r23.team == rc.getTeam() : false; + } else { + info23 = null; + r23 = null; + friend23 = false; + } + + + + m24 = new MapLocation(myloc.x + 0, myloc.y + 2); + canSense24 = rc.canSenseLocation(m24); + if (canSense24) { + info24 = rc.senseMapInfo(m24); + r24 = rc.senseRobotAtLocation(m24); + friend24 = (r24 != null) ? r24.team == rc.getTeam() : false; + } else { + info24 = null; + r24 = null; + friend24 = false; + } + + + + + + m30 = new MapLocation(myloc.x + 1, myloc.y + -2); + canSense30 = rc.canSenseLocation(m30); + if (canSense30) { + info30 = rc.senseMapInfo(m30); + r30 = rc.senseRobotAtLocation(m30); + friend30 = (r30 != null) ? r30.team == rc.getTeam() : false; + } else { + info30 = null; + r30 = null; + friend30 = false; + } + + + + m31 = new MapLocation(myloc.x + 1, myloc.y + -1); + canSense31 = rc.canSenseLocation(m31); + if (canSense31) { + info31 = rc.senseMapInfo(m31); + r31 = rc.senseRobotAtLocation(m31); + friend31 = (r31 != null) ? r31.team == rc.getTeam() : false; + } else { + info31 = null; + r31 = null; + friend31 = false; + } + + + + m32 = new MapLocation(myloc.x + 1, myloc.y + 0); + canSense32 = rc.canSenseLocation(m32); + if (canSense32) { + info32 = rc.senseMapInfo(m32); + r32 = rc.senseRobotAtLocation(m32); + friend32 = (r32 != null) ? r32.team == rc.getTeam() : false; + } else { + info32 = null; + r32 = null; + friend32 = false; + } + + + + m33 = new MapLocation(myloc.x + 1, myloc.y + 1); + canSense33 = rc.canSenseLocation(m33); + if (canSense33) { + info33 = rc.senseMapInfo(m33); + r33 = rc.senseRobotAtLocation(m33); + friend33 = (r33 != null) ? r33.team == rc.getTeam() : false; + } else { + info33 = null; + r33 = null; + friend33 = false; + } + + + + m34 = new MapLocation(myloc.x + 1, myloc.y + 2); + canSense34 = rc.canSenseLocation(m34); + if (canSense34) { + info34 = rc.senseMapInfo(m34); + r34 = rc.senseRobotAtLocation(m34); + friend34 = (r34 != null) ? r34.team == rc.getTeam() : false; + } else { + info34 = null; + r34 = null; + friend34 = false; + } + + + + + + m40 = new MapLocation(myloc.x + 2, myloc.y + -2); + canSense40 = rc.canSenseLocation(m40); + if (canSense40) { + info40 = rc.senseMapInfo(m40); + r40 = rc.senseRobotAtLocation(m40); + friend40 = (r40 != null) ? r40.team == rc.getTeam() : false; + } else { + info40 = null; + r40 = null; + friend40 = false; + } + + + + m41 = new MapLocation(myloc.x + 2, myloc.y + -1); + canSense41 = rc.canSenseLocation(m41); + if (canSense41) { + info41 = rc.senseMapInfo(m41); + r41 = rc.senseRobotAtLocation(m41); + friend41 = (r41 != null) ? r41.team == rc.getTeam() : false; + } else { + info41 = null; + r41 = null; + friend41 = false; + } + + + + m42 = new MapLocation(myloc.x + 2, myloc.y + 0); + canSense42 = rc.canSenseLocation(m42); + if (canSense42) { + info42 = rc.senseMapInfo(m42); + r42 = rc.senseRobotAtLocation(m42); + friend42 = (r42 != null) ? r42.team == rc.getTeam() : false; + } else { + info42 = null; + r42 = null; + friend42 = false; + } + + + + m43 = new MapLocation(myloc.x + 2, myloc.y + 1); + canSense43 = rc.canSenseLocation(m43); + if (canSense43) { + info43 = rc.senseMapInfo(m43); + r43 = rc.senseRobotAtLocation(m43); + friend43 = (r43 != null) ? r43.team == rc.getTeam() : false; + } else { + info43 = null; + r43 = null; + friend43 = false; + } + + + + m44 = new MapLocation(myloc.x + 2, myloc.y + 2); + canSense44 = rc.canSenseLocation(m44); + if (canSense44) { + info44 = rc.senseMapInfo(m44); + r44 = rc.senseRobotAtLocation(m44); + friend44 = (r44 != null) ? r44.team == rc.getTeam() : false; + } else { + info44 = null; + r44 = null; + friend44 = false; + } + + + loadSquaresDone = true; + } + + public static boolean computeAllyAdjacencyDone = false; + public static void computeAllyAdjacency() throws GameActionException { + if (computeAllyAdjacencyDone) return; + loadSquares(); + + + { + adjacent11 = 0; + + + + if (friend00) + ++adjacent11; + + + + if (friend01) + ++adjacent11; + + + + if (friend02) + ++adjacent11; + + + + + + if (friend10) + ++adjacent11; + + + + if (friend11) + ++adjacent11; + + + + if (friend12) + ++adjacent11; + + + + + + if (friend20) + ++adjacent11; + + + + if (friend21) + ++adjacent11; + + + + + + } + + { + adjacent12 = 0; + + + + if (friend01) + ++adjacent12; + + + + if (friend02) + ++adjacent12; + + + + if (friend03) + ++adjacent12; + + + + + + if (friend11) + ++adjacent12; + + + + if (friend12) + ++adjacent12; + + + + if (friend13) + ++adjacent12; + + + + + + if (friend21) + ++adjacent12; + + + + + + if (friend23) + ++adjacent12; + + + + } + + { + adjacent13 = 0; + + + + if (friend02) + ++adjacent13; + + + + if (friend03) + ++adjacent13; + + + + if (friend04) + ++adjacent13; + + + + + + if (friend12) + ++adjacent13; + + + + if (friend13) + ++adjacent13; + + + + if (friend14) + ++adjacent13; + + + + + + + + if (friend23) + ++adjacent13; + + + + if (friend24) + ++adjacent13; + + + + } + + + + { + adjacent21 = 0; + + + + if (friend10) + ++adjacent21; + + + + if (friend11) + ++adjacent21; + + + + if (friend12) + ++adjacent21; + + + + + + if (friend20) + ++adjacent21; + + + + if (friend21) + ++adjacent21; + + + + + + + + if (friend30) + ++adjacent21; + + + + if (friend31) + ++adjacent21; + + + + if (friend32) + ++adjacent21; + + + + } + + { + adjacent22 = 0; + + + + if (friend11) + ++adjacent22; + + + + if (friend12) + ++adjacent22; + + + + if (friend13) + ++adjacent22; + + + + + + if (friend21) + ++adjacent22; + + + + + + if (friend23) + ++adjacent22; + + + + + + if (friend31) + ++adjacent22; + + + + if (friend32) + ++adjacent22; + + + + if (friend33) + ++adjacent22; + + + + } + + { + adjacent23 = 0; + + + + if (friend12) + ++adjacent23; + + + + if (friend13) + ++adjacent23; + + + + if (friend14) + ++adjacent23; + + + + + + + + if (friend23) + ++adjacent23; + + + + if (friend24) + ++adjacent23; + + + + + + if (friend32) + ++adjacent23; + + + + if (friend33) + ++adjacent23; + + + + if (friend34) + ++adjacent23; + + + + } + + + + { + adjacent31 = 0; + + + + if (friend20) + ++adjacent31; + + + + if (friend21) + ++adjacent31; + + + + + + + + if (friend30) + ++adjacent31; + + + + if (friend31) + ++adjacent31; + + + + if (friend32) + ++adjacent31; + + + + + + if (friend40) + ++adjacent31; + + + + if (friend41) + ++adjacent31; + + + + if (friend42) + ++adjacent31; + + + + } + + { + adjacent32 = 0; + + + + if (friend21) + ++adjacent32; + + + + + + if (friend23) + ++adjacent32; + + + + + + if (friend31) + ++adjacent32; + + + + if (friend32) + ++adjacent32; + + + + if (friend33) + ++adjacent32; + + + + + + if (friend41) + ++adjacent32; + + + + if (friend42) + ++adjacent32; + + + + if (friend43) + ++adjacent32; + + + + } + + { + adjacent33 = 0; + + + + + + if (friend23) + ++adjacent33; + + + + if (friend24) + ++adjacent33; + + + + + + if (friend32) + ++adjacent33; + + + + if (friend33) + ++adjacent33; + + + + if (friend34) + ++adjacent33; + + + + + + if (friend42) + ++adjacent33; + + + + if (friend43) + ++adjacent33; + + + + if (friend44) + ++adjacent33; + + + + } + + + computeAllyAdjacencyDone = true; + } + + public static boolean computePaintPenaltiesDone = false; + public static void computePaintPenalties() throws GameActionException { + if (computePaintPenaltiesDone) return; + computeAllyAdjacency(); + + + { + if (canSense11) { + penalty11 = switch (info11.getPaint()) { + case ENEMY_PRIMARY, ENEMY_SECONDARY -> 2 + 2 * adjacent11; + case ALLY_PRIMARY, ALLY_SECONDARY -> adjacent11; + case EMPTY -> 1 + adjacent11; + }; + } + } + + { + if (canSense12) { + penalty12 = switch (info12.getPaint()) { + case ENEMY_PRIMARY, ENEMY_SECONDARY -> 2 + 2 * adjacent12; + case ALLY_PRIMARY, ALLY_SECONDARY -> adjacent12; + case EMPTY -> 1 + adjacent12; + }; + } + } + + { + if (canSense13) { + penalty13 = switch (info13.getPaint()) { + case ENEMY_PRIMARY, ENEMY_SECONDARY -> 2 + 2 * adjacent13; + case ALLY_PRIMARY, ALLY_SECONDARY -> adjacent13; + case EMPTY -> 1 + adjacent13; + }; + } + } + + + + { + if (canSense21) { + penalty21 = switch (info21.getPaint()) { + case ENEMY_PRIMARY, ENEMY_SECONDARY -> 2 + 2 * adjacent21; + case ALLY_PRIMARY, ALLY_SECONDARY -> adjacent21; + case EMPTY -> 1 + adjacent21; + }; + } + } + + { + if (canSense22) { + penalty22 = switch (info22.getPaint()) { + case ENEMY_PRIMARY, ENEMY_SECONDARY -> 2 + 2 * adjacent22; + case ALLY_PRIMARY, ALLY_SECONDARY -> adjacent22; + case EMPTY -> 1 + adjacent22; + }; + } + } + + { + if (canSense23) { + penalty23 = switch (info23.getPaint()) { + case ENEMY_PRIMARY, ENEMY_SECONDARY -> 2 + 2 * adjacent23; + case ALLY_PRIMARY, ALLY_SECONDARY -> adjacent23; + case EMPTY -> 1 + adjacent23; + }; + } + } + + + + { + if (canSense31) { + penalty31 = switch (info31.getPaint()) { + case ENEMY_PRIMARY, ENEMY_SECONDARY -> 2 + 2 * adjacent31; + case ALLY_PRIMARY, ALLY_SECONDARY -> adjacent31; + case EMPTY -> 1 + adjacent31; + }; + } + } + + { + if (canSense32) { + penalty32 = switch (info32.getPaint()) { + case ENEMY_PRIMARY, ENEMY_SECONDARY -> 2 + 2 * adjacent32; + case ALLY_PRIMARY, ALLY_SECONDARY -> adjacent32; + case EMPTY -> 1 + adjacent32; + }; + } + } + + { + if (canSense33) { + penalty33 = switch (info33.getPaint()) { + case ENEMY_PRIMARY, ENEMY_SECONDARY -> 2 + 2 * adjacent33; + case ALLY_PRIMARY, ALLY_SECONDARY -> adjacent33; + case EMPTY -> 1 + adjacent33; + }; + } + } + + + computePaintPenaltiesDone = true; + } +} \ No newline at end of file diff --git a/java/src/moreMoppers/SymmetryChecker.java b/java/src/moreMoppers/SymmetryChecker.java new file mode 100644 index 0000000..7664bbe --- /dev/null +++ b/java/src/moreMoppers/SymmetryChecker.java @@ -0,0 +1,11940 @@ + + + +package moreMoppers; +import battlecode.common.*; + +public class SymmetryChecker { + + public enum Symmetry { + Unknown, + Rotational, + Horizontal, + Vertical + }; + + public static int maxY; + public static int maxX; + public static long seen_fused; + public static RobotController rc; + public static void init(RobotController rc) { + SymmetryChecker.rc = rc; + maxY = rc.getMapHeight() - 1; + maxX = rc.getMapWidth() - 1; + } + + public static boolean isSymmetryKnown() { + return (VSYM + HSYM + RSYM) == 1; + } + + public static Symmetry getSymmetry() { + return switch (VSYM * 4 + HSYM * 2 + RSYM) { + case 1 -> Symmetry.Rotational; + case 2 -> Symmetry.Horizontal; + case 4 -> Symmetry.Vertical; + default -> Symmetry.Unknown; + }; + } + + public static int VSYM = 1; + public static int HSYM = 1; + public static int RSYM = 1; + public static void run() throws GameActionException { + if (isSymmetryKnown()) return; + if (HSYM != 0) checkHorizontal(); + if (VSYM != 0) checkVertical(); + if (RSYM != 0) checkRotational(); + } + + public static void checkHorizontal() throws GameActionException { + switch (rc.getLocation().y) { + case 0 -> { + seen_fused = TileLoader.seen0 & getSeenHorizontal(0); + if ((TileLoader.wall0 & seen_fused) != (getWallHorizontal(0) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin0 & seen_fused) != (getRuinHorizontal(0) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen1 & getSeenHorizontal(1); + if ((TileLoader.wall1 & seen_fused) != (getWallHorizontal(1) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin1 & seen_fused) != (getRuinHorizontal(1) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen2 & getSeenHorizontal(2); + if ((TileLoader.wall2 & seen_fused) != (getWallHorizontal(2) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin2 & seen_fused) != (getRuinHorizontal(2) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen3 & getSeenHorizontal(3); + if ((TileLoader.wall3 & seen_fused) != (getWallHorizontal(3) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin3 & seen_fused) != (getRuinHorizontal(3) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen4 & getSeenHorizontal(4); + if ((TileLoader.wall4 & seen_fused) != (getWallHorizontal(4) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (getRuinHorizontal(4) & seen_fused)) { + HSYM = 0; + } + + } + case 1 -> { + seen_fused = TileLoader.seen0 & getSeenHorizontal(0); + if ((TileLoader.wall0 & seen_fused) != (getWallHorizontal(0) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin0 & seen_fused) != (getRuinHorizontal(0) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen1 & getSeenHorizontal(1); + if ((TileLoader.wall1 & seen_fused) != (getWallHorizontal(1) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin1 & seen_fused) != (getRuinHorizontal(1) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen2 & getSeenHorizontal(2); + if ((TileLoader.wall2 & seen_fused) != (getWallHorizontal(2) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin2 & seen_fused) != (getRuinHorizontal(2) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen3 & getSeenHorizontal(3); + if ((TileLoader.wall3 & seen_fused) != (getWallHorizontal(3) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin3 & seen_fused) != (getRuinHorizontal(3) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen4 & getSeenHorizontal(4); + if ((TileLoader.wall4 & seen_fused) != (getWallHorizontal(4) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (getRuinHorizontal(4) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen5 & getSeenHorizontal(5); + if ((TileLoader.wall5 & seen_fused) != (getWallHorizontal(5) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (getRuinHorizontal(5) & seen_fused)) { + HSYM = 0; + } + + } + case 2 -> { + seen_fused = TileLoader.seen0 & getSeenHorizontal(0); + if ((TileLoader.wall0 & seen_fused) != (getWallHorizontal(0) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin0 & seen_fused) != (getRuinHorizontal(0) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen1 & getSeenHorizontal(1); + if ((TileLoader.wall1 & seen_fused) != (getWallHorizontal(1) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin1 & seen_fused) != (getRuinHorizontal(1) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen2 & getSeenHorizontal(2); + if ((TileLoader.wall2 & seen_fused) != (getWallHorizontal(2) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin2 & seen_fused) != (getRuinHorizontal(2) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen3 & getSeenHorizontal(3); + if ((TileLoader.wall3 & seen_fused) != (getWallHorizontal(3) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin3 & seen_fused) != (getRuinHorizontal(3) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen4 & getSeenHorizontal(4); + if ((TileLoader.wall4 & seen_fused) != (getWallHorizontal(4) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (getRuinHorizontal(4) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen5 & getSeenHorizontal(5); + if ((TileLoader.wall5 & seen_fused) != (getWallHorizontal(5) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (getRuinHorizontal(5) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen6 & getSeenHorizontal(6); + if ((TileLoader.wall6 & seen_fused) != (getWallHorizontal(6) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (getRuinHorizontal(6) & seen_fused)) { + HSYM = 0; + } + + } + case 3 -> { + seen_fused = TileLoader.seen0 & getSeenHorizontal(0); + if ((TileLoader.wall0 & seen_fused) != (getWallHorizontal(0) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin0 & seen_fused) != (getRuinHorizontal(0) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen1 & getSeenHorizontal(1); + if ((TileLoader.wall1 & seen_fused) != (getWallHorizontal(1) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin1 & seen_fused) != (getRuinHorizontal(1) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen2 & getSeenHorizontal(2); + if ((TileLoader.wall2 & seen_fused) != (getWallHorizontal(2) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin2 & seen_fused) != (getRuinHorizontal(2) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen3 & getSeenHorizontal(3); + if ((TileLoader.wall3 & seen_fused) != (getWallHorizontal(3) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin3 & seen_fused) != (getRuinHorizontal(3) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen4 & getSeenHorizontal(4); + if ((TileLoader.wall4 & seen_fused) != (getWallHorizontal(4) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (getRuinHorizontal(4) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen5 & getSeenHorizontal(5); + if ((TileLoader.wall5 & seen_fused) != (getWallHorizontal(5) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (getRuinHorizontal(5) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen6 & getSeenHorizontal(6); + if ((TileLoader.wall6 & seen_fused) != (getWallHorizontal(6) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (getRuinHorizontal(6) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen7 & getSeenHorizontal(7); + if ((TileLoader.wall7 & seen_fused) != (getWallHorizontal(7) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (getRuinHorizontal(7) & seen_fused)) { + HSYM = 0; + } + + } + case 4 -> { + seen_fused = TileLoader.seen0 & getSeenHorizontal(0); + if ((TileLoader.wall0 & seen_fused) != (getWallHorizontal(0) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin0 & seen_fused) != (getRuinHorizontal(0) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen1 & getSeenHorizontal(1); + if ((TileLoader.wall1 & seen_fused) != (getWallHorizontal(1) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin1 & seen_fused) != (getRuinHorizontal(1) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen2 & getSeenHorizontal(2); + if ((TileLoader.wall2 & seen_fused) != (getWallHorizontal(2) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin2 & seen_fused) != (getRuinHorizontal(2) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen3 & getSeenHorizontal(3); + if ((TileLoader.wall3 & seen_fused) != (getWallHorizontal(3) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin3 & seen_fused) != (getRuinHorizontal(3) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen4 & getSeenHorizontal(4); + if ((TileLoader.wall4 & seen_fused) != (getWallHorizontal(4) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (getRuinHorizontal(4) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen5 & getSeenHorizontal(5); + if ((TileLoader.wall5 & seen_fused) != (getWallHorizontal(5) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (getRuinHorizontal(5) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen6 & getSeenHorizontal(6); + if ((TileLoader.wall6 & seen_fused) != (getWallHorizontal(6) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (getRuinHorizontal(6) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen7 & getSeenHorizontal(7); + if ((TileLoader.wall7 & seen_fused) != (getWallHorizontal(7) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (getRuinHorizontal(7) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen8 & getSeenHorizontal(8); + if ((TileLoader.wall8 & seen_fused) != (getWallHorizontal(8) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (getRuinHorizontal(8) & seen_fused)) { + HSYM = 0; + } + + } + case 5 -> { + seen_fused = TileLoader.seen1 & getSeenHorizontal(1); + if ((TileLoader.wall1 & seen_fused) != (getWallHorizontal(1) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin1 & seen_fused) != (getRuinHorizontal(1) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen2 & getSeenHorizontal(2); + if ((TileLoader.wall2 & seen_fused) != (getWallHorizontal(2) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin2 & seen_fused) != (getRuinHorizontal(2) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen3 & getSeenHorizontal(3); + if ((TileLoader.wall3 & seen_fused) != (getWallHorizontal(3) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin3 & seen_fused) != (getRuinHorizontal(3) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen4 & getSeenHorizontal(4); + if ((TileLoader.wall4 & seen_fused) != (getWallHorizontal(4) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (getRuinHorizontal(4) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen5 & getSeenHorizontal(5); + if ((TileLoader.wall5 & seen_fused) != (getWallHorizontal(5) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (getRuinHorizontal(5) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen6 & getSeenHorizontal(6); + if ((TileLoader.wall6 & seen_fused) != (getWallHorizontal(6) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (getRuinHorizontal(6) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen7 & getSeenHorizontal(7); + if ((TileLoader.wall7 & seen_fused) != (getWallHorizontal(7) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (getRuinHorizontal(7) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen8 & getSeenHorizontal(8); + if ((TileLoader.wall8 & seen_fused) != (getWallHorizontal(8) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (getRuinHorizontal(8) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen9 & getSeenHorizontal(9); + if ((TileLoader.wall9 & seen_fused) != (getWallHorizontal(9) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (getRuinHorizontal(9) & seen_fused)) { + HSYM = 0; + } + + } + case 6 -> { + seen_fused = TileLoader.seen2 & getSeenHorizontal(2); + if ((TileLoader.wall2 & seen_fused) != (getWallHorizontal(2) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin2 & seen_fused) != (getRuinHorizontal(2) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen3 & getSeenHorizontal(3); + if ((TileLoader.wall3 & seen_fused) != (getWallHorizontal(3) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin3 & seen_fused) != (getRuinHorizontal(3) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen4 & getSeenHorizontal(4); + if ((TileLoader.wall4 & seen_fused) != (getWallHorizontal(4) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (getRuinHorizontal(4) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen5 & getSeenHorizontal(5); + if ((TileLoader.wall5 & seen_fused) != (getWallHorizontal(5) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (getRuinHorizontal(5) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen6 & getSeenHorizontal(6); + if ((TileLoader.wall6 & seen_fused) != (getWallHorizontal(6) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (getRuinHorizontal(6) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen7 & getSeenHorizontal(7); + if ((TileLoader.wall7 & seen_fused) != (getWallHorizontal(7) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (getRuinHorizontal(7) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen8 & getSeenHorizontal(8); + if ((TileLoader.wall8 & seen_fused) != (getWallHorizontal(8) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (getRuinHorizontal(8) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen9 & getSeenHorizontal(9); + if ((TileLoader.wall9 & seen_fused) != (getWallHorizontal(9) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (getRuinHorizontal(9) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen10 & getSeenHorizontal(10); + if ((TileLoader.wall10 & seen_fused) != (getWallHorizontal(10) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (getRuinHorizontal(10) & seen_fused)) { + HSYM = 0; + } + + } + case 7 -> { + seen_fused = TileLoader.seen3 & getSeenHorizontal(3); + if ((TileLoader.wall3 & seen_fused) != (getWallHorizontal(3) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin3 & seen_fused) != (getRuinHorizontal(3) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen4 & getSeenHorizontal(4); + if ((TileLoader.wall4 & seen_fused) != (getWallHorizontal(4) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (getRuinHorizontal(4) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen5 & getSeenHorizontal(5); + if ((TileLoader.wall5 & seen_fused) != (getWallHorizontal(5) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (getRuinHorizontal(5) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen6 & getSeenHorizontal(6); + if ((TileLoader.wall6 & seen_fused) != (getWallHorizontal(6) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (getRuinHorizontal(6) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen7 & getSeenHorizontal(7); + if ((TileLoader.wall7 & seen_fused) != (getWallHorizontal(7) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (getRuinHorizontal(7) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen8 & getSeenHorizontal(8); + if ((TileLoader.wall8 & seen_fused) != (getWallHorizontal(8) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (getRuinHorizontal(8) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen9 & getSeenHorizontal(9); + if ((TileLoader.wall9 & seen_fused) != (getWallHorizontal(9) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (getRuinHorizontal(9) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen10 & getSeenHorizontal(10); + if ((TileLoader.wall10 & seen_fused) != (getWallHorizontal(10) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (getRuinHorizontal(10) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen11 & getSeenHorizontal(11); + if ((TileLoader.wall11 & seen_fused) != (getWallHorizontal(11) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (getRuinHorizontal(11) & seen_fused)) { + HSYM = 0; + } + + } + case 8 -> { + seen_fused = TileLoader.seen4 & getSeenHorizontal(4); + if ((TileLoader.wall4 & seen_fused) != (getWallHorizontal(4) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (getRuinHorizontal(4) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen5 & getSeenHorizontal(5); + if ((TileLoader.wall5 & seen_fused) != (getWallHorizontal(5) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (getRuinHorizontal(5) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen6 & getSeenHorizontal(6); + if ((TileLoader.wall6 & seen_fused) != (getWallHorizontal(6) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (getRuinHorizontal(6) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen7 & getSeenHorizontal(7); + if ((TileLoader.wall7 & seen_fused) != (getWallHorizontal(7) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (getRuinHorizontal(7) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen8 & getSeenHorizontal(8); + if ((TileLoader.wall8 & seen_fused) != (getWallHorizontal(8) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (getRuinHorizontal(8) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen9 & getSeenHorizontal(9); + if ((TileLoader.wall9 & seen_fused) != (getWallHorizontal(9) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (getRuinHorizontal(9) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen10 & getSeenHorizontal(10); + if ((TileLoader.wall10 & seen_fused) != (getWallHorizontal(10) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (getRuinHorizontal(10) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen11 & getSeenHorizontal(11); + if ((TileLoader.wall11 & seen_fused) != (getWallHorizontal(11) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (getRuinHorizontal(11) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen12 & getSeenHorizontal(12); + if ((TileLoader.wall12 & seen_fused) != (getWallHorizontal(12) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (getRuinHorizontal(12) & seen_fused)) { + HSYM = 0; + } + + } + case 9 -> { + seen_fused = TileLoader.seen5 & getSeenHorizontal(5); + if ((TileLoader.wall5 & seen_fused) != (getWallHorizontal(5) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (getRuinHorizontal(5) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen6 & getSeenHorizontal(6); + if ((TileLoader.wall6 & seen_fused) != (getWallHorizontal(6) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (getRuinHorizontal(6) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen7 & getSeenHorizontal(7); + if ((TileLoader.wall7 & seen_fused) != (getWallHorizontal(7) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (getRuinHorizontal(7) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen8 & getSeenHorizontal(8); + if ((TileLoader.wall8 & seen_fused) != (getWallHorizontal(8) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (getRuinHorizontal(8) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen9 & getSeenHorizontal(9); + if ((TileLoader.wall9 & seen_fused) != (getWallHorizontal(9) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (getRuinHorizontal(9) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen10 & getSeenHorizontal(10); + if ((TileLoader.wall10 & seen_fused) != (getWallHorizontal(10) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (getRuinHorizontal(10) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen11 & getSeenHorizontal(11); + if ((TileLoader.wall11 & seen_fused) != (getWallHorizontal(11) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (getRuinHorizontal(11) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen12 & getSeenHorizontal(12); + if ((TileLoader.wall12 & seen_fused) != (getWallHorizontal(12) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (getRuinHorizontal(12) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen13 & getSeenHorizontal(13); + if ((TileLoader.wall13 & seen_fused) != (getWallHorizontal(13) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (getRuinHorizontal(13) & seen_fused)) { + HSYM = 0; + } + + } + case 10 -> { + seen_fused = TileLoader.seen6 & getSeenHorizontal(6); + if ((TileLoader.wall6 & seen_fused) != (getWallHorizontal(6) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (getRuinHorizontal(6) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen7 & getSeenHorizontal(7); + if ((TileLoader.wall7 & seen_fused) != (getWallHorizontal(7) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (getRuinHorizontal(7) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen8 & getSeenHorizontal(8); + if ((TileLoader.wall8 & seen_fused) != (getWallHorizontal(8) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (getRuinHorizontal(8) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen9 & getSeenHorizontal(9); + if ((TileLoader.wall9 & seen_fused) != (getWallHorizontal(9) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (getRuinHorizontal(9) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen10 & getSeenHorizontal(10); + if ((TileLoader.wall10 & seen_fused) != (getWallHorizontal(10) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (getRuinHorizontal(10) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen11 & getSeenHorizontal(11); + if ((TileLoader.wall11 & seen_fused) != (getWallHorizontal(11) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (getRuinHorizontal(11) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen12 & getSeenHorizontal(12); + if ((TileLoader.wall12 & seen_fused) != (getWallHorizontal(12) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (getRuinHorizontal(12) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen13 & getSeenHorizontal(13); + if ((TileLoader.wall13 & seen_fused) != (getWallHorizontal(13) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (getRuinHorizontal(13) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen14 & getSeenHorizontal(14); + if ((TileLoader.wall14 & seen_fused) != (getWallHorizontal(14) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (getRuinHorizontal(14) & seen_fused)) { + HSYM = 0; + } + + } + case 11 -> { + seen_fused = TileLoader.seen7 & getSeenHorizontal(7); + if ((TileLoader.wall7 & seen_fused) != (getWallHorizontal(7) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (getRuinHorizontal(7) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen8 & getSeenHorizontal(8); + if ((TileLoader.wall8 & seen_fused) != (getWallHorizontal(8) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (getRuinHorizontal(8) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen9 & getSeenHorizontal(9); + if ((TileLoader.wall9 & seen_fused) != (getWallHorizontal(9) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (getRuinHorizontal(9) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen10 & getSeenHorizontal(10); + if ((TileLoader.wall10 & seen_fused) != (getWallHorizontal(10) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (getRuinHorizontal(10) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen11 & getSeenHorizontal(11); + if ((TileLoader.wall11 & seen_fused) != (getWallHorizontal(11) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (getRuinHorizontal(11) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen12 & getSeenHorizontal(12); + if ((TileLoader.wall12 & seen_fused) != (getWallHorizontal(12) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (getRuinHorizontal(12) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen13 & getSeenHorizontal(13); + if ((TileLoader.wall13 & seen_fused) != (getWallHorizontal(13) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (getRuinHorizontal(13) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen14 & getSeenHorizontal(14); + if ((TileLoader.wall14 & seen_fused) != (getWallHorizontal(14) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (getRuinHorizontal(14) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen15 & getSeenHorizontal(15); + if ((TileLoader.wall15 & seen_fused) != (getWallHorizontal(15) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (getRuinHorizontal(15) & seen_fused)) { + HSYM = 0; + } + + } + case 12 -> { + seen_fused = TileLoader.seen8 & getSeenHorizontal(8); + if ((TileLoader.wall8 & seen_fused) != (getWallHorizontal(8) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (getRuinHorizontal(8) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen9 & getSeenHorizontal(9); + if ((TileLoader.wall9 & seen_fused) != (getWallHorizontal(9) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (getRuinHorizontal(9) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen10 & getSeenHorizontal(10); + if ((TileLoader.wall10 & seen_fused) != (getWallHorizontal(10) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (getRuinHorizontal(10) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen11 & getSeenHorizontal(11); + if ((TileLoader.wall11 & seen_fused) != (getWallHorizontal(11) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (getRuinHorizontal(11) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen12 & getSeenHorizontal(12); + if ((TileLoader.wall12 & seen_fused) != (getWallHorizontal(12) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (getRuinHorizontal(12) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen13 & getSeenHorizontal(13); + if ((TileLoader.wall13 & seen_fused) != (getWallHorizontal(13) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (getRuinHorizontal(13) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen14 & getSeenHorizontal(14); + if ((TileLoader.wall14 & seen_fused) != (getWallHorizontal(14) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (getRuinHorizontal(14) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen15 & getSeenHorizontal(15); + if ((TileLoader.wall15 & seen_fused) != (getWallHorizontal(15) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (getRuinHorizontal(15) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen16 & getSeenHorizontal(16); + if ((TileLoader.wall16 & seen_fused) != (getWallHorizontal(16) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (getRuinHorizontal(16) & seen_fused)) { + HSYM = 0; + } + + } + case 13 -> { + seen_fused = TileLoader.seen9 & getSeenHorizontal(9); + if ((TileLoader.wall9 & seen_fused) != (getWallHorizontal(9) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (getRuinHorizontal(9) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen10 & getSeenHorizontal(10); + if ((TileLoader.wall10 & seen_fused) != (getWallHorizontal(10) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (getRuinHorizontal(10) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen11 & getSeenHorizontal(11); + if ((TileLoader.wall11 & seen_fused) != (getWallHorizontal(11) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (getRuinHorizontal(11) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen12 & getSeenHorizontal(12); + if ((TileLoader.wall12 & seen_fused) != (getWallHorizontal(12) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (getRuinHorizontal(12) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen13 & getSeenHorizontal(13); + if ((TileLoader.wall13 & seen_fused) != (getWallHorizontal(13) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (getRuinHorizontal(13) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen14 & getSeenHorizontal(14); + if ((TileLoader.wall14 & seen_fused) != (getWallHorizontal(14) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (getRuinHorizontal(14) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen15 & getSeenHorizontal(15); + if ((TileLoader.wall15 & seen_fused) != (getWallHorizontal(15) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (getRuinHorizontal(15) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen16 & getSeenHorizontal(16); + if ((TileLoader.wall16 & seen_fused) != (getWallHorizontal(16) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (getRuinHorizontal(16) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen17 & getSeenHorizontal(17); + if ((TileLoader.wall17 & seen_fused) != (getWallHorizontal(17) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (getRuinHorizontal(17) & seen_fused)) { + HSYM = 0; + } + + } + case 14 -> { + seen_fused = TileLoader.seen10 & getSeenHorizontal(10); + if ((TileLoader.wall10 & seen_fused) != (getWallHorizontal(10) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (getRuinHorizontal(10) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen11 & getSeenHorizontal(11); + if ((TileLoader.wall11 & seen_fused) != (getWallHorizontal(11) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (getRuinHorizontal(11) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen12 & getSeenHorizontal(12); + if ((TileLoader.wall12 & seen_fused) != (getWallHorizontal(12) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (getRuinHorizontal(12) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen13 & getSeenHorizontal(13); + if ((TileLoader.wall13 & seen_fused) != (getWallHorizontal(13) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (getRuinHorizontal(13) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen14 & getSeenHorizontal(14); + if ((TileLoader.wall14 & seen_fused) != (getWallHorizontal(14) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (getRuinHorizontal(14) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen15 & getSeenHorizontal(15); + if ((TileLoader.wall15 & seen_fused) != (getWallHorizontal(15) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (getRuinHorizontal(15) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen16 & getSeenHorizontal(16); + if ((TileLoader.wall16 & seen_fused) != (getWallHorizontal(16) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (getRuinHorizontal(16) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen17 & getSeenHorizontal(17); + if ((TileLoader.wall17 & seen_fused) != (getWallHorizontal(17) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (getRuinHorizontal(17) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen18 & getSeenHorizontal(18); + if ((TileLoader.wall18 & seen_fused) != (getWallHorizontal(18) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (getRuinHorizontal(18) & seen_fused)) { + HSYM = 0; + } + + } + case 15 -> { + seen_fused = TileLoader.seen11 & getSeenHorizontal(11); + if ((TileLoader.wall11 & seen_fused) != (getWallHorizontal(11) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (getRuinHorizontal(11) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen12 & getSeenHorizontal(12); + if ((TileLoader.wall12 & seen_fused) != (getWallHorizontal(12) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (getRuinHorizontal(12) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen13 & getSeenHorizontal(13); + if ((TileLoader.wall13 & seen_fused) != (getWallHorizontal(13) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (getRuinHorizontal(13) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen14 & getSeenHorizontal(14); + if ((TileLoader.wall14 & seen_fused) != (getWallHorizontal(14) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (getRuinHorizontal(14) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen15 & getSeenHorizontal(15); + if ((TileLoader.wall15 & seen_fused) != (getWallHorizontal(15) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (getRuinHorizontal(15) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen16 & getSeenHorizontal(16); + if ((TileLoader.wall16 & seen_fused) != (getWallHorizontal(16) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (getRuinHorizontal(16) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen17 & getSeenHorizontal(17); + if ((TileLoader.wall17 & seen_fused) != (getWallHorizontal(17) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (getRuinHorizontal(17) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen18 & getSeenHorizontal(18); + if ((TileLoader.wall18 & seen_fused) != (getWallHorizontal(18) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (getRuinHorizontal(18) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen19 & getSeenHorizontal(19); + if ((TileLoader.wall19 & seen_fused) != (getWallHorizontal(19) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (getRuinHorizontal(19) & seen_fused)) { + HSYM = 0; + } + + } + case 16 -> { + seen_fused = TileLoader.seen12 & getSeenHorizontal(12); + if ((TileLoader.wall12 & seen_fused) != (getWallHorizontal(12) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (getRuinHorizontal(12) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen13 & getSeenHorizontal(13); + if ((TileLoader.wall13 & seen_fused) != (getWallHorizontal(13) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (getRuinHorizontal(13) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen14 & getSeenHorizontal(14); + if ((TileLoader.wall14 & seen_fused) != (getWallHorizontal(14) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (getRuinHorizontal(14) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen15 & getSeenHorizontal(15); + if ((TileLoader.wall15 & seen_fused) != (getWallHorizontal(15) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (getRuinHorizontal(15) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen16 & getSeenHorizontal(16); + if ((TileLoader.wall16 & seen_fused) != (getWallHorizontal(16) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (getRuinHorizontal(16) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen17 & getSeenHorizontal(17); + if ((TileLoader.wall17 & seen_fused) != (getWallHorizontal(17) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (getRuinHorizontal(17) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen18 & getSeenHorizontal(18); + if ((TileLoader.wall18 & seen_fused) != (getWallHorizontal(18) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (getRuinHorizontal(18) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen19 & getSeenHorizontal(19); + if ((TileLoader.wall19 & seen_fused) != (getWallHorizontal(19) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (getRuinHorizontal(19) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen20 & getSeenHorizontal(20); + if ((TileLoader.wall20 & seen_fused) != (getWallHorizontal(20) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (getRuinHorizontal(20) & seen_fused)) { + HSYM = 0; + } + + } + case 17 -> { + seen_fused = TileLoader.seen13 & getSeenHorizontal(13); + if ((TileLoader.wall13 & seen_fused) != (getWallHorizontal(13) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (getRuinHorizontal(13) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen14 & getSeenHorizontal(14); + if ((TileLoader.wall14 & seen_fused) != (getWallHorizontal(14) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (getRuinHorizontal(14) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen15 & getSeenHorizontal(15); + if ((TileLoader.wall15 & seen_fused) != (getWallHorizontal(15) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (getRuinHorizontal(15) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen16 & getSeenHorizontal(16); + if ((TileLoader.wall16 & seen_fused) != (getWallHorizontal(16) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (getRuinHorizontal(16) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen17 & getSeenHorizontal(17); + if ((TileLoader.wall17 & seen_fused) != (getWallHorizontal(17) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (getRuinHorizontal(17) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen18 & getSeenHorizontal(18); + if ((TileLoader.wall18 & seen_fused) != (getWallHorizontal(18) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (getRuinHorizontal(18) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen19 & getSeenHorizontal(19); + if ((TileLoader.wall19 & seen_fused) != (getWallHorizontal(19) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (getRuinHorizontal(19) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen20 & getSeenHorizontal(20); + if ((TileLoader.wall20 & seen_fused) != (getWallHorizontal(20) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (getRuinHorizontal(20) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen21 & getSeenHorizontal(21); + if ((TileLoader.wall21 & seen_fused) != (getWallHorizontal(21) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (getRuinHorizontal(21) & seen_fused)) { + HSYM = 0; + } + + } + case 18 -> { + seen_fused = TileLoader.seen14 & getSeenHorizontal(14); + if ((TileLoader.wall14 & seen_fused) != (getWallHorizontal(14) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (getRuinHorizontal(14) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen15 & getSeenHorizontal(15); + if ((TileLoader.wall15 & seen_fused) != (getWallHorizontal(15) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (getRuinHorizontal(15) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen16 & getSeenHorizontal(16); + if ((TileLoader.wall16 & seen_fused) != (getWallHorizontal(16) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (getRuinHorizontal(16) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen17 & getSeenHorizontal(17); + if ((TileLoader.wall17 & seen_fused) != (getWallHorizontal(17) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (getRuinHorizontal(17) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen18 & getSeenHorizontal(18); + if ((TileLoader.wall18 & seen_fused) != (getWallHorizontal(18) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (getRuinHorizontal(18) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen19 & getSeenHorizontal(19); + if ((TileLoader.wall19 & seen_fused) != (getWallHorizontal(19) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (getRuinHorizontal(19) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen20 & getSeenHorizontal(20); + if ((TileLoader.wall20 & seen_fused) != (getWallHorizontal(20) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (getRuinHorizontal(20) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen21 & getSeenHorizontal(21); + if ((TileLoader.wall21 & seen_fused) != (getWallHorizontal(21) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (getRuinHorizontal(21) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen22 & getSeenHorizontal(22); + if ((TileLoader.wall22 & seen_fused) != (getWallHorizontal(22) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (getRuinHorizontal(22) & seen_fused)) { + HSYM = 0; + } + + } + case 19 -> { + seen_fused = TileLoader.seen15 & getSeenHorizontal(15); + if ((TileLoader.wall15 & seen_fused) != (getWallHorizontal(15) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (getRuinHorizontal(15) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen16 & getSeenHorizontal(16); + if ((TileLoader.wall16 & seen_fused) != (getWallHorizontal(16) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (getRuinHorizontal(16) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen17 & getSeenHorizontal(17); + if ((TileLoader.wall17 & seen_fused) != (getWallHorizontal(17) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (getRuinHorizontal(17) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen18 & getSeenHorizontal(18); + if ((TileLoader.wall18 & seen_fused) != (getWallHorizontal(18) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (getRuinHorizontal(18) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen19 & getSeenHorizontal(19); + if ((TileLoader.wall19 & seen_fused) != (getWallHorizontal(19) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (getRuinHorizontal(19) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen20 & getSeenHorizontal(20); + if ((TileLoader.wall20 & seen_fused) != (getWallHorizontal(20) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (getRuinHorizontal(20) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen21 & getSeenHorizontal(21); + if ((TileLoader.wall21 & seen_fused) != (getWallHorizontal(21) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (getRuinHorizontal(21) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen22 & getSeenHorizontal(22); + if ((TileLoader.wall22 & seen_fused) != (getWallHorizontal(22) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (getRuinHorizontal(22) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen23 & getSeenHorizontal(23); + if ((TileLoader.wall23 & seen_fused) != (getWallHorizontal(23) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (getRuinHorizontal(23) & seen_fused)) { + HSYM = 0; + } + + } + case 20 -> { + seen_fused = TileLoader.seen16 & getSeenHorizontal(16); + if ((TileLoader.wall16 & seen_fused) != (getWallHorizontal(16) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (getRuinHorizontal(16) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen17 & getSeenHorizontal(17); + if ((TileLoader.wall17 & seen_fused) != (getWallHorizontal(17) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (getRuinHorizontal(17) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen18 & getSeenHorizontal(18); + if ((TileLoader.wall18 & seen_fused) != (getWallHorizontal(18) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (getRuinHorizontal(18) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen19 & getSeenHorizontal(19); + if ((TileLoader.wall19 & seen_fused) != (getWallHorizontal(19) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (getRuinHorizontal(19) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen20 & getSeenHorizontal(20); + if ((TileLoader.wall20 & seen_fused) != (getWallHorizontal(20) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (getRuinHorizontal(20) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen21 & getSeenHorizontal(21); + if ((TileLoader.wall21 & seen_fused) != (getWallHorizontal(21) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (getRuinHorizontal(21) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen22 & getSeenHorizontal(22); + if ((TileLoader.wall22 & seen_fused) != (getWallHorizontal(22) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (getRuinHorizontal(22) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen23 & getSeenHorizontal(23); + if ((TileLoader.wall23 & seen_fused) != (getWallHorizontal(23) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (getRuinHorizontal(23) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen24 & getSeenHorizontal(24); + if ((TileLoader.wall24 & seen_fused) != (getWallHorizontal(24) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (getRuinHorizontal(24) & seen_fused)) { + HSYM = 0; + } + + } + case 21 -> { + seen_fused = TileLoader.seen17 & getSeenHorizontal(17); + if ((TileLoader.wall17 & seen_fused) != (getWallHorizontal(17) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (getRuinHorizontal(17) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen18 & getSeenHorizontal(18); + if ((TileLoader.wall18 & seen_fused) != (getWallHorizontal(18) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (getRuinHorizontal(18) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen19 & getSeenHorizontal(19); + if ((TileLoader.wall19 & seen_fused) != (getWallHorizontal(19) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (getRuinHorizontal(19) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen20 & getSeenHorizontal(20); + if ((TileLoader.wall20 & seen_fused) != (getWallHorizontal(20) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (getRuinHorizontal(20) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen21 & getSeenHorizontal(21); + if ((TileLoader.wall21 & seen_fused) != (getWallHorizontal(21) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (getRuinHorizontal(21) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen22 & getSeenHorizontal(22); + if ((TileLoader.wall22 & seen_fused) != (getWallHorizontal(22) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (getRuinHorizontal(22) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen23 & getSeenHorizontal(23); + if ((TileLoader.wall23 & seen_fused) != (getWallHorizontal(23) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (getRuinHorizontal(23) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen24 & getSeenHorizontal(24); + if ((TileLoader.wall24 & seen_fused) != (getWallHorizontal(24) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (getRuinHorizontal(24) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen25 & getSeenHorizontal(25); + if ((TileLoader.wall25 & seen_fused) != (getWallHorizontal(25) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (getRuinHorizontal(25) & seen_fused)) { + HSYM = 0; + } + + } + case 22 -> { + seen_fused = TileLoader.seen18 & getSeenHorizontal(18); + if ((TileLoader.wall18 & seen_fused) != (getWallHorizontal(18) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (getRuinHorizontal(18) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen19 & getSeenHorizontal(19); + if ((TileLoader.wall19 & seen_fused) != (getWallHorizontal(19) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (getRuinHorizontal(19) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen20 & getSeenHorizontal(20); + if ((TileLoader.wall20 & seen_fused) != (getWallHorizontal(20) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (getRuinHorizontal(20) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen21 & getSeenHorizontal(21); + if ((TileLoader.wall21 & seen_fused) != (getWallHorizontal(21) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (getRuinHorizontal(21) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen22 & getSeenHorizontal(22); + if ((TileLoader.wall22 & seen_fused) != (getWallHorizontal(22) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (getRuinHorizontal(22) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen23 & getSeenHorizontal(23); + if ((TileLoader.wall23 & seen_fused) != (getWallHorizontal(23) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (getRuinHorizontal(23) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen24 & getSeenHorizontal(24); + if ((TileLoader.wall24 & seen_fused) != (getWallHorizontal(24) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (getRuinHorizontal(24) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen25 & getSeenHorizontal(25); + if ((TileLoader.wall25 & seen_fused) != (getWallHorizontal(25) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (getRuinHorizontal(25) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen26 & getSeenHorizontal(26); + if ((TileLoader.wall26 & seen_fused) != (getWallHorizontal(26) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (getRuinHorizontal(26) & seen_fused)) { + HSYM = 0; + } + + } + case 23 -> { + seen_fused = TileLoader.seen19 & getSeenHorizontal(19); + if ((TileLoader.wall19 & seen_fused) != (getWallHorizontal(19) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (getRuinHorizontal(19) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen20 & getSeenHorizontal(20); + if ((TileLoader.wall20 & seen_fused) != (getWallHorizontal(20) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (getRuinHorizontal(20) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen21 & getSeenHorizontal(21); + if ((TileLoader.wall21 & seen_fused) != (getWallHorizontal(21) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (getRuinHorizontal(21) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen22 & getSeenHorizontal(22); + if ((TileLoader.wall22 & seen_fused) != (getWallHorizontal(22) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (getRuinHorizontal(22) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen23 & getSeenHorizontal(23); + if ((TileLoader.wall23 & seen_fused) != (getWallHorizontal(23) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (getRuinHorizontal(23) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen24 & getSeenHorizontal(24); + if ((TileLoader.wall24 & seen_fused) != (getWallHorizontal(24) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (getRuinHorizontal(24) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen25 & getSeenHorizontal(25); + if ((TileLoader.wall25 & seen_fused) != (getWallHorizontal(25) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (getRuinHorizontal(25) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen26 & getSeenHorizontal(26); + if ((TileLoader.wall26 & seen_fused) != (getWallHorizontal(26) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (getRuinHorizontal(26) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen27 & getSeenHorizontal(27); + if ((TileLoader.wall27 & seen_fused) != (getWallHorizontal(27) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (getRuinHorizontal(27) & seen_fused)) { + HSYM = 0; + } + + } + case 24 -> { + seen_fused = TileLoader.seen20 & getSeenHorizontal(20); + if ((TileLoader.wall20 & seen_fused) != (getWallHorizontal(20) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (getRuinHorizontal(20) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen21 & getSeenHorizontal(21); + if ((TileLoader.wall21 & seen_fused) != (getWallHorizontal(21) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (getRuinHorizontal(21) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen22 & getSeenHorizontal(22); + if ((TileLoader.wall22 & seen_fused) != (getWallHorizontal(22) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (getRuinHorizontal(22) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen23 & getSeenHorizontal(23); + if ((TileLoader.wall23 & seen_fused) != (getWallHorizontal(23) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (getRuinHorizontal(23) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen24 & getSeenHorizontal(24); + if ((TileLoader.wall24 & seen_fused) != (getWallHorizontal(24) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (getRuinHorizontal(24) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen25 & getSeenHorizontal(25); + if ((TileLoader.wall25 & seen_fused) != (getWallHorizontal(25) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (getRuinHorizontal(25) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen26 & getSeenHorizontal(26); + if ((TileLoader.wall26 & seen_fused) != (getWallHorizontal(26) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (getRuinHorizontal(26) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen27 & getSeenHorizontal(27); + if ((TileLoader.wall27 & seen_fused) != (getWallHorizontal(27) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (getRuinHorizontal(27) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen28 & getSeenHorizontal(28); + if ((TileLoader.wall28 & seen_fused) != (getWallHorizontal(28) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (getRuinHorizontal(28) & seen_fused)) { + HSYM = 0; + } + + } + case 25 -> { + seen_fused = TileLoader.seen21 & getSeenHorizontal(21); + if ((TileLoader.wall21 & seen_fused) != (getWallHorizontal(21) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (getRuinHorizontal(21) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen22 & getSeenHorizontal(22); + if ((TileLoader.wall22 & seen_fused) != (getWallHorizontal(22) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (getRuinHorizontal(22) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen23 & getSeenHorizontal(23); + if ((TileLoader.wall23 & seen_fused) != (getWallHorizontal(23) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (getRuinHorizontal(23) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen24 & getSeenHorizontal(24); + if ((TileLoader.wall24 & seen_fused) != (getWallHorizontal(24) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (getRuinHorizontal(24) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen25 & getSeenHorizontal(25); + if ((TileLoader.wall25 & seen_fused) != (getWallHorizontal(25) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (getRuinHorizontal(25) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen26 & getSeenHorizontal(26); + if ((TileLoader.wall26 & seen_fused) != (getWallHorizontal(26) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (getRuinHorizontal(26) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen27 & getSeenHorizontal(27); + if ((TileLoader.wall27 & seen_fused) != (getWallHorizontal(27) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (getRuinHorizontal(27) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen28 & getSeenHorizontal(28); + if ((TileLoader.wall28 & seen_fused) != (getWallHorizontal(28) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (getRuinHorizontal(28) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen29 & getSeenHorizontal(29); + if ((TileLoader.wall29 & seen_fused) != (getWallHorizontal(29) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (getRuinHorizontal(29) & seen_fused)) { + HSYM = 0; + } + + } + case 26 -> { + seen_fused = TileLoader.seen22 & getSeenHorizontal(22); + if ((TileLoader.wall22 & seen_fused) != (getWallHorizontal(22) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (getRuinHorizontal(22) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen23 & getSeenHorizontal(23); + if ((TileLoader.wall23 & seen_fused) != (getWallHorizontal(23) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (getRuinHorizontal(23) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen24 & getSeenHorizontal(24); + if ((TileLoader.wall24 & seen_fused) != (getWallHorizontal(24) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (getRuinHorizontal(24) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen25 & getSeenHorizontal(25); + if ((TileLoader.wall25 & seen_fused) != (getWallHorizontal(25) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (getRuinHorizontal(25) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen26 & getSeenHorizontal(26); + if ((TileLoader.wall26 & seen_fused) != (getWallHorizontal(26) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (getRuinHorizontal(26) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen27 & getSeenHorizontal(27); + if ((TileLoader.wall27 & seen_fused) != (getWallHorizontal(27) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (getRuinHorizontal(27) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen28 & getSeenHorizontal(28); + if ((TileLoader.wall28 & seen_fused) != (getWallHorizontal(28) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (getRuinHorizontal(28) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen29 & getSeenHorizontal(29); + if ((TileLoader.wall29 & seen_fused) != (getWallHorizontal(29) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (getRuinHorizontal(29) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen30 & getSeenHorizontal(30); + if ((TileLoader.wall30 & seen_fused) != (getWallHorizontal(30) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (getRuinHorizontal(30) & seen_fused)) { + HSYM = 0; + } + + } + case 27 -> { + seen_fused = TileLoader.seen23 & getSeenHorizontal(23); + if ((TileLoader.wall23 & seen_fused) != (getWallHorizontal(23) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (getRuinHorizontal(23) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen24 & getSeenHorizontal(24); + if ((TileLoader.wall24 & seen_fused) != (getWallHorizontal(24) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (getRuinHorizontal(24) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen25 & getSeenHorizontal(25); + if ((TileLoader.wall25 & seen_fused) != (getWallHorizontal(25) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (getRuinHorizontal(25) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen26 & getSeenHorizontal(26); + if ((TileLoader.wall26 & seen_fused) != (getWallHorizontal(26) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (getRuinHorizontal(26) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen27 & getSeenHorizontal(27); + if ((TileLoader.wall27 & seen_fused) != (getWallHorizontal(27) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (getRuinHorizontal(27) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen28 & getSeenHorizontal(28); + if ((TileLoader.wall28 & seen_fused) != (getWallHorizontal(28) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (getRuinHorizontal(28) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen29 & getSeenHorizontal(29); + if ((TileLoader.wall29 & seen_fused) != (getWallHorizontal(29) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (getRuinHorizontal(29) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen30 & getSeenHorizontal(30); + if ((TileLoader.wall30 & seen_fused) != (getWallHorizontal(30) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (getRuinHorizontal(30) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen31 & getSeenHorizontal(31); + if ((TileLoader.wall31 & seen_fused) != (getWallHorizontal(31) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (getRuinHorizontal(31) & seen_fused)) { + HSYM = 0; + } + + } + case 28 -> { + seen_fused = TileLoader.seen24 & getSeenHorizontal(24); + if ((TileLoader.wall24 & seen_fused) != (getWallHorizontal(24) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (getRuinHorizontal(24) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen25 & getSeenHorizontal(25); + if ((TileLoader.wall25 & seen_fused) != (getWallHorizontal(25) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (getRuinHorizontal(25) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen26 & getSeenHorizontal(26); + if ((TileLoader.wall26 & seen_fused) != (getWallHorizontal(26) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (getRuinHorizontal(26) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen27 & getSeenHorizontal(27); + if ((TileLoader.wall27 & seen_fused) != (getWallHorizontal(27) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (getRuinHorizontal(27) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen28 & getSeenHorizontal(28); + if ((TileLoader.wall28 & seen_fused) != (getWallHorizontal(28) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (getRuinHorizontal(28) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen29 & getSeenHorizontal(29); + if ((TileLoader.wall29 & seen_fused) != (getWallHorizontal(29) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (getRuinHorizontal(29) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen30 & getSeenHorizontal(30); + if ((TileLoader.wall30 & seen_fused) != (getWallHorizontal(30) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (getRuinHorizontal(30) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen31 & getSeenHorizontal(31); + if ((TileLoader.wall31 & seen_fused) != (getWallHorizontal(31) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (getRuinHorizontal(31) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen32 & getSeenHorizontal(32); + if ((TileLoader.wall32 & seen_fused) != (getWallHorizontal(32) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (getRuinHorizontal(32) & seen_fused)) { + HSYM = 0; + } + + } + case 29 -> { + seen_fused = TileLoader.seen25 & getSeenHorizontal(25); + if ((TileLoader.wall25 & seen_fused) != (getWallHorizontal(25) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (getRuinHorizontal(25) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen26 & getSeenHorizontal(26); + if ((TileLoader.wall26 & seen_fused) != (getWallHorizontal(26) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (getRuinHorizontal(26) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen27 & getSeenHorizontal(27); + if ((TileLoader.wall27 & seen_fused) != (getWallHorizontal(27) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (getRuinHorizontal(27) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen28 & getSeenHorizontal(28); + if ((TileLoader.wall28 & seen_fused) != (getWallHorizontal(28) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (getRuinHorizontal(28) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen29 & getSeenHorizontal(29); + if ((TileLoader.wall29 & seen_fused) != (getWallHorizontal(29) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (getRuinHorizontal(29) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen30 & getSeenHorizontal(30); + if ((TileLoader.wall30 & seen_fused) != (getWallHorizontal(30) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (getRuinHorizontal(30) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen31 & getSeenHorizontal(31); + if ((TileLoader.wall31 & seen_fused) != (getWallHorizontal(31) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (getRuinHorizontal(31) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen32 & getSeenHorizontal(32); + if ((TileLoader.wall32 & seen_fused) != (getWallHorizontal(32) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (getRuinHorizontal(32) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen33 & getSeenHorizontal(33); + if ((TileLoader.wall33 & seen_fused) != (getWallHorizontal(33) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (getRuinHorizontal(33) & seen_fused)) { + HSYM = 0; + } + + } + case 30 -> { + seen_fused = TileLoader.seen26 & getSeenHorizontal(26); + if ((TileLoader.wall26 & seen_fused) != (getWallHorizontal(26) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (getRuinHorizontal(26) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen27 & getSeenHorizontal(27); + if ((TileLoader.wall27 & seen_fused) != (getWallHorizontal(27) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (getRuinHorizontal(27) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen28 & getSeenHorizontal(28); + if ((TileLoader.wall28 & seen_fused) != (getWallHorizontal(28) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (getRuinHorizontal(28) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen29 & getSeenHorizontal(29); + if ((TileLoader.wall29 & seen_fused) != (getWallHorizontal(29) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (getRuinHorizontal(29) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen30 & getSeenHorizontal(30); + if ((TileLoader.wall30 & seen_fused) != (getWallHorizontal(30) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (getRuinHorizontal(30) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen31 & getSeenHorizontal(31); + if ((TileLoader.wall31 & seen_fused) != (getWallHorizontal(31) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (getRuinHorizontal(31) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen32 & getSeenHorizontal(32); + if ((TileLoader.wall32 & seen_fused) != (getWallHorizontal(32) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (getRuinHorizontal(32) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen33 & getSeenHorizontal(33); + if ((TileLoader.wall33 & seen_fused) != (getWallHorizontal(33) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (getRuinHorizontal(33) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen34 & getSeenHorizontal(34); + if ((TileLoader.wall34 & seen_fused) != (getWallHorizontal(34) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (getRuinHorizontal(34) & seen_fused)) { + HSYM = 0; + } + + } + case 31 -> { + seen_fused = TileLoader.seen27 & getSeenHorizontal(27); + if ((TileLoader.wall27 & seen_fused) != (getWallHorizontal(27) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (getRuinHorizontal(27) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen28 & getSeenHorizontal(28); + if ((TileLoader.wall28 & seen_fused) != (getWallHorizontal(28) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (getRuinHorizontal(28) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen29 & getSeenHorizontal(29); + if ((TileLoader.wall29 & seen_fused) != (getWallHorizontal(29) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (getRuinHorizontal(29) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen30 & getSeenHorizontal(30); + if ((TileLoader.wall30 & seen_fused) != (getWallHorizontal(30) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (getRuinHorizontal(30) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen31 & getSeenHorizontal(31); + if ((TileLoader.wall31 & seen_fused) != (getWallHorizontal(31) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (getRuinHorizontal(31) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen32 & getSeenHorizontal(32); + if ((TileLoader.wall32 & seen_fused) != (getWallHorizontal(32) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (getRuinHorizontal(32) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen33 & getSeenHorizontal(33); + if ((TileLoader.wall33 & seen_fused) != (getWallHorizontal(33) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (getRuinHorizontal(33) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen34 & getSeenHorizontal(34); + if ((TileLoader.wall34 & seen_fused) != (getWallHorizontal(34) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (getRuinHorizontal(34) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen35 & getSeenHorizontal(35); + if ((TileLoader.wall35 & seen_fused) != (getWallHorizontal(35) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (getRuinHorizontal(35) & seen_fused)) { + HSYM = 0; + } + + } + case 32 -> { + seen_fused = TileLoader.seen28 & getSeenHorizontal(28); + if ((TileLoader.wall28 & seen_fused) != (getWallHorizontal(28) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (getRuinHorizontal(28) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen29 & getSeenHorizontal(29); + if ((TileLoader.wall29 & seen_fused) != (getWallHorizontal(29) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (getRuinHorizontal(29) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen30 & getSeenHorizontal(30); + if ((TileLoader.wall30 & seen_fused) != (getWallHorizontal(30) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (getRuinHorizontal(30) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen31 & getSeenHorizontal(31); + if ((TileLoader.wall31 & seen_fused) != (getWallHorizontal(31) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (getRuinHorizontal(31) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen32 & getSeenHorizontal(32); + if ((TileLoader.wall32 & seen_fused) != (getWallHorizontal(32) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (getRuinHorizontal(32) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen33 & getSeenHorizontal(33); + if ((TileLoader.wall33 & seen_fused) != (getWallHorizontal(33) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (getRuinHorizontal(33) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen34 & getSeenHorizontal(34); + if ((TileLoader.wall34 & seen_fused) != (getWallHorizontal(34) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (getRuinHorizontal(34) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen35 & getSeenHorizontal(35); + if ((TileLoader.wall35 & seen_fused) != (getWallHorizontal(35) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (getRuinHorizontal(35) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen36 & getSeenHorizontal(36); + if ((TileLoader.wall36 & seen_fused) != (getWallHorizontal(36) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (getRuinHorizontal(36) & seen_fused)) { + HSYM = 0; + } + + } + case 33 -> { + seen_fused = TileLoader.seen29 & getSeenHorizontal(29); + if ((TileLoader.wall29 & seen_fused) != (getWallHorizontal(29) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (getRuinHorizontal(29) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen30 & getSeenHorizontal(30); + if ((TileLoader.wall30 & seen_fused) != (getWallHorizontal(30) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (getRuinHorizontal(30) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen31 & getSeenHorizontal(31); + if ((TileLoader.wall31 & seen_fused) != (getWallHorizontal(31) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (getRuinHorizontal(31) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen32 & getSeenHorizontal(32); + if ((TileLoader.wall32 & seen_fused) != (getWallHorizontal(32) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (getRuinHorizontal(32) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen33 & getSeenHorizontal(33); + if ((TileLoader.wall33 & seen_fused) != (getWallHorizontal(33) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (getRuinHorizontal(33) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen34 & getSeenHorizontal(34); + if ((TileLoader.wall34 & seen_fused) != (getWallHorizontal(34) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (getRuinHorizontal(34) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen35 & getSeenHorizontal(35); + if ((TileLoader.wall35 & seen_fused) != (getWallHorizontal(35) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (getRuinHorizontal(35) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen36 & getSeenHorizontal(36); + if ((TileLoader.wall36 & seen_fused) != (getWallHorizontal(36) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (getRuinHorizontal(36) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen37 & getSeenHorizontal(37); + if ((TileLoader.wall37 & seen_fused) != (getWallHorizontal(37) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (getRuinHorizontal(37) & seen_fused)) { + HSYM = 0; + } + + } + case 34 -> { + seen_fused = TileLoader.seen30 & getSeenHorizontal(30); + if ((TileLoader.wall30 & seen_fused) != (getWallHorizontal(30) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (getRuinHorizontal(30) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen31 & getSeenHorizontal(31); + if ((TileLoader.wall31 & seen_fused) != (getWallHorizontal(31) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (getRuinHorizontal(31) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen32 & getSeenHorizontal(32); + if ((TileLoader.wall32 & seen_fused) != (getWallHorizontal(32) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (getRuinHorizontal(32) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen33 & getSeenHorizontal(33); + if ((TileLoader.wall33 & seen_fused) != (getWallHorizontal(33) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (getRuinHorizontal(33) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen34 & getSeenHorizontal(34); + if ((TileLoader.wall34 & seen_fused) != (getWallHorizontal(34) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (getRuinHorizontal(34) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen35 & getSeenHorizontal(35); + if ((TileLoader.wall35 & seen_fused) != (getWallHorizontal(35) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (getRuinHorizontal(35) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen36 & getSeenHorizontal(36); + if ((TileLoader.wall36 & seen_fused) != (getWallHorizontal(36) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (getRuinHorizontal(36) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen37 & getSeenHorizontal(37); + if ((TileLoader.wall37 & seen_fused) != (getWallHorizontal(37) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (getRuinHorizontal(37) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen38 & getSeenHorizontal(38); + if ((TileLoader.wall38 & seen_fused) != (getWallHorizontal(38) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (getRuinHorizontal(38) & seen_fused)) { + HSYM = 0; + } + + } + case 35 -> { + seen_fused = TileLoader.seen31 & getSeenHorizontal(31); + if ((TileLoader.wall31 & seen_fused) != (getWallHorizontal(31) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (getRuinHorizontal(31) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen32 & getSeenHorizontal(32); + if ((TileLoader.wall32 & seen_fused) != (getWallHorizontal(32) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (getRuinHorizontal(32) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen33 & getSeenHorizontal(33); + if ((TileLoader.wall33 & seen_fused) != (getWallHorizontal(33) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (getRuinHorizontal(33) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen34 & getSeenHorizontal(34); + if ((TileLoader.wall34 & seen_fused) != (getWallHorizontal(34) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (getRuinHorizontal(34) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen35 & getSeenHorizontal(35); + if ((TileLoader.wall35 & seen_fused) != (getWallHorizontal(35) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (getRuinHorizontal(35) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen36 & getSeenHorizontal(36); + if ((TileLoader.wall36 & seen_fused) != (getWallHorizontal(36) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (getRuinHorizontal(36) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen37 & getSeenHorizontal(37); + if ((TileLoader.wall37 & seen_fused) != (getWallHorizontal(37) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (getRuinHorizontal(37) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen38 & getSeenHorizontal(38); + if ((TileLoader.wall38 & seen_fused) != (getWallHorizontal(38) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (getRuinHorizontal(38) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen39 & getSeenHorizontal(39); + if ((TileLoader.wall39 & seen_fused) != (getWallHorizontal(39) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (getRuinHorizontal(39) & seen_fused)) { + HSYM = 0; + } + + } + case 36 -> { + seen_fused = TileLoader.seen32 & getSeenHorizontal(32); + if ((TileLoader.wall32 & seen_fused) != (getWallHorizontal(32) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (getRuinHorizontal(32) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen33 & getSeenHorizontal(33); + if ((TileLoader.wall33 & seen_fused) != (getWallHorizontal(33) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (getRuinHorizontal(33) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen34 & getSeenHorizontal(34); + if ((TileLoader.wall34 & seen_fused) != (getWallHorizontal(34) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (getRuinHorizontal(34) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen35 & getSeenHorizontal(35); + if ((TileLoader.wall35 & seen_fused) != (getWallHorizontal(35) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (getRuinHorizontal(35) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen36 & getSeenHorizontal(36); + if ((TileLoader.wall36 & seen_fused) != (getWallHorizontal(36) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (getRuinHorizontal(36) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen37 & getSeenHorizontal(37); + if ((TileLoader.wall37 & seen_fused) != (getWallHorizontal(37) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (getRuinHorizontal(37) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen38 & getSeenHorizontal(38); + if ((TileLoader.wall38 & seen_fused) != (getWallHorizontal(38) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (getRuinHorizontal(38) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen39 & getSeenHorizontal(39); + if ((TileLoader.wall39 & seen_fused) != (getWallHorizontal(39) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (getRuinHorizontal(39) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen40 & getSeenHorizontal(40); + if ((TileLoader.wall40 & seen_fused) != (getWallHorizontal(40) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (getRuinHorizontal(40) & seen_fused)) { + HSYM = 0; + } + + } + case 37 -> { + seen_fused = TileLoader.seen33 & getSeenHorizontal(33); + if ((TileLoader.wall33 & seen_fused) != (getWallHorizontal(33) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (getRuinHorizontal(33) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen34 & getSeenHorizontal(34); + if ((TileLoader.wall34 & seen_fused) != (getWallHorizontal(34) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (getRuinHorizontal(34) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen35 & getSeenHorizontal(35); + if ((TileLoader.wall35 & seen_fused) != (getWallHorizontal(35) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (getRuinHorizontal(35) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen36 & getSeenHorizontal(36); + if ((TileLoader.wall36 & seen_fused) != (getWallHorizontal(36) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (getRuinHorizontal(36) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen37 & getSeenHorizontal(37); + if ((TileLoader.wall37 & seen_fused) != (getWallHorizontal(37) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (getRuinHorizontal(37) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen38 & getSeenHorizontal(38); + if ((TileLoader.wall38 & seen_fused) != (getWallHorizontal(38) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (getRuinHorizontal(38) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen39 & getSeenHorizontal(39); + if ((TileLoader.wall39 & seen_fused) != (getWallHorizontal(39) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (getRuinHorizontal(39) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen40 & getSeenHorizontal(40); + if ((TileLoader.wall40 & seen_fused) != (getWallHorizontal(40) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (getRuinHorizontal(40) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen41 & getSeenHorizontal(41); + if ((TileLoader.wall41 & seen_fused) != (getWallHorizontal(41) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (getRuinHorizontal(41) & seen_fused)) { + HSYM = 0; + } + + } + case 38 -> { + seen_fused = TileLoader.seen34 & getSeenHorizontal(34); + if ((TileLoader.wall34 & seen_fused) != (getWallHorizontal(34) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (getRuinHorizontal(34) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen35 & getSeenHorizontal(35); + if ((TileLoader.wall35 & seen_fused) != (getWallHorizontal(35) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (getRuinHorizontal(35) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen36 & getSeenHorizontal(36); + if ((TileLoader.wall36 & seen_fused) != (getWallHorizontal(36) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (getRuinHorizontal(36) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen37 & getSeenHorizontal(37); + if ((TileLoader.wall37 & seen_fused) != (getWallHorizontal(37) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (getRuinHorizontal(37) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen38 & getSeenHorizontal(38); + if ((TileLoader.wall38 & seen_fused) != (getWallHorizontal(38) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (getRuinHorizontal(38) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen39 & getSeenHorizontal(39); + if ((TileLoader.wall39 & seen_fused) != (getWallHorizontal(39) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (getRuinHorizontal(39) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen40 & getSeenHorizontal(40); + if ((TileLoader.wall40 & seen_fused) != (getWallHorizontal(40) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (getRuinHorizontal(40) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen41 & getSeenHorizontal(41); + if ((TileLoader.wall41 & seen_fused) != (getWallHorizontal(41) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (getRuinHorizontal(41) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen42 & getSeenHorizontal(42); + if ((TileLoader.wall42 & seen_fused) != (getWallHorizontal(42) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (getRuinHorizontal(42) & seen_fused)) { + HSYM = 0; + } + + } + case 39 -> { + seen_fused = TileLoader.seen35 & getSeenHorizontal(35); + if ((TileLoader.wall35 & seen_fused) != (getWallHorizontal(35) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (getRuinHorizontal(35) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen36 & getSeenHorizontal(36); + if ((TileLoader.wall36 & seen_fused) != (getWallHorizontal(36) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (getRuinHorizontal(36) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen37 & getSeenHorizontal(37); + if ((TileLoader.wall37 & seen_fused) != (getWallHorizontal(37) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (getRuinHorizontal(37) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen38 & getSeenHorizontal(38); + if ((TileLoader.wall38 & seen_fused) != (getWallHorizontal(38) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (getRuinHorizontal(38) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen39 & getSeenHorizontal(39); + if ((TileLoader.wall39 & seen_fused) != (getWallHorizontal(39) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (getRuinHorizontal(39) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen40 & getSeenHorizontal(40); + if ((TileLoader.wall40 & seen_fused) != (getWallHorizontal(40) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (getRuinHorizontal(40) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen41 & getSeenHorizontal(41); + if ((TileLoader.wall41 & seen_fused) != (getWallHorizontal(41) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (getRuinHorizontal(41) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen42 & getSeenHorizontal(42); + if ((TileLoader.wall42 & seen_fused) != (getWallHorizontal(42) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (getRuinHorizontal(42) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen43 & getSeenHorizontal(43); + if ((TileLoader.wall43 & seen_fused) != (getWallHorizontal(43) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (getRuinHorizontal(43) & seen_fused)) { + HSYM = 0; + } + + } + case 40 -> { + seen_fused = TileLoader.seen36 & getSeenHorizontal(36); + if ((TileLoader.wall36 & seen_fused) != (getWallHorizontal(36) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (getRuinHorizontal(36) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen37 & getSeenHorizontal(37); + if ((TileLoader.wall37 & seen_fused) != (getWallHorizontal(37) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (getRuinHorizontal(37) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen38 & getSeenHorizontal(38); + if ((TileLoader.wall38 & seen_fused) != (getWallHorizontal(38) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (getRuinHorizontal(38) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen39 & getSeenHorizontal(39); + if ((TileLoader.wall39 & seen_fused) != (getWallHorizontal(39) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (getRuinHorizontal(39) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen40 & getSeenHorizontal(40); + if ((TileLoader.wall40 & seen_fused) != (getWallHorizontal(40) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (getRuinHorizontal(40) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen41 & getSeenHorizontal(41); + if ((TileLoader.wall41 & seen_fused) != (getWallHorizontal(41) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (getRuinHorizontal(41) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen42 & getSeenHorizontal(42); + if ((TileLoader.wall42 & seen_fused) != (getWallHorizontal(42) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (getRuinHorizontal(42) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen43 & getSeenHorizontal(43); + if ((TileLoader.wall43 & seen_fused) != (getWallHorizontal(43) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (getRuinHorizontal(43) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen44 & getSeenHorizontal(44); + if ((TileLoader.wall44 & seen_fused) != (getWallHorizontal(44) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (getRuinHorizontal(44) & seen_fused)) { + HSYM = 0; + } + + } + case 41 -> { + seen_fused = TileLoader.seen37 & getSeenHorizontal(37); + if ((TileLoader.wall37 & seen_fused) != (getWallHorizontal(37) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (getRuinHorizontal(37) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen38 & getSeenHorizontal(38); + if ((TileLoader.wall38 & seen_fused) != (getWallHorizontal(38) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (getRuinHorizontal(38) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen39 & getSeenHorizontal(39); + if ((TileLoader.wall39 & seen_fused) != (getWallHorizontal(39) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (getRuinHorizontal(39) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen40 & getSeenHorizontal(40); + if ((TileLoader.wall40 & seen_fused) != (getWallHorizontal(40) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (getRuinHorizontal(40) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen41 & getSeenHorizontal(41); + if ((TileLoader.wall41 & seen_fused) != (getWallHorizontal(41) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (getRuinHorizontal(41) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen42 & getSeenHorizontal(42); + if ((TileLoader.wall42 & seen_fused) != (getWallHorizontal(42) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (getRuinHorizontal(42) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen43 & getSeenHorizontal(43); + if ((TileLoader.wall43 & seen_fused) != (getWallHorizontal(43) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (getRuinHorizontal(43) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen44 & getSeenHorizontal(44); + if ((TileLoader.wall44 & seen_fused) != (getWallHorizontal(44) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (getRuinHorizontal(44) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen45 & getSeenHorizontal(45); + if ((TileLoader.wall45 & seen_fused) != (getWallHorizontal(45) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (getRuinHorizontal(45) & seen_fused)) { + HSYM = 0; + } + + } + case 42 -> { + seen_fused = TileLoader.seen38 & getSeenHorizontal(38); + if ((TileLoader.wall38 & seen_fused) != (getWallHorizontal(38) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (getRuinHorizontal(38) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen39 & getSeenHorizontal(39); + if ((TileLoader.wall39 & seen_fused) != (getWallHorizontal(39) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (getRuinHorizontal(39) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen40 & getSeenHorizontal(40); + if ((TileLoader.wall40 & seen_fused) != (getWallHorizontal(40) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (getRuinHorizontal(40) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen41 & getSeenHorizontal(41); + if ((TileLoader.wall41 & seen_fused) != (getWallHorizontal(41) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (getRuinHorizontal(41) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen42 & getSeenHorizontal(42); + if ((TileLoader.wall42 & seen_fused) != (getWallHorizontal(42) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (getRuinHorizontal(42) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen43 & getSeenHorizontal(43); + if ((TileLoader.wall43 & seen_fused) != (getWallHorizontal(43) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (getRuinHorizontal(43) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen44 & getSeenHorizontal(44); + if ((TileLoader.wall44 & seen_fused) != (getWallHorizontal(44) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (getRuinHorizontal(44) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen45 & getSeenHorizontal(45); + if ((TileLoader.wall45 & seen_fused) != (getWallHorizontal(45) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (getRuinHorizontal(45) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen46 & getSeenHorizontal(46); + if ((TileLoader.wall46 & seen_fused) != (getWallHorizontal(46) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (getRuinHorizontal(46) & seen_fused)) { + HSYM = 0; + } + + } + case 43 -> { + seen_fused = TileLoader.seen39 & getSeenHorizontal(39); + if ((TileLoader.wall39 & seen_fused) != (getWallHorizontal(39) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (getRuinHorizontal(39) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen40 & getSeenHorizontal(40); + if ((TileLoader.wall40 & seen_fused) != (getWallHorizontal(40) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (getRuinHorizontal(40) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen41 & getSeenHorizontal(41); + if ((TileLoader.wall41 & seen_fused) != (getWallHorizontal(41) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (getRuinHorizontal(41) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen42 & getSeenHorizontal(42); + if ((TileLoader.wall42 & seen_fused) != (getWallHorizontal(42) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (getRuinHorizontal(42) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen43 & getSeenHorizontal(43); + if ((TileLoader.wall43 & seen_fused) != (getWallHorizontal(43) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (getRuinHorizontal(43) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen44 & getSeenHorizontal(44); + if ((TileLoader.wall44 & seen_fused) != (getWallHorizontal(44) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (getRuinHorizontal(44) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen45 & getSeenHorizontal(45); + if ((TileLoader.wall45 & seen_fused) != (getWallHorizontal(45) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (getRuinHorizontal(45) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen46 & getSeenHorizontal(46); + if ((TileLoader.wall46 & seen_fused) != (getWallHorizontal(46) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (getRuinHorizontal(46) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen47 & getSeenHorizontal(47); + if ((TileLoader.wall47 & seen_fused) != (getWallHorizontal(47) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (getRuinHorizontal(47) & seen_fused)) { + HSYM = 0; + } + + } + case 44 -> { + seen_fused = TileLoader.seen40 & getSeenHorizontal(40); + if ((TileLoader.wall40 & seen_fused) != (getWallHorizontal(40) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (getRuinHorizontal(40) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen41 & getSeenHorizontal(41); + if ((TileLoader.wall41 & seen_fused) != (getWallHorizontal(41) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (getRuinHorizontal(41) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen42 & getSeenHorizontal(42); + if ((TileLoader.wall42 & seen_fused) != (getWallHorizontal(42) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (getRuinHorizontal(42) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen43 & getSeenHorizontal(43); + if ((TileLoader.wall43 & seen_fused) != (getWallHorizontal(43) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (getRuinHorizontal(43) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen44 & getSeenHorizontal(44); + if ((TileLoader.wall44 & seen_fused) != (getWallHorizontal(44) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (getRuinHorizontal(44) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen45 & getSeenHorizontal(45); + if ((TileLoader.wall45 & seen_fused) != (getWallHorizontal(45) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (getRuinHorizontal(45) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen46 & getSeenHorizontal(46); + if ((TileLoader.wall46 & seen_fused) != (getWallHorizontal(46) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (getRuinHorizontal(46) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen47 & getSeenHorizontal(47); + if ((TileLoader.wall47 & seen_fused) != (getWallHorizontal(47) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (getRuinHorizontal(47) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen48 & getSeenHorizontal(48); + if ((TileLoader.wall48 & seen_fused) != (getWallHorizontal(48) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (getRuinHorizontal(48) & seen_fused)) { + HSYM = 0; + } + + } + case 45 -> { + seen_fused = TileLoader.seen41 & getSeenHorizontal(41); + if ((TileLoader.wall41 & seen_fused) != (getWallHorizontal(41) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (getRuinHorizontal(41) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen42 & getSeenHorizontal(42); + if ((TileLoader.wall42 & seen_fused) != (getWallHorizontal(42) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (getRuinHorizontal(42) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen43 & getSeenHorizontal(43); + if ((TileLoader.wall43 & seen_fused) != (getWallHorizontal(43) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (getRuinHorizontal(43) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen44 & getSeenHorizontal(44); + if ((TileLoader.wall44 & seen_fused) != (getWallHorizontal(44) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (getRuinHorizontal(44) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen45 & getSeenHorizontal(45); + if ((TileLoader.wall45 & seen_fused) != (getWallHorizontal(45) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (getRuinHorizontal(45) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen46 & getSeenHorizontal(46); + if ((TileLoader.wall46 & seen_fused) != (getWallHorizontal(46) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (getRuinHorizontal(46) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen47 & getSeenHorizontal(47); + if ((TileLoader.wall47 & seen_fused) != (getWallHorizontal(47) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (getRuinHorizontal(47) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen48 & getSeenHorizontal(48); + if ((TileLoader.wall48 & seen_fused) != (getWallHorizontal(48) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (getRuinHorizontal(48) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen49 & getSeenHorizontal(49); + if ((TileLoader.wall49 & seen_fused) != (getWallHorizontal(49) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (getRuinHorizontal(49) & seen_fused)) { + HSYM = 0; + } + + } + case 46 -> { + seen_fused = TileLoader.seen42 & getSeenHorizontal(42); + if ((TileLoader.wall42 & seen_fused) != (getWallHorizontal(42) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (getRuinHorizontal(42) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen43 & getSeenHorizontal(43); + if ((TileLoader.wall43 & seen_fused) != (getWallHorizontal(43) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (getRuinHorizontal(43) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen44 & getSeenHorizontal(44); + if ((TileLoader.wall44 & seen_fused) != (getWallHorizontal(44) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (getRuinHorizontal(44) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen45 & getSeenHorizontal(45); + if ((TileLoader.wall45 & seen_fused) != (getWallHorizontal(45) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (getRuinHorizontal(45) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen46 & getSeenHorizontal(46); + if ((TileLoader.wall46 & seen_fused) != (getWallHorizontal(46) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (getRuinHorizontal(46) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen47 & getSeenHorizontal(47); + if ((TileLoader.wall47 & seen_fused) != (getWallHorizontal(47) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (getRuinHorizontal(47) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen48 & getSeenHorizontal(48); + if ((TileLoader.wall48 & seen_fused) != (getWallHorizontal(48) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (getRuinHorizontal(48) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen49 & getSeenHorizontal(49); + if ((TileLoader.wall49 & seen_fused) != (getWallHorizontal(49) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (getRuinHorizontal(49) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen50 & getSeenHorizontal(50); + if ((TileLoader.wall50 & seen_fused) != (getWallHorizontal(50) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (getRuinHorizontal(50) & seen_fused)) { + HSYM = 0; + } + + } + case 47 -> { + seen_fused = TileLoader.seen43 & getSeenHorizontal(43); + if ((TileLoader.wall43 & seen_fused) != (getWallHorizontal(43) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (getRuinHorizontal(43) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen44 & getSeenHorizontal(44); + if ((TileLoader.wall44 & seen_fused) != (getWallHorizontal(44) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (getRuinHorizontal(44) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen45 & getSeenHorizontal(45); + if ((TileLoader.wall45 & seen_fused) != (getWallHorizontal(45) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (getRuinHorizontal(45) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen46 & getSeenHorizontal(46); + if ((TileLoader.wall46 & seen_fused) != (getWallHorizontal(46) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (getRuinHorizontal(46) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen47 & getSeenHorizontal(47); + if ((TileLoader.wall47 & seen_fused) != (getWallHorizontal(47) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (getRuinHorizontal(47) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen48 & getSeenHorizontal(48); + if ((TileLoader.wall48 & seen_fused) != (getWallHorizontal(48) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (getRuinHorizontal(48) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen49 & getSeenHorizontal(49); + if ((TileLoader.wall49 & seen_fused) != (getWallHorizontal(49) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (getRuinHorizontal(49) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen50 & getSeenHorizontal(50); + if ((TileLoader.wall50 & seen_fused) != (getWallHorizontal(50) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (getRuinHorizontal(50) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen51 & getSeenHorizontal(51); + if ((TileLoader.wall51 & seen_fused) != (getWallHorizontal(51) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (getRuinHorizontal(51) & seen_fused)) { + HSYM = 0; + } + + } + case 48 -> { + seen_fused = TileLoader.seen44 & getSeenHorizontal(44); + if ((TileLoader.wall44 & seen_fused) != (getWallHorizontal(44) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (getRuinHorizontal(44) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen45 & getSeenHorizontal(45); + if ((TileLoader.wall45 & seen_fused) != (getWallHorizontal(45) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (getRuinHorizontal(45) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen46 & getSeenHorizontal(46); + if ((TileLoader.wall46 & seen_fused) != (getWallHorizontal(46) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (getRuinHorizontal(46) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen47 & getSeenHorizontal(47); + if ((TileLoader.wall47 & seen_fused) != (getWallHorizontal(47) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (getRuinHorizontal(47) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen48 & getSeenHorizontal(48); + if ((TileLoader.wall48 & seen_fused) != (getWallHorizontal(48) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (getRuinHorizontal(48) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen49 & getSeenHorizontal(49); + if ((TileLoader.wall49 & seen_fused) != (getWallHorizontal(49) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (getRuinHorizontal(49) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen50 & getSeenHorizontal(50); + if ((TileLoader.wall50 & seen_fused) != (getWallHorizontal(50) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (getRuinHorizontal(50) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen51 & getSeenHorizontal(51); + if ((TileLoader.wall51 & seen_fused) != (getWallHorizontal(51) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (getRuinHorizontal(51) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen52 & getSeenHorizontal(52); + if ((TileLoader.wall52 & seen_fused) != (getWallHorizontal(52) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (getRuinHorizontal(52) & seen_fused)) { + HSYM = 0; + } + + } + case 49 -> { + seen_fused = TileLoader.seen45 & getSeenHorizontal(45); + if ((TileLoader.wall45 & seen_fused) != (getWallHorizontal(45) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (getRuinHorizontal(45) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen46 & getSeenHorizontal(46); + if ((TileLoader.wall46 & seen_fused) != (getWallHorizontal(46) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (getRuinHorizontal(46) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen47 & getSeenHorizontal(47); + if ((TileLoader.wall47 & seen_fused) != (getWallHorizontal(47) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (getRuinHorizontal(47) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen48 & getSeenHorizontal(48); + if ((TileLoader.wall48 & seen_fused) != (getWallHorizontal(48) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (getRuinHorizontal(48) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen49 & getSeenHorizontal(49); + if ((TileLoader.wall49 & seen_fused) != (getWallHorizontal(49) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (getRuinHorizontal(49) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen50 & getSeenHorizontal(50); + if ((TileLoader.wall50 & seen_fused) != (getWallHorizontal(50) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (getRuinHorizontal(50) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen51 & getSeenHorizontal(51); + if ((TileLoader.wall51 & seen_fused) != (getWallHorizontal(51) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (getRuinHorizontal(51) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen52 & getSeenHorizontal(52); + if ((TileLoader.wall52 & seen_fused) != (getWallHorizontal(52) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (getRuinHorizontal(52) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen53 & getSeenHorizontal(53); + if ((TileLoader.wall53 & seen_fused) != (getWallHorizontal(53) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (getRuinHorizontal(53) & seen_fused)) { + HSYM = 0; + } + + } + case 50 -> { + seen_fused = TileLoader.seen46 & getSeenHorizontal(46); + if ((TileLoader.wall46 & seen_fused) != (getWallHorizontal(46) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (getRuinHorizontal(46) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen47 & getSeenHorizontal(47); + if ((TileLoader.wall47 & seen_fused) != (getWallHorizontal(47) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (getRuinHorizontal(47) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen48 & getSeenHorizontal(48); + if ((TileLoader.wall48 & seen_fused) != (getWallHorizontal(48) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (getRuinHorizontal(48) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen49 & getSeenHorizontal(49); + if ((TileLoader.wall49 & seen_fused) != (getWallHorizontal(49) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (getRuinHorizontal(49) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen50 & getSeenHorizontal(50); + if ((TileLoader.wall50 & seen_fused) != (getWallHorizontal(50) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (getRuinHorizontal(50) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen51 & getSeenHorizontal(51); + if ((TileLoader.wall51 & seen_fused) != (getWallHorizontal(51) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (getRuinHorizontal(51) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen52 & getSeenHorizontal(52); + if ((TileLoader.wall52 & seen_fused) != (getWallHorizontal(52) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (getRuinHorizontal(52) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen53 & getSeenHorizontal(53); + if ((TileLoader.wall53 & seen_fused) != (getWallHorizontal(53) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (getRuinHorizontal(53) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen54 & getSeenHorizontal(54); + if ((TileLoader.wall54 & seen_fused) != (getWallHorizontal(54) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (getRuinHorizontal(54) & seen_fused)) { + HSYM = 0; + } + + } + case 51 -> { + seen_fused = TileLoader.seen47 & getSeenHorizontal(47); + if ((TileLoader.wall47 & seen_fused) != (getWallHorizontal(47) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (getRuinHorizontal(47) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen48 & getSeenHorizontal(48); + if ((TileLoader.wall48 & seen_fused) != (getWallHorizontal(48) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (getRuinHorizontal(48) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen49 & getSeenHorizontal(49); + if ((TileLoader.wall49 & seen_fused) != (getWallHorizontal(49) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (getRuinHorizontal(49) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen50 & getSeenHorizontal(50); + if ((TileLoader.wall50 & seen_fused) != (getWallHorizontal(50) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (getRuinHorizontal(50) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen51 & getSeenHorizontal(51); + if ((TileLoader.wall51 & seen_fused) != (getWallHorizontal(51) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (getRuinHorizontal(51) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen52 & getSeenHorizontal(52); + if ((TileLoader.wall52 & seen_fused) != (getWallHorizontal(52) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (getRuinHorizontal(52) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen53 & getSeenHorizontal(53); + if ((TileLoader.wall53 & seen_fused) != (getWallHorizontal(53) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (getRuinHorizontal(53) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen54 & getSeenHorizontal(54); + if ((TileLoader.wall54 & seen_fused) != (getWallHorizontal(54) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (getRuinHorizontal(54) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen55 & getSeenHorizontal(55); + if ((TileLoader.wall55 & seen_fused) != (getWallHorizontal(55) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (getRuinHorizontal(55) & seen_fused)) { + HSYM = 0; + } + + } + case 52 -> { + seen_fused = TileLoader.seen48 & getSeenHorizontal(48); + if ((TileLoader.wall48 & seen_fused) != (getWallHorizontal(48) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (getRuinHorizontal(48) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen49 & getSeenHorizontal(49); + if ((TileLoader.wall49 & seen_fused) != (getWallHorizontal(49) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (getRuinHorizontal(49) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen50 & getSeenHorizontal(50); + if ((TileLoader.wall50 & seen_fused) != (getWallHorizontal(50) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (getRuinHorizontal(50) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen51 & getSeenHorizontal(51); + if ((TileLoader.wall51 & seen_fused) != (getWallHorizontal(51) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (getRuinHorizontal(51) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen52 & getSeenHorizontal(52); + if ((TileLoader.wall52 & seen_fused) != (getWallHorizontal(52) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (getRuinHorizontal(52) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen53 & getSeenHorizontal(53); + if ((TileLoader.wall53 & seen_fused) != (getWallHorizontal(53) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (getRuinHorizontal(53) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen54 & getSeenHorizontal(54); + if ((TileLoader.wall54 & seen_fused) != (getWallHorizontal(54) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (getRuinHorizontal(54) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen55 & getSeenHorizontal(55); + if ((TileLoader.wall55 & seen_fused) != (getWallHorizontal(55) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (getRuinHorizontal(55) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen56 & getSeenHorizontal(56); + if ((TileLoader.wall56 & seen_fused) != (getWallHorizontal(56) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin56 & seen_fused) != (getRuinHorizontal(56) & seen_fused)) { + HSYM = 0; + } + + } + case 53 -> { + seen_fused = TileLoader.seen49 & getSeenHorizontal(49); + if ((TileLoader.wall49 & seen_fused) != (getWallHorizontal(49) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (getRuinHorizontal(49) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen50 & getSeenHorizontal(50); + if ((TileLoader.wall50 & seen_fused) != (getWallHorizontal(50) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (getRuinHorizontal(50) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen51 & getSeenHorizontal(51); + if ((TileLoader.wall51 & seen_fused) != (getWallHorizontal(51) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (getRuinHorizontal(51) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen52 & getSeenHorizontal(52); + if ((TileLoader.wall52 & seen_fused) != (getWallHorizontal(52) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (getRuinHorizontal(52) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen53 & getSeenHorizontal(53); + if ((TileLoader.wall53 & seen_fused) != (getWallHorizontal(53) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (getRuinHorizontal(53) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen54 & getSeenHorizontal(54); + if ((TileLoader.wall54 & seen_fused) != (getWallHorizontal(54) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (getRuinHorizontal(54) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen55 & getSeenHorizontal(55); + if ((TileLoader.wall55 & seen_fused) != (getWallHorizontal(55) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (getRuinHorizontal(55) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen56 & getSeenHorizontal(56); + if ((TileLoader.wall56 & seen_fused) != (getWallHorizontal(56) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin56 & seen_fused) != (getRuinHorizontal(56) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen57 & getSeenHorizontal(57); + if ((TileLoader.wall57 & seen_fused) != (getWallHorizontal(57) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin57 & seen_fused) != (getRuinHorizontal(57) & seen_fused)) { + HSYM = 0; + } + + } + case 54 -> { + seen_fused = TileLoader.seen50 & getSeenHorizontal(50); + if ((TileLoader.wall50 & seen_fused) != (getWallHorizontal(50) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (getRuinHorizontal(50) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen51 & getSeenHorizontal(51); + if ((TileLoader.wall51 & seen_fused) != (getWallHorizontal(51) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (getRuinHorizontal(51) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen52 & getSeenHorizontal(52); + if ((TileLoader.wall52 & seen_fused) != (getWallHorizontal(52) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (getRuinHorizontal(52) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen53 & getSeenHorizontal(53); + if ((TileLoader.wall53 & seen_fused) != (getWallHorizontal(53) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (getRuinHorizontal(53) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen54 & getSeenHorizontal(54); + if ((TileLoader.wall54 & seen_fused) != (getWallHorizontal(54) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (getRuinHorizontal(54) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen55 & getSeenHorizontal(55); + if ((TileLoader.wall55 & seen_fused) != (getWallHorizontal(55) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (getRuinHorizontal(55) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen56 & getSeenHorizontal(56); + if ((TileLoader.wall56 & seen_fused) != (getWallHorizontal(56) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin56 & seen_fused) != (getRuinHorizontal(56) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen57 & getSeenHorizontal(57); + if ((TileLoader.wall57 & seen_fused) != (getWallHorizontal(57) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin57 & seen_fused) != (getRuinHorizontal(57) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen58 & getSeenHorizontal(58); + if ((TileLoader.wall58 & seen_fused) != (getWallHorizontal(58) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin58 & seen_fused) != (getRuinHorizontal(58) & seen_fused)) { + HSYM = 0; + } + + } + case 55 -> { + seen_fused = TileLoader.seen51 & getSeenHorizontal(51); + if ((TileLoader.wall51 & seen_fused) != (getWallHorizontal(51) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (getRuinHorizontal(51) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen52 & getSeenHorizontal(52); + if ((TileLoader.wall52 & seen_fused) != (getWallHorizontal(52) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (getRuinHorizontal(52) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen53 & getSeenHorizontal(53); + if ((TileLoader.wall53 & seen_fused) != (getWallHorizontal(53) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (getRuinHorizontal(53) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen54 & getSeenHorizontal(54); + if ((TileLoader.wall54 & seen_fused) != (getWallHorizontal(54) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (getRuinHorizontal(54) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen55 & getSeenHorizontal(55); + if ((TileLoader.wall55 & seen_fused) != (getWallHorizontal(55) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (getRuinHorizontal(55) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen56 & getSeenHorizontal(56); + if ((TileLoader.wall56 & seen_fused) != (getWallHorizontal(56) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin56 & seen_fused) != (getRuinHorizontal(56) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen57 & getSeenHorizontal(57); + if ((TileLoader.wall57 & seen_fused) != (getWallHorizontal(57) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin57 & seen_fused) != (getRuinHorizontal(57) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen58 & getSeenHorizontal(58); + if ((TileLoader.wall58 & seen_fused) != (getWallHorizontal(58) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin58 & seen_fused) != (getRuinHorizontal(58) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen59 & getSeenHorizontal(59); + if ((TileLoader.wall59 & seen_fused) != (getWallHorizontal(59) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin59 & seen_fused) != (getRuinHorizontal(59) & seen_fused)) { + HSYM = 0; + } + + } + case 56 -> { + seen_fused = TileLoader.seen52 & getSeenHorizontal(52); + if ((TileLoader.wall52 & seen_fused) != (getWallHorizontal(52) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (getRuinHorizontal(52) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen53 & getSeenHorizontal(53); + if ((TileLoader.wall53 & seen_fused) != (getWallHorizontal(53) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (getRuinHorizontal(53) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen54 & getSeenHorizontal(54); + if ((TileLoader.wall54 & seen_fused) != (getWallHorizontal(54) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (getRuinHorizontal(54) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen55 & getSeenHorizontal(55); + if ((TileLoader.wall55 & seen_fused) != (getWallHorizontal(55) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (getRuinHorizontal(55) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen56 & getSeenHorizontal(56); + if ((TileLoader.wall56 & seen_fused) != (getWallHorizontal(56) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin56 & seen_fused) != (getRuinHorizontal(56) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen57 & getSeenHorizontal(57); + if ((TileLoader.wall57 & seen_fused) != (getWallHorizontal(57) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin57 & seen_fused) != (getRuinHorizontal(57) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen58 & getSeenHorizontal(58); + if ((TileLoader.wall58 & seen_fused) != (getWallHorizontal(58) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin58 & seen_fused) != (getRuinHorizontal(58) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen59 & getSeenHorizontal(59); + if ((TileLoader.wall59 & seen_fused) != (getWallHorizontal(59) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin59 & seen_fused) != (getRuinHorizontal(59) & seen_fused)) { + HSYM = 0; + } + + } + case 57 -> { + seen_fused = TileLoader.seen53 & getSeenHorizontal(53); + if ((TileLoader.wall53 & seen_fused) != (getWallHorizontal(53) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (getRuinHorizontal(53) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen54 & getSeenHorizontal(54); + if ((TileLoader.wall54 & seen_fused) != (getWallHorizontal(54) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (getRuinHorizontal(54) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen55 & getSeenHorizontal(55); + if ((TileLoader.wall55 & seen_fused) != (getWallHorizontal(55) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (getRuinHorizontal(55) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen56 & getSeenHorizontal(56); + if ((TileLoader.wall56 & seen_fused) != (getWallHorizontal(56) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin56 & seen_fused) != (getRuinHorizontal(56) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen57 & getSeenHorizontal(57); + if ((TileLoader.wall57 & seen_fused) != (getWallHorizontal(57) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin57 & seen_fused) != (getRuinHorizontal(57) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen58 & getSeenHorizontal(58); + if ((TileLoader.wall58 & seen_fused) != (getWallHorizontal(58) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin58 & seen_fused) != (getRuinHorizontal(58) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen59 & getSeenHorizontal(59); + if ((TileLoader.wall59 & seen_fused) != (getWallHorizontal(59) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin59 & seen_fused) != (getRuinHorizontal(59) & seen_fused)) { + HSYM = 0; + } + + } + case 58 -> { + seen_fused = TileLoader.seen54 & getSeenHorizontal(54); + if ((TileLoader.wall54 & seen_fused) != (getWallHorizontal(54) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (getRuinHorizontal(54) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen55 & getSeenHorizontal(55); + if ((TileLoader.wall55 & seen_fused) != (getWallHorizontal(55) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (getRuinHorizontal(55) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen56 & getSeenHorizontal(56); + if ((TileLoader.wall56 & seen_fused) != (getWallHorizontal(56) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin56 & seen_fused) != (getRuinHorizontal(56) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen57 & getSeenHorizontal(57); + if ((TileLoader.wall57 & seen_fused) != (getWallHorizontal(57) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin57 & seen_fused) != (getRuinHorizontal(57) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen58 & getSeenHorizontal(58); + if ((TileLoader.wall58 & seen_fused) != (getWallHorizontal(58) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin58 & seen_fused) != (getRuinHorizontal(58) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen59 & getSeenHorizontal(59); + if ((TileLoader.wall59 & seen_fused) != (getWallHorizontal(59) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin59 & seen_fused) != (getRuinHorizontal(59) & seen_fused)) { + HSYM = 0; + } + + } + case 59 -> { + seen_fused = TileLoader.seen55 & getSeenHorizontal(55); + if ((TileLoader.wall55 & seen_fused) != (getWallHorizontal(55) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (getRuinHorizontal(55) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen56 & getSeenHorizontal(56); + if ((TileLoader.wall56 & seen_fused) != (getWallHorizontal(56) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin56 & seen_fused) != (getRuinHorizontal(56) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen57 & getSeenHorizontal(57); + if ((TileLoader.wall57 & seen_fused) != (getWallHorizontal(57) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin57 & seen_fused) != (getRuinHorizontal(57) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen58 & getSeenHorizontal(58); + if ((TileLoader.wall58 & seen_fused) != (getWallHorizontal(58) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin58 & seen_fused) != (getRuinHorizontal(58) & seen_fused)) { + HSYM = 0; + } + seen_fused = TileLoader.seen59 & getSeenHorizontal(59); + if ((TileLoader.wall59 & seen_fused) != (getWallHorizontal(59) & seen_fused)) { + HSYM = 0; + } + if ((TileLoader.ruin59 & seen_fused) != (getRuinHorizontal(59) & seen_fused)) { + HSYM = 0; + } + + } + + default -> {} + } + } + + public static void checkVertical() throws GameActionException { + switch (rc.getLocation().x) { + case 0 -> { + seen_fused = TileLoader.seen0 & TileLoader.seen_reversed0; + if ((TileLoader.wall0 & seen_fused) != (TileLoader.wall_reversed0 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin0 & seen_fused) != (TileLoader.ruin_reversed0 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen1 & TileLoader.seen_reversed1; + if ((TileLoader.wall1 & seen_fused) != (TileLoader.wall_reversed1 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin1 & seen_fused) != (TileLoader.ruin_reversed1 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen2 & TileLoader.seen_reversed2; + if ((TileLoader.wall2 & seen_fused) != (TileLoader.wall_reversed2 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin2 & seen_fused) != (TileLoader.ruin_reversed2 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen3 & TileLoader.seen_reversed3; + if ((TileLoader.wall3 & seen_fused) != (TileLoader.wall_reversed3 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin3 & seen_fused) != (TileLoader.ruin_reversed3 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen4 & TileLoader.seen_reversed4; + if ((TileLoader.wall4 & seen_fused) != (TileLoader.wall_reversed4 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (TileLoader.ruin_reversed4 & seen_fused)) { + VSYM = 0; + } + + } + case 1 -> { + seen_fused = TileLoader.seen0 & TileLoader.seen_reversed0; + if ((TileLoader.wall0 & seen_fused) != (TileLoader.wall_reversed0 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin0 & seen_fused) != (TileLoader.ruin_reversed0 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen1 & TileLoader.seen_reversed1; + if ((TileLoader.wall1 & seen_fused) != (TileLoader.wall_reversed1 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin1 & seen_fused) != (TileLoader.ruin_reversed1 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen2 & TileLoader.seen_reversed2; + if ((TileLoader.wall2 & seen_fused) != (TileLoader.wall_reversed2 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin2 & seen_fused) != (TileLoader.ruin_reversed2 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen3 & TileLoader.seen_reversed3; + if ((TileLoader.wall3 & seen_fused) != (TileLoader.wall_reversed3 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin3 & seen_fused) != (TileLoader.ruin_reversed3 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen4 & TileLoader.seen_reversed4; + if ((TileLoader.wall4 & seen_fused) != (TileLoader.wall_reversed4 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (TileLoader.ruin_reversed4 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen5 & TileLoader.seen_reversed5; + if ((TileLoader.wall5 & seen_fused) != (TileLoader.wall_reversed5 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (TileLoader.ruin_reversed5 & seen_fused)) { + VSYM = 0; + } + + } + case 2 -> { + seen_fused = TileLoader.seen0 & TileLoader.seen_reversed0; + if ((TileLoader.wall0 & seen_fused) != (TileLoader.wall_reversed0 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin0 & seen_fused) != (TileLoader.ruin_reversed0 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen1 & TileLoader.seen_reversed1; + if ((TileLoader.wall1 & seen_fused) != (TileLoader.wall_reversed1 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin1 & seen_fused) != (TileLoader.ruin_reversed1 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen2 & TileLoader.seen_reversed2; + if ((TileLoader.wall2 & seen_fused) != (TileLoader.wall_reversed2 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin2 & seen_fused) != (TileLoader.ruin_reversed2 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen3 & TileLoader.seen_reversed3; + if ((TileLoader.wall3 & seen_fused) != (TileLoader.wall_reversed3 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin3 & seen_fused) != (TileLoader.ruin_reversed3 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen4 & TileLoader.seen_reversed4; + if ((TileLoader.wall4 & seen_fused) != (TileLoader.wall_reversed4 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (TileLoader.ruin_reversed4 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen5 & TileLoader.seen_reversed5; + if ((TileLoader.wall5 & seen_fused) != (TileLoader.wall_reversed5 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (TileLoader.ruin_reversed5 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen6 & TileLoader.seen_reversed6; + if ((TileLoader.wall6 & seen_fused) != (TileLoader.wall_reversed6 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (TileLoader.ruin_reversed6 & seen_fused)) { + VSYM = 0; + } + + } + case 3 -> { + seen_fused = TileLoader.seen0 & TileLoader.seen_reversed0; + if ((TileLoader.wall0 & seen_fused) != (TileLoader.wall_reversed0 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin0 & seen_fused) != (TileLoader.ruin_reversed0 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen1 & TileLoader.seen_reversed1; + if ((TileLoader.wall1 & seen_fused) != (TileLoader.wall_reversed1 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin1 & seen_fused) != (TileLoader.ruin_reversed1 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen2 & TileLoader.seen_reversed2; + if ((TileLoader.wall2 & seen_fused) != (TileLoader.wall_reversed2 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin2 & seen_fused) != (TileLoader.ruin_reversed2 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen3 & TileLoader.seen_reversed3; + if ((TileLoader.wall3 & seen_fused) != (TileLoader.wall_reversed3 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin3 & seen_fused) != (TileLoader.ruin_reversed3 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen4 & TileLoader.seen_reversed4; + if ((TileLoader.wall4 & seen_fused) != (TileLoader.wall_reversed4 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (TileLoader.ruin_reversed4 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen5 & TileLoader.seen_reversed5; + if ((TileLoader.wall5 & seen_fused) != (TileLoader.wall_reversed5 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (TileLoader.ruin_reversed5 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen6 & TileLoader.seen_reversed6; + if ((TileLoader.wall6 & seen_fused) != (TileLoader.wall_reversed6 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (TileLoader.ruin_reversed6 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen7 & TileLoader.seen_reversed7; + if ((TileLoader.wall7 & seen_fused) != (TileLoader.wall_reversed7 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (TileLoader.ruin_reversed7 & seen_fused)) { + VSYM = 0; + } + + } + case 4 -> { + seen_fused = TileLoader.seen0 & TileLoader.seen_reversed0; + if ((TileLoader.wall0 & seen_fused) != (TileLoader.wall_reversed0 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin0 & seen_fused) != (TileLoader.ruin_reversed0 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen1 & TileLoader.seen_reversed1; + if ((TileLoader.wall1 & seen_fused) != (TileLoader.wall_reversed1 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin1 & seen_fused) != (TileLoader.ruin_reversed1 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen2 & TileLoader.seen_reversed2; + if ((TileLoader.wall2 & seen_fused) != (TileLoader.wall_reversed2 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin2 & seen_fused) != (TileLoader.ruin_reversed2 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen3 & TileLoader.seen_reversed3; + if ((TileLoader.wall3 & seen_fused) != (TileLoader.wall_reversed3 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin3 & seen_fused) != (TileLoader.ruin_reversed3 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen4 & TileLoader.seen_reversed4; + if ((TileLoader.wall4 & seen_fused) != (TileLoader.wall_reversed4 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (TileLoader.ruin_reversed4 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen5 & TileLoader.seen_reversed5; + if ((TileLoader.wall5 & seen_fused) != (TileLoader.wall_reversed5 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (TileLoader.ruin_reversed5 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen6 & TileLoader.seen_reversed6; + if ((TileLoader.wall6 & seen_fused) != (TileLoader.wall_reversed6 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (TileLoader.ruin_reversed6 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen7 & TileLoader.seen_reversed7; + if ((TileLoader.wall7 & seen_fused) != (TileLoader.wall_reversed7 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (TileLoader.ruin_reversed7 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen8 & TileLoader.seen_reversed8; + if ((TileLoader.wall8 & seen_fused) != (TileLoader.wall_reversed8 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (TileLoader.ruin_reversed8 & seen_fused)) { + VSYM = 0; + } + + } + case 5 -> { + seen_fused = TileLoader.seen1 & TileLoader.seen_reversed1; + if ((TileLoader.wall1 & seen_fused) != (TileLoader.wall_reversed1 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin1 & seen_fused) != (TileLoader.ruin_reversed1 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen2 & TileLoader.seen_reversed2; + if ((TileLoader.wall2 & seen_fused) != (TileLoader.wall_reversed2 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin2 & seen_fused) != (TileLoader.ruin_reversed2 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen3 & TileLoader.seen_reversed3; + if ((TileLoader.wall3 & seen_fused) != (TileLoader.wall_reversed3 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin3 & seen_fused) != (TileLoader.ruin_reversed3 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen4 & TileLoader.seen_reversed4; + if ((TileLoader.wall4 & seen_fused) != (TileLoader.wall_reversed4 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (TileLoader.ruin_reversed4 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen5 & TileLoader.seen_reversed5; + if ((TileLoader.wall5 & seen_fused) != (TileLoader.wall_reversed5 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (TileLoader.ruin_reversed5 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen6 & TileLoader.seen_reversed6; + if ((TileLoader.wall6 & seen_fused) != (TileLoader.wall_reversed6 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (TileLoader.ruin_reversed6 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen7 & TileLoader.seen_reversed7; + if ((TileLoader.wall7 & seen_fused) != (TileLoader.wall_reversed7 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (TileLoader.ruin_reversed7 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen8 & TileLoader.seen_reversed8; + if ((TileLoader.wall8 & seen_fused) != (TileLoader.wall_reversed8 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (TileLoader.ruin_reversed8 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen9 & TileLoader.seen_reversed9; + if ((TileLoader.wall9 & seen_fused) != (TileLoader.wall_reversed9 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (TileLoader.ruin_reversed9 & seen_fused)) { + VSYM = 0; + } + + } + case 6 -> { + seen_fused = TileLoader.seen2 & TileLoader.seen_reversed2; + if ((TileLoader.wall2 & seen_fused) != (TileLoader.wall_reversed2 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin2 & seen_fused) != (TileLoader.ruin_reversed2 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen3 & TileLoader.seen_reversed3; + if ((TileLoader.wall3 & seen_fused) != (TileLoader.wall_reversed3 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin3 & seen_fused) != (TileLoader.ruin_reversed3 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen4 & TileLoader.seen_reversed4; + if ((TileLoader.wall4 & seen_fused) != (TileLoader.wall_reversed4 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (TileLoader.ruin_reversed4 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen5 & TileLoader.seen_reversed5; + if ((TileLoader.wall5 & seen_fused) != (TileLoader.wall_reversed5 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (TileLoader.ruin_reversed5 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen6 & TileLoader.seen_reversed6; + if ((TileLoader.wall6 & seen_fused) != (TileLoader.wall_reversed6 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (TileLoader.ruin_reversed6 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen7 & TileLoader.seen_reversed7; + if ((TileLoader.wall7 & seen_fused) != (TileLoader.wall_reversed7 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (TileLoader.ruin_reversed7 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen8 & TileLoader.seen_reversed8; + if ((TileLoader.wall8 & seen_fused) != (TileLoader.wall_reversed8 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (TileLoader.ruin_reversed8 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen9 & TileLoader.seen_reversed9; + if ((TileLoader.wall9 & seen_fused) != (TileLoader.wall_reversed9 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (TileLoader.ruin_reversed9 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen10 & TileLoader.seen_reversed10; + if ((TileLoader.wall10 & seen_fused) != (TileLoader.wall_reversed10 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (TileLoader.ruin_reversed10 & seen_fused)) { + VSYM = 0; + } + + } + case 7 -> { + seen_fused = TileLoader.seen3 & TileLoader.seen_reversed3; + if ((TileLoader.wall3 & seen_fused) != (TileLoader.wall_reversed3 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin3 & seen_fused) != (TileLoader.ruin_reversed3 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen4 & TileLoader.seen_reversed4; + if ((TileLoader.wall4 & seen_fused) != (TileLoader.wall_reversed4 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (TileLoader.ruin_reversed4 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen5 & TileLoader.seen_reversed5; + if ((TileLoader.wall5 & seen_fused) != (TileLoader.wall_reversed5 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (TileLoader.ruin_reversed5 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen6 & TileLoader.seen_reversed6; + if ((TileLoader.wall6 & seen_fused) != (TileLoader.wall_reversed6 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (TileLoader.ruin_reversed6 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen7 & TileLoader.seen_reversed7; + if ((TileLoader.wall7 & seen_fused) != (TileLoader.wall_reversed7 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (TileLoader.ruin_reversed7 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen8 & TileLoader.seen_reversed8; + if ((TileLoader.wall8 & seen_fused) != (TileLoader.wall_reversed8 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (TileLoader.ruin_reversed8 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen9 & TileLoader.seen_reversed9; + if ((TileLoader.wall9 & seen_fused) != (TileLoader.wall_reversed9 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (TileLoader.ruin_reversed9 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen10 & TileLoader.seen_reversed10; + if ((TileLoader.wall10 & seen_fused) != (TileLoader.wall_reversed10 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (TileLoader.ruin_reversed10 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen11 & TileLoader.seen_reversed11; + if ((TileLoader.wall11 & seen_fused) != (TileLoader.wall_reversed11 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (TileLoader.ruin_reversed11 & seen_fused)) { + VSYM = 0; + } + + } + case 8 -> { + seen_fused = TileLoader.seen4 & TileLoader.seen_reversed4; + if ((TileLoader.wall4 & seen_fused) != (TileLoader.wall_reversed4 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (TileLoader.ruin_reversed4 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen5 & TileLoader.seen_reversed5; + if ((TileLoader.wall5 & seen_fused) != (TileLoader.wall_reversed5 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (TileLoader.ruin_reversed5 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen6 & TileLoader.seen_reversed6; + if ((TileLoader.wall6 & seen_fused) != (TileLoader.wall_reversed6 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (TileLoader.ruin_reversed6 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen7 & TileLoader.seen_reversed7; + if ((TileLoader.wall7 & seen_fused) != (TileLoader.wall_reversed7 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (TileLoader.ruin_reversed7 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen8 & TileLoader.seen_reversed8; + if ((TileLoader.wall8 & seen_fused) != (TileLoader.wall_reversed8 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (TileLoader.ruin_reversed8 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen9 & TileLoader.seen_reversed9; + if ((TileLoader.wall9 & seen_fused) != (TileLoader.wall_reversed9 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (TileLoader.ruin_reversed9 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen10 & TileLoader.seen_reversed10; + if ((TileLoader.wall10 & seen_fused) != (TileLoader.wall_reversed10 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (TileLoader.ruin_reversed10 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen11 & TileLoader.seen_reversed11; + if ((TileLoader.wall11 & seen_fused) != (TileLoader.wall_reversed11 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (TileLoader.ruin_reversed11 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen12 & TileLoader.seen_reversed12; + if ((TileLoader.wall12 & seen_fused) != (TileLoader.wall_reversed12 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (TileLoader.ruin_reversed12 & seen_fused)) { + VSYM = 0; + } + + } + case 9 -> { + seen_fused = TileLoader.seen5 & TileLoader.seen_reversed5; + if ((TileLoader.wall5 & seen_fused) != (TileLoader.wall_reversed5 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (TileLoader.ruin_reversed5 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen6 & TileLoader.seen_reversed6; + if ((TileLoader.wall6 & seen_fused) != (TileLoader.wall_reversed6 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (TileLoader.ruin_reversed6 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen7 & TileLoader.seen_reversed7; + if ((TileLoader.wall7 & seen_fused) != (TileLoader.wall_reversed7 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (TileLoader.ruin_reversed7 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen8 & TileLoader.seen_reversed8; + if ((TileLoader.wall8 & seen_fused) != (TileLoader.wall_reversed8 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (TileLoader.ruin_reversed8 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen9 & TileLoader.seen_reversed9; + if ((TileLoader.wall9 & seen_fused) != (TileLoader.wall_reversed9 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (TileLoader.ruin_reversed9 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen10 & TileLoader.seen_reversed10; + if ((TileLoader.wall10 & seen_fused) != (TileLoader.wall_reversed10 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (TileLoader.ruin_reversed10 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen11 & TileLoader.seen_reversed11; + if ((TileLoader.wall11 & seen_fused) != (TileLoader.wall_reversed11 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (TileLoader.ruin_reversed11 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen12 & TileLoader.seen_reversed12; + if ((TileLoader.wall12 & seen_fused) != (TileLoader.wall_reversed12 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (TileLoader.ruin_reversed12 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen13 & TileLoader.seen_reversed13; + if ((TileLoader.wall13 & seen_fused) != (TileLoader.wall_reversed13 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (TileLoader.ruin_reversed13 & seen_fused)) { + VSYM = 0; + } + + } + case 10 -> { + seen_fused = TileLoader.seen6 & TileLoader.seen_reversed6; + if ((TileLoader.wall6 & seen_fused) != (TileLoader.wall_reversed6 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (TileLoader.ruin_reversed6 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen7 & TileLoader.seen_reversed7; + if ((TileLoader.wall7 & seen_fused) != (TileLoader.wall_reversed7 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (TileLoader.ruin_reversed7 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen8 & TileLoader.seen_reversed8; + if ((TileLoader.wall8 & seen_fused) != (TileLoader.wall_reversed8 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (TileLoader.ruin_reversed8 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen9 & TileLoader.seen_reversed9; + if ((TileLoader.wall9 & seen_fused) != (TileLoader.wall_reversed9 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (TileLoader.ruin_reversed9 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen10 & TileLoader.seen_reversed10; + if ((TileLoader.wall10 & seen_fused) != (TileLoader.wall_reversed10 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (TileLoader.ruin_reversed10 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen11 & TileLoader.seen_reversed11; + if ((TileLoader.wall11 & seen_fused) != (TileLoader.wall_reversed11 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (TileLoader.ruin_reversed11 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen12 & TileLoader.seen_reversed12; + if ((TileLoader.wall12 & seen_fused) != (TileLoader.wall_reversed12 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (TileLoader.ruin_reversed12 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen13 & TileLoader.seen_reversed13; + if ((TileLoader.wall13 & seen_fused) != (TileLoader.wall_reversed13 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (TileLoader.ruin_reversed13 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen14 & TileLoader.seen_reversed14; + if ((TileLoader.wall14 & seen_fused) != (TileLoader.wall_reversed14 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (TileLoader.ruin_reversed14 & seen_fused)) { + VSYM = 0; + } + + } + case 11 -> { + seen_fused = TileLoader.seen7 & TileLoader.seen_reversed7; + if ((TileLoader.wall7 & seen_fused) != (TileLoader.wall_reversed7 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (TileLoader.ruin_reversed7 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen8 & TileLoader.seen_reversed8; + if ((TileLoader.wall8 & seen_fused) != (TileLoader.wall_reversed8 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (TileLoader.ruin_reversed8 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen9 & TileLoader.seen_reversed9; + if ((TileLoader.wall9 & seen_fused) != (TileLoader.wall_reversed9 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (TileLoader.ruin_reversed9 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen10 & TileLoader.seen_reversed10; + if ((TileLoader.wall10 & seen_fused) != (TileLoader.wall_reversed10 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (TileLoader.ruin_reversed10 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen11 & TileLoader.seen_reversed11; + if ((TileLoader.wall11 & seen_fused) != (TileLoader.wall_reversed11 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (TileLoader.ruin_reversed11 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen12 & TileLoader.seen_reversed12; + if ((TileLoader.wall12 & seen_fused) != (TileLoader.wall_reversed12 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (TileLoader.ruin_reversed12 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen13 & TileLoader.seen_reversed13; + if ((TileLoader.wall13 & seen_fused) != (TileLoader.wall_reversed13 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (TileLoader.ruin_reversed13 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen14 & TileLoader.seen_reversed14; + if ((TileLoader.wall14 & seen_fused) != (TileLoader.wall_reversed14 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (TileLoader.ruin_reversed14 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen15 & TileLoader.seen_reversed15; + if ((TileLoader.wall15 & seen_fused) != (TileLoader.wall_reversed15 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (TileLoader.ruin_reversed15 & seen_fused)) { + VSYM = 0; + } + + } + case 12 -> { + seen_fused = TileLoader.seen8 & TileLoader.seen_reversed8; + if ((TileLoader.wall8 & seen_fused) != (TileLoader.wall_reversed8 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (TileLoader.ruin_reversed8 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen9 & TileLoader.seen_reversed9; + if ((TileLoader.wall9 & seen_fused) != (TileLoader.wall_reversed9 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (TileLoader.ruin_reversed9 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen10 & TileLoader.seen_reversed10; + if ((TileLoader.wall10 & seen_fused) != (TileLoader.wall_reversed10 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (TileLoader.ruin_reversed10 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen11 & TileLoader.seen_reversed11; + if ((TileLoader.wall11 & seen_fused) != (TileLoader.wall_reversed11 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (TileLoader.ruin_reversed11 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen12 & TileLoader.seen_reversed12; + if ((TileLoader.wall12 & seen_fused) != (TileLoader.wall_reversed12 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (TileLoader.ruin_reversed12 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen13 & TileLoader.seen_reversed13; + if ((TileLoader.wall13 & seen_fused) != (TileLoader.wall_reversed13 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (TileLoader.ruin_reversed13 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen14 & TileLoader.seen_reversed14; + if ((TileLoader.wall14 & seen_fused) != (TileLoader.wall_reversed14 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (TileLoader.ruin_reversed14 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen15 & TileLoader.seen_reversed15; + if ((TileLoader.wall15 & seen_fused) != (TileLoader.wall_reversed15 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (TileLoader.ruin_reversed15 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen16 & TileLoader.seen_reversed16; + if ((TileLoader.wall16 & seen_fused) != (TileLoader.wall_reversed16 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (TileLoader.ruin_reversed16 & seen_fused)) { + VSYM = 0; + } + + } + case 13 -> { + seen_fused = TileLoader.seen9 & TileLoader.seen_reversed9; + if ((TileLoader.wall9 & seen_fused) != (TileLoader.wall_reversed9 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (TileLoader.ruin_reversed9 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen10 & TileLoader.seen_reversed10; + if ((TileLoader.wall10 & seen_fused) != (TileLoader.wall_reversed10 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (TileLoader.ruin_reversed10 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen11 & TileLoader.seen_reversed11; + if ((TileLoader.wall11 & seen_fused) != (TileLoader.wall_reversed11 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (TileLoader.ruin_reversed11 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen12 & TileLoader.seen_reversed12; + if ((TileLoader.wall12 & seen_fused) != (TileLoader.wall_reversed12 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (TileLoader.ruin_reversed12 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen13 & TileLoader.seen_reversed13; + if ((TileLoader.wall13 & seen_fused) != (TileLoader.wall_reversed13 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (TileLoader.ruin_reversed13 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen14 & TileLoader.seen_reversed14; + if ((TileLoader.wall14 & seen_fused) != (TileLoader.wall_reversed14 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (TileLoader.ruin_reversed14 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen15 & TileLoader.seen_reversed15; + if ((TileLoader.wall15 & seen_fused) != (TileLoader.wall_reversed15 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (TileLoader.ruin_reversed15 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen16 & TileLoader.seen_reversed16; + if ((TileLoader.wall16 & seen_fused) != (TileLoader.wall_reversed16 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (TileLoader.ruin_reversed16 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen17 & TileLoader.seen_reversed17; + if ((TileLoader.wall17 & seen_fused) != (TileLoader.wall_reversed17 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (TileLoader.ruin_reversed17 & seen_fused)) { + VSYM = 0; + } + + } + case 14 -> { + seen_fused = TileLoader.seen10 & TileLoader.seen_reversed10; + if ((TileLoader.wall10 & seen_fused) != (TileLoader.wall_reversed10 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (TileLoader.ruin_reversed10 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen11 & TileLoader.seen_reversed11; + if ((TileLoader.wall11 & seen_fused) != (TileLoader.wall_reversed11 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (TileLoader.ruin_reversed11 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen12 & TileLoader.seen_reversed12; + if ((TileLoader.wall12 & seen_fused) != (TileLoader.wall_reversed12 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (TileLoader.ruin_reversed12 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen13 & TileLoader.seen_reversed13; + if ((TileLoader.wall13 & seen_fused) != (TileLoader.wall_reversed13 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (TileLoader.ruin_reversed13 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen14 & TileLoader.seen_reversed14; + if ((TileLoader.wall14 & seen_fused) != (TileLoader.wall_reversed14 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (TileLoader.ruin_reversed14 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen15 & TileLoader.seen_reversed15; + if ((TileLoader.wall15 & seen_fused) != (TileLoader.wall_reversed15 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (TileLoader.ruin_reversed15 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen16 & TileLoader.seen_reversed16; + if ((TileLoader.wall16 & seen_fused) != (TileLoader.wall_reversed16 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (TileLoader.ruin_reversed16 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen17 & TileLoader.seen_reversed17; + if ((TileLoader.wall17 & seen_fused) != (TileLoader.wall_reversed17 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (TileLoader.ruin_reversed17 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen18 & TileLoader.seen_reversed18; + if ((TileLoader.wall18 & seen_fused) != (TileLoader.wall_reversed18 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (TileLoader.ruin_reversed18 & seen_fused)) { + VSYM = 0; + } + + } + case 15 -> { + seen_fused = TileLoader.seen11 & TileLoader.seen_reversed11; + if ((TileLoader.wall11 & seen_fused) != (TileLoader.wall_reversed11 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (TileLoader.ruin_reversed11 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen12 & TileLoader.seen_reversed12; + if ((TileLoader.wall12 & seen_fused) != (TileLoader.wall_reversed12 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (TileLoader.ruin_reversed12 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen13 & TileLoader.seen_reversed13; + if ((TileLoader.wall13 & seen_fused) != (TileLoader.wall_reversed13 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (TileLoader.ruin_reversed13 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen14 & TileLoader.seen_reversed14; + if ((TileLoader.wall14 & seen_fused) != (TileLoader.wall_reversed14 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (TileLoader.ruin_reversed14 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen15 & TileLoader.seen_reversed15; + if ((TileLoader.wall15 & seen_fused) != (TileLoader.wall_reversed15 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (TileLoader.ruin_reversed15 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen16 & TileLoader.seen_reversed16; + if ((TileLoader.wall16 & seen_fused) != (TileLoader.wall_reversed16 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (TileLoader.ruin_reversed16 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen17 & TileLoader.seen_reversed17; + if ((TileLoader.wall17 & seen_fused) != (TileLoader.wall_reversed17 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (TileLoader.ruin_reversed17 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen18 & TileLoader.seen_reversed18; + if ((TileLoader.wall18 & seen_fused) != (TileLoader.wall_reversed18 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (TileLoader.ruin_reversed18 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen19 & TileLoader.seen_reversed19; + if ((TileLoader.wall19 & seen_fused) != (TileLoader.wall_reversed19 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (TileLoader.ruin_reversed19 & seen_fused)) { + VSYM = 0; + } + + } + case 16 -> { + seen_fused = TileLoader.seen12 & TileLoader.seen_reversed12; + if ((TileLoader.wall12 & seen_fused) != (TileLoader.wall_reversed12 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (TileLoader.ruin_reversed12 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen13 & TileLoader.seen_reversed13; + if ((TileLoader.wall13 & seen_fused) != (TileLoader.wall_reversed13 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (TileLoader.ruin_reversed13 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen14 & TileLoader.seen_reversed14; + if ((TileLoader.wall14 & seen_fused) != (TileLoader.wall_reversed14 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (TileLoader.ruin_reversed14 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen15 & TileLoader.seen_reversed15; + if ((TileLoader.wall15 & seen_fused) != (TileLoader.wall_reversed15 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (TileLoader.ruin_reversed15 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen16 & TileLoader.seen_reversed16; + if ((TileLoader.wall16 & seen_fused) != (TileLoader.wall_reversed16 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (TileLoader.ruin_reversed16 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen17 & TileLoader.seen_reversed17; + if ((TileLoader.wall17 & seen_fused) != (TileLoader.wall_reversed17 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (TileLoader.ruin_reversed17 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen18 & TileLoader.seen_reversed18; + if ((TileLoader.wall18 & seen_fused) != (TileLoader.wall_reversed18 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (TileLoader.ruin_reversed18 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen19 & TileLoader.seen_reversed19; + if ((TileLoader.wall19 & seen_fused) != (TileLoader.wall_reversed19 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (TileLoader.ruin_reversed19 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen20 & TileLoader.seen_reversed20; + if ((TileLoader.wall20 & seen_fused) != (TileLoader.wall_reversed20 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (TileLoader.ruin_reversed20 & seen_fused)) { + VSYM = 0; + } + + } + case 17 -> { + seen_fused = TileLoader.seen13 & TileLoader.seen_reversed13; + if ((TileLoader.wall13 & seen_fused) != (TileLoader.wall_reversed13 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (TileLoader.ruin_reversed13 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen14 & TileLoader.seen_reversed14; + if ((TileLoader.wall14 & seen_fused) != (TileLoader.wall_reversed14 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (TileLoader.ruin_reversed14 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen15 & TileLoader.seen_reversed15; + if ((TileLoader.wall15 & seen_fused) != (TileLoader.wall_reversed15 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (TileLoader.ruin_reversed15 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen16 & TileLoader.seen_reversed16; + if ((TileLoader.wall16 & seen_fused) != (TileLoader.wall_reversed16 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (TileLoader.ruin_reversed16 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen17 & TileLoader.seen_reversed17; + if ((TileLoader.wall17 & seen_fused) != (TileLoader.wall_reversed17 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (TileLoader.ruin_reversed17 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen18 & TileLoader.seen_reversed18; + if ((TileLoader.wall18 & seen_fused) != (TileLoader.wall_reversed18 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (TileLoader.ruin_reversed18 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen19 & TileLoader.seen_reversed19; + if ((TileLoader.wall19 & seen_fused) != (TileLoader.wall_reversed19 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (TileLoader.ruin_reversed19 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen20 & TileLoader.seen_reversed20; + if ((TileLoader.wall20 & seen_fused) != (TileLoader.wall_reversed20 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (TileLoader.ruin_reversed20 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen21 & TileLoader.seen_reversed21; + if ((TileLoader.wall21 & seen_fused) != (TileLoader.wall_reversed21 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (TileLoader.ruin_reversed21 & seen_fused)) { + VSYM = 0; + } + + } + case 18 -> { + seen_fused = TileLoader.seen14 & TileLoader.seen_reversed14; + if ((TileLoader.wall14 & seen_fused) != (TileLoader.wall_reversed14 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (TileLoader.ruin_reversed14 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen15 & TileLoader.seen_reversed15; + if ((TileLoader.wall15 & seen_fused) != (TileLoader.wall_reversed15 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (TileLoader.ruin_reversed15 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen16 & TileLoader.seen_reversed16; + if ((TileLoader.wall16 & seen_fused) != (TileLoader.wall_reversed16 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (TileLoader.ruin_reversed16 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen17 & TileLoader.seen_reversed17; + if ((TileLoader.wall17 & seen_fused) != (TileLoader.wall_reversed17 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (TileLoader.ruin_reversed17 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen18 & TileLoader.seen_reversed18; + if ((TileLoader.wall18 & seen_fused) != (TileLoader.wall_reversed18 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (TileLoader.ruin_reversed18 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen19 & TileLoader.seen_reversed19; + if ((TileLoader.wall19 & seen_fused) != (TileLoader.wall_reversed19 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (TileLoader.ruin_reversed19 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen20 & TileLoader.seen_reversed20; + if ((TileLoader.wall20 & seen_fused) != (TileLoader.wall_reversed20 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (TileLoader.ruin_reversed20 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen21 & TileLoader.seen_reversed21; + if ((TileLoader.wall21 & seen_fused) != (TileLoader.wall_reversed21 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (TileLoader.ruin_reversed21 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen22 & TileLoader.seen_reversed22; + if ((TileLoader.wall22 & seen_fused) != (TileLoader.wall_reversed22 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (TileLoader.ruin_reversed22 & seen_fused)) { + VSYM = 0; + } + + } + case 19 -> { + seen_fused = TileLoader.seen15 & TileLoader.seen_reversed15; + if ((TileLoader.wall15 & seen_fused) != (TileLoader.wall_reversed15 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (TileLoader.ruin_reversed15 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen16 & TileLoader.seen_reversed16; + if ((TileLoader.wall16 & seen_fused) != (TileLoader.wall_reversed16 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (TileLoader.ruin_reversed16 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen17 & TileLoader.seen_reversed17; + if ((TileLoader.wall17 & seen_fused) != (TileLoader.wall_reversed17 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (TileLoader.ruin_reversed17 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen18 & TileLoader.seen_reversed18; + if ((TileLoader.wall18 & seen_fused) != (TileLoader.wall_reversed18 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (TileLoader.ruin_reversed18 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen19 & TileLoader.seen_reversed19; + if ((TileLoader.wall19 & seen_fused) != (TileLoader.wall_reversed19 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (TileLoader.ruin_reversed19 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen20 & TileLoader.seen_reversed20; + if ((TileLoader.wall20 & seen_fused) != (TileLoader.wall_reversed20 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (TileLoader.ruin_reversed20 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen21 & TileLoader.seen_reversed21; + if ((TileLoader.wall21 & seen_fused) != (TileLoader.wall_reversed21 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (TileLoader.ruin_reversed21 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen22 & TileLoader.seen_reversed22; + if ((TileLoader.wall22 & seen_fused) != (TileLoader.wall_reversed22 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (TileLoader.ruin_reversed22 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen23 & TileLoader.seen_reversed23; + if ((TileLoader.wall23 & seen_fused) != (TileLoader.wall_reversed23 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (TileLoader.ruin_reversed23 & seen_fused)) { + VSYM = 0; + } + + } + case 20 -> { + seen_fused = TileLoader.seen16 & TileLoader.seen_reversed16; + if ((TileLoader.wall16 & seen_fused) != (TileLoader.wall_reversed16 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (TileLoader.ruin_reversed16 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen17 & TileLoader.seen_reversed17; + if ((TileLoader.wall17 & seen_fused) != (TileLoader.wall_reversed17 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (TileLoader.ruin_reversed17 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen18 & TileLoader.seen_reversed18; + if ((TileLoader.wall18 & seen_fused) != (TileLoader.wall_reversed18 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (TileLoader.ruin_reversed18 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen19 & TileLoader.seen_reversed19; + if ((TileLoader.wall19 & seen_fused) != (TileLoader.wall_reversed19 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (TileLoader.ruin_reversed19 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen20 & TileLoader.seen_reversed20; + if ((TileLoader.wall20 & seen_fused) != (TileLoader.wall_reversed20 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (TileLoader.ruin_reversed20 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen21 & TileLoader.seen_reversed21; + if ((TileLoader.wall21 & seen_fused) != (TileLoader.wall_reversed21 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (TileLoader.ruin_reversed21 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen22 & TileLoader.seen_reversed22; + if ((TileLoader.wall22 & seen_fused) != (TileLoader.wall_reversed22 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (TileLoader.ruin_reversed22 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen23 & TileLoader.seen_reversed23; + if ((TileLoader.wall23 & seen_fused) != (TileLoader.wall_reversed23 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (TileLoader.ruin_reversed23 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen24 & TileLoader.seen_reversed24; + if ((TileLoader.wall24 & seen_fused) != (TileLoader.wall_reversed24 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (TileLoader.ruin_reversed24 & seen_fused)) { + VSYM = 0; + } + + } + case 21 -> { + seen_fused = TileLoader.seen17 & TileLoader.seen_reversed17; + if ((TileLoader.wall17 & seen_fused) != (TileLoader.wall_reversed17 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (TileLoader.ruin_reversed17 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen18 & TileLoader.seen_reversed18; + if ((TileLoader.wall18 & seen_fused) != (TileLoader.wall_reversed18 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (TileLoader.ruin_reversed18 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen19 & TileLoader.seen_reversed19; + if ((TileLoader.wall19 & seen_fused) != (TileLoader.wall_reversed19 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (TileLoader.ruin_reversed19 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen20 & TileLoader.seen_reversed20; + if ((TileLoader.wall20 & seen_fused) != (TileLoader.wall_reversed20 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (TileLoader.ruin_reversed20 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen21 & TileLoader.seen_reversed21; + if ((TileLoader.wall21 & seen_fused) != (TileLoader.wall_reversed21 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (TileLoader.ruin_reversed21 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen22 & TileLoader.seen_reversed22; + if ((TileLoader.wall22 & seen_fused) != (TileLoader.wall_reversed22 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (TileLoader.ruin_reversed22 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen23 & TileLoader.seen_reversed23; + if ((TileLoader.wall23 & seen_fused) != (TileLoader.wall_reversed23 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (TileLoader.ruin_reversed23 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen24 & TileLoader.seen_reversed24; + if ((TileLoader.wall24 & seen_fused) != (TileLoader.wall_reversed24 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (TileLoader.ruin_reversed24 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen25 & TileLoader.seen_reversed25; + if ((TileLoader.wall25 & seen_fused) != (TileLoader.wall_reversed25 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (TileLoader.ruin_reversed25 & seen_fused)) { + VSYM = 0; + } + + } + case 22 -> { + seen_fused = TileLoader.seen18 & TileLoader.seen_reversed18; + if ((TileLoader.wall18 & seen_fused) != (TileLoader.wall_reversed18 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (TileLoader.ruin_reversed18 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen19 & TileLoader.seen_reversed19; + if ((TileLoader.wall19 & seen_fused) != (TileLoader.wall_reversed19 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (TileLoader.ruin_reversed19 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen20 & TileLoader.seen_reversed20; + if ((TileLoader.wall20 & seen_fused) != (TileLoader.wall_reversed20 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (TileLoader.ruin_reversed20 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen21 & TileLoader.seen_reversed21; + if ((TileLoader.wall21 & seen_fused) != (TileLoader.wall_reversed21 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (TileLoader.ruin_reversed21 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen22 & TileLoader.seen_reversed22; + if ((TileLoader.wall22 & seen_fused) != (TileLoader.wall_reversed22 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (TileLoader.ruin_reversed22 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen23 & TileLoader.seen_reversed23; + if ((TileLoader.wall23 & seen_fused) != (TileLoader.wall_reversed23 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (TileLoader.ruin_reversed23 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen24 & TileLoader.seen_reversed24; + if ((TileLoader.wall24 & seen_fused) != (TileLoader.wall_reversed24 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (TileLoader.ruin_reversed24 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen25 & TileLoader.seen_reversed25; + if ((TileLoader.wall25 & seen_fused) != (TileLoader.wall_reversed25 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (TileLoader.ruin_reversed25 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen26 & TileLoader.seen_reversed26; + if ((TileLoader.wall26 & seen_fused) != (TileLoader.wall_reversed26 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (TileLoader.ruin_reversed26 & seen_fused)) { + VSYM = 0; + } + + } + case 23 -> { + seen_fused = TileLoader.seen19 & TileLoader.seen_reversed19; + if ((TileLoader.wall19 & seen_fused) != (TileLoader.wall_reversed19 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (TileLoader.ruin_reversed19 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen20 & TileLoader.seen_reversed20; + if ((TileLoader.wall20 & seen_fused) != (TileLoader.wall_reversed20 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (TileLoader.ruin_reversed20 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen21 & TileLoader.seen_reversed21; + if ((TileLoader.wall21 & seen_fused) != (TileLoader.wall_reversed21 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (TileLoader.ruin_reversed21 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen22 & TileLoader.seen_reversed22; + if ((TileLoader.wall22 & seen_fused) != (TileLoader.wall_reversed22 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (TileLoader.ruin_reversed22 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen23 & TileLoader.seen_reversed23; + if ((TileLoader.wall23 & seen_fused) != (TileLoader.wall_reversed23 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (TileLoader.ruin_reversed23 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen24 & TileLoader.seen_reversed24; + if ((TileLoader.wall24 & seen_fused) != (TileLoader.wall_reversed24 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (TileLoader.ruin_reversed24 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen25 & TileLoader.seen_reversed25; + if ((TileLoader.wall25 & seen_fused) != (TileLoader.wall_reversed25 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (TileLoader.ruin_reversed25 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen26 & TileLoader.seen_reversed26; + if ((TileLoader.wall26 & seen_fused) != (TileLoader.wall_reversed26 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (TileLoader.ruin_reversed26 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen27 & TileLoader.seen_reversed27; + if ((TileLoader.wall27 & seen_fused) != (TileLoader.wall_reversed27 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (TileLoader.ruin_reversed27 & seen_fused)) { + VSYM = 0; + } + + } + case 24 -> { + seen_fused = TileLoader.seen20 & TileLoader.seen_reversed20; + if ((TileLoader.wall20 & seen_fused) != (TileLoader.wall_reversed20 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (TileLoader.ruin_reversed20 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen21 & TileLoader.seen_reversed21; + if ((TileLoader.wall21 & seen_fused) != (TileLoader.wall_reversed21 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (TileLoader.ruin_reversed21 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen22 & TileLoader.seen_reversed22; + if ((TileLoader.wall22 & seen_fused) != (TileLoader.wall_reversed22 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (TileLoader.ruin_reversed22 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen23 & TileLoader.seen_reversed23; + if ((TileLoader.wall23 & seen_fused) != (TileLoader.wall_reversed23 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (TileLoader.ruin_reversed23 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen24 & TileLoader.seen_reversed24; + if ((TileLoader.wall24 & seen_fused) != (TileLoader.wall_reversed24 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (TileLoader.ruin_reversed24 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen25 & TileLoader.seen_reversed25; + if ((TileLoader.wall25 & seen_fused) != (TileLoader.wall_reversed25 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (TileLoader.ruin_reversed25 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen26 & TileLoader.seen_reversed26; + if ((TileLoader.wall26 & seen_fused) != (TileLoader.wall_reversed26 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (TileLoader.ruin_reversed26 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen27 & TileLoader.seen_reversed27; + if ((TileLoader.wall27 & seen_fused) != (TileLoader.wall_reversed27 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (TileLoader.ruin_reversed27 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen28 & TileLoader.seen_reversed28; + if ((TileLoader.wall28 & seen_fused) != (TileLoader.wall_reversed28 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (TileLoader.ruin_reversed28 & seen_fused)) { + VSYM = 0; + } + + } + case 25 -> { + seen_fused = TileLoader.seen21 & TileLoader.seen_reversed21; + if ((TileLoader.wall21 & seen_fused) != (TileLoader.wall_reversed21 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (TileLoader.ruin_reversed21 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen22 & TileLoader.seen_reversed22; + if ((TileLoader.wall22 & seen_fused) != (TileLoader.wall_reversed22 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (TileLoader.ruin_reversed22 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen23 & TileLoader.seen_reversed23; + if ((TileLoader.wall23 & seen_fused) != (TileLoader.wall_reversed23 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (TileLoader.ruin_reversed23 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen24 & TileLoader.seen_reversed24; + if ((TileLoader.wall24 & seen_fused) != (TileLoader.wall_reversed24 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (TileLoader.ruin_reversed24 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen25 & TileLoader.seen_reversed25; + if ((TileLoader.wall25 & seen_fused) != (TileLoader.wall_reversed25 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (TileLoader.ruin_reversed25 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen26 & TileLoader.seen_reversed26; + if ((TileLoader.wall26 & seen_fused) != (TileLoader.wall_reversed26 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (TileLoader.ruin_reversed26 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen27 & TileLoader.seen_reversed27; + if ((TileLoader.wall27 & seen_fused) != (TileLoader.wall_reversed27 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (TileLoader.ruin_reversed27 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen28 & TileLoader.seen_reversed28; + if ((TileLoader.wall28 & seen_fused) != (TileLoader.wall_reversed28 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (TileLoader.ruin_reversed28 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen29 & TileLoader.seen_reversed29; + if ((TileLoader.wall29 & seen_fused) != (TileLoader.wall_reversed29 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (TileLoader.ruin_reversed29 & seen_fused)) { + VSYM = 0; + } + + } + case 26 -> { + seen_fused = TileLoader.seen22 & TileLoader.seen_reversed22; + if ((TileLoader.wall22 & seen_fused) != (TileLoader.wall_reversed22 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (TileLoader.ruin_reversed22 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen23 & TileLoader.seen_reversed23; + if ((TileLoader.wall23 & seen_fused) != (TileLoader.wall_reversed23 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (TileLoader.ruin_reversed23 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen24 & TileLoader.seen_reversed24; + if ((TileLoader.wall24 & seen_fused) != (TileLoader.wall_reversed24 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (TileLoader.ruin_reversed24 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen25 & TileLoader.seen_reversed25; + if ((TileLoader.wall25 & seen_fused) != (TileLoader.wall_reversed25 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (TileLoader.ruin_reversed25 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen26 & TileLoader.seen_reversed26; + if ((TileLoader.wall26 & seen_fused) != (TileLoader.wall_reversed26 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (TileLoader.ruin_reversed26 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen27 & TileLoader.seen_reversed27; + if ((TileLoader.wall27 & seen_fused) != (TileLoader.wall_reversed27 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (TileLoader.ruin_reversed27 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen28 & TileLoader.seen_reversed28; + if ((TileLoader.wall28 & seen_fused) != (TileLoader.wall_reversed28 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (TileLoader.ruin_reversed28 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen29 & TileLoader.seen_reversed29; + if ((TileLoader.wall29 & seen_fused) != (TileLoader.wall_reversed29 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (TileLoader.ruin_reversed29 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen30 & TileLoader.seen_reversed30; + if ((TileLoader.wall30 & seen_fused) != (TileLoader.wall_reversed30 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (TileLoader.ruin_reversed30 & seen_fused)) { + VSYM = 0; + } + + } + case 27 -> { + seen_fused = TileLoader.seen23 & TileLoader.seen_reversed23; + if ((TileLoader.wall23 & seen_fused) != (TileLoader.wall_reversed23 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (TileLoader.ruin_reversed23 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen24 & TileLoader.seen_reversed24; + if ((TileLoader.wall24 & seen_fused) != (TileLoader.wall_reversed24 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (TileLoader.ruin_reversed24 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen25 & TileLoader.seen_reversed25; + if ((TileLoader.wall25 & seen_fused) != (TileLoader.wall_reversed25 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (TileLoader.ruin_reversed25 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen26 & TileLoader.seen_reversed26; + if ((TileLoader.wall26 & seen_fused) != (TileLoader.wall_reversed26 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (TileLoader.ruin_reversed26 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen27 & TileLoader.seen_reversed27; + if ((TileLoader.wall27 & seen_fused) != (TileLoader.wall_reversed27 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (TileLoader.ruin_reversed27 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen28 & TileLoader.seen_reversed28; + if ((TileLoader.wall28 & seen_fused) != (TileLoader.wall_reversed28 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (TileLoader.ruin_reversed28 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen29 & TileLoader.seen_reversed29; + if ((TileLoader.wall29 & seen_fused) != (TileLoader.wall_reversed29 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (TileLoader.ruin_reversed29 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen30 & TileLoader.seen_reversed30; + if ((TileLoader.wall30 & seen_fused) != (TileLoader.wall_reversed30 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (TileLoader.ruin_reversed30 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen31 & TileLoader.seen_reversed31; + if ((TileLoader.wall31 & seen_fused) != (TileLoader.wall_reversed31 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (TileLoader.ruin_reversed31 & seen_fused)) { + VSYM = 0; + } + + } + case 28 -> { + seen_fused = TileLoader.seen24 & TileLoader.seen_reversed24; + if ((TileLoader.wall24 & seen_fused) != (TileLoader.wall_reversed24 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (TileLoader.ruin_reversed24 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen25 & TileLoader.seen_reversed25; + if ((TileLoader.wall25 & seen_fused) != (TileLoader.wall_reversed25 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (TileLoader.ruin_reversed25 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen26 & TileLoader.seen_reversed26; + if ((TileLoader.wall26 & seen_fused) != (TileLoader.wall_reversed26 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (TileLoader.ruin_reversed26 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen27 & TileLoader.seen_reversed27; + if ((TileLoader.wall27 & seen_fused) != (TileLoader.wall_reversed27 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (TileLoader.ruin_reversed27 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen28 & TileLoader.seen_reversed28; + if ((TileLoader.wall28 & seen_fused) != (TileLoader.wall_reversed28 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (TileLoader.ruin_reversed28 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen29 & TileLoader.seen_reversed29; + if ((TileLoader.wall29 & seen_fused) != (TileLoader.wall_reversed29 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (TileLoader.ruin_reversed29 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen30 & TileLoader.seen_reversed30; + if ((TileLoader.wall30 & seen_fused) != (TileLoader.wall_reversed30 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (TileLoader.ruin_reversed30 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen31 & TileLoader.seen_reversed31; + if ((TileLoader.wall31 & seen_fused) != (TileLoader.wall_reversed31 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (TileLoader.ruin_reversed31 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen32 & TileLoader.seen_reversed32; + if ((TileLoader.wall32 & seen_fused) != (TileLoader.wall_reversed32 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (TileLoader.ruin_reversed32 & seen_fused)) { + VSYM = 0; + } + + } + case 29 -> { + seen_fused = TileLoader.seen25 & TileLoader.seen_reversed25; + if ((TileLoader.wall25 & seen_fused) != (TileLoader.wall_reversed25 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (TileLoader.ruin_reversed25 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen26 & TileLoader.seen_reversed26; + if ((TileLoader.wall26 & seen_fused) != (TileLoader.wall_reversed26 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (TileLoader.ruin_reversed26 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen27 & TileLoader.seen_reversed27; + if ((TileLoader.wall27 & seen_fused) != (TileLoader.wall_reversed27 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (TileLoader.ruin_reversed27 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen28 & TileLoader.seen_reversed28; + if ((TileLoader.wall28 & seen_fused) != (TileLoader.wall_reversed28 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (TileLoader.ruin_reversed28 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen29 & TileLoader.seen_reversed29; + if ((TileLoader.wall29 & seen_fused) != (TileLoader.wall_reversed29 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (TileLoader.ruin_reversed29 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen30 & TileLoader.seen_reversed30; + if ((TileLoader.wall30 & seen_fused) != (TileLoader.wall_reversed30 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (TileLoader.ruin_reversed30 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen31 & TileLoader.seen_reversed31; + if ((TileLoader.wall31 & seen_fused) != (TileLoader.wall_reversed31 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (TileLoader.ruin_reversed31 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen32 & TileLoader.seen_reversed32; + if ((TileLoader.wall32 & seen_fused) != (TileLoader.wall_reversed32 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (TileLoader.ruin_reversed32 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen33 & TileLoader.seen_reversed33; + if ((TileLoader.wall33 & seen_fused) != (TileLoader.wall_reversed33 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (TileLoader.ruin_reversed33 & seen_fused)) { + VSYM = 0; + } + + } + case 30 -> { + seen_fused = TileLoader.seen26 & TileLoader.seen_reversed26; + if ((TileLoader.wall26 & seen_fused) != (TileLoader.wall_reversed26 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (TileLoader.ruin_reversed26 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen27 & TileLoader.seen_reversed27; + if ((TileLoader.wall27 & seen_fused) != (TileLoader.wall_reversed27 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (TileLoader.ruin_reversed27 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen28 & TileLoader.seen_reversed28; + if ((TileLoader.wall28 & seen_fused) != (TileLoader.wall_reversed28 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (TileLoader.ruin_reversed28 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen29 & TileLoader.seen_reversed29; + if ((TileLoader.wall29 & seen_fused) != (TileLoader.wall_reversed29 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (TileLoader.ruin_reversed29 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen30 & TileLoader.seen_reversed30; + if ((TileLoader.wall30 & seen_fused) != (TileLoader.wall_reversed30 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (TileLoader.ruin_reversed30 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen31 & TileLoader.seen_reversed31; + if ((TileLoader.wall31 & seen_fused) != (TileLoader.wall_reversed31 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (TileLoader.ruin_reversed31 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen32 & TileLoader.seen_reversed32; + if ((TileLoader.wall32 & seen_fused) != (TileLoader.wall_reversed32 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (TileLoader.ruin_reversed32 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen33 & TileLoader.seen_reversed33; + if ((TileLoader.wall33 & seen_fused) != (TileLoader.wall_reversed33 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (TileLoader.ruin_reversed33 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen34 & TileLoader.seen_reversed34; + if ((TileLoader.wall34 & seen_fused) != (TileLoader.wall_reversed34 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (TileLoader.ruin_reversed34 & seen_fused)) { + VSYM = 0; + } + + } + case 31 -> { + seen_fused = TileLoader.seen27 & TileLoader.seen_reversed27; + if ((TileLoader.wall27 & seen_fused) != (TileLoader.wall_reversed27 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (TileLoader.ruin_reversed27 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen28 & TileLoader.seen_reversed28; + if ((TileLoader.wall28 & seen_fused) != (TileLoader.wall_reversed28 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (TileLoader.ruin_reversed28 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen29 & TileLoader.seen_reversed29; + if ((TileLoader.wall29 & seen_fused) != (TileLoader.wall_reversed29 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (TileLoader.ruin_reversed29 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen30 & TileLoader.seen_reversed30; + if ((TileLoader.wall30 & seen_fused) != (TileLoader.wall_reversed30 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (TileLoader.ruin_reversed30 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen31 & TileLoader.seen_reversed31; + if ((TileLoader.wall31 & seen_fused) != (TileLoader.wall_reversed31 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (TileLoader.ruin_reversed31 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen32 & TileLoader.seen_reversed32; + if ((TileLoader.wall32 & seen_fused) != (TileLoader.wall_reversed32 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (TileLoader.ruin_reversed32 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen33 & TileLoader.seen_reversed33; + if ((TileLoader.wall33 & seen_fused) != (TileLoader.wall_reversed33 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (TileLoader.ruin_reversed33 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen34 & TileLoader.seen_reversed34; + if ((TileLoader.wall34 & seen_fused) != (TileLoader.wall_reversed34 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (TileLoader.ruin_reversed34 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen35 & TileLoader.seen_reversed35; + if ((TileLoader.wall35 & seen_fused) != (TileLoader.wall_reversed35 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (TileLoader.ruin_reversed35 & seen_fused)) { + VSYM = 0; + } + + } + case 32 -> { + seen_fused = TileLoader.seen28 & TileLoader.seen_reversed28; + if ((TileLoader.wall28 & seen_fused) != (TileLoader.wall_reversed28 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (TileLoader.ruin_reversed28 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen29 & TileLoader.seen_reversed29; + if ((TileLoader.wall29 & seen_fused) != (TileLoader.wall_reversed29 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (TileLoader.ruin_reversed29 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen30 & TileLoader.seen_reversed30; + if ((TileLoader.wall30 & seen_fused) != (TileLoader.wall_reversed30 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (TileLoader.ruin_reversed30 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen31 & TileLoader.seen_reversed31; + if ((TileLoader.wall31 & seen_fused) != (TileLoader.wall_reversed31 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (TileLoader.ruin_reversed31 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen32 & TileLoader.seen_reversed32; + if ((TileLoader.wall32 & seen_fused) != (TileLoader.wall_reversed32 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (TileLoader.ruin_reversed32 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen33 & TileLoader.seen_reversed33; + if ((TileLoader.wall33 & seen_fused) != (TileLoader.wall_reversed33 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (TileLoader.ruin_reversed33 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen34 & TileLoader.seen_reversed34; + if ((TileLoader.wall34 & seen_fused) != (TileLoader.wall_reversed34 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (TileLoader.ruin_reversed34 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen35 & TileLoader.seen_reversed35; + if ((TileLoader.wall35 & seen_fused) != (TileLoader.wall_reversed35 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (TileLoader.ruin_reversed35 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen36 & TileLoader.seen_reversed36; + if ((TileLoader.wall36 & seen_fused) != (TileLoader.wall_reversed36 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (TileLoader.ruin_reversed36 & seen_fused)) { + VSYM = 0; + } + + } + case 33 -> { + seen_fused = TileLoader.seen29 & TileLoader.seen_reversed29; + if ((TileLoader.wall29 & seen_fused) != (TileLoader.wall_reversed29 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (TileLoader.ruin_reversed29 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen30 & TileLoader.seen_reversed30; + if ((TileLoader.wall30 & seen_fused) != (TileLoader.wall_reversed30 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (TileLoader.ruin_reversed30 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen31 & TileLoader.seen_reversed31; + if ((TileLoader.wall31 & seen_fused) != (TileLoader.wall_reversed31 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (TileLoader.ruin_reversed31 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen32 & TileLoader.seen_reversed32; + if ((TileLoader.wall32 & seen_fused) != (TileLoader.wall_reversed32 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (TileLoader.ruin_reversed32 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen33 & TileLoader.seen_reversed33; + if ((TileLoader.wall33 & seen_fused) != (TileLoader.wall_reversed33 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (TileLoader.ruin_reversed33 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen34 & TileLoader.seen_reversed34; + if ((TileLoader.wall34 & seen_fused) != (TileLoader.wall_reversed34 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (TileLoader.ruin_reversed34 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen35 & TileLoader.seen_reversed35; + if ((TileLoader.wall35 & seen_fused) != (TileLoader.wall_reversed35 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (TileLoader.ruin_reversed35 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen36 & TileLoader.seen_reversed36; + if ((TileLoader.wall36 & seen_fused) != (TileLoader.wall_reversed36 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (TileLoader.ruin_reversed36 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen37 & TileLoader.seen_reversed37; + if ((TileLoader.wall37 & seen_fused) != (TileLoader.wall_reversed37 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (TileLoader.ruin_reversed37 & seen_fused)) { + VSYM = 0; + } + + } + case 34 -> { + seen_fused = TileLoader.seen30 & TileLoader.seen_reversed30; + if ((TileLoader.wall30 & seen_fused) != (TileLoader.wall_reversed30 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (TileLoader.ruin_reversed30 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen31 & TileLoader.seen_reversed31; + if ((TileLoader.wall31 & seen_fused) != (TileLoader.wall_reversed31 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (TileLoader.ruin_reversed31 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen32 & TileLoader.seen_reversed32; + if ((TileLoader.wall32 & seen_fused) != (TileLoader.wall_reversed32 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (TileLoader.ruin_reversed32 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen33 & TileLoader.seen_reversed33; + if ((TileLoader.wall33 & seen_fused) != (TileLoader.wall_reversed33 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (TileLoader.ruin_reversed33 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen34 & TileLoader.seen_reversed34; + if ((TileLoader.wall34 & seen_fused) != (TileLoader.wall_reversed34 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (TileLoader.ruin_reversed34 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen35 & TileLoader.seen_reversed35; + if ((TileLoader.wall35 & seen_fused) != (TileLoader.wall_reversed35 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (TileLoader.ruin_reversed35 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen36 & TileLoader.seen_reversed36; + if ((TileLoader.wall36 & seen_fused) != (TileLoader.wall_reversed36 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (TileLoader.ruin_reversed36 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen37 & TileLoader.seen_reversed37; + if ((TileLoader.wall37 & seen_fused) != (TileLoader.wall_reversed37 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (TileLoader.ruin_reversed37 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen38 & TileLoader.seen_reversed38; + if ((TileLoader.wall38 & seen_fused) != (TileLoader.wall_reversed38 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (TileLoader.ruin_reversed38 & seen_fused)) { + VSYM = 0; + } + + } + case 35 -> { + seen_fused = TileLoader.seen31 & TileLoader.seen_reversed31; + if ((TileLoader.wall31 & seen_fused) != (TileLoader.wall_reversed31 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (TileLoader.ruin_reversed31 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen32 & TileLoader.seen_reversed32; + if ((TileLoader.wall32 & seen_fused) != (TileLoader.wall_reversed32 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (TileLoader.ruin_reversed32 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen33 & TileLoader.seen_reversed33; + if ((TileLoader.wall33 & seen_fused) != (TileLoader.wall_reversed33 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (TileLoader.ruin_reversed33 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen34 & TileLoader.seen_reversed34; + if ((TileLoader.wall34 & seen_fused) != (TileLoader.wall_reversed34 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (TileLoader.ruin_reversed34 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen35 & TileLoader.seen_reversed35; + if ((TileLoader.wall35 & seen_fused) != (TileLoader.wall_reversed35 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (TileLoader.ruin_reversed35 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen36 & TileLoader.seen_reversed36; + if ((TileLoader.wall36 & seen_fused) != (TileLoader.wall_reversed36 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (TileLoader.ruin_reversed36 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen37 & TileLoader.seen_reversed37; + if ((TileLoader.wall37 & seen_fused) != (TileLoader.wall_reversed37 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (TileLoader.ruin_reversed37 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen38 & TileLoader.seen_reversed38; + if ((TileLoader.wall38 & seen_fused) != (TileLoader.wall_reversed38 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (TileLoader.ruin_reversed38 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen39 & TileLoader.seen_reversed39; + if ((TileLoader.wall39 & seen_fused) != (TileLoader.wall_reversed39 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (TileLoader.ruin_reversed39 & seen_fused)) { + VSYM = 0; + } + + } + case 36 -> { + seen_fused = TileLoader.seen32 & TileLoader.seen_reversed32; + if ((TileLoader.wall32 & seen_fused) != (TileLoader.wall_reversed32 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (TileLoader.ruin_reversed32 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen33 & TileLoader.seen_reversed33; + if ((TileLoader.wall33 & seen_fused) != (TileLoader.wall_reversed33 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (TileLoader.ruin_reversed33 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen34 & TileLoader.seen_reversed34; + if ((TileLoader.wall34 & seen_fused) != (TileLoader.wall_reversed34 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (TileLoader.ruin_reversed34 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen35 & TileLoader.seen_reversed35; + if ((TileLoader.wall35 & seen_fused) != (TileLoader.wall_reversed35 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (TileLoader.ruin_reversed35 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen36 & TileLoader.seen_reversed36; + if ((TileLoader.wall36 & seen_fused) != (TileLoader.wall_reversed36 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (TileLoader.ruin_reversed36 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen37 & TileLoader.seen_reversed37; + if ((TileLoader.wall37 & seen_fused) != (TileLoader.wall_reversed37 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (TileLoader.ruin_reversed37 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen38 & TileLoader.seen_reversed38; + if ((TileLoader.wall38 & seen_fused) != (TileLoader.wall_reversed38 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (TileLoader.ruin_reversed38 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen39 & TileLoader.seen_reversed39; + if ((TileLoader.wall39 & seen_fused) != (TileLoader.wall_reversed39 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (TileLoader.ruin_reversed39 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen40 & TileLoader.seen_reversed40; + if ((TileLoader.wall40 & seen_fused) != (TileLoader.wall_reversed40 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (TileLoader.ruin_reversed40 & seen_fused)) { + VSYM = 0; + } + + } + case 37 -> { + seen_fused = TileLoader.seen33 & TileLoader.seen_reversed33; + if ((TileLoader.wall33 & seen_fused) != (TileLoader.wall_reversed33 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (TileLoader.ruin_reversed33 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen34 & TileLoader.seen_reversed34; + if ((TileLoader.wall34 & seen_fused) != (TileLoader.wall_reversed34 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (TileLoader.ruin_reversed34 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen35 & TileLoader.seen_reversed35; + if ((TileLoader.wall35 & seen_fused) != (TileLoader.wall_reversed35 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (TileLoader.ruin_reversed35 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen36 & TileLoader.seen_reversed36; + if ((TileLoader.wall36 & seen_fused) != (TileLoader.wall_reversed36 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (TileLoader.ruin_reversed36 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen37 & TileLoader.seen_reversed37; + if ((TileLoader.wall37 & seen_fused) != (TileLoader.wall_reversed37 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (TileLoader.ruin_reversed37 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen38 & TileLoader.seen_reversed38; + if ((TileLoader.wall38 & seen_fused) != (TileLoader.wall_reversed38 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (TileLoader.ruin_reversed38 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen39 & TileLoader.seen_reversed39; + if ((TileLoader.wall39 & seen_fused) != (TileLoader.wall_reversed39 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (TileLoader.ruin_reversed39 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen40 & TileLoader.seen_reversed40; + if ((TileLoader.wall40 & seen_fused) != (TileLoader.wall_reversed40 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (TileLoader.ruin_reversed40 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen41 & TileLoader.seen_reversed41; + if ((TileLoader.wall41 & seen_fused) != (TileLoader.wall_reversed41 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (TileLoader.ruin_reversed41 & seen_fused)) { + VSYM = 0; + } + + } + case 38 -> { + seen_fused = TileLoader.seen34 & TileLoader.seen_reversed34; + if ((TileLoader.wall34 & seen_fused) != (TileLoader.wall_reversed34 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (TileLoader.ruin_reversed34 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen35 & TileLoader.seen_reversed35; + if ((TileLoader.wall35 & seen_fused) != (TileLoader.wall_reversed35 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (TileLoader.ruin_reversed35 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen36 & TileLoader.seen_reversed36; + if ((TileLoader.wall36 & seen_fused) != (TileLoader.wall_reversed36 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (TileLoader.ruin_reversed36 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen37 & TileLoader.seen_reversed37; + if ((TileLoader.wall37 & seen_fused) != (TileLoader.wall_reversed37 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (TileLoader.ruin_reversed37 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen38 & TileLoader.seen_reversed38; + if ((TileLoader.wall38 & seen_fused) != (TileLoader.wall_reversed38 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (TileLoader.ruin_reversed38 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen39 & TileLoader.seen_reversed39; + if ((TileLoader.wall39 & seen_fused) != (TileLoader.wall_reversed39 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (TileLoader.ruin_reversed39 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen40 & TileLoader.seen_reversed40; + if ((TileLoader.wall40 & seen_fused) != (TileLoader.wall_reversed40 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (TileLoader.ruin_reversed40 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen41 & TileLoader.seen_reversed41; + if ((TileLoader.wall41 & seen_fused) != (TileLoader.wall_reversed41 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (TileLoader.ruin_reversed41 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen42 & TileLoader.seen_reversed42; + if ((TileLoader.wall42 & seen_fused) != (TileLoader.wall_reversed42 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (TileLoader.ruin_reversed42 & seen_fused)) { + VSYM = 0; + } + + } + case 39 -> { + seen_fused = TileLoader.seen35 & TileLoader.seen_reversed35; + if ((TileLoader.wall35 & seen_fused) != (TileLoader.wall_reversed35 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (TileLoader.ruin_reversed35 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen36 & TileLoader.seen_reversed36; + if ((TileLoader.wall36 & seen_fused) != (TileLoader.wall_reversed36 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (TileLoader.ruin_reversed36 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen37 & TileLoader.seen_reversed37; + if ((TileLoader.wall37 & seen_fused) != (TileLoader.wall_reversed37 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (TileLoader.ruin_reversed37 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen38 & TileLoader.seen_reversed38; + if ((TileLoader.wall38 & seen_fused) != (TileLoader.wall_reversed38 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (TileLoader.ruin_reversed38 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen39 & TileLoader.seen_reversed39; + if ((TileLoader.wall39 & seen_fused) != (TileLoader.wall_reversed39 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (TileLoader.ruin_reversed39 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen40 & TileLoader.seen_reversed40; + if ((TileLoader.wall40 & seen_fused) != (TileLoader.wall_reversed40 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (TileLoader.ruin_reversed40 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen41 & TileLoader.seen_reversed41; + if ((TileLoader.wall41 & seen_fused) != (TileLoader.wall_reversed41 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (TileLoader.ruin_reversed41 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen42 & TileLoader.seen_reversed42; + if ((TileLoader.wall42 & seen_fused) != (TileLoader.wall_reversed42 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (TileLoader.ruin_reversed42 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen43 & TileLoader.seen_reversed43; + if ((TileLoader.wall43 & seen_fused) != (TileLoader.wall_reversed43 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (TileLoader.ruin_reversed43 & seen_fused)) { + VSYM = 0; + } + + } + case 40 -> { + seen_fused = TileLoader.seen36 & TileLoader.seen_reversed36; + if ((TileLoader.wall36 & seen_fused) != (TileLoader.wall_reversed36 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (TileLoader.ruin_reversed36 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen37 & TileLoader.seen_reversed37; + if ((TileLoader.wall37 & seen_fused) != (TileLoader.wall_reversed37 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (TileLoader.ruin_reversed37 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen38 & TileLoader.seen_reversed38; + if ((TileLoader.wall38 & seen_fused) != (TileLoader.wall_reversed38 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (TileLoader.ruin_reversed38 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen39 & TileLoader.seen_reversed39; + if ((TileLoader.wall39 & seen_fused) != (TileLoader.wall_reversed39 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (TileLoader.ruin_reversed39 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen40 & TileLoader.seen_reversed40; + if ((TileLoader.wall40 & seen_fused) != (TileLoader.wall_reversed40 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (TileLoader.ruin_reversed40 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen41 & TileLoader.seen_reversed41; + if ((TileLoader.wall41 & seen_fused) != (TileLoader.wall_reversed41 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (TileLoader.ruin_reversed41 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen42 & TileLoader.seen_reversed42; + if ((TileLoader.wall42 & seen_fused) != (TileLoader.wall_reversed42 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (TileLoader.ruin_reversed42 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen43 & TileLoader.seen_reversed43; + if ((TileLoader.wall43 & seen_fused) != (TileLoader.wall_reversed43 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (TileLoader.ruin_reversed43 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen44 & TileLoader.seen_reversed44; + if ((TileLoader.wall44 & seen_fused) != (TileLoader.wall_reversed44 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (TileLoader.ruin_reversed44 & seen_fused)) { + VSYM = 0; + } + + } + case 41 -> { + seen_fused = TileLoader.seen37 & TileLoader.seen_reversed37; + if ((TileLoader.wall37 & seen_fused) != (TileLoader.wall_reversed37 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (TileLoader.ruin_reversed37 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen38 & TileLoader.seen_reversed38; + if ((TileLoader.wall38 & seen_fused) != (TileLoader.wall_reversed38 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (TileLoader.ruin_reversed38 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen39 & TileLoader.seen_reversed39; + if ((TileLoader.wall39 & seen_fused) != (TileLoader.wall_reversed39 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (TileLoader.ruin_reversed39 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen40 & TileLoader.seen_reversed40; + if ((TileLoader.wall40 & seen_fused) != (TileLoader.wall_reversed40 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (TileLoader.ruin_reversed40 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen41 & TileLoader.seen_reversed41; + if ((TileLoader.wall41 & seen_fused) != (TileLoader.wall_reversed41 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (TileLoader.ruin_reversed41 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen42 & TileLoader.seen_reversed42; + if ((TileLoader.wall42 & seen_fused) != (TileLoader.wall_reversed42 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (TileLoader.ruin_reversed42 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen43 & TileLoader.seen_reversed43; + if ((TileLoader.wall43 & seen_fused) != (TileLoader.wall_reversed43 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (TileLoader.ruin_reversed43 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen44 & TileLoader.seen_reversed44; + if ((TileLoader.wall44 & seen_fused) != (TileLoader.wall_reversed44 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (TileLoader.ruin_reversed44 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen45 & TileLoader.seen_reversed45; + if ((TileLoader.wall45 & seen_fused) != (TileLoader.wall_reversed45 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (TileLoader.ruin_reversed45 & seen_fused)) { + VSYM = 0; + } + + } + case 42 -> { + seen_fused = TileLoader.seen38 & TileLoader.seen_reversed38; + if ((TileLoader.wall38 & seen_fused) != (TileLoader.wall_reversed38 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (TileLoader.ruin_reversed38 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen39 & TileLoader.seen_reversed39; + if ((TileLoader.wall39 & seen_fused) != (TileLoader.wall_reversed39 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (TileLoader.ruin_reversed39 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen40 & TileLoader.seen_reversed40; + if ((TileLoader.wall40 & seen_fused) != (TileLoader.wall_reversed40 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (TileLoader.ruin_reversed40 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen41 & TileLoader.seen_reversed41; + if ((TileLoader.wall41 & seen_fused) != (TileLoader.wall_reversed41 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (TileLoader.ruin_reversed41 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen42 & TileLoader.seen_reversed42; + if ((TileLoader.wall42 & seen_fused) != (TileLoader.wall_reversed42 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (TileLoader.ruin_reversed42 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen43 & TileLoader.seen_reversed43; + if ((TileLoader.wall43 & seen_fused) != (TileLoader.wall_reversed43 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (TileLoader.ruin_reversed43 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen44 & TileLoader.seen_reversed44; + if ((TileLoader.wall44 & seen_fused) != (TileLoader.wall_reversed44 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (TileLoader.ruin_reversed44 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen45 & TileLoader.seen_reversed45; + if ((TileLoader.wall45 & seen_fused) != (TileLoader.wall_reversed45 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (TileLoader.ruin_reversed45 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen46 & TileLoader.seen_reversed46; + if ((TileLoader.wall46 & seen_fused) != (TileLoader.wall_reversed46 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (TileLoader.ruin_reversed46 & seen_fused)) { + VSYM = 0; + } + + } + case 43 -> { + seen_fused = TileLoader.seen39 & TileLoader.seen_reversed39; + if ((TileLoader.wall39 & seen_fused) != (TileLoader.wall_reversed39 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (TileLoader.ruin_reversed39 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen40 & TileLoader.seen_reversed40; + if ((TileLoader.wall40 & seen_fused) != (TileLoader.wall_reversed40 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (TileLoader.ruin_reversed40 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen41 & TileLoader.seen_reversed41; + if ((TileLoader.wall41 & seen_fused) != (TileLoader.wall_reversed41 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (TileLoader.ruin_reversed41 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen42 & TileLoader.seen_reversed42; + if ((TileLoader.wall42 & seen_fused) != (TileLoader.wall_reversed42 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (TileLoader.ruin_reversed42 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen43 & TileLoader.seen_reversed43; + if ((TileLoader.wall43 & seen_fused) != (TileLoader.wall_reversed43 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (TileLoader.ruin_reversed43 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen44 & TileLoader.seen_reversed44; + if ((TileLoader.wall44 & seen_fused) != (TileLoader.wall_reversed44 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (TileLoader.ruin_reversed44 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen45 & TileLoader.seen_reversed45; + if ((TileLoader.wall45 & seen_fused) != (TileLoader.wall_reversed45 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (TileLoader.ruin_reversed45 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen46 & TileLoader.seen_reversed46; + if ((TileLoader.wall46 & seen_fused) != (TileLoader.wall_reversed46 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (TileLoader.ruin_reversed46 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen47 & TileLoader.seen_reversed47; + if ((TileLoader.wall47 & seen_fused) != (TileLoader.wall_reversed47 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (TileLoader.ruin_reversed47 & seen_fused)) { + VSYM = 0; + } + + } + case 44 -> { + seen_fused = TileLoader.seen40 & TileLoader.seen_reversed40; + if ((TileLoader.wall40 & seen_fused) != (TileLoader.wall_reversed40 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (TileLoader.ruin_reversed40 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen41 & TileLoader.seen_reversed41; + if ((TileLoader.wall41 & seen_fused) != (TileLoader.wall_reversed41 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (TileLoader.ruin_reversed41 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen42 & TileLoader.seen_reversed42; + if ((TileLoader.wall42 & seen_fused) != (TileLoader.wall_reversed42 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (TileLoader.ruin_reversed42 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen43 & TileLoader.seen_reversed43; + if ((TileLoader.wall43 & seen_fused) != (TileLoader.wall_reversed43 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (TileLoader.ruin_reversed43 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen44 & TileLoader.seen_reversed44; + if ((TileLoader.wall44 & seen_fused) != (TileLoader.wall_reversed44 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (TileLoader.ruin_reversed44 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen45 & TileLoader.seen_reversed45; + if ((TileLoader.wall45 & seen_fused) != (TileLoader.wall_reversed45 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (TileLoader.ruin_reversed45 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen46 & TileLoader.seen_reversed46; + if ((TileLoader.wall46 & seen_fused) != (TileLoader.wall_reversed46 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (TileLoader.ruin_reversed46 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen47 & TileLoader.seen_reversed47; + if ((TileLoader.wall47 & seen_fused) != (TileLoader.wall_reversed47 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (TileLoader.ruin_reversed47 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen48 & TileLoader.seen_reversed48; + if ((TileLoader.wall48 & seen_fused) != (TileLoader.wall_reversed48 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (TileLoader.ruin_reversed48 & seen_fused)) { + VSYM = 0; + } + + } + case 45 -> { + seen_fused = TileLoader.seen41 & TileLoader.seen_reversed41; + if ((TileLoader.wall41 & seen_fused) != (TileLoader.wall_reversed41 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (TileLoader.ruin_reversed41 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen42 & TileLoader.seen_reversed42; + if ((TileLoader.wall42 & seen_fused) != (TileLoader.wall_reversed42 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (TileLoader.ruin_reversed42 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen43 & TileLoader.seen_reversed43; + if ((TileLoader.wall43 & seen_fused) != (TileLoader.wall_reversed43 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (TileLoader.ruin_reversed43 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen44 & TileLoader.seen_reversed44; + if ((TileLoader.wall44 & seen_fused) != (TileLoader.wall_reversed44 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (TileLoader.ruin_reversed44 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen45 & TileLoader.seen_reversed45; + if ((TileLoader.wall45 & seen_fused) != (TileLoader.wall_reversed45 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (TileLoader.ruin_reversed45 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen46 & TileLoader.seen_reversed46; + if ((TileLoader.wall46 & seen_fused) != (TileLoader.wall_reversed46 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (TileLoader.ruin_reversed46 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen47 & TileLoader.seen_reversed47; + if ((TileLoader.wall47 & seen_fused) != (TileLoader.wall_reversed47 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (TileLoader.ruin_reversed47 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen48 & TileLoader.seen_reversed48; + if ((TileLoader.wall48 & seen_fused) != (TileLoader.wall_reversed48 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (TileLoader.ruin_reversed48 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen49 & TileLoader.seen_reversed49; + if ((TileLoader.wall49 & seen_fused) != (TileLoader.wall_reversed49 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (TileLoader.ruin_reversed49 & seen_fused)) { + VSYM = 0; + } + + } + case 46 -> { + seen_fused = TileLoader.seen42 & TileLoader.seen_reversed42; + if ((TileLoader.wall42 & seen_fused) != (TileLoader.wall_reversed42 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (TileLoader.ruin_reversed42 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen43 & TileLoader.seen_reversed43; + if ((TileLoader.wall43 & seen_fused) != (TileLoader.wall_reversed43 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (TileLoader.ruin_reversed43 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen44 & TileLoader.seen_reversed44; + if ((TileLoader.wall44 & seen_fused) != (TileLoader.wall_reversed44 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (TileLoader.ruin_reversed44 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen45 & TileLoader.seen_reversed45; + if ((TileLoader.wall45 & seen_fused) != (TileLoader.wall_reversed45 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (TileLoader.ruin_reversed45 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen46 & TileLoader.seen_reversed46; + if ((TileLoader.wall46 & seen_fused) != (TileLoader.wall_reversed46 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (TileLoader.ruin_reversed46 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen47 & TileLoader.seen_reversed47; + if ((TileLoader.wall47 & seen_fused) != (TileLoader.wall_reversed47 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (TileLoader.ruin_reversed47 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen48 & TileLoader.seen_reversed48; + if ((TileLoader.wall48 & seen_fused) != (TileLoader.wall_reversed48 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (TileLoader.ruin_reversed48 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen49 & TileLoader.seen_reversed49; + if ((TileLoader.wall49 & seen_fused) != (TileLoader.wall_reversed49 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (TileLoader.ruin_reversed49 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen50 & TileLoader.seen_reversed50; + if ((TileLoader.wall50 & seen_fused) != (TileLoader.wall_reversed50 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (TileLoader.ruin_reversed50 & seen_fused)) { + VSYM = 0; + } + + } + case 47 -> { + seen_fused = TileLoader.seen43 & TileLoader.seen_reversed43; + if ((TileLoader.wall43 & seen_fused) != (TileLoader.wall_reversed43 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (TileLoader.ruin_reversed43 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen44 & TileLoader.seen_reversed44; + if ((TileLoader.wall44 & seen_fused) != (TileLoader.wall_reversed44 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (TileLoader.ruin_reversed44 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen45 & TileLoader.seen_reversed45; + if ((TileLoader.wall45 & seen_fused) != (TileLoader.wall_reversed45 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (TileLoader.ruin_reversed45 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen46 & TileLoader.seen_reversed46; + if ((TileLoader.wall46 & seen_fused) != (TileLoader.wall_reversed46 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (TileLoader.ruin_reversed46 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen47 & TileLoader.seen_reversed47; + if ((TileLoader.wall47 & seen_fused) != (TileLoader.wall_reversed47 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (TileLoader.ruin_reversed47 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen48 & TileLoader.seen_reversed48; + if ((TileLoader.wall48 & seen_fused) != (TileLoader.wall_reversed48 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (TileLoader.ruin_reversed48 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen49 & TileLoader.seen_reversed49; + if ((TileLoader.wall49 & seen_fused) != (TileLoader.wall_reversed49 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (TileLoader.ruin_reversed49 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen50 & TileLoader.seen_reversed50; + if ((TileLoader.wall50 & seen_fused) != (TileLoader.wall_reversed50 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (TileLoader.ruin_reversed50 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen51 & TileLoader.seen_reversed51; + if ((TileLoader.wall51 & seen_fused) != (TileLoader.wall_reversed51 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (TileLoader.ruin_reversed51 & seen_fused)) { + VSYM = 0; + } + + } + case 48 -> { + seen_fused = TileLoader.seen44 & TileLoader.seen_reversed44; + if ((TileLoader.wall44 & seen_fused) != (TileLoader.wall_reversed44 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (TileLoader.ruin_reversed44 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen45 & TileLoader.seen_reversed45; + if ((TileLoader.wall45 & seen_fused) != (TileLoader.wall_reversed45 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (TileLoader.ruin_reversed45 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen46 & TileLoader.seen_reversed46; + if ((TileLoader.wall46 & seen_fused) != (TileLoader.wall_reversed46 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (TileLoader.ruin_reversed46 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen47 & TileLoader.seen_reversed47; + if ((TileLoader.wall47 & seen_fused) != (TileLoader.wall_reversed47 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (TileLoader.ruin_reversed47 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen48 & TileLoader.seen_reversed48; + if ((TileLoader.wall48 & seen_fused) != (TileLoader.wall_reversed48 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (TileLoader.ruin_reversed48 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen49 & TileLoader.seen_reversed49; + if ((TileLoader.wall49 & seen_fused) != (TileLoader.wall_reversed49 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (TileLoader.ruin_reversed49 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen50 & TileLoader.seen_reversed50; + if ((TileLoader.wall50 & seen_fused) != (TileLoader.wall_reversed50 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (TileLoader.ruin_reversed50 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen51 & TileLoader.seen_reversed51; + if ((TileLoader.wall51 & seen_fused) != (TileLoader.wall_reversed51 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (TileLoader.ruin_reversed51 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen52 & TileLoader.seen_reversed52; + if ((TileLoader.wall52 & seen_fused) != (TileLoader.wall_reversed52 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (TileLoader.ruin_reversed52 & seen_fused)) { + VSYM = 0; + } + + } + case 49 -> { + seen_fused = TileLoader.seen45 & TileLoader.seen_reversed45; + if ((TileLoader.wall45 & seen_fused) != (TileLoader.wall_reversed45 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (TileLoader.ruin_reversed45 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen46 & TileLoader.seen_reversed46; + if ((TileLoader.wall46 & seen_fused) != (TileLoader.wall_reversed46 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (TileLoader.ruin_reversed46 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen47 & TileLoader.seen_reversed47; + if ((TileLoader.wall47 & seen_fused) != (TileLoader.wall_reversed47 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (TileLoader.ruin_reversed47 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen48 & TileLoader.seen_reversed48; + if ((TileLoader.wall48 & seen_fused) != (TileLoader.wall_reversed48 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (TileLoader.ruin_reversed48 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen49 & TileLoader.seen_reversed49; + if ((TileLoader.wall49 & seen_fused) != (TileLoader.wall_reversed49 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (TileLoader.ruin_reversed49 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen50 & TileLoader.seen_reversed50; + if ((TileLoader.wall50 & seen_fused) != (TileLoader.wall_reversed50 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (TileLoader.ruin_reversed50 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen51 & TileLoader.seen_reversed51; + if ((TileLoader.wall51 & seen_fused) != (TileLoader.wall_reversed51 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (TileLoader.ruin_reversed51 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen52 & TileLoader.seen_reversed52; + if ((TileLoader.wall52 & seen_fused) != (TileLoader.wall_reversed52 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (TileLoader.ruin_reversed52 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen53 & TileLoader.seen_reversed53; + if ((TileLoader.wall53 & seen_fused) != (TileLoader.wall_reversed53 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (TileLoader.ruin_reversed53 & seen_fused)) { + VSYM = 0; + } + + } + case 50 -> { + seen_fused = TileLoader.seen46 & TileLoader.seen_reversed46; + if ((TileLoader.wall46 & seen_fused) != (TileLoader.wall_reversed46 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (TileLoader.ruin_reversed46 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen47 & TileLoader.seen_reversed47; + if ((TileLoader.wall47 & seen_fused) != (TileLoader.wall_reversed47 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (TileLoader.ruin_reversed47 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen48 & TileLoader.seen_reversed48; + if ((TileLoader.wall48 & seen_fused) != (TileLoader.wall_reversed48 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (TileLoader.ruin_reversed48 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen49 & TileLoader.seen_reversed49; + if ((TileLoader.wall49 & seen_fused) != (TileLoader.wall_reversed49 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (TileLoader.ruin_reversed49 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen50 & TileLoader.seen_reversed50; + if ((TileLoader.wall50 & seen_fused) != (TileLoader.wall_reversed50 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (TileLoader.ruin_reversed50 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen51 & TileLoader.seen_reversed51; + if ((TileLoader.wall51 & seen_fused) != (TileLoader.wall_reversed51 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (TileLoader.ruin_reversed51 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen52 & TileLoader.seen_reversed52; + if ((TileLoader.wall52 & seen_fused) != (TileLoader.wall_reversed52 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (TileLoader.ruin_reversed52 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen53 & TileLoader.seen_reversed53; + if ((TileLoader.wall53 & seen_fused) != (TileLoader.wall_reversed53 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (TileLoader.ruin_reversed53 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen54 & TileLoader.seen_reversed54; + if ((TileLoader.wall54 & seen_fused) != (TileLoader.wall_reversed54 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (TileLoader.ruin_reversed54 & seen_fused)) { + VSYM = 0; + } + + } + case 51 -> { + seen_fused = TileLoader.seen47 & TileLoader.seen_reversed47; + if ((TileLoader.wall47 & seen_fused) != (TileLoader.wall_reversed47 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (TileLoader.ruin_reversed47 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen48 & TileLoader.seen_reversed48; + if ((TileLoader.wall48 & seen_fused) != (TileLoader.wall_reversed48 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (TileLoader.ruin_reversed48 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen49 & TileLoader.seen_reversed49; + if ((TileLoader.wall49 & seen_fused) != (TileLoader.wall_reversed49 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (TileLoader.ruin_reversed49 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen50 & TileLoader.seen_reversed50; + if ((TileLoader.wall50 & seen_fused) != (TileLoader.wall_reversed50 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (TileLoader.ruin_reversed50 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen51 & TileLoader.seen_reversed51; + if ((TileLoader.wall51 & seen_fused) != (TileLoader.wall_reversed51 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (TileLoader.ruin_reversed51 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen52 & TileLoader.seen_reversed52; + if ((TileLoader.wall52 & seen_fused) != (TileLoader.wall_reversed52 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (TileLoader.ruin_reversed52 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen53 & TileLoader.seen_reversed53; + if ((TileLoader.wall53 & seen_fused) != (TileLoader.wall_reversed53 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (TileLoader.ruin_reversed53 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen54 & TileLoader.seen_reversed54; + if ((TileLoader.wall54 & seen_fused) != (TileLoader.wall_reversed54 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (TileLoader.ruin_reversed54 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen55 & TileLoader.seen_reversed55; + if ((TileLoader.wall55 & seen_fused) != (TileLoader.wall_reversed55 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (TileLoader.ruin_reversed55 & seen_fused)) { + VSYM = 0; + } + + } + case 52 -> { + seen_fused = TileLoader.seen48 & TileLoader.seen_reversed48; + if ((TileLoader.wall48 & seen_fused) != (TileLoader.wall_reversed48 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (TileLoader.ruin_reversed48 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen49 & TileLoader.seen_reversed49; + if ((TileLoader.wall49 & seen_fused) != (TileLoader.wall_reversed49 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (TileLoader.ruin_reversed49 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen50 & TileLoader.seen_reversed50; + if ((TileLoader.wall50 & seen_fused) != (TileLoader.wall_reversed50 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (TileLoader.ruin_reversed50 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen51 & TileLoader.seen_reversed51; + if ((TileLoader.wall51 & seen_fused) != (TileLoader.wall_reversed51 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (TileLoader.ruin_reversed51 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen52 & TileLoader.seen_reversed52; + if ((TileLoader.wall52 & seen_fused) != (TileLoader.wall_reversed52 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (TileLoader.ruin_reversed52 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen53 & TileLoader.seen_reversed53; + if ((TileLoader.wall53 & seen_fused) != (TileLoader.wall_reversed53 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (TileLoader.ruin_reversed53 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen54 & TileLoader.seen_reversed54; + if ((TileLoader.wall54 & seen_fused) != (TileLoader.wall_reversed54 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (TileLoader.ruin_reversed54 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen55 & TileLoader.seen_reversed55; + if ((TileLoader.wall55 & seen_fused) != (TileLoader.wall_reversed55 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (TileLoader.ruin_reversed55 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen56 & TileLoader.seen_reversed56; + if ((TileLoader.wall56 & seen_fused) != (TileLoader.wall_reversed56 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin56 & seen_fused) != (TileLoader.ruin_reversed56 & seen_fused)) { + VSYM = 0; + } + + } + case 53 -> { + seen_fused = TileLoader.seen49 & TileLoader.seen_reversed49; + if ((TileLoader.wall49 & seen_fused) != (TileLoader.wall_reversed49 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (TileLoader.ruin_reversed49 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen50 & TileLoader.seen_reversed50; + if ((TileLoader.wall50 & seen_fused) != (TileLoader.wall_reversed50 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (TileLoader.ruin_reversed50 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen51 & TileLoader.seen_reversed51; + if ((TileLoader.wall51 & seen_fused) != (TileLoader.wall_reversed51 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (TileLoader.ruin_reversed51 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen52 & TileLoader.seen_reversed52; + if ((TileLoader.wall52 & seen_fused) != (TileLoader.wall_reversed52 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (TileLoader.ruin_reversed52 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen53 & TileLoader.seen_reversed53; + if ((TileLoader.wall53 & seen_fused) != (TileLoader.wall_reversed53 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (TileLoader.ruin_reversed53 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen54 & TileLoader.seen_reversed54; + if ((TileLoader.wall54 & seen_fused) != (TileLoader.wall_reversed54 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (TileLoader.ruin_reversed54 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen55 & TileLoader.seen_reversed55; + if ((TileLoader.wall55 & seen_fused) != (TileLoader.wall_reversed55 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (TileLoader.ruin_reversed55 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen56 & TileLoader.seen_reversed56; + if ((TileLoader.wall56 & seen_fused) != (TileLoader.wall_reversed56 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin56 & seen_fused) != (TileLoader.ruin_reversed56 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen57 & TileLoader.seen_reversed57; + if ((TileLoader.wall57 & seen_fused) != (TileLoader.wall_reversed57 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin57 & seen_fused) != (TileLoader.ruin_reversed57 & seen_fused)) { + VSYM = 0; + } + + } + case 54 -> { + seen_fused = TileLoader.seen50 & TileLoader.seen_reversed50; + if ((TileLoader.wall50 & seen_fused) != (TileLoader.wall_reversed50 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (TileLoader.ruin_reversed50 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen51 & TileLoader.seen_reversed51; + if ((TileLoader.wall51 & seen_fused) != (TileLoader.wall_reversed51 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (TileLoader.ruin_reversed51 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen52 & TileLoader.seen_reversed52; + if ((TileLoader.wall52 & seen_fused) != (TileLoader.wall_reversed52 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (TileLoader.ruin_reversed52 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen53 & TileLoader.seen_reversed53; + if ((TileLoader.wall53 & seen_fused) != (TileLoader.wall_reversed53 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (TileLoader.ruin_reversed53 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen54 & TileLoader.seen_reversed54; + if ((TileLoader.wall54 & seen_fused) != (TileLoader.wall_reversed54 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (TileLoader.ruin_reversed54 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen55 & TileLoader.seen_reversed55; + if ((TileLoader.wall55 & seen_fused) != (TileLoader.wall_reversed55 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (TileLoader.ruin_reversed55 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen56 & TileLoader.seen_reversed56; + if ((TileLoader.wall56 & seen_fused) != (TileLoader.wall_reversed56 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin56 & seen_fused) != (TileLoader.ruin_reversed56 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen57 & TileLoader.seen_reversed57; + if ((TileLoader.wall57 & seen_fused) != (TileLoader.wall_reversed57 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin57 & seen_fused) != (TileLoader.ruin_reversed57 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen58 & TileLoader.seen_reversed58; + if ((TileLoader.wall58 & seen_fused) != (TileLoader.wall_reversed58 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin58 & seen_fused) != (TileLoader.ruin_reversed58 & seen_fused)) { + VSYM = 0; + } + + } + case 55 -> { + seen_fused = TileLoader.seen51 & TileLoader.seen_reversed51; + if ((TileLoader.wall51 & seen_fused) != (TileLoader.wall_reversed51 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (TileLoader.ruin_reversed51 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen52 & TileLoader.seen_reversed52; + if ((TileLoader.wall52 & seen_fused) != (TileLoader.wall_reversed52 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (TileLoader.ruin_reversed52 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen53 & TileLoader.seen_reversed53; + if ((TileLoader.wall53 & seen_fused) != (TileLoader.wall_reversed53 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (TileLoader.ruin_reversed53 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen54 & TileLoader.seen_reversed54; + if ((TileLoader.wall54 & seen_fused) != (TileLoader.wall_reversed54 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (TileLoader.ruin_reversed54 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen55 & TileLoader.seen_reversed55; + if ((TileLoader.wall55 & seen_fused) != (TileLoader.wall_reversed55 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (TileLoader.ruin_reversed55 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen56 & TileLoader.seen_reversed56; + if ((TileLoader.wall56 & seen_fused) != (TileLoader.wall_reversed56 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin56 & seen_fused) != (TileLoader.ruin_reversed56 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen57 & TileLoader.seen_reversed57; + if ((TileLoader.wall57 & seen_fused) != (TileLoader.wall_reversed57 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin57 & seen_fused) != (TileLoader.ruin_reversed57 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen58 & TileLoader.seen_reversed58; + if ((TileLoader.wall58 & seen_fused) != (TileLoader.wall_reversed58 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin58 & seen_fused) != (TileLoader.ruin_reversed58 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen59 & TileLoader.seen_reversed59; + if ((TileLoader.wall59 & seen_fused) != (TileLoader.wall_reversed59 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin59 & seen_fused) != (TileLoader.ruin_reversed59 & seen_fused)) { + VSYM = 0; + } + + } + case 56 -> { + seen_fused = TileLoader.seen52 & TileLoader.seen_reversed52; + if ((TileLoader.wall52 & seen_fused) != (TileLoader.wall_reversed52 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (TileLoader.ruin_reversed52 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen53 & TileLoader.seen_reversed53; + if ((TileLoader.wall53 & seen_fused) != (TileLoader.wall_reversed53 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (TileLoader.ruin_reversed53 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen54 & TileLoader.seen_reversed54; + if ((TileLoader.wall54 & seen_fused) != (TileLoader.wall_reversed54 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (TileLoader.ruin_reversed54 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen55 & TileLoader.seen_reversed55; + if ((TileLoader.wall55 & seen_fused) != (TileLoader.wall_reversed55 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (TileLoader.ruin_reversed55 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen56 & TileLoader.seen_reversed56; + if ((TileLoader.wall56 & seen_fused) != (TileLoader.wall_reversed56 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin56 & seen_fused) != (TileLoader.ruin_reversed56 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen57 & TileLoader.seen_reversed57; + if ((TileLoader.wall57 & seen_fused) != (TileLoader.wall_reversed57 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin57 & seen_fused) != (TileLoader.ruin_reversed57 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen58 & TileLoader.seen_reversed58; + if ((TileLoader.wall58 & seen_fused) != (TileLoader.wall_reversed58 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin58 & seen_fused) != (TileLoader.ruin_reversed58 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen59 & TileLoader.seen_reversed59; + if ((TileLoader.wall59 & seen_fused) != (TileLoader.wall_reversed59 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin59 & seen_fused) != (TileLoader.ruin_reversed59 & seen_fused)) { + VSYM = 0; + } + + } + case 57 -> { + seen_fused = TileLoader.seen53 & TileLoader.seen_reversed53; + if ((TileLoader.wall53 & seen_fused) != (TileLoader.wall_reversed53 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (TileLoader.ruin_reversed53 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen54 & TileLoader.seen_reversed54; + if ((TileLoader.wall54 & seen_fused) != (TileLoader.wall_reversed54 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (TileLoader.ruin_reversed54 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen55 & TileLoader.seen_reversed55; + if ((TileLoader.wall55 & seen_fused) != (TileLoader.wall_reversed55 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (TileLoader.ruin_reversed55 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen56 & TileLoader.seen_reversed56; + if ((TileLoader.wall56 & seen_fused) != (TileLoader.wall_reversed56 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin56 & seen_fused) != (TileLoader.ruin_reversed56 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen57 & TileLoader.seen_reversed57; + if ((TileLoader.wall57 & seen_fused) != (TileLoader.wall_reversed57 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin57 & seen_fused) != (TileLoader.ruin_reversed57 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen58 & TileLoader.seen_reversed58; + if ((TileLoader.wall58 & seen_fused) != (TileLoader.wall_reversed58 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin58 & seen_fused) != (TileLoader.ruin_reversed58 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen59 & TileLoader.seen_reversed59; + if ((TileLoader.wall59 & seen_fused) != (TileLoader.wall_reversed59 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin59 & seen_fused) != (TileLoader.ruin_reversed59 & seen_fused)) { + VSYM = 0; + } + + } + case 58 -> { + seen_fused = TileLoader.seen54 & TileLoader.seen_reversed54; + if ((TileLoader.wall54 & seen_fused) != (TileLoader.wall_reversed54 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (TileLoader.ruin_reversed54 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen55 & TileLoader.seen_reversed55; + if ((TileLoader.wall55 & seen_fused) != (TileLoader.wall_reversed55 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (TileLoader.ruin_reversed55 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen56 & TileLoader.seen_reversed56; + if ((TileLoader.wall56 & seen_fused) != (TileLoader.wall_reversed56 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin56 & seen_fused) != (TileLoader.ruin_reversed56 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen57 & TileLoader.seen_reversed57; + if ((TileLoader.wall57 & seen_fused) != (TileLoader.wall_reversed57 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin57 & seen_fused) != (TileLoader.ruin_reversed57 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen58 & TileLoader.seen_reversed58; + if ((TileLoader.wall58 & seen_fused) != (TileLoader.wall_reversed58 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin58 & seen_fused) != (TileLoader.ruin_reversed58 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen59 & TileLoader.seen_reversed59; + if ((TileLoader.wall59 & seen_fused) != (TileLoader.wall_reversed59 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin59 & seen_fused) != (TileLoader.ruin_reversed59 & seen_fused)) { + VSYM = 0; + } + + } + case 59 -> { + seen_fused = TileLoader.seen55 & TileLoader.seen_reversed55; + if ((TileLoader.wall55 & seen_fused) != (TileLoader.wall_reversed55 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (TileLoader.ruin_reversed55 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen56 & TileLoader.seen_reversed56; + if ((TileLoader.wall56 & seen_fused) != (TileLoader.wall_reversed56 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin56 & seen_fused) != (TileLoader.ruin_reversed56 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen57 & TileLoader.seen_reversed57; + if ((TileLoader.wall57 & seen_fused) != (TileLoader.wall_reversed57 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin57 & seen_fused) != (TileLoader.ruin_reversed57 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen58 & TileLoader.seen_reversed58; + if ((TileLoader.wall58 & seen_fused) != (TileLoader.wall_reversed58 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin58 & seen_fused) != (TileLoader.ruin_reversed58 & seen_fused)) { + VSYM = 0; + } + seen_fused = TileLoader.seen59 & TileLoader.seen_reversed59; + if ((TileLoader.wall59 & seen_fused) != (TileLoader.wall_reversed59 & seen_fused)) { + VSYM = 0; + } + if ((TileLoader.ruin59 & seen_fused) != (TileLoader.ruin_reversed59 & seen_fused)) { + VSYM = 0; + } + + } + + default -> {} + } + } + + public static void checkRotational() throws GameActionException { + switch (rc.getLocation().y) { + case 0 -> { + seen_fused = TileLoader.seen0 & getSeenReversedHorizontal(0); + if ((TileLoader.wall0 & seen_fused) != (getWallReversedHorizontal(0) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin0 & seen_fused) != (getRuinReversedHorizontal(0) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen1 & getSeenReversedHorizontal(1); + if ((TileLoader.wall1 & seen_fused) != (getWallReversedHorizontal(1) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin1 & seen_fused) != (getRuinReversedHorizontal(1) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen2 & getSeenReversedHorizontal(2); + if ((TileLoader.wall2 & seen_fused) != (getWallReversedHorizontal(2) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin2 & seen_fused) != (getRuinReversedHorizontal(2) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen3 & getSeenReversedHorizontal(3); + if ((TileLoader.wall3 & seen_fused) != (getWallReversedHorizontal(3) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin3 & seen_fused) != (getRuinReversedHorizontal(3) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen4 & getSeenReversedHorizontal(4); + if ((TileLoader.wall4 & seen_fused) != (getWallReversedHorizontal(4) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (getRuinReversedHorizontal(4) & seen_fused)) { + RSYM = 0; + } + + } + case 1 -> { + seen_fused = TileLoader.seen0 & getSeenReversedHorizontal(0); + if ((TileLoader.wall0 & seen_fused) != (getWallReversedHorizontal(0) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin0 & seen_fused) != (getRuinReversedHorizontal(0) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen1 & getSeenReversedHorizontal(1); + if ((TileLoader.wall1 & seen_fused) != (getWallReversedHorizontal(1) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin1 & seen_fused) != (getRuinReversedHorizontal(1) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen2 & getSeenReversedHorizontal(2); + if ((TileLoader.wall2 & seen_fused) != (getWallReversedHorizontal(2) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin2 & seen_fused) != (getRuinReversedHorizontal(2) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen3 & getSeenReversedHorizontal(3); + if ((TileLoader.wall3 & seen_fused) != (getWallReversedHorizontal(3) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin3 & seen_fused) != (getRuinReversedHorizontal(3) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen4 & getSeenReversedHorizontal(4); + if ((TileLoader.wall4 & seen_fused) != (getWallReversedHorizontal(4) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (getRuinReversedHorizontal(4) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen5 & getSeenReversedHorizontal(5); + if ((TileLoader.wall5 & seen_fused) != (getWallReversedHorizontal(5) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (getRuinReversedHorizontal(5) & seen_fused)) { + RSYM = 0; + } + + } + case 2 -> { + seen_fused = TileLoader.seen0 & getSeenReversedHorizontal(0); + if ((TileLoader.wall0 & seen_fused) != (getWallReversedHorizontal(0) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin0 & seen_fused) != (getRuinReversedHorizontal(0) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen1 & getSeenReversedHorizontal(1); + if ((TileLoader.wall1 & seen_fused) != (getWallReversedHorizontal(1) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin1 & seen_fused) != (getRuinReversedHorizontal(1) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen2 & getSeenReversedHorizontal(2); + if ((TileLoader.wall2 & seen_fused) != (getWallReversedHorizontal(2) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin2 & seen_fused) != (getRuinReversedHorizontal(2) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen3 & getSeenReversedHorizontal(3); + if ((TileLoader.wall3 & seen_fused) != (getWallReversedHorizontal(3) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin3 & seen_fused) != (getRuinReversedHorizontal(3) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen4 & getSeenReversedHorizontal(4); + if ((TileLoader.wall4 & seen_fused) != (getWallReversedHorizontal(4) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (getRuinReversedHorizontal(4) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen5 & getSeenReversedHorizontal(5); + if ((TileLoader.wall5 & seen_fused) != (getWallReversedHorizontal(5) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (getRuinReversedHorizontal(5) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen6 & getSeenReversedHorizontal(6); + if ((TileLoader.wall6 & seen_fused) != (getWallReversedHorizontal(6) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (getRuinReversedHorizontal(6) & seen_fused)) { + RSYM = 0; + } + + } + case 3 -> { + seen_fused = TileLoader.seen0 & getSeenReversedHorizontal(0); + if ((TileLoader.wall0 & seen_fused) != (getWallReversedHorizontal(0) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin0 & seen_fused) != (getRuinReversedHorizontal(0) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen1 & getSeenReversedHorizontal(1); + if ((TileLoader.wall1 & seen_fused) != (getWallReversedHorizontal(1) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin1 & seen_fused) != (getRuinReversedHorizontal(1) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen2 & getSeenReversedHorizontal(2); + if ((TileLoader.wall2 & seen_fused) != (getWallReversedHorizontal(2) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin2 & seen_fused) != (getRuinReversedHorizontal(2) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen3 & getSeenReversedHorizontal(3); + if ((TileLoader.wall3 & seen_fused) != (getWallReversedHorizontal(3) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin3 & seen_fused) != (getRuinReversedHorizontal(3) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen4 & getSeenReversedHorizontal(4); + if ((TileLoader.wall4 & seen_fused) != (getWallReversedHorizontal(4) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (getRuinReversedHorizontal(4) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen5 & getSeenReversedHorizontal(5); + if ((TileLoader.wall5 & seen_fused) != (getWallReversedHorizontal(5) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (getRuinReversedHorizontal(5) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen6 & getSeenReversedHorizontal(6); + if ((TileLoader.wall6 & seen_fused) != (getWallReversedHorizontal(6) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (getRuinReversedHorizontal(6) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen7 & getSeenReversedHorizontal(7); + if ((TileLoader.wall7 & seen_fused) != (getWallReversedHorizontal(7) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (getRuinReversedHorizontal(7) & seen_fused)) { + RSYM = 0; + } + + } + case 4 -> { + seen_fused = TileLoader.seen0 & getSeenReversedHorizontal(0); + if ((TileLoader.wall0 & seen_fused) != (getWallReversedHorizontal(0) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin0 & seen_fused) != (getRuinReversedHorizontal(0) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen1 & getSeenReversedHorizontal(1); + if ((TileLoader.wall1 & seen_fused) != (getWallReversedHorizontal(1) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin1 & seen_fused) != (getRuinReversedHorizontal(1) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen2 & getSeenReversedHorizontal(2); + if ((TileLoader.wall2 & seen_fused) != (getWallReversedHorizontal(2) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin2 & seen_fused) != (getRuinReversedHorizontal(2) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen3 & getSeenReversedHorizontal(3); + if ((TileLoader.wall3 & seen_fused) != (getWallReversedHorizontal(3) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin3 & seen_fused) != (getRuinReversedHorizontal(3) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen4 & getSeenReversedHorizontal(4); + if ((TileLoader.wall4 & seen_fused) != (getWallReversedHorizontal(4) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (getRuinReversedHorizontal(4) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen5 & getSeenReversedHorizontal(5); + if ((TileLoader.wall5 & seen_fused) != (getWallReversedHorizontal(5) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (getRuinReversedHorizontal(5) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen6 & getSeenReversedHorizontal(6); + if ((TileLoader.wall6 & seen_fused) != (getWallReversedHorizontal(6) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (getRuinReversedHorizontal(6) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen7 & getSeenReversedHorizontal(7); + if ((TileLoader.wall7 & seen_fused) != (getWallReversedHorizontal(7) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (getRuinReversedHorizontal(7) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen8 & getSeenReversedHorizontal(8); + if ((TileLoader.wall8 & seen_fused) != (getWallReversedHorizontal(8) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (getRuinReversedHorizontal(8) & seen_fused)) { + RSYM = 0; + } + + } + case 5 -> { + seen_fused = TileLoader.seen1 & getSeenReversedHorizontal(1); + if ((TileLoader.wall1 & seen_fused) != (getWallReversedHorizontal(1) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin1 & seen_fused) != (getRuinReversedHorizontal(1) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen2 & getSeenReversedHorizontal(2); + if ((TileLoader.wall2 & seen_fused) != (getWallReversedHorizontal(2) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin2 & seen_fused) != (getRuinReversedHorizontal(2) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen3 & getSeenReversedHorizontal(3); + if ((TileLoader.wall3 & seen_fused) != (getWallReversedHorizontal(3) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin3 & seen_fused) != (getRuinReversedHorizontal(3) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen4 & getSeenReversedHorizontal(4); + if ((TileLoader.wall4 & seen_fused) != (getWallReversedHorizontal(4) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (getRuinReversedHorizontal(4) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen5 & getSeenReversedHorizontal(5); + if ((TileLoader.wall5 & seen_fused) != (getWallReversedHorizontal(5) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (getRuinReversedHorizontal(5) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen6 & getSeenReversedHorizontal(6); + if ((TileLoader.wall6 & seen_fused) != (getWallReversedHorizontal(6) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (getRuinReversedHorizontal(6) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen7 & getSeenReversedHorizontal(7); + if ((TileLoader.wall7 & seen_fused) != (getWallReversedHorizontal(7) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (getRuinReversedHorizontal(7) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen8 & getSeenReversedHorizontal(8); + if ((TileLoader.wall8 & seen_fused) != (getWallReversedHorizontal(8) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (getRuinReversedHorizontal(8) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen9 & getSeenReversedHorizontal(9); + if ((TileLoader.wall9 & seen_fused) != (getWallReversedHorizontal(9) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (getRuinReversedHorizontal(9) & seen_fused)) { + RSYM = 0; + } + + } + case 6 -> { + seen_fused = TileLoader.seen2 & getSeenReversedHorizontal(2); + if ((TileLoader.wall2 & seen_fused) != (getWallReversedHorizontal(2) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin2 & seen_fused) != (getRuinReversedHorizontal(2) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen3 & getSeenReversedHorizontal(3); + if ((TileLoader.wall3 & seen_fused) != (getWallReversedHorizontal(3) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin3 & seen_fused) != (getRuinReversedHorizontal(3) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen4 & getSeenReversedHorizontal(4); + if ((TileLoader.wall4 & seen_fused) != (getWallReversedHorizontal(4) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (getRuinReversedHorizontal(4) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen5 & getSeenReversedHorizontal(5); + if ((TileLoader.wall5 & seen_fused) != (getWallReversedHorizontal(5) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (getRuinReversedHorizontal(5) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen6 & getSeenReversedHorizontal(6); + if ((TileLoader.wall6 & seen_fused) != (getWallReversedHorizontal(6) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (getRuinReversedHorizontal(6) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen7 & getSeenReversedHorizontal(7); + if ((TileLoader.wall7 & seen_fused) != (getWallReversedHorizontal(7) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (getRuinReversedHorizontal(7) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen8 & getSeenReversedHorizontal(8); + if ((TileLoader.wall8 & seen_fused) != (getWallReversedHorizontal(8) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (getRuinReversedHorizontal(8) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen9 & getSeenReversedHorizontal(9); + if ((TileLoader.wall9 & seen_fused) != (getWallReversedHorizontal(9) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (getRuinReversedHorizontal(9) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen10 & getSeenReversedHorizontal(10); + if ((TileLoader.wall10 & seen_fused) != (getWallReversedHorizontal(10) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (getRuinReversedHorizontal(10) & seen_fused)) { + RSYM = 0; + } + + } + case 7 -> { + seen_fused = TileLoader.seen3 & getSeenReversedHorizontal(3); + if ((TileLoader.wall3 & seen_fused) != (getWallReversedHorizontal(3) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin3 & seen_fused) != (getRuinReversedHorizontal(3) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen4 & getSeenReversedHorizontal(4); + if ((TileLoader.wall4 & seen_fused) != (getWallReversedHorizontal(4) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (getRuinReversedHorizontal(4) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen5 & getSeenReversedHorizontal(5); + if ((TileLoader.wall5 & seen_fused) != (getWallReversedHorizontal(5) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (getRuinReversedHorizontal(5) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen6 & getSeenReversedHorizontal(6); + if ((TileLoader.wall6 & seen_fused) != (getWallReversedHorizontal(6) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (getRuinReversedHorizontal(6) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen7 & getSeenReversedHorizontal(7); + if ((TileLoader.wall7 & seen_fused) != (getWallReversedHorizontal(7) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (getRuinReversedHorizontal(7) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen8 & getSeenReversedHorizontal(8); + if ((TileLoader.wall8 & seen_fused) != (getWallReversedHorizontal(8) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (getRuinReversedHorizontal(8) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen9 & getSeenReversedHorizontal(9); + if ((TileLoader.wall9 & seen_fused) != (getWallReversedHorizontal(9) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (getRuinReversedHorizontal(9) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen10 & getSeenReversedHorizontal(10); + if ((TileLoader.wall10 & seen_fused) != (getWallReversedHorizontal(10) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (getRuinReversedHorizontal(10) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen11 & getSeenReversedHorizontal(11); + if ((TileLoader.wall11 & seen_fused) != (getWallReversedHorizontal(11) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (getRuinReversedHorizontal(11) & seen_fused)) { + RSYM = 0; + } + + } + case 8 -> { + seen_fused = TileLoader.seen4 & getSeenReversedHorizontal(4); + if ((TileLoader.wall4 & seen_fused) != (getWallReversedHorizontal(4) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin4 & seen_fused) != (getRuinReversedHorizontal(4) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen5 & getSeenReversedHorizontal(5); + if ((TileLoader.wall5 & seen_fused) != (getWallReversedHorizontal(5) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (getRuinReversedHorizontal(5) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen6 & getSeenReversedHorizontal(6); + if ((TileLoader.wall6 & seen_fused) != (getWallReversedHorizontal(6) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (getRuinReversedHorizontal(6) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen7 & getSeenReversedHorizontal(7); + if ((TileLoader.wall7 & seen_fused) != (getWallReversedHorizontal(7) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (getRuinReversedHorizontal(7) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen8 & getSeenReversedHorizontal(8); + if ((TileLoader.wall8 & seen_fused) != (getWallReversedHorizontal(8) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (getRuinReversedHorizontal(8) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen9 & getSeenReversedHorizontal(9); + if ((TileLoader.wall9 & seen_fused) != (getWallReversedHorizontal(9) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (getRuinReversedHorizontal(9) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen10 & getSeenReversedHorizontal(10); + if ((TileLoader.wall10 & seen_fused) != (getWallReversedHorizontal(10) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (getRuinReversedHorizontal(10) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen11 & getSeenReversedHorizontal(11); + if ((TileLoader.wall11 & seen_fused) != (getWallReversedHorizontal(11) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (getRuinReversedHorizontal(11) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen12 & getSeenReversedHorizontal(12); + if ((TileLoader.wall12 & seen_fused) != (getWallReversedHorizontal(12) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (getRuinReversedHorizontal(12) & seen_fused)) { + RSYM = 0; + } + + } + case 9 -> { + seen_fused = TileLoader.seen5 & getSeenReversedHorizontal(5); + if ((TileLoader.wall5 & seen_fused) != (getWallReversedHorizontal(5) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin5 & seen_fused) != (getRuinReversedHorizontal(5) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen6 & getSeenReversedHorizontal(6); + if ((TileLoader.wall6 & seen_fused) != (getWallReversedHorizontal(6) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (getRuinReversedHorizontal(6) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen7 & getSeenReversedHorizontal(7); + if ((TileLoader.wall7 & seen_fused) != (getWallReversedHorizontal(7) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (getRuinReversedHorizontal(7) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen8 & getSeenReversedHorizontal(8); + if ((TileLoader.wall8 & seen_fused) != (getWallReversedHorizontal(8) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (getRuinReversedHorizontal(8) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen9 & getSeenReversedHorizontal(9); + if ((TileLoader.wall9 & seen_fused) != (getWallReversedHorizontal(9) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (getRuinReversedHorizontal(9) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen10 & getSeenReversedHorizontal(10); + if ((TileLoader.wall10 & seen_fused) != (getWallReversedHorizontal(10) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (getRuinReversedHorizontal(10) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen11 & getSeenReversedHorizontal(11); + if ((TileLoader.wall11 & seen_fused) != (getWallReversedHorizontal(11) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (getRuinReversedHorizontal(11) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen12 & getSeenReversedHorizontal(12); + if ((TileLoader.wall12 & seen_fused) != (getWallReversedHorizontal(12) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (getRuinReversedHorizontal(12) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen13 & getSeenReversedHorizontal(13); + if ((TileLoader.wall13 & seen_fused) != (getWallReversedHorizontal(13) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (getRuinReversedHorizontal(13) & seen_fused)) { + RSYM = 0; + } + + } + case 10 -> { + seen_fused = TileLoader.seen6 & getSeenReversedHorizontal(6); + if ((TileLoader.wall6 & seen_fused) != (getWallReversedHorizontal(6) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin6 & seen_fused) != (getRuinReversedHorizontal(6) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen7 & getSeenReversedHorizontal(7); + if ((TileLoader.wall7 & seen_fused) != (getWallReversedHorizontal(7) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (getRuinReversedHorizontal(7) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen8 & getSeenReversedHorizontal(8); + if ((TileLoader.wall8 & seen_fused) != (getWallReversedHorizontal(8) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (getRuinReversedHorizontal(8) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen9 & getSeenReversedHorizontal(9); + if ((TileLoader.wall9 & seen_fused) != (getWallReversedHorizontal(9) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (getRuinReversedHorizontal(9) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen10 & getSeenReversedHorizontal(10); + if ((TileLoader.wall10 & seen_fused) != (getWallReversedHorizontal(10) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (getRuinReversedHorizontal(10) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen11 & getSeenReversedHorizontal(11); + if ((TileLoader.wall11 & seen_fused) != (getWallReversedHorizontal(11) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (getRuinReversedHorizontal(11) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen12 & getSeenReversedHorizontal(12); + if ((TileLoader.wall12 & seen_fused) != (getWallReversedHorizontal(12) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (getRuinReversedHorizontal(12) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen13 & getSeenReversedHorizontal(13); + if ((TileLoader.wall13 & seen_fused) != (getWallReversedHorizontal(13) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (getRuinReversedHorizontal(13) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen14 & getSeenReversedHorizontal(14); + if ((TileLoader.wall14 & seen_fused) != (getWallReversedHorizontal(14) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (getRuinReversedHorizontal(14) & seen_fused)) { + RSYM = 0; + } + + } + case 11 -> { + seen_fused = TileLoader.seen7 & getSeenReversedHorizontal(7); + if ((TileLoader.wall7 & seen_fused) != (getWallReversedHorizontal(7) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin7 & seen_fused) != (getRuinReversedHorizontal(7) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen8 & getSeenReversedHorizontal(8); + if ((TileLoader.wall8 & seen_fused) != (getWallReversedHorizontal(8) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (getRuinReversedHorizontal(8) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen9 & getSeenReversedHorizontal(9); + if ((TileLoader.wall9 & seen_fused) != (getWallReversedHorizontal(9) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (getRuinReversedHorizontal(9) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen10 & getSeenReversedHorizontal(10); + if ((TileLoader.wall10 & seen_fused) != (getWallReversedHorizontal(10) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (getRuinReversedHorizontal(10) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen11 & getSeenReversedHorizontal(11); + if ((TileLoader.wall11 & seen_fused) != (getWallReversedHorizontal(11) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (getRuinReversedHorizontal(11) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen12 & getSeenReversedHorizontal(12); + if ((TileLoader.wall12 & seen_fused) != (getWallReversedHorizontal(12) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (getRuinReversedHorizontal(12) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen13 & getSeenReversedHorizontal(13); + if ((TileLoader.wall13 & seen_fused) != (getWallReversedHorizontal(13) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (getRuinReversedHorizontal(13) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen14 & getSeenReversedHorizontal(14); + if ((TileLoader.wall14 & seen_fused) != (getWallReversedHorizontal(14) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (getRuinReversedHorizontal(14) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen15 & getSeenReversedHorizontal(15); + if ((TileLoader.wall15 & seen_fused) != (getWallReversedHorizontal(15) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (getRuinReversedHorizontal(15) & seen_fused)) { + RSYM = 0; + } + + } + case 12 -> { + seen_fused = TileLoader.seen8 & getSeenReversedHorizontal(8); + if ((TileLoader.wall8 & seen_fused) != (getWallReversedHorizontal(8) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin8 & seen_fused) != (getRuinReversedHorizontal(8) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen9 & getSeenReversedHorizontal(9); + if ((TileLoader.wall9 & seen_fused) != (getWallReversedHorizontal(9) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (getRuinReversedHorizontal(9) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen10 & getSeenReversedHorizontal(10); + if ((TileLoader.wall10 & seen_fused) != (getWallReversedHorizontal(10) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (getRuinReversedHorizontal(10) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen11 & getSeenReversedHorizontal(11); + if ((TileLoader.wall11 & seen_fused) != (getWallReversedHorizontal(11) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (getRuinReversedHorizontal(11) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen12 & getSeenReversedHorizontal(12); + if ((TileLoader.wall12 & seen_fused) != (getWallReversedHorizontal(12) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (getRuinReversedHorizontal(12) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen13 & getSeenReversedHorizontal(13); + if ((TileLoader.wall13 & seen_fused) != (getWallReversedHorizontal(13) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (getRuinReversedHorizontal(13) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen14 & getSeenReversedHorizontal(14); + if ((TileLoader.wall14 & seen_fused) != (getWallReversedHorizontal(14) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (getRuinReversedHorizontal(14) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen15 & getSeenReversedHorizontal(15); + if ((TileLoader.wall15 & seen_fused) != (getWallReversedHorizontal(15) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (getRuinReversedHorizontal(15) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen16 & getSeenReversedHorizontal(16); + if ((TileLoader.wall16 & seen_fused) != (getWallReversedHorizontal(16) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (getRuinReversedHorizontal(16) & seen_fused)) { + RSYM = 0; + } + + } + case 13 -> { + seen_fused = TileLoader.seen9 & getSeenReversedHorizontal(9); + if ((TileLoader.wall9 & seen_fused) != (getWallReversedHorizontal(9) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin9 & seen_fused) != (getRuinReversedHorizontal(9) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen10 & getSeenReversedHorizontal(10); + if ((TileLoader.wall10 & seen_fused) != (getWallReversedHorizontal(10) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (getRuinReversedHorizontal(10) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen11 & getSeenReversedHorizontal(11); + if ((TileLoader.wall11 & seen_fused) != (getWallReversedHorizontal(11) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (getRuinReversedHorizontal(11) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen12 & getSeenReversedHorizontal(12); + if ((TileLoader.wall12 & seen_fused) != (getWallReversedHorizontal(12) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (getRuinReversedHorizontal(12) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen13 & getSeenReversedHorizontal(13); + if ((TileLoader.wall13 & seen_fused) != (getWallReversedHorizontal(13) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (getRuinReversedHorizontal(13) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen14 & getSeenReversedHorizontal(14); + if ((TileLoader.wall14 & seen_fused) != (getWallReversedHorizontal(14) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (getRuinReversedHorizontal(14) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen15 & getSeenReversedHorizontal(15); + if ((TileLoader.wall15 & seen_fused) != (getWallReversedHorizontal(15) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (getRuinReversedHorizontal(15) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen16 & getSeenReversedHorizontal(16); + if ((TileLoader.wall16 & seen_fused) != (getWallReversedHorizontal(16) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (getRuinReversedHorizontal(16) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen17 & getSeenReversedHorizontal(17); + if ((TileLoader.wall17 & seen_fused) != (getWallReversedHorizontal(17) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (getRuinReversedHorizontal(17) & seen_fused)) { + RSYM = 0; + } + + } + case 14 -> { + seen_fused = TileLoader.seen10 & getSeenReversedHorizontal(10); + if ((TileLoader.wall10 & seen_fused) != (getWallReversedHorizontal(10) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin10 & seen_fused) != (getRuinReversedHorizontal(10) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen11 & getSeenReversedHorizontal(11); + if ((TileLoader.wall11 & seen_fused) != (getWallReversedHorizontal(11) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (getRuinReversedHorizontal(11) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen12 & getSeenReversedHorizontal(12); + if ((TileLoader.wall12 & seen_fused) != (getWallReversedHorizontal(12) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (getRuinReversedHorizontal(12) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen13 & getSeenReversedHorizontal(13); + if ((TileLoader.wall13 & seen_fused) != (getWallReversedHorizontal(13) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (getRuinReversedHorizontal(13) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen14 & getSeenReversedHorizontal(14); + if ((TileLoader.wall14 & seen_fused) != (getWallReversedHorizontal(14) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (getRuinReversedHorizontal(14) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen15 & getSeenReversedHorizontal(15); + if ((TileLoader.wall15 & seen_fused) != (getWallReversedHorizontal(15) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (getRuinReversedHorizontal(15) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen16 & getSeenReversedHorizontal(16); + if ((TileLoader.wall16 & seen_fused) != (getWallReversedHorizontal(16) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (getRuinReversedHorizontal(16) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen17 & getSeenReversedHorizontal(17); + if ((TileLoader.wall17 & seen_fused) != (getWallReversedHorizontal(17) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (getRuinReversedHorizontal(17) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen18 & getSeenReversedHorizontal(18); + if ((TileLoader.wall18 & seen_fused) != (getWallReversedHorizontal(18) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (getRuinReversedHorizontal(18) & seen_fused)) { + RSYM = 0; + } + + } + case 15 -> { + seen_fused = TileLoader.seen11 & getSeenReversedHorizontal(11); + if ((TileLoader.wall11 & seen_fused) != (getWallReversedHorizontal(11) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin11 & seen_fused) != (getRuinReversedHorizontal(11) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen12 & getSeenReversedHorizontal(12); + if ((TileLoader.wall12 & seen_fused) != (getWallReversedHorizontal(12) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (getRuinReversedHorizontal(12) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen13 & getSeenReversedHorizontal(13); + if ((TileLoader.wall13 & seen_fused) != (getWallReversedHorizontal(13) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (getRuinReversedHorizontal(13) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen14 & getSeenReversedHorizontal(14); + if ((TileLoader.wall14 & seen_fused) != (getWallReversedHorizontal(14) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (getRuinReversedHorizontal(14) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen15 & getSeenReversedHorizontal(15); + if ((TileLoader.wall15 & seen_fused) != (getWallReversedHorizontal(15) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (getRuinReversedHorizontal(15) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen16 & getSeenReversedHorizontal(16); + if ((TileLoader.wall16 & seen_fused) != (getWallReversedHorizontal(16) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (getRuinReversedHorizontal(16) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen17 & getSeenReversedHorizontal(17); + if ((TileLoader.wall17 & seen_fused) != (getWallReversedHorizontal(17) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (getRuinReversedHorizontal(17) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen18 & getSeenReversedHorizontal(18); + if ((TileLoader.wall18 & seen_fused) != (getWallReversedHorizontal(18) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (getRuinReversedHorizontal(18) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen19 & getSeenReversedHorizontal(19); + if ((TileLoader.wall19 & seen_fused) != (getWallReversedHorizontal(19) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (getRuinReversedHorizontal(19) & seen_fused)) { + RSYM = 0; + } + + } + case 16 -> { + seen_fused = TileLoader.seen12 & getSeenReversedHorizontal(12); + if ((TileLoader.wall12 & seen_fused) != (getWallReversedHorizontal(12) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin12 & seen_fused) != (getRuinReversedHorizontal(12) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen13 & getSeenReversedHorizontal(13); + if ((TileLoader.wall13 & seen_fused) != (getWallReversedHorizontal(13) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (getRuinReversedHorizontal(13) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen14 & getSeenReversedHorizontal(14); + if ((TileLoader.wall14 & seen_fused) != (getWallReversedHorizontal(14) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (getRuinReversedHorizontal(14) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen15 & getSeenReversedHorizontal(15); + if ((TileLoader.wall15 & seen_fused) != (getWallReversedHorizontal(15) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (getRuinReversedHorizontal(15) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen16 & getSeenReversedHorizontal(16); + if ((TileLoader.wall16 & seen_fused) != (getWallReversedHorizontal(16) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (getRuinReversedHorizontal(16) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen17 & getSeenReversedHorizontal(17); + if ((TileLoader.wall17 & seen_fused) != (getWallReversedHorizontal(17) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (getRuinReversedHorizontal(17) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen18 & getSeenReversedHorizontal(18); + if ((TileLoader.wall18 & seen_fused) != (getWallReversedHorizontal(18) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (getRuinReversedHorizontal(18) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen19 & getSeenReversedHorizontal(19); + if ((TileLoader.wall19 & seen_fused) != (getWallReversedHorizontal(19) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (getRuinReversedHorizontal(19) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen20 & getSeenReversedHorizontal(20); + if ((TileLoader.wall20 & seen_fused) != (getWallReversedHorizontal(20) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (getRuinReversedHorizontal(20) & seen_fused)) { + RSYM = 0; + } + + } + case 17 -> { + seen_fused = TileLoader.seen13 & getSeenReversedHorizontal(13); + if ((TileLoader.wall13 & seen_fused) != (getWallReversedHorizontal(13) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin13 & seen_fused) != (getRuinReversedHorizontal(13) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen14 & getSeenReversedHorizontal(14); + if ((TileLoader.wall14 & seen_fused) != (getWallReversedHorizontal(14) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (getRuinReversedHorizontal(14) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen15 & getSeenReversedHorizontal(15); + if ((TileLoader.wall15 & seen_fused) != (getWallReversedHorizontal(15) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (getRuinReversedHorizontal(15) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen16 & getSeenReversedHorizontal(16); + if ((TileLoader.wall16 & seen_fused) != (getWallReversedHorizontal(16) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (getRuinReversedHorizontal(16) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen17 & getSeenReversedHorizontal(17); + if ((TileLoader.wall17 & seen_fused) != (getWallReversedHorizontal(17) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (getRuinReversedHorizontal(17) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen18 & getSeenReversedHorizontal(18); + if ((TileLoader.wall18 & seen_fused) != (getWallReversedHorizontal(18) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (getRuinReversedHorizontal(18) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen19 & getSeenReversedHorizontal(19); + if ((TileLoader.wall19 & seen_fused) != (getWallReversedHorizontal(19) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (getRuinReversedHorizontal(19) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen20 & getSeenReversedHorizontal(20); + if ((TileLoader.wall20 & seen_fused) != (getWallReversedHorizontal(20) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (getRuinReversedHorizontal(20) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen21 & getSeenReversedHorizontal(21); + if ((TileLoader.wall21 & seen_fused) != (getWallReversedHorizontal(21) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (getRuinReversedHorizontal(21) & seen_fused)) { + RSYM = 0; + } + + } + case 18 -> { + seen_fused = TileLoader.seen14 & getSeenReversedHorizontal(14); + if ((TileLoader.wall14 & seen_fused) != (getWallReversedHorizontal(14) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin14 & seen_fused) != (getRuinReversedHorizontal(14) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen15 & getSeenReversedHorizontal(15); + if ((TileLoader.wall15 & seen_fused) != (getWallReversedHorizontal(15) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (getRuinReversedHorizontal(15) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen16 & getSeenReversedHorizontal(16); + if ((TileLoader.wall16 & seen_fused) != (getWallReversedHorizontal(16) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (getRuinReversedHorizontal(16) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen17 & getSeenReversedHorizontal(17); + if ((TileLoader.wall17 & seen_fused) != (getWallReversedHorizontal(17) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (getRuinReversedHorizontal(17) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen18 & getSeenReversedHorizontal(18); + if ((TileLoader.wall18 & seen_fused) != (getWallReversedHorizontal(18) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (getRuinReversedHorizontal(18) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen19 & getSeenReversedHorizontal(19); + if ((TileLoader.wall19 & seen_fused) != (getWallReversedHorizontal(19) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (getRuinReversedHorizontal(19) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen20 & getSeenReversedHorizontal(20); + if ((TileLoader.wall20 & seen_fused) != (getWallReversedHorizontal(20) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (getRuinReversedHorizontal(20) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen21 & getSeenReversedHorizontal(21); + if ((TileLoader.wall21 & seen_fused) != (getWallReversedHorizontal(21) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (getRuinReversedHorizontal(21) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen22 & getSeenReversedHorizontal(22); + if ((TileLoader.wall22 & seen_fused) != (getWallReversedHorizontal(22) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (getRuinReversedHorizontal(22) & seen_fused)) { + RSYM = 0; + } + + } + case 19 -> { + seen_fused = TileLoader.seen15 & getSeenReversedHorizontal(15); + if ((TileLoader.wall15 & seen_fused) != (getWallReversedHorizontal(15) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin15 & seen_fused) != (getRuinReversedHorizontal(15) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen16 & getSeenReversedHorizontal(16); + if ((TileLoader.wall16 & seen_fused) != (getWallReversedHorizontal(16) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (getRuinReversedHorizontal(16) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen17 & getSeenReversedHorizontal(17); + if ((TileLoader.wall17 & seen_fused) != (getWallReversedHorizontal(17) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (getRuinReversedHorizontal(17) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen18 & getSeenReversedHorizontal(18); + if ((TileLoader.wall18 & seen_fused) != (getWallReversedHorizontal(18) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (getRuinReversedHorizontal(18) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen19 & getSeenReversedHorizontal(19); + if ((TileLoader.wall19 & seen_fused) != (getWallReversedHorizontal(19) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (getRuinReversedHorizontal(19) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen20 & getSeenReversedHorizontal(20); + if ((TileLoader.wall20 & seen_fused) != (getWallReversedHorizontal(20) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (getRuinReversedHorizontal(20) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen21 & getSeenReversedHorizontal(21); + if ((TileLoader.wall21 & seen_fused) != (getWallReversedHorizontal(21) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (getRuinReversedHorizontal(21) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen22 & getSeenReversedHorizontal(22); + if ((TileLoader.wall22 & seen_fused) != (getWallReversedHorizontal(22) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (getRuinReversedHorizontal(22) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen23 & getSeenReversedHorizontal(23); + if ((TileLoader.wall23 & seen_fused) != (getWallReversedHorizontal(23) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (getRuinReversedHorizontal(23) & seen_fused)) { + RSYM = 0; + } + + } + case 20 -> { + seen_fused = TileLoader.seen16 & getSeenReversedHorizontal(16); + if ((TileLoader.wall16 & seen_fused) != (getWallReversedHorizontal(16) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin16 & seen_fused) != (getRuinReversedHorizontal(16) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen17 & getSeenReversedHorizontal(17); + if ((TileLoader.wall17 & seen_fused) != (getWallReversedHorizontal(17) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (getRuinReversedHorizontal(17) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen18 & getSeenReversedHorizontal(18); + if ((TileLoader.wall18 & seen_fused) != (getWallReversedHorizontal(18) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (getRuinReversedHorizontal(18) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen19 & getSeenReversedHorizontal(19); + if ((TileLoader.wall19 & seen_fused) != (getWallReversedHorizontal(19) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (getRuinReversedHorizontal(19) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen20 & getSeenReversedHorizontal(20); + if ((TileLoader.wall20 & seen_fused) != (getWallReversedHorizontal(20) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (getRuinReversedHorizontal(20) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen21 & getSeenReversedHorizontal(21); + if ((TileLoader.wall21 & seen_fused) != (getWallReversedHorizontal(21) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (getRuinReversedHorizontal(21) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen22 & getSeenReversedHorizontal(22); + if ((TileLoader.wall22 & seen_fused) != (getWallReversedHorizontal(22) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (getRuinReversedHorizontal(22) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen23 & getSeenReversedHorizontal(23); + if ((TileLoader.wall23 & seen_fused) != (getWallReversedHorizontal(23) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (getRuinReversedHorizontal(23) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen24 & getSeenReversedHorizontal(24); + if ((TileLoader.wall24 & seen_fused) != (getWallReversedHorizontal(24) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (getRuinReversedHorizontal(24) & seen_fused)) { + RSYM = 0; + } + + } + case 21 -> { + seen_fused = TileLoader.seen17 & getSeenReversedHorizontal(17); + if ((TileLoader.wall17 & seen_fused) != (getWallReversedHorizontal(17) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin17 & seen_fused) != (getRuinReversedHorizontal(17) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen18 & getSeenReversedHorizontal(18); + if ((TileLoader.wall18 & seen_fused) != (getWallReversedHorizontal(18) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (getRuinReversedHorizontal(18) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen19 & getSeenReversedHorizontal(19); + if ((TileLoader.wall19 & seen_fused) != (getWallReversedHorizontal(19) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (getRuinReversedHorizontal(19) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen20 & getSeenReversedHorizontal(20); + if ((TileLoader.wall20 & seen_fused) != (getWallReversedHorizontal(20) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (getRuinReversedHorizontal(20) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen21 & getSeenReversedHorizontal(21); + if ((TileLoader.wall21 & seen_fused) != (getWallReversedHorizontal(21) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (getRuinReversedHorizontal(21) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen22 & getSeenReversedHorizontal(22); + if ((TileLoader.wall22 & seen_fused) != (getWallReversedHorizontal(22) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (getRuinReversedHorizontal(22) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen23 & getSeenReversedHorizontal(23); + if ((TileLoader.wall23 & seen_fused) != (getWallReversedHorizontal(23) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (getRuinReversedHorizontal(23) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen24 & getSeenReversedHorizontal(24); + if ((TileLoader.wall24 & seen_fused) != (getWallReversedHorizontal(24) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (getRuinReversedHorizontal(24) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen25 & getSeenReversedHorizontal(25); + if ((TileLoader.wall25 & seen_fused) != (getWallReversedHorizontal(25) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (getRuinReversedHorizontal(25) & seen_fused)) { + RSYM = 0; + } + + } + case 22 -> { + seen_fused = TileLoader.seen18 & getSeenReversedHorizontal(18); + if ((TileLoader.wall18 & seen_fused) != (getWallReversedHorizontal(18) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin18 & seen_fused) != (getRuinReversedHorizontal(18) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen19 & getSeenReversedHorizontal(19); + if ((TileLoader.wall19 & seen_fused) != (getWallReversedHorizontal(19) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (getRuinReversedHorizontal(19) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen20 & getSeenReversedHorizontal(20); + if ((TileLoader.wall20 & seen_fused) != (getWallReversedHorizontal(20) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (getRuinReversedHorizontal(20) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen21 & getSeenReversedHorizontal(21); + if ((TileLoader.wall21 & seen_fused) != (getWallReversedHorizontal(21) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (getRuinReversedHorizontal(21) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen22 & getSeenReversedHorizontal(22); + if ((TileLoader.wall22 & seen_fused) != (getWallReversedHorizontal(22) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (getRuinReversedHorizontal(22) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen23 & getSeenReversedHorizontal(23); + if ((TileLoader.wall23 & seen_fused) != (getWallReversedHorizontal(23) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (getRuinReversedHorizontal(23) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen24 & getSeenReversedHorizontal(24); + if ((TileLoader.wall24 & seen_fused) != (getWallReversedHorizontal(24) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (getRuinReversedHorizontal(24) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen25 & getSeenReversedHorizontal(25); + if ((TileLoader.wall25 & seen_fused) != (getWallReversedHorizontal(25) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (getRuinReversedHorizontal(25) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen26 & getSeenReversedHorizontal(26); + if ((TileLoader.wall26 & seen_fused) != (getWallReversedHorizontal(26) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (getRuinReversedHorizontal(26) & seen_fused)) { + RSYM = 0; + } + + } + case 23 -> { + seen_fused = TileLoader.seen19 & getSeenReversedHorizontal(19); + if ((TileLoader.wall19 & seen_fused) != (getWallReversedHorizontal(19) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin19 & seen_fused) != (getRuinReversedHorizontal(19) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen20 & getSeenReversedHorizontal(20); + if ((TileLoader.wall20 & seen_fused) != (getWallReversedHorizontal(20) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (getRuinReversedHorizontal(20) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen21 & getSeenReversedHorizontal(21); + if ((TileLoader.wall21 & seen_fused) != (getWallReversedHorizontal(21) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (getRuinReversedHorizontal(21) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen22 & getSeenReversedHorizontal(22); + if ((TileLoader.wall22 & seen_fused) != (getWallReversedHorizontal(22) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (getRuinReversedHorizontal(22) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen23 & getSeenReversedHorizontal(23); + if ((TileLoader.wall23 & seen_fused) != (getWallReversedHorizontal(23) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (getRuinReversedHorizontal(23) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen24 & getSeenReversedHorizontal(24); + if ((TileLoader.wall24 & seen_fused) != (getWallReversedHorizontal(24) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (getRuinReversedHorizontal(24) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen25 & getSeenReversedHorizontal(25); + if ((TileLoader.wall25 & seen_fused) != (getWallReversedHorizontal(25) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (getRuinReversedHorizontal(25) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen26 & getSeenReversedHorizontal(26); + if ((TileLoader.wall26 & seen_fused) != (getWallReversedHorizontal(26) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (getRuinReversedHorizontal(26) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen27 & getSeenReversedHorizontal(27); + if ((TileLoader.wall27 & seen_fused) != (getWallReversedHorizontal(27) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (getRuinReversedHorizontal(27) & seen_fused)) { + RSYM = 0; + } + + } + case 24 -> { + seen_fused = TileLoader.seen20 & getSeenReversedHorizontal(20); + if ((TileLoader.wall20 & seen_fused) != (getWallReversedHorizontal(20) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin20 & seen_fused) != (getRuinReversedHorizontal(20) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen21 & getSeenReversedHorizontal(21); + if ((TileLoader.wall21 & seen_fused) != (getWallReversedHorizontal(21) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (getRuinReversedHorizontal(21) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen22 & getSeenReversedHorizontal(22); + if ((TileLoader.wall22 & seen_fused) != (getWallReversedHorizontal(22) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (getRuinReversedHorizontal(22) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen23 & getSeenReversedHorizontal(23); + if ((TileLoader.wall23 & seen_fused) != (getWallReversedHorizontal(23) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (getRuinReversedHorizontal(23) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen24 & getSeenReversedHorizontal(24); + if ((TileLoader.wall24 & seen_fused) != (getWallReversedHorizontal(24) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (getRuinReversedHorizontal(24) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen25 & getSeenReversedHorizontal(25); + if ((TileLoader.wall25 & seen_fused) != (getWallReversedHorizontal(25) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (getRuinReversedHorizontal(25) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen26 & getSeenReversedHorizontal(26); + if ((TileLoader.wall26 & seen_fused) != (getWallReversedHorizontal(26) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (getRuinReversedHorizontal(26) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen27 & getSeenReversedHorizontal(27); + if ((TileLoader.wall27 & seen_fused) != (getWallReversedHorizontal(27) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (getRuinReversedHorizontal(27) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen28 & getSeenReversedHorizontal(28); + if ((TileLoader.wall28 & seen_fused) != (getWallReversedHorizontal(28) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (getRuinReversedHorizontal(28) & seen_fused)) { + RSYM = 0; + } + + } + case 25 -> { + seen_fused = TileLoader.seen21 & getSeenReversedHorizontal(21); + if ((TileLoader.wall21 & seen_fused) != (getWallReversedHorizontal(21) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin21 & seen_fused) != (getRuinReversedHorizontal(21) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen22 & getSeenReversedHorizontal(22); + if ((TileLoader.wall22 & seen_fused) != (getWallReversedHorizontal(22) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (getRuinReversedHorizontal(22) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen23 & getSeenReversedHorizontal(23); + if ((TileLoader.wall23 & seen_fused) != (getWallReversedHorizontal(23) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (getRuinReversedHorizontal(23) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen24 & getSeenReversedHorizontal(24); + if ((TileLoader.wall24 & seen_fused) != (getWallReversedHorizontal(24) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (getRuinReversedHorizontal(24) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen25 & getSeenReversedHorizontal(25); + if ((TileLoader.wall25 & seen_fused) != (getWallReversedHorizontal(25) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (getRuinReversedHorizontal(25) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen26 & getSeenReversedHorizontal(26); + if ((TileLoader.wall26 & seen_fused) != (getWallReversedHorizontal(26) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (getRuinReversedHorizontal(26) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen27 & getSeenReversedHorizontal(27); + if ((TileLoader.wall27 & seen_fused) != (getWallReversedHorizontal(27) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (getRuinReversedHorizontal(27) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen28 & getSeenReversedHorizontal(28); + if ((TileLoader.wall28 & seen_fused) != (getWallReversedHorizontal(28) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (getRuinReversedHorizontal(28) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen29 & getSeenReversedHorizontal(29); + if ((TileLoader.wall29 & seen_fused) != (getWallReversedHorizontal(29) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (getRuinReversedHorizontal(29) & seen_fused)) { + RSYM = 0; + } + + } + case 26 -> { + seen_fused = TileLoader.seen22 & getSeenReversedHorizontal(22); + if ((TileLoader.wall22 & seen_fused) != (getWallReversedHorizontal(22) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin22 & seen_fused) != (getRuinReversedHorizontal(22) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen23 & getSeenReversedHorizontal(23); + if ((TileLoader.wall23 & seen_fused) != (getWallReversedHorizontal(23) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (getRuinReversedHorizontal(23) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen24 & getSeenReversedHorizontal(24); + if ((TileLoader.wall24 & seen_fused) != (getWallReversedHorizontal(24) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (getRuinReversedHorizontal(24) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen25 & getSeenReversedHorizontal(25); + if ((TileLoader.wall25 & seen_fused) != (getWallReversedHorizontal(25) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (getRuinReversedHorizontal(25) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen26 & getSeenReversedHorizontal(26); + if ((TileLoader.wall26 & seen_fused) != (getWallReversedHorizontal(26) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (getRuinReversedHorizontal(26) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen27 & getSeenReversedHorizontal(27); + if ((TileLoader.wall27 & seen_fused) != (getWallReversedHorizontal(27) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (getRuinReversedHorizontal(27) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen28 & getSeenReversedHorizontal(28); + if ((TileLoader.wall28 & seen_fused) != (getWallReversedHorizontal(28) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (getRuinReversedHorizontal(28) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen29 & getSeenReversedHorizontal(29); + if ((TileLoader.wall29 & seen_fused) != (getWallReversedHorizontal(29) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (getRuinReversedHorizontal(29) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen30 & getSeenReversedHorizontal(30); + if ((TileLoader.wall30 & seen_fused) != (getWallReversedHorizontal(30) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (getRuinReversedHorizontal(30) & seen_fused)) { + RSYM = 0; + } + + } + case 27 -> { + seen_fused = TileLoader.seen23 & getSeenReversedHorizontal(23); + if ((TileLoader.wall23 & seen_fused) != (getWallReversedHorizontal(23) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin23 & seen_fused) != (getRuinReversedHorizontal(23) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen24 & getSeenReversedHorizontal(24); + if ((TileLoader.wall24 & seen_fused) != (getWallReversedHorizontal(24) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (getRuinReversedHorizontal(24) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen25 & getSeenReversedHorizontal(25); + if ((TileLoader.wall25 & seen_fused) != (getWallReversedHorizontal(25) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (getRuinReversedHorizontal(25) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen26 & getSeenReversedHorizontal(26); + if ((TileLoader.wall26 & seen_fused) != (getWallReversedHorizontal(26) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (getRuinReversedHorizontal(26) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen27 & getSeenReversedHorizontal(27); + if ((TileLoader.wall27 & seen_fused) != (getWallReversedHorizontal(27) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (getRuinReversedHorizontal(27) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen28 & getSeenReversedHorizontal(28); + if ((TileLoader.wall28 & seen_fused) != (getWallReversedHorizontal(28) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (getRuinReversedHorizontal(28) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen29 & getSeenReversedHorizontal(29); + if ((TileLoader.wall29 & seen_fused) != (getWallReversedHorizontal(29) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (getRuinReversedHorizontal(29) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen30 & getSeenReversedHorizontal(30); + if ((TileLoader.wall30 & seen_fused) != (getWallReversedHorizontal(30) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (getRuinReversedHorizontal(30) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen31 & getSeenReversedHorizontal(31); + if ((TileLoader.wall31 & seen_fused) != (getWallReversedHorizontal(31) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (getRuinReversedHorizontal(31) & seen_fused)) { + RSYM = 0; + } + + } + case 28 -> { + seen_fused = TileLoader.seen24 & getSeenReversedHorizontal(24); + if ((TileLoader.wall24 & seen_fused) != (getWallReversedHorizontal(24) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin24 & seen_fused) != (getRuinReversedHorizontal(24) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen25 & getSeenReversedHorizontal(25); + if ((TileLoader.wall25 & seen_fused) != (getWallReversedHorizontal(25) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (getRuinReversedHorizontal(25) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen26 & getSeenReversedHorizontal(26); + if ((TileLoader.wall26 & seen_fused) != (getWallReversedHorizontal(26) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (getRuinReversedHorizontal(26) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen27 & getSeenReversedHorizontal(27); + if ((TileLoader.wall27 & seen_fused) != (getWallReversedHorizontal(27) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (getRuinReversedHorizontal(27) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen28 & getSeenReversedHorizontal(28); + if ((TileLoader.wall28 & seen_fused) != (getWallReversedHorizontal(28) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (getRuinReversedHorizontal(28) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen29 & getSeenReversedHorizontal(29); + if ((TileLoader.wall29 & seen_fused) != (getWallReversedHorizontal(29) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (getRuinReversedHorizontal(29) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen30 & getSeenReversedHorizontal(30); + if ((TileLoader.wall30 & seen_fused) != (getWallReversedHorizontal(30) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (getRuinReversedHorizontal(30) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen31 & getSeenReversedHorizontal(31); + if ((TileLoader.wall31 & seen_fused) != (getWallReversedHorizontal(31) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (getRuinReversedHorizontal(31) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen32 & getSeenReversedHorizontal(32); + if ((TileLoader.wall32 & seen_fused) != (getWallReversedHorizontal(32) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (getRuinReversedHorizontal(32) & seen_fused)) { + RSYM = 0; + } + + } + case 29 -> { + seen_fused = TileLoader.seen25 & getSeenReversedHorizontal(25); + if ((TileLoader.wall25 & seen_fused) != (getWallReversedHorizontal(25) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin25 & seen_fused) != (getRuinReversedHorizontal(25) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen26 & getSeenReversedHorizontal(26); + if ((TileLoader.wall26 & seen_fused) != (getWallReversedHorizontal(26) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (getRuinReversedHorizontal(26) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen27 & getSeenReversedHorizontal(27); + if ((TileLoader.wall27 & seen_fused) != (getWallReversedHorizontal(27) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (getRuinReversedHorizontal(27) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen28 & getSeenReversedHorizontal(28); + if ((TileLoader.wall28 & seen_fused) != (getWallReversedHorizontal(28) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (getRuinReversedHorizontal(28) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen29 & getSeenReversedHorizontal(29); + if ((TileLoader.wall29 & seen_fused) != (getWallReversedHorizontal(29) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (getRuinReversedHorizontal(29) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen30 & getSeenReversedHorizontal(30); + if ((TileLoader.wall30 & seen_fused) != (getWallReversedHorizontal(30) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (getRuinReversedHorizontal(30) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen31 & getSeenReversedHorizontal(31); + if ((TileLoader.wall31 & seen_fused) != (getWallReversedHorizontal(31) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (getRuinReversedHorizontal(31) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen32 & getSeenReversedHorizontal(32); + if ((TileLoader.wall32 & seen_fused) != (getWallReversedHorizontal(32) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (getRuinReversedHorizontal(32) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen33 & getSeenReversedHorizontal(33); + if ((TileLoader.wall33 & seen_fused) != (getWallReversedHorizontal(33) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (getRuinReversedHorizontal(33) & seen_fused)) { + RSYM = 0; + } + + } + case 30 -> { + seen_fused = TileLoader.seen26 & getSeenReversedHorizontal(26); + if ((TileLoader.wall26 & seen_fused) != (getWallReversedHorizontal(26) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin26 & seen_fused) != (getRuinReversedHorizontal(26) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen27 & getSeenReversedHorizontal(27); + if ((TileLoader.wall27 & seen_fused) != (getWallReversedHorizontal(27) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (getRuinReversedHorizontal(27) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen28 & getSeenReversedHorizontal(28); + if ((TileLoader.wall28 & seen_fused) != (getWallReversedHorizontal(28) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (getRuinReversedHorizontal(28) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen29 & getSeenReversedHorizontal(29); + if ((TileLoader.wall29 & seen_fused) != (getWallReversedHorizontal(29) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (getRuinReversedHorizontal(29) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen30 & getSeenReversedHorizontal(30); + if ((TileLoader.wall30 & seen_fused) != (getWallReversedHorizontal(30) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (getRuinReversedHorizontal(30) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen31 & getSeenReversedHorizontal(31); + if ((TileLoader.wall31 & seen_fused) != (getWallReversedHorizontal(31) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (getRuinReversedHorizontal(31) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen32 & getSeenReversedHorizontal(32); + if ((TileLoader.wall32 & seen_fused) != (getWallReversedHorizontal(32) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (getRuinReversedHorizontal(32) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen33 & getSeenReversedHorizontal(33); + if ((TileLoader.wall33 & seen_fused) != (getWallReversedHorizontal(33) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (getRuinReversedHorizontal(33) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen34 & getSeenReversedHorizontal(34); + if ((TileLoader.wall34 & seen_fused) != (getWallReversedHorizontal(34) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (getRuinReversedHorizontal(34) & seen_fused)) { + RSYM = 0; + } + + } + case 31 -> { + seen_fused = TileLoader.seen27 & getSeenReversedHorizontal(27); + if ((TileLoader.wall27 & seen_fused) != (getWallReversedHorizontal(27) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin27 & seen_fused) != (getRuinReversedHorizontal(27) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen28 & getSeenReversedHorizontal(28); + if ((TileLoader.wall28 & seen_fused) != (getWallReversedHorizontal(28) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (getRuinReversedHorizontal(28) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen29 & getSeenReversedHorizontal(29); + if ((TileLoader.wall29 & seen_fused) != (getWallReversedHorizontal(29) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (getRuinReversedHorizontal(29) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen30 & getSeenReversedHorizontal(30); + if ((TileLoader.wall30 & seen_fused) != (getWallReversedHorizontal(30) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (getRuinReversedHorizontal(30) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen31 & getSeenReversedHorizontal(31); + if ((TileLoader.wall31 & seen_fused) != (getWallReversedHorizontal(31) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (getRuinReversedHorizontal(31) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen32 & getSeenReversedHorizontal(32); + if ((TileLoader.wall32 & seen_fused) != (getWallReversedHorizontal(32) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (getRuinReversedHorizontal(32) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen33 & getSeenReversedHorizontal(33); + if ((TileLoader.wall33 & seen_fused) != (getWallReversedHorizontal(33) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (getRuinReversedHorizontal(33) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen34 & getSeenReversedHorizontal(34); + if ((TileLoader.wall34 & seen_fused) != (getWallReversedHorizontal(34) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (getRuinReversedHorizontal(34) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen35 & getSeenReversedHorizontal(35); + if ((TileLoader.wall35 & seen_fused) != (getWallReversedHorizontal(35) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (getRuinReversedHorizontal(35) & seen_fused)) { + RSYM = 0; + } + + } + case 32 -> { + seen_fused = TileLoader.seen28 & getSeenReversedHorizontal(28); + if ((TileLoader.wall28 & seen_fused) != (getWallReversedHorizontal(28) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin28 & seen_fused) != (getRuinReversedHorizontal(28) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen29 & getSeenReversedHorizontal(29); + if ((TileLoader.wall29 & seen_fused) != (getWallReversedHorizontal(29) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (getRuinReversedHorizontal(29) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen30 & getSeenReversedHorizontal(30); + if ((TileLoader.wall30 & seen_fused) != (getWallReversedHorizontal(30) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (getRuinReversedHorizontal(30) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen31 & getSeenReversedHorizontal(31); + if ((TileLoader.wall31 & seen_fused) != (getWallReversedHorizontal(31) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (getRuinReversedHorizontal(31) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen32 & getSeenReversedHorizontal(32); + if ((TileLoader.wall32 & seen_fused) != (getWallReversedHorizontal(32) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (getRuinReversedHorizontal(32) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen33 & getSeenReversedHorizontal(33); + if ((TileLoader.wall33 & seen_fused) != (getWallReversedHorizontal(33) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (getRuinReversedHorizontal(33) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen34 & getSeenReversedHorizontal(34); + if ((TileLoader.wall34 & seen_fused) != (getWallReversedHorizontal(34) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (getRuinReversedHorizontal(34) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen35 & getSeenReversedHorizontal(35); + if ((TileLoader.wall35 & seen_fused) != (getWallReversedHorizontal(35) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (getRuinReversedHorizontal(35) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen36 & getSeenReversedHorizontal(36); + if ((TileLoader.wall36 & seen_fused) != (getWallReversedHorizontal(36) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (getRuinReversedHorizontal(36) & seen_fused)) { + RSYM = 0; + } + + } + case 33 -> { + seen_fused = TileLoader.seen29 & getSeenReversedHorizontal(29); + if ((TileLoader.wall29 & seen_fused) != (getWallReversedHorizontal(29) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin29 & seen_fused) != (getRuinReversedHorizontal(29) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen30 & getSeenReversedHorizontal(30); + if ((TileLoader.wall30 & seen_fused) != (getWallReversedHorizontal(30) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (getRuinReversedHorizontal(30) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen31 & getSeenReversedHorizontal(31); + if ((TileLoader.wall31 & seen_fused) != (getWallReversedHorizontal(31) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (getRuinReversedHorizontal(31) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen32 & getSeenReversedHorizontal(32); + if ((TileLoader.wall32 & seen_fused) != (getWallReversedHorizontal(32) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (getRuinReversedHorizontal(32) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen33 & getSeenReversedHorizontal(33); + if ((TileLoader.wall33 & seen_fused) != (getWallReversedHorizontal(33) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (getRuinReversedHorizontal(33) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen34 & getSeenReversedHorizontal(34); + if ((TileLoader.wall34 & seen_fused) != (getWallReversedHorizontal(34) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (getRuinReversedHorizontal(34) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen35 & getSeenReversedHorizontal(35); + if ((TileLoader.wall35 & seen_fused) != (getWallReversedHorizontal(35) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (getRuinReversedHorizontal(35) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen36 & getSeenReversedHorizontal(36); + if ((TileLoader.wall36 & seen_fused) != (getWallReversedHorizontal(36) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (getRuinReversedHorizontal(36) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen37 & getSeenReversedHorizontal(37); + if ((TileLoader.wall37 & seen_fused) != (getWallReversedHorizontal(37) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (getRuinReversedHorizontal(37) & seen_fused)) { + RSYM = 0; + } + + } + case 34 -> { + seen_fused = TileLoader.seen30 & getSeenReversedHorizontal(30); + if ((TileLoader.wall30 & seen_fused) != (getWallReversedHorizontal(30) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin30 & seen_fused) != (getRuinReversedHorizontal(30) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen31 & getSeenReversedHorizontal(31); + if ((TileLoader.wall31 & seen_fused) != (getWallReversedHorizontal(31) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (getRuinReversedHorizontal(31) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen32 & getSeenReversedHorizontal(32); + if ((TileLoader.wall32 & seen_fused) != (getWallReversedHorizontal(32) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (getRuinReversedHorizontal(32) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen33 & getSeenReversedHorizontal(33); + if ((TileLoader.wall33 & seen_fused) != (getWallReversedHorizontal(33) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (getRuinReversedHorizontal(33) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen34 & getSeenReversedHorizontal(34); + if ((TileLoader.wall34 & seen_fused) != (getWallReversedHorizontal(34) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (getRuinReversedHorizontal(34) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen35 & getSeenReversedHorizontal(35); + if ((TileLoader.wall35 & seen_fused) != (getWallReversedHorizontal(35) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (getRuinReversedHorizontal(35) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen36 & getSeenReversedHorizontal(36); + if ((TileLoader.wall36 & seen_fused) != (getWallReversedHorizontal(36) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (getRuinReversedHorizontal(36) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen37 & getSeenReversedHorizontal(37); + if ((TileLoader.wall37 & seen_fused) != (getWallReversedHorizontal(37) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (getRuinReversedHorizontal(37) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen38 & getSeenReversedHorizontal(38); + if ((TileLoader.wall38 & seen_fused) != (getWallReversedHorizontal(38) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (getRuinReversedHorizontal(38) & seen_fused)) { + RSYM = 0; + } + + } + case 35 -> { + seen_fused = TileLoader.seen31 & getSeenReversedHorizontal(31); + if ((TileLoader.wall31 & seen_fused) != (getWallReversedHorizontal(31) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin31 & seen_fused) != (getRuinReversedHorizontal(31) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen32 & getSeenReversedHorizontal(32); + if ((TileLoader.wall32 & seen_fused) != (getWallReversedHorizontal(32) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (getRuinReversedHorizontal(32) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen33 & getSeenReversedHorizontal(33); + if ((TileLoader.wall33 & seen_fused) != (getWallReversedHorizontal(33) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (getRuinReversedHorizontal(33) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen34 & getSeenReversedHorizontal(34); + if ((TileLoader.wall34 & seen_fused) != (getWallReversedHorizontal(34) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (getRuinReversedHorizontal(34) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen35 & getSeenReversedHorizontal(35); + if ((TileLoader.wall35 & seen_fused) != (getWallReversedHorizontal(35) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (getRuinReversedHorizontal(35) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen36 & getSeenReversedHorizontal(36); + if ((TileLoader.wall36 & seen_fused) != (getWallReversedHorizontal(36) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (getRuinReversedHorizontal(36) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen37 & getSeenReversedHorizontal(37); + if ((TileLoader.wall37 & seen_fused) != (getWallReversedHorizontal(37) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (getRuinReversedHorizontal(37) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen38 & getSeenReversedHorizontal(38); + if ((TileLoader.wall38 & seen_fused) != (getWallReversedHorizontal(38) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (getRuinReversedHorizontal(38) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen39 & getSeenReversedHorizontal(39); + if ((TileLoader.wall39 & seen_fused) != (getWallReversedHorizontal(39) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (getRuinReversedHorizontal(39) & seen_fused)) { + RSYM = 0; + } + + } + case 36 -> { + seen_fused = TileLoader.seen32 & getSeenReversedHorizontal(32); + if ((TileLoader.wall32 & seen_fused) != (getWallReversedHorizontal(32) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin32 & seen_fused) != (getRuinReversedHorizontal(32) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen33 & getSeenReversedHorizontal(33); + if ((TileLoader.wall33 & seen_fused) != (getWallReversedHorizontal(33) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (getRuinReversedHorizontal(33) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen34 & getSeenReversedHorizontal(34); + if ((TileLoader.wall34 & seen_fused) != (getWallReversedHorizontal(34) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (getRuinReversedHorizontal(34) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen35 & getSeenReversedHorizontal(35); + if ((TileLoader.wall35 & seen_fused) != (getWallReversedHorizontal(35) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (getRuinReversedHorizontal(35) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen36 & getSeenReversedHorizontal(36); + if ((TileLoader.wall36 & seen_fused) != (getWallReversedHorizontal(36) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (getRuinReversedHorizontal(36) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen37 & getSeenReversedHorizontal(37); + if ((TileLoader.wall37 & seen_fused) != (getWallReversedHorizontal(37) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (getRuinReversedHorizontal(37) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen38 & getSeenReversedHorizontal(38); + if ((TileLoader.wall38 & seen_fused) != (getWallReversedHorizontal(38) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (getRuinReversedHorizontal(38) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen39 & getSeenReversedHorizontal(39); + if ((TileLoader.wall39 & seen_fused) != (getWallReversedHorizontal(39) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (getRuinReversedHorizontal(39) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen40 & getSeenReversedHorizontal(40); + if ((TileLoader.wall40 & seen_fused) != (getWallReversedHorizontal(40) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (getRuinReversedHorizontal(40) & seen_fused)) { + RSYM = 0; + } + + } + case 37 -> { + seen_fused = TileLoader.seen33 & getSeenReversedHorizontal(33); + if ((TileLoader.wall33 & seen_fused) != (getWallReversedHorizontal(33) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin33 & seen_fused) != (getRuinReversedHorizontal(33) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen34 & getSeenReversedHorizontal(34); + if ((TileLoader.wall34 & seen_fused) != (getWallReversedHorizontal(34) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (getRuinReversedHorizontal(34) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen35 & getSeenReversedHorizontal(35); + if ((TileLoader.wall35 & seen_fused) != (getWallReversedHorizontal(35) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (getRuinReversedHorizontal(35) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen36 & getSeenReversedHorizontal(36); + if ((TileLoader.wall36 & seen_fused) != (getWallReversedHorizontal(36) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (getRuinReversedHorizontal(36) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen37 & getSeenReversedHorizontal(37); + if ((TileLoader.wall37 & seen_fused) != (getWallReversedHorizontal(37) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (getRuinReversedHorizontal(37) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen38 & getSeenReversedHorizontal(38); + if ((TileLoader.wall38 & seen_fused) != (getWallReversedHorizontal(38) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (getRuinReversedHorizontal(38) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen39 & getSeenReversedHorizontal(39); + if ((TileLoader.wall39 & seen_fused) != (getWallReversedHorizontal(39) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (getRuinReversedHorizontal(39) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen40 & getSeenReversedHorizontal(40); + if ((TileLoader.wall40 & seen_fused) != (getWallReversedHorizontal(40) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (getRuinReversedHorizontal(40) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen41 & getSeenReversedHorizontal(41); + if ((TileLoader.wall41 & seen_fused) != (getWallReversedHorizontal(41) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (getRuinReversedHorizontal(41) & seen_fused)) { + RSYM = 0; + } + + } + case 38 -> { + seen_fused = TileLoader.seen34 & getSeenReversedHorizontal(34); + if ((TileLoader.wall34 & seen_fused) != (getWallReversedHorizontal(34) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin34 & seen_fused) != (getRuinReversedHorizontal(34) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen35 & getSeenReversedHorizontal(35); + if ((TileLoader.wall35 & seen_fused) != (getWallReversedHorizontal(35) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (getRuinReversedHorizontal(35) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen36 & getSeenReversedHorizontal(36); + if ((TileLoader.wall36 & seen_fused) != (getWallReversedHorizontal(36) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (getRuinReversedHorizontal(36) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen37 & getSeenReversedHorizontal(37); + if ((TileLoader.wall37 & seen_fused) != (getWallReversedHorizontal(37) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (getRuinReversedHorizontal(37) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen38 & getSeenReversedHorizontal(38); + if ((TileLoader.wall38 & seen_fused) != (getWallReversedHorizontal(38) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (getRuinReversedHorizontal(38) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen39 & getSeenReversedHorizontal(39); + if ((TileLoader.wall39 & seen_fused) != (getWallReversedHorizontal(39) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (getRuinReversedHorizontal(39) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen40 & getSeenReversedHorizontal(40); + if ((TileLoader.wall40 & seen_fused) != (getWallReversedHorizontal(40) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (getRuinReversedHorizontal(40) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen41 & getSeenReversedHorizontal(41); + if ((TileLoader.wall41 & seen_fused) != (getWallReversedHorizontal(41) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (getRuinReversedHorizontal(41) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen42 & getSeenReversedHorizontal(42); + if ((TileLoader.wall42 & seen_fused) != (getWallReversedHorizontal(42) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (getRuinReversedHorizontal(42) & seen_fused)) { + RSYM = 0; + } + + } + case 39 -> { + seen_fused = TileLoader.seen35 & getSeenReversedHorizontal(35); + if ((TileLoader.wall35 & seen_fused) != (getWallReversedHorizontal(35) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin35 & seen_fused) != (getRuinReversedHorizontal(35) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen36 & getSeenReversedHorizontal(36); + if ((TileLoader.wall36 & seen_fused) != (getWallReversedHorizontal(36) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (getRuinReversedHorizontal(36) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen37 & getSeenReversedHorizontal(37); + if ((TileLoader.wall37 & seen_fused) != (getWallReversedHorizontal(37) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (getRuinReversedHorizontal(37) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen38 & getSeenReversedHorizontal(38); + if ((TileLoader.wall38 & seen_fused) != (getWallReversedHorizontal(38) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (getRuinReversedHorizontal(38) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen39 & getSeenReversedHorizontal(39); + if ((TileLoader.wall39 & seen_fused) != (getWallReversedHorizontal(39) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (getRuinReversedHorizontal(39) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen40 & getSeenReversedHorizontal(40); + if ((TileLoader.wall40 & seen_fused) != (getWallReversedHorizontal(40) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (getRuinReversedHorizontal(40) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen41 & getSeenReversedHorizontal(41); + if ((TileLoader.wall41 & seen_fused) != (getWallReversedHorizontal(41) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (getRuinReversedHorizontal(41) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen42 & getSeenReversedHorizontal(42); + if ((TileLoader.wall42 & seen_fused) != (getWallReversedHorizontal(42) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (getRuinReversedHorizontal(42) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen43 & getSeenReversedHorizontal(43); + if ((TileLoader.wall43 & seen_fused) != (getWallReversedHorizontal(43) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (getRuinReversedHorizontal(43) & seen_fused)) { + RSYM = 0; + } + + } + case 40 -> { + seen_fused = TileLoader.seen36 & getSeenReversedHorizontal(36); + if ((TileLoader.wall36 & seen_fused) != (getWallReversedHorizontal(36) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin36 & seen_fused) != (getRuinReversedHorizontal(36) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen37 & getSeenReversedHorizontal(37); + if ((TileLoader.wall37 & seen_fused) != (getWallReversedHorizontal(37) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (getRuinReversedHorizontal(37) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen38 & getSeenReversedHorizontal(38); + if ((TileLoader.wall38 & seen_fused) != (getWallReversedHorizontal(38) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (getRuinReversedHorizontal(38) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen39 & getSeenReversedHorizontal(39); + if ((TileLoader.wall39 & seen_fused) != (getWallReversedHorizontal(39) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (getRuinReversedHorizontal(39) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen40 & getSeenReversedHorizontal(40); + if ((TileLoader.wall40 & seen_fused) != (getWallReversedHorizontal(40) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (getRuinReversedHorizontal(40) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen41 & getSeenReversedHorizontal(41); + if ((TileLoader.wall41 & seen_fused) != (getWallReversedHorizontal(41) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (getRuinReversedHorizontal(41) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen42 & getSeenReversedHorizontal(42); + if ((TileLoader.wall42 & seen_fused) != (getWallReversedHorizontal(42) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (getRuinReversedHorizontal(42) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen43 & getSeenReversedHorizontal(43); + if ((TileLoader.wall43 & seen_fused) != (getWallReversedHorizontal(43) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (getRuinReversedHorizontal(43) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen44 & getSeenReversedHorizontal(44); + if ((TileLoader.wall44 & seen_fused) != (getWallReversedHorizontal(44) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (getRuinReversedHorizontal(44) & seen_fused)) { + RSYM = 0; + } + + } + case 41 -> { + seen_fused = TileLoader.seen37 & getSeenReversedHorizontal(37); + if ((TileLoader.wall37 & seen_fused) != (getWallReversedHorizontal(37) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin37 & seen_fused) != (getRuinReversedHorizontal(37) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen38 & getSeenReversedHorizontal(38); + if ((TileLoader.wall38 & seen_fused) != (getWallReversedHorizontal(38) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (getRuinReversedHorizontal(38) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen39 & getSeenReversedHorizontal(39); + if ((TileLoader.wall39 & seen_fused) != (getWallReversedHorizontal(39) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (getRuinReversedHorizontal(39) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen40 & getSeenReversedHorizontal(40); + if ((TileLoader.wall40 & seen_fused) != (getWallReversedHorizontal(40) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (getRuinReversedHorizontal(40) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen41 & getSeenReversedHorizontal(41); + if ((TileLoader.wall41 & seen_fused) != (getWallReversedHorizontal(41) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (getRuinReversedHorizontal(41) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen42 & getSeenReversedHorizontal(42); + if ((TileLoader.wall42 & seen_fused) != (getWallReversedHorizontal(42) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (getRuinReversedHorizontal(42) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen43 & getSeenReversedHorizontal(43); + if ((TileLoader.wall43 & seen_fused) != (getWallReversedHorizontal(43) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (getRuinReversedHorizontal(43) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen44 & getSeenReversedHorizontal(44); + if ((TileLoader.wall44 & seen_fused) != (getWallReversedHorizontal(44) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (getRuinReversedHorizontal(44) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen45 & getSeenReversedHorizontal(45); + if ((TileLoader.wall45 & seen_fused) != (getWallReversedHorizontal(45) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (getRuinReversedHorizontal(45) & seen_fused)) { + RSYM = 0; + } + + } + case 42 -> { + seen_fused = TileLoader.seen38 & getSeenReversedHorizontal(38); + if ((TileLoader.wall38 & seen_fused) != (getWallReversedHorizontal(38) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin38 & seen_fused) != (getRuinReversedHorizontal(38) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen39 & getSeenReversedHorizontal(39); + if ((TileLoader.wall39 & seen_fused) != (getWallReversedHorizontal(39) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (getRuinReversedHorizontal(39) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen40 & getSeenReversedHorizontal(40); + if ((TileLoader.wall40 & seen_fused) != (getWallReversedHorizontal(40) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (getRuinReversedHorizontal(40) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen41 & getSeenReversedHorizontal(41); + if ((TileLoader.wall41 & seen_fused) != (getWallReversedHorizontal(41) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (getRuinReversedHorizontal(41) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen42 & getSeenReversedHorizontal(42); + if ((TileLoader.wall42 & seen_fused) != (getWallReversedHorizontal(42) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (getRuinReversedHorizontal(42) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen43 & getSeenReversedHorizontal(43); + if ((TileLoader.wall43 & seen_fused) != (getWallReversedHorizontal(43) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (getRuinReversedHorizontal(43) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen44 & getSeenReversedHorizontal(44); + if ((TileLoader.wall44 & seen_fused) != (getWallReversedHorizontal(44) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (getRuinReversedHorizontal(44) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen45 & getSeenReversedHorizontal(45); + if ((TileLoader.wall45 & seen_fused) != (getWallReversedHorizontal(45) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (getRuinReversedHorizontal(45) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen46 & getSeenReversedHorizontal(46); + if ((TileLoader.wall46 & seen_fused) != (getWallReversedHorizontal(46) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (getRuinReversedHorizontal(46) & seen_fused)) { + RSYM = 0; + } + + } + case 43 -> { + seen_fused = TileLoader.seen39 & getSeenReversedHorizontal(39); + if ((TileLoader.wall39 & seen_fused) != (getWallReversedHorizontal(39) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin39 & seen_fused) != (getRuinReversedHorizontal(39) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen40 & getSeenReversedHorizontal(40); + if ((TileLoader.wall40 & seen_fused) != (getWallReversedHorizontal(40) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (getRuinReversedHorizontal(40) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen41 & getSeenReversedHorizontal(41); + if ((TileLoader.wall41 & seen_fused) != (getWallReversedHorizontal(41) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (getRuinReversedHorizontal(41) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen42 & getSeenReversedHorizontal(42); + if ((TileLoader.wall42 & seen_fused) != (getWallReversedHorizontal(42) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (getRuinReversedHorizontal(42) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen43 & getSeenReversedHorizontal(43); + if ((TileLoader.wall43 & seen_fused) != (getWallReversedHorizontal(43) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (getRuinReversedHorizontal(43) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen44 & getSeenReversedHorizontal(44); + if ((TileLoader.wall44 & seen_fused) != (getWallReversedHorizontal(44) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (getRuinReversedHorizontal(44) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen45 & getSeenReversedHorizontal(45); + if ((TileLoader.wall45 & seen_fused) != (getWallReversedHorizontal(45) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (getRuinReversedHorizontal(45) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen46 & getSeenReversedHorizontal(46); + if ((TileLoader.wall46 & seen_fused) != (getWallReversedHorizontal(46) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (getRuinReversedHorizontal(46) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen47 & getSeenReversedHorizontal(47); + if ((TileLoader.wall47 & seen_fused) != (getWallReversedHorizontal(47) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (getRuinReversedHorizontal(47) & seen_fused)) { + RSYM = 0; + } + + } + case 44 -> { + seen_fused = TileLoader.seen40 & getSeenReversedHorizontal(40); + if ((TileLoader.wall40 & seen_fused) != (getWallReversedHorizontal(40) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin40 & seen_fused) != (getRuinReversedHorizontal(40) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen41 & getSeenReversedHorizontal(41); + if ((TileLoader.wall41 & seen_fused) != (getWallReversedHorizontal(41) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (getRuinReversedHorizontal(41) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen42 & getSeenReversedHorizontal(42); + if ((TileLoader.wall42 & seen_fused) != (getWallReversedHorizontal(42) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (getRuinReversedHorizontal(42) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen43 & getSeenReversedHorizontal(43); + if ((TileLoader.wall43 & seen_fused) != (getWallReversedHorizontal(43) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (getRuinReversedHorizontal(43) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen44 & getSeenReversedHorizontal(44); + if ((TileLoader.wall44 & seen_fused) != (getWallReversedHorizontal(44) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (getRuinReversedHorizontal(44) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen45 & getSeenReversedHorizontal(45); + if ((TileLoader.wall45 & seen_fused) != (getWallReversedHorizontal(45) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (getRuinReversedHorizontal(45) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen46 & getSeenReversedHorizontal(46); + if ((TileLoader.wall46 & seen_fused) != (getWallReversedHorizontal(46) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (getRuinReversedHorizontal(46) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen47 & getSeenReversedHorizontal(47); + if ((TileLoader.wall47 & seen_fused) != (getWallReversedHorizontal(47) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (getRuinReversedHorizontal(47) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen48 & getSeenReversedHorizontal(48); + if ((TileLoader.wall48 & seen_fused) != (getWallReversedHorizontal(48) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (getRuinReversedHorizontal(48) & seen_fused)) { + RSYM = 0; + } + + } + case 45 -> { + seen_fused = TileLoader.seen41 & getSeenReversedHorizontal(41); + if ((TileLoader.wall41 & seen_fused) != (getWallReversedHorizontal(41) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin41 & seen_fused) != (getRuinReversedHorizontal(41) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen42 & getSeenReversedHorizontal(42); + if ((TileLoader.wall42 & seen_fused) != (getWallReversedHorizontal(42) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (getRuinReversedHorizontal(42) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen43 & getSeenReversedHorizontal(43); + if ((TileLoader.wall43 & seen_fused) != (getWallReversedHorizontal(43) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (getRuinReversedHorizontal(43) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen44 & getSeenReversedHorizontal(44); + if ((TileLoader.wall44 & seen_fused) != (getWallReversedHorizontal(44) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (getRuinReversedHorizontal(44) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen45 & getSeenReversedHorizontal(45); + if ((TileLoader.wall45 & seen_fused) != (getWallReversedHorizontal(45) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (getRuinReversedHorizontal(45) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen46 & getSeenReversedHorizontal(46); + if ((TileLoader.wall46 & seen_fused) != (getWallReversedHorizontal(46) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (getRuinReversedHorizontal(46) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen47 & getSeenReversedHorizontal(47); + if ((TileLoader.wall47 & seen_fused) != (getWallReversedHorizontal(47) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (getRuinReversedHorizontal(47) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen48 & getSeenReversedHorizontal(48); + if ((TileLoader.wall48 & seen_fused) != (getWallReversedHorizontal(48) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (getRuinReversedHorizontal(48) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen49 & getSeenReversedHorizontal(49); + if ((TileLoader.wall49 & seen_fused) != (getWallReversedHorizontal(49) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (getRuinReversedHorizontal(49) & seen_fused)) { + RSYM = 0; + } + + } + case 46 -> { + seen_fused = TileLoader.seen42 & getSeenReversedHorizontal(42); + if ((TileLoader.wall42 & seen_fused) != (getWallReversedHorizontal(42) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin42 & seen_fused) != (getRuinReversedHorizontal(42) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen43 & getSeenReversedHorizontal(43); + if ((TileLoader.wall43 & seen_fused) != (getWallReversedHorizontal(43) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (getRuinReversedHorizontal(43) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen44 & getSeenReversedHorizontal(44); + if ((TileLoader.wall44 & seen_fused) != (getWallReversedHorizontal(44) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (getRuinReversedHorizontal(44) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen45 & getSeenReversedHorizontal(45); + if ((TileLoader.wall45 & seen_fused) != (getWallReversedHorizontal(45) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (getRuinReversedHorizontal(45) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen46 & getSeenReversedHorizontal(46); + if ((TileLoader.wall46 & seen_fused) != (getWallReversedHorizontal(46) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (getRuinReversedHorizontal(46) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen47 & getSeenReversedHorizontal(47); + if ((TileLoader.wall47 & seen_fused) != (getWallReversedHorizontal(47) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (getRuinReversedHorizontal(47) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen48 & getSeenReversedHorizontal(48); + if ((TileLoader.wall48 & seen_fused) != (getWallReversedHorizontal(48) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (getRuinReversedHorizontal(48) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen49 & getSeenReversedHorizontal(49); + if ((TileLoader.wall49 & seen_fused) != (getWallReversedHorizontal(49) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (getRuinReversedHorizontal(49) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen50 & getSeenReversedHorizontal(50); + if ((TileLoader.wall50 & seen_fused) != (getWallReversedHorizontal(50) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (getRuinReversedHorizontal(50) & seen_fused)) { + RSYM = 0; + } + + } + case 47 -> { + seen_fused = TileLoader.seen43 & getSeenReversedHorizontal(43); + if ((TileLoader.wall43 & seen_fused) != (getWallReversedHorizontal(43) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin43 & seen_fused) != (getRuinReversedHorizontal(43) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen44 & getSeenReversedHorizontal(44); + if ((TileLoader.wall44 & seen_fused) != (getWallReversedHorizontal(44) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (getRuinReversedHorizontal(44) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen45 & getSeenReversedHorizontal(45); + if ((TileLoader.wall45 & seen_fused) != (getWallReversedHorizontal(45) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (getRuinReversedHorizontal(45) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen46 & getSeenReversedHorizontal(46); + if ((TileLoader.wall46 & seen_fused) != (getWallReversedHorizontal(46) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (getRuinReversedHorizontal(46) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen47 & getSeenReversedHorizontal(47); + if ((TileLoader.wall47 & seen_fused) != (getWallReversedHorizontal(47) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (getRuinReversedHorizontal(47) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen48 & getSeenReversedHorizontal(48); + if ((TileLoader.wall48 & seen_fused) != (getWallReversedHorizontal(48) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (getRuinReversedHorizontal(48) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen49 & getSeenReversedHorizontal(49); + if ((TileLoader.wall49 & seen_fused) != (getWallReversedHorizontal(49) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (getRuinReversedHorizontal(49) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen50 & getSeenReversedHorizontal(50); + if ((TileLoader.wall50 & seen_fused) != (getWallReversedHorizontal(50) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (getRuinReversedHorizontal(50) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen51 & getSeenReversedHorizontal(51); + if ((TileLoader.wall51 & seen_fused) != (getWallReversedHorizontal(51) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (getRuinReversedHorizontal(51) & seen_fused)) { + RSYM = 0; + } + + } + case 48 -> { + seen_fused = TileLoader.seen44 & getSeenReversedHorizontal(44); + if ((TileLoader.wall44 & seen_fused) != (getWallReversedHorizontal(44) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin44 & seen_fused) != (getRuinReversedHorizontal(44) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen45 & getSeenReversedHorizontal(45); + if ((TileLoader.wall45 & seen_fused) != (getWallReversedHorizontal(45) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (getRuinReversedHorizontal(45) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen46 & getSeenReversedHorizontal(46); + if ((TileLoader.wall46 & seen_fused) != (getWallReversedHorizontal(46) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (getRuinReversedHorizontal(46) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen47 & getSeenReversedHorizontal(47); + if ((TileLoader.wall47 & seen_fused) != (getWallReversedHorizontal(47) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (getRuinReversedHorizontal(47) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen48 & getSeenReversedHorizontal(48); + if ((TileLoader.wall48 & seen_fused) != (getWallReversedHorizontal(48) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (getRuinReversedHorizontal(48) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen49 & getSeenReversedHorizontal(49); + if ((TileLoader.wall49 & seen_fused) != (getWallReversedHorizontal(49) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (getRuinReversedHorizontal(49) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen50 & getSeenReversedHorizontal(50); + if ((TileLoader.wall50 & seen_fused) != (getWallReversedHorizontal(50) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (getRuinReversedHorizontal(50) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen51 & getSeenReversedHorizontal(51); + if ((TileLoader.wall51 & seen_fused) != (getWallReversedHorizontal(51) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (getRuinReversedHorizontal(51) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen52 & getSeenReversedHorizontal(52); + if ((TileLoader.wall52 & seen_fused) != (getWallReversedHorizontal(52) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (getRuinReversedHorizontal(52) & seen_fused)) { + RSYM = 0; + } + + } + case 49 -> { + seen_fused = TileLoader.seen45 & getSeenReversedHorizontal(45); + if ((TileLoader.wall45 & seen_fused) != (getWallReversedHorizontal(45) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin45 & seen_fused) != (getRuinReversedHorizontal(45) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen46 & getSeenReversedHorizontal(46); + if ((TileLoader.wall46 & seen_fused) != (getWallReversedHorizontal(46) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (getRuinReversedHorizontal(46) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen47 & getSeenReversedHorizontal(47); + if ((TileLoader.wall47 & seen_fused) != (getWallReversedHorizontal(47) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (getRuinReversedHorizontal(47) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen48 & getSeenReversedHorizontal(48); + if ((TileLoader.wall48 & seen_fused) != (getWallReversedHorizontal(48) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (getRuinReversedHorizontal(48) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen49 & getSeenReversedHorizontal(49); + if ((TileLoader.wall49 & seen_fused) != (getWallReversedHorizontal(49) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (getRuinReversedHorizontal(49) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen50 & getSeenReversedHorizontal(50); + if ((TileLoader.wall50 & seen_fused) != (getWallReversedHorizontal(50) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (getRuinReversedHorizontal(50) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen51 & getSeenReversedHorizontal(51); + if ((TileLoader.wall51 & seen_fused) != (getWallReversedHorizontal(51) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (getRuinReversedHorizontal(51) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen52 & getSeenReversedHorizontal(52); + if ((TileLoader.wall52 & seen_fused) != (getWallReversedHorizontal(52) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (getRuinReversedHorizontal(52) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen53 & getSeenReversedHorizontal(53); + if ((TileLoader.wall53 & seen_fused) != (getWallReversedHorizontal(53) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (getRuinReversedHorizontal(53) & seen_fused)) { + RSYM = 0; + } + + } + case 50 -> { + seen_fused = TileLoader.seen46 & getSeenReversedHorizontal(46); + if ((TileLoader.wall46 & seen_fused) != (getWallReversedHorizontal(46) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin46 & seen_fused) != (getRuinReversedHorizontal(46) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen47 & getSeenReversedHorizontal(47); + if ((TileLoader.wall47 & seen_fused) != (getWallReversedHorizontal(47) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (getRuinReversedHorizontal(47) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen48 & getSeenReversedHorizontal(48); + if ((TileLoader.wall48 & seen_fused) != (getWallReversedHorizontal(48) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (getRuinReversedHorizontal(48) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen49 & getSeenReversedHorizontal(49); + if ((TileLoader.wall49 & seen_fused) != (getWallReversedHorizontal(49) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (getRuinReversedHorizontal(49) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen50 & getSeenReversedHorizontal(50); + if ((TileLoader.wall50 & seen_fused) != (getWallReversedHorizontal(50) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (getRuinReversedHorizontal(50) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen51 & getSeenReversedHorizontal(51); + if ((TileLoader.wall51 & seen_fused) != (getWallReversedHorizontal(51) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (getRuinReversedHorizontal(51) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen52 & getSeenReversedHorizontal(52); + if ((TileLoader.wall52 & seen_fused) != (getWallReversedHorizontal(52) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (getRuinReversedHorizontal(52) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen53 & getSeenReversedHorizontal(53); + if ((TileLoader.wall53 & seen_fused) != (getWallReversedHorizontal(53) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (getRuinReversedHorizontal(53) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen54 & getSeenReversedHorizontal(54); + if ((TileLoader.wall54 & seen_fused) != (getWallReversedHorizontal(54) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (getRuinReversedHorizontal(54) & seen_fused)) { + RSYM = 0; + } + + } + case 51 -> { + seen_fused = TileLoader.seen47 & getSeenReversedHorizontal(47); + if ((TileLoader.wall47 & seen_fused) != (getWallReversedHorizontal(47) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin47 & seen_fused) != (getRuinReversedHorizontal(47) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen48 & getSeenReversedHorizontal(48); + if ((TileLoader.wall48 & seen_fused) != (getWallReversedHorizontal(48) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (getRuinReversedHorizontal(48) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen49 & getSeenReversedHorizontal(49); + if ((TileLoader.wall49 & seen_fused) != (getWallReversedHorizontal(49) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (getRuinReversedHorizontal(49) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen50 & getSeenReversedHorizontal(50); + if ((TileLoader.wall50 & seen_fused) != (getWallReversedHorizontal(50) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (getRuinReversedHorizontal(50) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen51 & getSeenReversedHorizontal(51); + if ((TileLoader.wall51 & seen_fused) != (getWallReversedHorizontal(51) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (getRuinReversedHorizontal(51) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen52 & getSeenReversedHorizontal(52); + if ((TileLoader.wall52 & seen_fused) != (getWallReversedHorizontal(52) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (getRuinReversedHorizontal(52) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen53 & getSeenReversedHorizontal(53); + if ((TileLoader.wall53 & seen_fused) != (getWallReversedHorizontal(53) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (getRuinReversedHorizontal(53) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen54 & getSeenReversedHorizontal(54); + if ((TileLoader.wall54 & seen_fused) != (getWallReversedHorizontal(54) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (getRuinReversedHorizontal(54) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen55 & getSeenReversedHorizontal(55); + if ((TileLoader.wall55 & seen_fused) != (getWallReversedHorizontal(55) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (getRuinReversedHorizontal(55) & seen_fused)) { + RSYM = 0; + } + + } + case 52 -> { + seen_fused = TileLoader.seen48 & getSeenReversedHorizontal(48); + if ((TileLoader.wall48 & seen_fused) != (getWallReversedHorizontal(48) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin48 & seen_fused) != (getRuinReversedHorizontal(48) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen49 & getSeenReversedHorizontal(49); + if ((TileLoader.wall49 & seen_fused) != (getWallReversedHorizontal(49) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (getRuinReversedHorizontal(49) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen50 & getSeenReversedHorizontal(50); + if ((TileLoader.wall50 & seen_fused) != (getWallReversedHorizontal(50) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (getRuinReversedHorizontal(50) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen51 & getSeenReversedHorizontal(51); + if ((TileLoader.wall51 & seen_fused) != (getWallReversedHorizontal(51) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (getRuinReversedHorizontal(51) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen52 & getSeenReversedHorizontal(52); + if ((TileLoader.wall52 & seen_fused) != (getWallReversedHorizontal(52) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (getRuinReversedHorizontal(52) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen53 & getSeenReversedHorizontal(53); + if ((TileLoader.wall53 & seen_fused) != (getWallReversedHorizontal(53) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (getRuinReversedHorizontal(53) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen54 & getSeenReversedHorizontal(54); + if ((TileLoader.wall54 & seen_fused) != (getWallReversedHorizontal(54) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (getRuinReversedHorizontal(54) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen55 & getSeenReversedHorizontal(55); + if ((TileLoader.wall55 & seen_fused) != (getWallReversedHorizontal(55) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (getRuinReversedHorizontal(55) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen56 & getSeenReversedHorizontal(56); + if ((TileLoader.wall56 & seen_fused) != (getWallReversedHorizontal(56) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin56 & seen_fused) != (getRuinReversedHorizontal(56) & seen_fused)) { + RSYM = 0; + } + + } + case 53 -> { + seen_fused = TileLoader.seen49 & getSeenReversedHorizontal(49); + if ((TileLoader.wall49 & seen_fused) != (getWallReversedHorizontal(49) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin49 & seen_fused) != (getRuinReversedHorizontal(49) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen50 & getSeenReversedHorizontal(50); + if ((TileLoader.wall50 & seen_fused) != (getWallReversedHorizontal(50) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (getRuinReversedHorizontal(50) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen51 & getSeenReversedHorizontal(51); + if ((TileLoader.wall51 & seen_fused) != (getWallReversedHorizontal(51) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (getRuinReversedHorizontal(51) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen52 & getSeenReversedHorizontal(52); + if ((TileLoader.wall52 & seen_fused) != (getWallReversedHorizontal(52) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (getRuinReversedHorizontal(52) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen53 & getSeenReversedHorizontal(53); + if ((TileLoader.wall53 & seen_fused) != (getWallReversedHorizontal(53) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (getRuinReversedHorizontal(53) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen54 & getSeenReversedHorizontal(54); + if ((TileLoader.wall54 & seen_fused) != (getWallReversedHorizontal(54) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (getRuinReversedHorizontal(54) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen55 & getSeenReversedHorizontal(55); + if ((TileLoader.wall55 & seen_fused) != (getWallReversedHorizontal(55) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (getRuinReversedHorizontal(55) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen56 & getSeenReversedHorizontal(56); + if ((TileLoader.wall56 & seen_fused) != (getWallReversedHorizontal(56) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin56 & seen_fused) != (getRuinReversedHorizontal(56) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen57 & getSeenReversedHorizontal(57); + if ((TileLoader.wall57 & seen_fused) != (getWallReversedHorizontal(57) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin57 & seen_fused) != (getRuinReversedHorizontal(57) & seen_fused)) { + RSYM = 0; + } + + } + case 54 -> { + seen_fused = TileLoader.seen50 & getSeenReversedHorizontal(50); + if ((TileLoader.wall50 & seen_fused) != (getWallReversedHorizontal(50) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin50 & seen_fused) != (getRuinReversedHorizontal(50) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen51 & getSeenReversedHorizontal(51); + if ((TileLoader.wall51 & seen_fused) != (getWallReversedHorizontal(51) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (getRuinReversedHorizontal(51) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen52 & getSeenReversedHorizontal(52); + if ((TileLoader.wall52 & seen_fused) != (getWallReversedHorizontal(52) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (getRuinReversedHorizontal(52) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen53 & getSeenReversedHorizontal(53); + if ((TileLoader.wall53 & seen_fused) != (getWallReversedHorizontal(53) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (getRuinReversedHorizontal(53) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen54 & getSeenReversedHorizontal(54); + if ((TileLoader.wall54 & seen_fused) != (getWallReversedHorizontal(54) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (getRuinReversedHorizontal(54) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen55 & getSeenReversedHorizontal(55); + if ((TileLoader.wall55 & seen_fused) != (getWallReversedHorizontal(55) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (getRuinReversedHorizontal(55) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen56 & getSeenReversedHorizontal(56); + if ((TileLoader.wall56 & seen_fused) != (getWallReversedHorizontal(56) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin56 & seen_fused) != (getRuinReversedHorizontal(56) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen57 & getSeenReversedHorizontal(57); + if ((TileLoader.wall57 & seen_fused) != (getWallReversedHorizontal(57) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin57 & seen_fused) != (getRuinReversedHorizontal(57) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen58 & getSeenReversedHorizontal(58); + if ((TileLoader.wall58 & seen_fused) != (getWallReversedHorizontal(58) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin58 & seen_fused) != (getRuinReversedHorizontal(58) & seen_fused)) { + RSYM = 0; + } + + } + case 55 -> { + seen_fused = TileLoader.seen51 & getSeenReversedHorizontal(51); + if ((TileLoader.wall51 & seen_fused) != (getWallReversedHorizontal(51) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin51 & seen_fused) != (getRuinReversedHorizontal(51) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen52 & getSeenReversedHorizontal(52); + if ((TileLoader.wall52 & seen_fused) != (getWallReversedHorizontal(52) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (getRuinReversedHorizontal(52) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen53 & getSeenReversedHorizontal(53); + if ((TileLoader.wall53 & seen_fused) != (getWallReversedHorizontal(53) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (getRuinReversedHorizontal(53) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen54 & getSeenReversedHorizontal(54); + if ((TileLoader.wall54 & seen_fused) != (getWallReversedHorizontal(54) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (getRuinReversedHorizontal(54) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen55 & getSeenReversedHorizontal(55); + if ((TileLoader.wall55 & seen_fused) != (getWallReversedHorizontal(55) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (getRuinReversedHorizontal(55) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen56 & getSeenReversedHorizontal(56); + if ((TileLoader.wall56 & seen_fused) != (getWallReversedHorizontal(56) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin56 & seen_fused) != (getRuinReversedHorizontal(56) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen57 & getSeenReversedHorizontal(57); + if ((TileLoader.wall57 & seen_fused) != (getWallReversedHorizontal(57) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin57 & seen_fused) != (getRuinReversedHorizontal(57) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen58 & getSeenReversedHorizontal(58); + if ((TileLoader.wall58 & seen_fused) != (getWallReversedHorizontal(58) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin58 & seen_fused) != (getRuinReversedHorizontal(58) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen59 & getSeenReversedHorizontal(59); + if ((TileLoader.wall59 & seen_fused) != (getWallReversedHorizontal(59) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin59 & seen_fused) != (getRuinReversedHorizontal(59) & seen_fused)) { + RSYM = 0; + } + + } + case 56 -> { + seen_fused = TileLoader.seen52 & getSeenReversedHorizontal(52); + if ((TileLoader.wall52 & seen_fused) != (getWallReversedHorizontal(52) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin52 & seen_fused) != (getRuinReversedHorizontal(52) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen53 & getSeenReversedHorizontal(53); + if ((TileLoader.wall53 & seen_fused) != (getWallReversedHorizontal(53) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (getRuinReversedHorizontal(53) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen54 & getSeenReversedHorizontal(54); + if ((TileLoader.wall54 & seen_fused) != (getWallReversedHorizontal(54) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (getRuinReversedHorizontal(54) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen55 & getSeenReversedHorizontal(55); + if ((TileLoader.wall55 & seen_fused) != (getWallReversedHorizontal(55) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (getRuinReversedHorizontal(55) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen56 & getSeenReversedHorizontal(56); + if ((TileLoader.wall56 & seen_fused) != (getWallReversedHorizontal(56) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin56 & seen_fused) != (getRuinReversedHorizontal(56) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen57 & getSeenReversedHorizontal(57); + if ((TileLoader.wall57 & seen_fused) != (getWallReversedHorizontal(57) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin57 & seen_fused) != (getRuinReversedHorizontal(57) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen58 & getSeenReversedHorizontal(58); + if ((TileLoader.wall58 & seen_fused) != (getWallReversedHorizontal(58) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin58 & seen_fused) != (getRuinReversedHorizontal(58) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen59 & getSeenReversedHorizontal(59); + if ((TileLoader.wall59 & seen_fused) != (getWallReversedHorizontal(59) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin59 & seen_fused) != (getRuinReversedHorizontal(59) & seen_fused)) { + RSYM = 0; + } + + } + case 57 -> { + seen_fused = TileLoader.seen53 & getSeenReversedHorizontal(53); + if ((TileLoader.wall53 & seen_fused) != (getWallReversedHorizontal(53) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin53 & seen_fused) != (getRuinReversedHorizontal(53) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen54 & getSeenReversedHorizontal(54); + if ((TileLoader.wall54 & seen_fused) != (getWallReversedHorizontal(54) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (getRuinReversedHorizontal(54) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen55 & getSeenReversedHorizontal(55); + if ((TileLoader.wall55 & seen_fused) != (getWallReversedHorizontal(55) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (getRuinReversedHorizontal(55) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen56 & getSeenReversedHorizontal(56); + if ((TileLoader.wall56 & seen_fused) != (getWallReversedHorizontal(56) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin56 & seen_fused) != (getRuinReversedHorizontal(56) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen57 & getSeenReversedHorizontal(57); + if ((TileLoader.wall57 & seen_fused) != (getWallReversedHorizontal(57) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin57 & seen_fused) != (getRuinReversedHorizontal(57) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen58 & getSeenReversedHorizontal(58); + if ((TileLoader.wall58 & seen_fused) != (getWallReversedHorizontal(58) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin58 & seen_fused) != (getRuinReversedHorizontal(58) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen59 & getSeenReversedHorizontal(59); + if ((TileLoader.wall59 & seen_fused) != (getWallReversedHorizontal(59) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin59 & seen_fused) != (getRuinReversedHorizontal(59) & seen_fused)) { + RSYM = 0; + } + + } + case 58 -> { + seen_fused = TileLoader.seen54 & getSeenReversedHorizontal(54); + if ((TileLoader.wall54 & seen_fused) != (getWallReversedHorizontal(54) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin54 & seen_fused) != (getRuinReversedHorizontal(54) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen55 & getSeenReversedHorizontal(55); + if ((TileLoader.wall55 & seen_fused) != (getWallReversedHorizontal(55) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (getRuinReversedHorizontal(55) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen56 & getSeenReversedHorizontal(56); + if ((TileLoader.wall56 & seen_fused) != (getWallReversedHorizontal(56) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin56 & seen_fused) != (getRuinReversedHorizontal(56) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen57 & getSeenReversedHorizontal(57); + if ((TileLoader.wall57 & seen_fused) != (getWallReversedHorizontal(57) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin57 & seen_fused) != (getRuinReversedHorizontal(57) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen58 & getSeenReversedHorizontal(58); + if ((TileLoader.wall58 & seen_fused) != (getWallReversedHorizontal(58) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin58 & seen_fused) != (getRuinReversedHorizontal(58) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen59 & getSeenReversedHorizontal(59); + if ((TileLoader.wall59 & seen_fused) != (getWallReversedHorizontal(59) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin59 & seen_fused) != (getRuinReversedHorizontal(59) & seen_fused)) { + RSYM = 0; + } + + } + case 59 -> { + seen_fused = TileLoader.seen55 & getSeenReversedHorizontal(55); + if ((TileLoader.wall55 & seen_fused) != (getWallReversedHorizontal(55) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin55 & seen_fused) != (getRuinReversedHorizontal(55) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen56 & getSeenReversedHorizontal(56); + if ((TileLoader.wall56 & seen_fused) != (getWallReversedHorizontal(56) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin56 & seen_fused) != (getRuinReversedHorizontal(56) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen57 & getSeenReversedHorizontal(57); + if ((TileLoader.wall57 & seen_fused) != (getWallReversedHorizontal(57) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin57 & seen_fused) != (getRuinReversedHorizontal(57) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen58 & getSeenReversedHorizontal(58); + if ((TileLoader.wall58 & seen_fused) != (getWallReversedHorizontal(58) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin58 & seen_fused) != (getRuinReversedHorizontal(58) & seen_fused)) { + RSYM = 0; + } + seen_fused = TileLoader.seen59 & getSeenReversedHorizontal(59); + if ((TileLoader.wall59 & seen_fused) != (getWallReversedHorizontal(59) & seen_fused)) { + RSYM = 0; + } + if ((TileLoader.ruin59 & seen_fused) != (getRuinReversedHorizontal(59) & seen_fused)) { + RSYM = 0; + } + + } + + default -> {} + } + } + + // Can be done by just having masks that store the correct horizontal mask or whatever. + + + public static long getWallHorizontal(int y) { + return switch (maxY - y) { + + case 0 -> TileLoader.wall0; + case 1 -> TileLoader.wall1; + case 2 -> TileLoader.wall2; + case 3 -> TileLoader.wall3; + case 4 -> TileLoader.wall4; + case 5 -> TileLoader.wall5; + case 6 -> TileLoader.wall6; + case 7 -> TileLoader.wall7; + case 8 -> TileLoader.wall8; + case 9 -> TileLoader.wall9; + case 10 -> TileLoader.wall10; + case 11 -> TileLoader.wall11; + case 12 -> TileLoader.wall12; + case 13 -> TileLoader.wall13; + case 14 -> TileLoader.wall14; + case 15 -> TileLoader.wall15; + case 16 -> TileLoader.wall16; + case 17 -> TileLoader.wall17; + case 18 -> TileLoader.wall18; + case 19 -> TileLoader.wall19; + case 20 -> TileLoader.wall20; + case 21 -> TileLoader.wall21; + case 22 -> TileLoader.wall22; + case 23 -> TileLoader.wall23; + case 24 -> TileLoader.wall24; + case 25 -> TileLoader.wall25; + case 26 -> TileLoader.wall26; + case 27 -> TileLoader.wall27; + case 28 -> TileLoader.wall28; + case 29 -> TileLoader.wall29; + case 30 -> TileLoader.wall30; + case 31 -> TileLoader.wall31; + case 32 -> TileLoader.wall32; + case 33 -> TileLoader.wall33; + case 34 -> TileLoader.wall34; + case 35 -> TileLoader.wall35; + case 36 -> TileLoader.wall36; + case 37 -> TileLoader.wall37; + case 38 -> TileLoader.wall38; + case 39 -> TileLoader.wall39; + case 40 -> TileLoader.wall40; + case 41 -> TileLoader.wall41; + case 42 -> TileLoader.wall42; + case 43 -> TileLoader.wall43; + case 44 -> TileLoader.wall44; + case 45 -> TileLoader.wall45; + case 46 -> TileLoader.wall46; + case 47 -> TileLoader.wall47; + case 48 -> TileLoader.wall48; + case 49 -> TileLoader.wall49; + case 50 -> TileLoader.wall50; + case 51 -> TileLoader.wall51; + case 52 -> TileLoader.wall52; + case 53 -> TileLoader.wall53; + case 54 -> TileLoader.wall54; + case 55 -> TileLoader.wall55; + case 56 -> TileLoader.wall56; + case 57 -> TileLoader.wall57; + case 58 -> TileLoader.wall58; + case 59 -> TileLoader.wall59; + default -> 0; + }; + } + + + public static long getSeenHorizontal(int y) { + return switch (maxY - y) { + + case 0 -> TileLoader.seen0; + case 1 -> TileLoader.seen1; + case 2 -> TileLoader.seen2; + case 3 -> TileLoader.seen3; + case 4 -> TileLoader.seen4; + case 5 -> TileLoader.seen5; + case 6 -> TileLoader.seen6; + case 7 -> TileLoader.seen7; + case 8 -> TileLoader.seen8; + case 9 -> TileLoader.seen9; + case 10 -> TileLoader.seen10; + case 11 -> TileLoader.seen11; + case 12 -> TileLoader.seen12; + case 13 -> TileLoader.seen13; + case 14 -> TileLoader.seen14; + case 15 -> TileLoader.seen15; + case 16 -> TileLoader.seen16; + case 17 -> TileLoader.seen17; + case 18 -> TileLoader.seen18; + case 19 -> TileLoader.seen19; + case 20 -> TileLoader.seen20; + case 21 -> TileLoader.seen21; + case 22 -> TileLoader.seen22; + case 23 -> TileLoader.seen23; + case 24 -> TileLoader.seen24; + case 25 -> TileLoader.seen25; + case 26 -> TileLoader.seen26; + case 27 -> TileLoader.seen27; + case 28 -> TileLoader.seen28; + case 29 -> TileLoader.seen29; + case 30 -> TileLoader.seen30; + case 31 -> TileLoader.seen31; + case 32 -> TileLoader.seen32; + case 33 -> TileLoader.seen33; + case 34 -> TileLoader.seen34; + case 35 -> TileLoader.seen35; + case 36 -> TileLoader.seen36; + case 37 -> TileLoader.seen37; + case 38 -> TileLoader.seen38; + case 39 -> TileLoader.seen39; + case 40 -> TileLoader.seen40; + case 41 -> TileLoader.seen41; + case 42 -> TileLoader.seen42; + case 43 -> TileLoader.seen43; + case 44 -> TileLoader.seen44; + case 45 -> TileLoader.seen45; + case 46 -> TileLoader.seen46; + case 47 -> TileLoader.seen47; + case 48 -> TileLoader.seen48; + case 49 -> TileLoader.seen49; + case 50 -> TileLoader.seen50; + case 51 -> TileLoader.seen51; + case 52 -> TileLoader.seen52; + case 53 -> TileLoader.seen53; + case 54 -> TileLoader.seen54; + case 55 -> TileLoader.seen55; + case 56 -> TileLoader.seen56; + case 57 -> TileLoader.seen57; + case 58 -> TileLoader.seen58; + case 59 -> TileLoader.seen59; + default -> 0; + }; + } + + + public static long getRuinHorizontal(int y) { + return switch (maxY - y) { + + case 0 -> TileLoader.ruin0; + case 1 -> TileLoader.ruin1; + case 2 -> TileLoader.ruin2; + case 3 -> TileLoader.ruin3; + case 4 -> TileLoader.ruin4; + case 5 -> TileLoader.ruin5; + case 6 -> TileLoader.ruin6; + case 7 -> TileLoader.ruin7; + case 8 -> TileLoader.ruin8; + case 9 -> TileLoader.ruin9; + case 10 -> TileLoader.ruin10; + case 11 -> TileLoader.ruin11; + case 12 -> TileLoader.ruin12; + case 13 -> TileLoader.ruin13; + case 14 -> TileLoader.ruin14; + case 15 -> TileLoader.ruin15; + case 16 -> TileLoader.ruin16; + case 17 -> TileLoader.ruin17; + case 18 -> TileLoader.ruin18; + case 19 -> TileLoader.ruin19; + case 20 -> TileLoader.ruin20; + case 21 -> TileLoader.ruin21; + case 22 -> TileLoader.ruin22; + case 23 -> TileLoader.ruin23; + case 24 -> TileLoader.ruin24; + case 25 -> TileLoader.ruin25; + case 26 -> TileLoader.ruin26; + case 27 -> TileLoader.ruin27; + case 28 -> TileLoader.ruin28; + case 29 -> TileLoader.ruin29; + case 30 -> TileLoader.ruin30; + case 31 -> TileLoader.ruin31; + case 32 -> TileLoader.ruin32; + case 33 -> TileLoader.ruin33; + case 34 -> TileLoader.ruin34; + case 35 -> TileLoader.ruin35; + case 36 -> TileLoader.ruin36; + case 37 -> TileLoader.ruin37; + case 38 -> TileLoader.ruin38; + case 39 -> TileLoader.ruin39; + case 40 -> TileLoader.ruin40; + case 41 -> TileLoader.ruin41; + case 42 -> TileLoader.ruin42; + case 43 -> TileLoader.ruin43; + case 44 -> TileLoader.ruin44; + case 45 -> TileLoader.ruin45; + case 46 -> TileLoader.ruin46; + case 47 -> TileLoader.ruin47; + case 48 -> TileLoader.ruin48; + case 49 -> TileLoader.ruin49; + case 50 -> TileLoader.ruin50; + case 51 -> TileLoader.ruin51; + case 52 -> TileLoader.ruin52; + case 53 -> TileLoader.ruin53; + case 54 -> TileLoader.ruin54; + case 55 -> TileLoader.ruin55; + case 56 -> TileLoader.ruin56; + case 57 -> TileLoader.ruin57; + case 58 -> TileLoader.ruin58; + case 59 -> TileLoader.ruin59; + default -> 0; + }; + } + + + public static long getWallReversedHorizontal(int y) { + return switch (maxY - y) { + + case 0 -> TileLoader.wall_reversed0; + case 1 -> TileLoader.wall_reversed1; + case 2 -> TileLoader.wall_reversed2; + case 3 -> TileLoader.wall_reversed3; + case 4 -> TileLoader.wall_reversed4; + case 5 -> TileLoader.wall_reversed5; + case 6 -> TileLoader.wall_reversed6; + case 7 -> TileLoader.wall_reversed7; + case 8 -> TileLoader.wall_reversed8; + case 9 -> TileLoader.wall_reversed9; + case 10 -> TileLoader.wall_reversed10; + case 11 -> TileLoader.wall_reversed11; + case 12 -> TileLoader.wall_reversed12; + case 13 -> TileLoader.wall_reversed13; + case 14 -> TileLoader.wall_reversed14; + case 15 -> TileLoader.wall_reversed15; + case 16 -> TileLoader.wall_reversed16; + case 17 -> TileLoader.wall_reversed17; + case 18 -> TileLoader.wall_reversed18; + case 19 -> TileLoader.wall_reversed19; + case 20 -> TileLoader.wall_reversed20; + case 21 -> TileLoader.wall_reversed21; + case 22 -> TileLoader.wall_reversed22; + case 23 -> TileLoader.wall_reversed23; + case 24 -> TileLoader.wall_reversed24; + case 25 -> TileLoader.wall_reversed25; + case 26 -> TileLoader.wall_reversed26; + case 27 -> TileLoader.wall_reversed27; + case 28 -> TileLoader.wall_reversed28; + case 29 -> TileLoader.wall_reversed29; + case 30 -> TileLoader.wall_reversed30; + case 31 -> TileLoader.wall_reversed31; + case 32 -> TileLoader.wall_reversed32; + case 33 -> TileLoader.wall_reversed33; + case 34 -> TileLoader.wall_reversed34; + case 35 -> TileLoader.wall_reversed35; + case 36 -> TileLoader.wall_reversed36; + case 37 -> TileLoader.wall_reversed37; + case 38 -> TileLoader.wall_reversed38; + case 39 -> TileLoader.wall_reversed39; + case 40 -> TileLoader.wall_reversed40; + case 41 -> TileLoader.wall_reversed41; + case 42 -> TileLoader.wall_reversed42; + case 43 -> TileLoader.wall_reversed43; + case 44 -> TileLoader.wall_reversed44; + case 45 -> TileLoader.wall_reversed45; + case 46 -> TileLoader.wall_reversed46; + case 47 -> TileLoader.wall_reversed47; + case 48 -> TileLoader.wall_reversed48; + case 49 -> TileLoader.wall_reversed49; + case 50 -> TileLoader.wall_reversed50; + case 51 -> TileLoader.wall_reversed51; + case 52 -> TileLoader.wall_reversed52; + case 53 -> TileLoader.wall_reversed53; + case 54 -> TileLoader.wall_reversed54; + case 55 -> TileLoader.wall_reversed55; + case 56 -> TileLoader.wall_reversed56; + case 57 -> TileLoader.wall_reversed57; + case 58 -> TileLoader.wall_reversed58; + case 59 -> TileLoader.wall_reversed59; + default -> 0; + }; + } + + + public static long getSeenReversedHorizontal(int y) { + return switch (maxY - y) { + + case 0 -> TileLoader.seen_reversed0; + case 1 -> TileLoader.seen_reversed1; + case 2 -> TileLoader.seen_reversed2; + case 3 -> TileLoader.seen_reversed3; + case 4 -> TileLoader.seen_reversed4; + case 5 -> TileLoader.seen_reversed5; + case 6 -> TileLoader.seen_reversed6; + case 7 -> TileLoader.seen_reversed7; + case 8 -> TileLoader.seen_reversed8; + case 9 -> TileLoader.seen_reversed9; + case 10 -> TileLoader.seen_reversed10; + case 11 -> TileLoader.seen_reversed11; + case 12 -> TileLoader.seen_reversed12; + case 13 -> TileLoader.seen_reversed13; + case 14 -> TileLoader.seen_reversed14; + case 15 -> TileLoader.seen_reversed15; + case 16 -> TileLoader.seen_reversed16; + case 17 -> TileLoader.seen_reversed17; + case 18 -> TileLoader.seen_reversed18; + case 19 -> TileLoader.seen_reversed19; + case 20 -> TileLoader.seen_reversed20; + case 21 -> TileLoader.seen_reversed21; + case 22 -> TileLoader.seen_reversed22; + case 23 -> TileLoader.seen_reversed23; + case 24 -> TileLoader.seen_reversed24; + case 25 -> TileLoader.seen_reversed25; + case 26 -> TileLoader.seen_reversed26; + case 27 -> TileLoader.seen_reversed27; + case 28 -> TileLoader.seen_reversed28; + case 29 -> TileLoader.seen_reversed29; + case 30 -> TileLoader.seen_reversed30; + case 31 -> TileLoader.seen_reversed31; + case 32 -> TileLoader.seen_reversed32; + case 33 -> TileLoader.seen_reversed33; + case 34 -> TileLoader.seen_reversed34; + case 35 -> TileLoader.seen_reversed35; + case 36 -> TileLoader.seen_reversed36; + case 37 -> TileLoader.seen_reversed37; + case 38 -> TileLoader.seen_reversed38; + case 39 -> TileLoader.seen_reversed39; + case 40 -> TileLoader.seen_reversed40; + case 41 -> TileLoader.seen_reversed41; + case 42 -> TileLoader.seen_reversed42; + case 43 -> TileLoader.seen_reversed43; + case 44 -> TileLoader.seen_reversed44; + case 45 -> TileLoader.seen_reversed45; + case 46 -> TileLoader.seen_reversed46; + case 47 -> TileLoader.seen_reversed47; + case 48 -> TileLoader.seen_reversed48; + case 49 -> TileLoader.seen_reversed49; + case 50 -> TileLoader.seen_reversed50; + case 51 -> TileLoader.seen_reversed51; + case 52 -> TileLoader.seen_reversed52; + case 53 -> TileLoader.seen_reversed53; + case 54 -> TileLoader.seen_reversed54; + case 55 -> TileLoader.seen_reversed55; + case 56 -> TileLoader.seen_reversed56; + case 57 -> TileLoader.seen_reversed57; + case 58 -> TileLoader.seen_reversed58; + case 59 -> TileLoader.seen_reversed59; + default -> 0; + }; + } + + + public static long getRuinReversedHorizontal(int y) { + return switch (maxY - y) { + + case 0 -> TileLoader.ruin_reversed0; + case 1 -> TileLoader.ruin_reversed1; + case 2 -> TileLoader.ruin_reversed2; + case 3 -> TileLoader.ruin_reversed3; + case 4 -> TileLoader.ruin_reversed4; + case 5 -> TileLoader.ruin_reversed5; + case 6 -> TileLoader.ruin_reversed6; + case 7 -> TileLoader.ruin_reversed7; + case 8 -> TileLoader.ruin_reversed8; + case 9 -> TileLoader.ruin_reversed9; + case 10 -> TileLoader.ruin_reversed10; + case 11 -> TileLoader.ruin_reversed11; + case 12 -> TileLoader.ruin_reversed12; + case 13 -> TileLoader.ruin_reversed13; + case 14 -> TileLoader.ruin_reversed14; + case 15 -> TileLoader.ruin_reversed15; + case 16 -> TileLoader.ruin_reversed16; + case 17 -> TileLoader.ruin_reversed17; + case 18 -> TileLoader.ruin_reversed18; + case 19 -> TileLoader.ruin_reversed19; + case 20 -> TileLoader.ruin_reversed20; + case 21 -> TileLoader.ruin_reversed21; + case 22 -> TileLoader.ruin_reversed22; + case 23 -> TileLoader.ruin_reversed23; + case 24 -> TileLoader.ruin_reversed24; + case 25 -> TileLoader.ruin_reversed25; + case 26 -> TileLoader.ruin_reversed26; + case 27 -> TileLoader.ruin_reversed27; + case 28 -> TileLoader.ruin_reversed28; + case 29 -> TileLoader.ruin_reversed29; + case 30 -> TileLoader.ruin_reversed30; + case 31 -> TileLoader.ruin_reversed31; + case 32 -> TileLoader.ruin_reversed32; + case 33 -> TileLoader.ruin_reversed33; + case 34 -> TileLoader.ruin_reversed34; + case 35 -> TileLoader.ruin_reversed35; + case 36 -> TileLoader.ruin_reversed36; + case 37 -> TileLoader.ruin_reversed37; + case 38 -> TileLoader.ruin_reversed38; + case 39 -> TileLoader.ruin_reversed39; + case 40 -> TileLoader.ruin_reversed40; + case 41 -> TileLoader.ruin_reversed41; + case 42 -> TileLoader.ruin_reversed42; + case 43 -> TileLoader.ruin_reversed43; + case 44 -> TileLoader.ruin_reversed44; + case 45 -> TileLoader.ruin_reversed45; + case 46 -> TileLoader.ruin_reversed46; + case 47 -> TileLoader.ruin_reversed47; + case 48 -> TileLoader.ruin_reversed48; + case 49 -> TileLoader.ruin_reversed49; + case 50 -> TileLoader.ruin_reversed50; + case 51 -> TileLoader.ruin_reversed51; + case 52 -> TileLoader.ruin_reversed52; + case 53 -> TileLoader.ruin_reversed53; + case 54 -> TileLoader.ruin_reversed54; + case 55 -> TileLoader.ruin_reversed55; + case 56 -> TileLoader.ruin_reversed56; + case 57 -> TileLoader.ruin_reversed57; + case 58 -> TileLoader.ruin_reversed58; + case 59 -> TileLoader.ruin_reversed59; + default -> 0; + }; + } + +} \ No newline at end of file diff --git a/java/src/moreMoppers/TileLoader.java b/java/src/moreMoppers/TileLoader.java new file mode 100644 index 0000000..896d205 --- /dev/null +++ b/java/src/moreMoppers/TileLoader.java @@ -0,0 +1,24646 @@ +package moreMoppers; +import battlecode.common.*; + +public class TileLoader { + public static RobotController rc; + public static void init(RobotController rc) { + TileLoader.rc = rc; + } + + public static long seen0 = 0; + public static long wall0 = 0; + public static long ruin0 = 0; + public static long visited0 = 0; + + public static long seen_reversed0 = 0; + public static long wall_reversed0 = 0; + public static long ruin_reversed0 = 0; + public static long seen1 = 0; + public static long wall1 = 0; + public static long ruin1 = 0; + public static long visited1 = 0; + + public static long seen_reversed1 = 0; + public static long wall_reversed1 = 0; + public static long ruin_reversed1 = 0; + public static long seen2 = 0; + public static long wall2 = 0; + public static long ruin2 = 0; + public static long visited2 = 0; + + public static long seen_reversed2 = 0; + public static long wall_reversed2 = 0; + public static long ruin_reversed2 = 0; + public static long seen3 = 0; + public static long wall3 = 0; + public static long ruin3 = 0; + public static long visited3 = 0; + + public static long seen_reversed3 = 0; + public static long wall_reversed3 = 0; + public static long ruin_reversed3 = 0; + public static long seen4 = 0; + public static long wall4 = 0; + public static long ruin4 = 0; + public static long visited4 = 0; + + public static long seen_reversed4 = 0; + public static long wall_reversed4 = 0; + public static long ruin_reversed4 = 0; + public static long seen5 = 0; + public static long wall5 = 0; + public static long ruin5 = 0; + public static long visited5 = 0; + + public static long seen_reversed5 = 0; + public static long wall_reversed5 = 0; + public static long ruin_reversed5 = 0; + public static long seen6 = 0; + public static long wall6 = 0; + public static long ruin6 = 0; + public static long visited6 = 0; + + public static long seen_reversed6 = 0; + public static long wall_reversed6 = 0; + public static long ruin_reversed6 = 0; + public static long seen7 = 0; + public static long wall7 = 0; + public static long ruin7 = 0; + public static long visited7 = 0; + + public static long seen_reversed7 = 0; + public static long wall_reversed7 = 0; + public static long ruin_reversed7 = 0; + public static long seen8 = 0; + public static long wall8 = 0; + public static long ruin8 = 0; + public static long visited8 = 0; + + public static long seen_reversed8 = 0; + public static long wall_reversed8 = 0; + public static long ruin_reversed8 = 0; + public static long seen9 = 0; + public static long wall9 = 0; + public static long ruin9 = 0; + public static long visited9 = 0; + + public static long seen_reversed9 = 0; + public static long wall_reversed9 = 0; + public static long ruin_reversed9 = 0; + public static long seen10 = 0; + public static long wall10 = 0; + public static long ruin10 = 0; + public static long visited10 = 0; + + public static long seen_reversed10 = 0; + public static long wall_reversed10 = 0; + public static long ruin_reversed10 = 0; + public static long seen11 = 0; + public static long wall11 = 0; + public static long ruin11 = 0; + public static long visited11 = 0; + + public static long seen_reversed11 = 0; + public static long wall_reversed11 = 0; + public static long ruin_reversed11 = 0; + public static long seen12 = 0; + public static long wall12 = 0; + public static long ruin12 = 0; + public static long visited12 = 0; + + public static long seen_reversed12 = 0; + public static long wall_reversed12 = 0; + public static long ruin_reversed12 = 0; + public static long seen13 = 0; + public static long wall13 = 0; + public static long ruin13 = 0; + public static long visited13 = 0; + + public static long seen_reversed13 = 0; + public static long wall_reversed13 = 0; + public static long ruin_reversed13 = 0; + public static long seen14 = 0; + public static long wall14 = 0; + public static long ruin14 = 0; + public static long visited14 = 0; + + public static long seen_reversed14 = 0; + public static long wall_reversed14 = 0; + public static long ruin_reversed14 = 0; + public static long seen15 = 0; + public static long wall15 = 0; + public static long ruin15 = 0; + public static long visited15 = 0; + + public static long seen_reversed15 = 0; + public static long wall_reversed15 = 0; + public static long ruin_reversed15 = 0; + public static long seen16 = 0; + public static long wall16 = 0; + public static long ruin16 = 0; + public static long visited16 = 0; + + public static long seen_reversed16 = 0; + public static long wall_reversed16 = 0; + public static long ruin_reversed16 = 0; + public static long seen17 = 0; + public static long wall17 = 0; + public static long ruin17 = 0; + public static long visited17 = 0; + + public static long seen_reversed17 = 0; + public static long wall_reversed17 = 0; + public static long ruin_reversed17 = 0; + public static long seen18 = 0; + public static long wall18 = 0; + public static long ruin18 = 0; + public static long visited18 = 0; + + public static long seen_reversed18 = 0; + public static long wall_reversed18 = 0; + public static long ruin_reversed18 = 0; + public static long seen19 = 0; + public static long wall19 = 0; + public static long ruin19 = 0; + public static long visited19 = 0; + + public static long seen_reversed19 = 0; + public static long wall_reversed19 = 0; + public static long ruin_reversed19 = 0; + public static long seen20 = 0; + public static long wall20 = 0; + public static long ruin20 = 0; + public static long visited20 = 0; + + public static long seen_reversed20 = 0; + public static long wall_reversed20 = 0; + public static long ruin_reversed20 = 0; + public static long seen21 = 0; + public static long wall21 = 0; + public static long ruin21 = 0; + public static long visited21 = 0; + + public static long seen_reversed21 = 0; + public static long wall_reversed21 = 0; + public static long ruin_reversed21 = 0; + public static long seen22 = 0; + public static long wall22 = 0; + public static long ruin22 = 0; + public static long visited22 = 0; + + public static long seen_reversed22 = 0; + public static long wall_reversed22 = 0; + public static long ruin_reversed22 = 0; + public static long seen23 = 0; + public static long wall23 = 0; + public static long ruin23 = 0; + public static long visited23 = 0; + + public static long seen_reversed23 = 0; + public static long wall_reversed23 = 0; + public static long ruin_reversed23 = 0; + public static long seen24 = 0; + public static long wall24 = 0; + public static long ruin24 = 0; + public static long visited24 = 0; + + public static long seen_reversed24 = 0; + public static long wall_reversed24 = 0; + public static long ruin_reversed24 = 0; + public static long seen25 = 0; + public static long wall25 = 0; + public static long ruin25 = 0; + public static long visited25 = 0; + + public static long seen_reversed25 = 0; + public static long wall_reversed25 = 0; + public static long ruin_reversed25 = 0; + public static long seen26 = 0; + public static long wall26 = 0; + public static long ruin26 = 0; + public static long visited26 = 0; + + public static long seen_reversed26 = 0; + public static long wall_reversed26 = 0; + public static long ruin_reversed26 = 0; + public static long seen27 = 0; + public static long wall27 = 0; + public static long ruin27 = 0; + public static long visited27 = 0; + + public static long seen_reversed27 = 0; + public static long wall_reversed27 = 0; + public static long ruin_reversed27 = 0; + public static long seen28 = 0; + public static long wall28 = 0; + public static long ruin28 = 0; + public static long visited28 = 0; + + public static long seen_reversed28 = 0; + public static long wall_reversed28 = 0; + public static long ruin_reversed28 = 0; + public static long seen29 = 0; + public static long wall29 = 0; + public static long ruin29 = 0; + public static long visited29 = 0; + + public static long seen_reversed29 = 0; + public static long wall_reversed29 = 0; + public static long ruin_reversed29 = 0; + public static long seen30 = 0; + public static long wall30 = 0; + public static long ruin30 = 0; + public static long visited30 = 0; + + public static long seen_reversed30 = 0; + public static long wall_reversed30 = 0; + public static long ruin_reversed30 = 0; + public static long seen31 = 0; + public static long wall31 = 0; + public static long ruin31 = 0; + public static long visited31 = 0; + + public static long seen_reversed31 = 0; + public static long wall_reversed31 = 0; + public static long ruin_reversed31 = 0; + public static long seen32 = 0; + public static long wall32 = 0; + public static long ruin32 = 0; + public static long visited32 = 0; + + public static long seen_reversed32 = 0; + public static long wall_reversed32 = 0; + public static long ruin_reversed32 = 0; + public static long seen33 = 0; + public static long wall33 = 0; + public static long ruin33 = 0; + public static long visited33 = 0; + + public static long seen_reversed33 = 0; + public static long wall_reversed33 = 0; + public static long ruin_reversed33 = 0; + public static long seen34 = 0; + public static long wall34 = 0; + public static long ruin34 = 0; + public static long visited34 = 0; + + public static long seen_reversed34 = 0; + public static long wall_reversed34 = 0; + public static long ruin_reversed34 = 0; + public static long seen35 = 0; + public static long wall35 = 0; + public static long ruin35 = 0; + public static long visited35 = 0; + + public static long seen_reversed35 = 0; + public static long wall_reversed35 = 0; + public static long ruin_reversed35 = 0; + public static long seen36 = 0; + public static long wall36 = 0; + public static long ruin36 = 0; + public static long visited36 = 0; + + public static long seen_reversed36 = 0; + public static long wall_reversed36 = 0; + public static long ruin_reversed36 = 0; + public static long seen37 = 0; + public static long wall37 = 0; + public static long ruin37 = 0; + public static long visited37 = 0; + + public static long seen_reversed37 = 0; + public static long wall_reversed37 = 0; + public static long ruin_reversed37 = 0; + public static long seen38 = 0; + public static long wall38 = 0; + public static long ruin38 = 0; + public static long visited38 = 0; + + public static long seen_reversed38 = 0; + public static long wall_reversed38 = 0; + public static long ruin_reversed38 = 0; + public static long seen39 = 0; + public static long wall39 = 0; + public static long ruin39 = 0; + public static long visited39 = 0; + + public static long seen_reversed39 = 0; + public static long wall_reversed39 = 0; + public static long ruin_reversed39 = 0; + public static long seen40 = 0; + public static long wall40 = 0; + public static long ruin40 = 0; + public static long visited40 = 0; + + public static long seen_reversed40 = 0; + public static long wall_reversed40 = 0; + public static long ruin_reversed40 = 0; + public static long seen41 = 0; + public static long wall41 = 0; + public static long ruin41 = 0; + public static long visited41 = 0; + + public static long seen_reversed41 = 0; + public static long wall_reversed41 = 0; + public static long ruin_reversed41 = 0; + public static long seen42 = 0; + public static long wall42 = 0; + public static long ruin42 = 0; + public static long visited42 = 0; + + public static long seen_reversed42 = 0; + public static long wall_reversed42 = 0; + public static long ruin_reversed42 = 0; + public static long seen43 = 0; + public static long wall43 = 0; + public static long ruin43 = 0; + public static long visited43 = 0; + + public static long seen_reversed43 = 0; + public static long wall_reversed43 = 0; + public static long ruin_reversed43 = 0; + public static long seen44 = 0; + public static long wall44 = 0; + public static long ruin44 = 0; + public static long visited44 = 0; + + public static long seen_reversed44 = 0; + public static long wall_reversed44 = 0; + public static long ruin_reversed44 = 0; + public static long seen45 = 0; + public static long wall45 = 0; + public static long ruin45 = 0; + public static long visited45 = 0; + + public static long seen_reversed45 = 0; + public static long wall_reversed45 = 0; + public static long ruin_reversed45 = 0; + public static long seen46 = 0; + public static long wall46 = 0; + public static long ruin46 = 0; + public static long visited46 = 0; + + public static long seen_reversed46 = 0; + public static long wall_reversed46 = 0; + public static long ruin_reversed46 = 0; + public static long seen47 = 0; + public static long wall47 = 0; + public static long ruin47 = 0; + public static long visited47 = 0; + + public static long seen_reversed47 = 0; + public static long wall_reversed47 = 0; + public static long ruin_reversed47 = 0; + public static long seen48 = 0; + public static long wall48 = 0; + public static long ruin48 = 0; + public static long visited48 = 0; + + public static long seen_reversed48 = 0; + public static long wall_reversed48 = 0; + public static long ruin_reversed48 = 0; + public static long seen49 = 0; + public static long wall49 = 0; + public static long ruin49 = 0; + public static long visited49 = 0; + + public static long seen_reversed49 = 0; + public static long wall_reversed49 = 0; + public static long ruin_reversed49 = 0; + public static long seen50 = 0; + public static long wall50 = 0; + public static long ruin50 = 0; + public static long visited50 = 0; + + public static long seen_reversed50 = 0; + public static long wall_reversed50 = 0; + public static long ruin_reversed50 = 0; + public static long seen51 = 0; + public static long wall51 = 0; + public static long ruin51 = 0; + public static long visited51 = 0; + + public static long seen_reversed51 = 0; + public static long wall_reversed51 = 0; + public static long ruin_reversed51 = 0; + public static long seen52 = 0; + public static long wall52 = 0; + public static long ruin52 = 0; + public static long visited52 = 0; + + public static long seen_reversed52 = 0; + public static long wall_reversed52 = 0; + public static long ruin_reversed52 = 0; + public static long seen53 = 0; + public static long wall53 = 0; + public static long ruin53 = 0; + public static long visited53 = 0; + + public static long seen_reversed53 = 0; + public static long wall_reversed53 = 0; + public static long ruin_reversed53 = 0; + public static long seen54 = 0; + public static long wall54 = 0; + public static long ruin54 = 0; + public static long visited54 = 0; + + public static long seen_reversed54 = 0; + public static long wall_reversed54 = 0; + public static long ruin_reversed54 = 0; + public static long seen55 = 0; + public static long wall55 = 0; + public static long ruin55 = 0; + public static long visited55 = 0; + + public static long seen_reversed55 = 0; + public static long wall_reversed55 = 0; + public static long ruin_reversed55 = 0; + public static long seen56 = 0; + public static long wall56 = 0; + public static long ruin56 = 0; + public static long visited56 = 0; + + public static long seen_reversed56 = 0; + public static long wall_reversed56 = 0; + public static long ruin_reversed56 = 0; + public static long seen57 = 0; + public static long wall57 = 0; + public static long ruin57 = 0; + public static long visited57 = 0; + + public static long seen_reversed57 = 0; + public static long wall_reversed57 = 0; + public static long ruin_reversed57 = 0; + public static long seen58 = 0; + public static long wall58 = 0; + public static long ruin58 = 0; + public static long visited58 = 0; + + public static long seen_reversed58 = 0; + public static long wall_reversed58 = 0; + public static long ruin_reversed58 = 0; + public static long seen59 = 0; + public static long wall59 = 0; + public static long ruin59 = 0; + public static long visited59 = 0; + + public static long seen_reversed59 = 0; + public static long wall_reversed59 = 0; + public static long ruin_reversed59 = 0; + public static int offset; + public static MapInfo[] mapInfos; + public static int shiftReversedX; + + // TODO: it's actually better to use the _reversed mask + // Because then you can check V, H, and R... + // But I've been working on this too long. + public static int local_ruin0 = 0; + public static int local_seen0 = 0; + public static int local_seen_reversed0 = 0; + public static int local_wall0 = 0; + public static int local_wall_reversed0 = 0; + public static int local_ruin1 = 0; + public static int local_seen1 = 0; + public static int local_seen_reversed1 = 0; + public static int local_wall1 = 0; + public static int local_wall_reversed1 = 0; + public static int local_ruin2 = 0; + public static int local_seen2 = 0; + public static int local_seen_reversed2 = 0; + public static int local_wall2 = 0; + public static int local_wall_reversed2 = 0; + public static int local_ruin3 = 0; + public static int local_seen3 = 0; + public static int local_seen_reversed3 = 0; + public static int local_wall3 = 0; + public static int local_wall_reversed3 = 0; + public static int local_ruin4 = 0; + public static int local_seen4 = 0; + public static int local_seen_reversed4 = 0; + public static int local_wall4 = 0; + public static int local_wall_reversed4 = 0; + public static int local_ruin5 = 0; + public static int local_seen5 = 0; + public static int local_seen_reversed5 = 0; + public static int local_wall5 = 0; + public static int local_wall_reversed5 = 0; + public static int local_ruin6 = 0; + public static int local_seen6 = 0; + public static int local_seen_reversed6 = 0; + public static int local_wall6 = 0; + public static int local_wall_reversed6 = 0; + public static int local_ruin7 = 0; + public static int local_seen7 = 0; + public static int local_seen_reversed7 = 0; + public static int local_wall7 = 0; + public static int local_wall_reversed7 = 0; + public static int local_ruin8 = 0; + public static int local_seen8 = 0; + public static int local_seen_reversed8 = 0; + public static int local_wall8 = 0; + public static int local_wall_reversed8 = 0; + + + public static void load() throws GameActionException { + loadRuins(); + loadWalls(); + markVisited(); + } + + public static void markVisited() throws GameActionException { + MapLocation m = rc.getLocation(); + switch (m.y) { + case 0 -> { + visited0 |= 1L << m.x; + return; + } + case 1 -> { + visited1 |= 1L << m.x; + return; + } + case 2 -> { + visited2 |= 1L << m.x; + return; + } + case 3 -> { + visited3 |= 1L << m.x; + return; + } + case 4 -> { + visited4 |= 1L << m.x; + return; + } + case 5 -> { + visited5 |= 1L << m.x; + return; + } + case 6 -> { + visited6 |= 1L << m.x; + return; + } + case 7 -> { + visited7 |= 1L << m.x; + return; + } + case 8 -> { + visited8 |= 1L << m.x; + return; + } + case 9 -> { + visited9 |= 1L << m.x; + return; + } + case 10 -> { + visited10 |= 1L << m.x; + return; + } + case 11 -> { + visited11 |= 1L << m.x; + return; + } + case 12 -> { + visited12 |= 1L << m.x; + return; + } + case 13 -> { + visited13 |= 1L << m.x; + return; + } + case 14 -> { + visited14 |= 1L << m.x; + return; + } + case 15 -> { + visited15 |= 1L << m.x; + return; + } + case 16 -> { + visited16 |= 1L << m.x; + return; + } + case 17 -> { + visited17 |= 1L << m.x; + return; + } + case 18 -> { + visited18 |= 1L << m.x; + return; + } + case 19 -> { + visited19 |= 1L << m.x; + return; + } + case 20 -> { + visited20 |= 1L << m.x; + return; + } + case 21 -> { + visited21 |= 1L << m.x; + return; + } + case 22 -> { + visited22 |= 1L << m.x; + return; + } + case 23 -> { + visited23 |= 1L << m.x; + return; + } + case 24 -> { + visited24 |= 1L << m.x; + return; + } + case 25 -> { + visited25 |= 1L << m.x; + return; + } + case 26 -> { + visited26 |= 1L << m.x; + return; + } + case 27 -> { + visited27 |= 1L << m.x; + return; + } + case 28 -> { + visited28 |= 1L << m.x; + return; + } + case 29 -> { + visited29 |= 1L << m.x; + return; + } + case 30 -> { + visited30 |= 1L << m.x; + return; + } + case 31 -> { + visited31 |= 1L << m.x; + return; + } + case 32 -> { + visited32 |= 1L << m.x; + return; + } + case 33 -> { + visited33 |= 1L << m.x; + return; + } + case 34 -> { + visited34 |= 1L << m.x; + return; + } + case 35 -> { + visited35 |= 1L << m.x; + return; + } + case 36 -> { + visited36 |= 1L << m.x; + return; + } + case 37 -> { + visited37 |= 1L << m.x; + return; + } + case 38 -> { + visited38 |= 1L << m.x; + return; + } + case 39 -> { + visited39 |= 1L << m.x; + return; + } + case 40 -> { + visited40 |= 1L << m.x; + return; + } + case 41 -> { + visited41 |= 1L << m.x; + return; + } + case 42 -> { + visited42 |= 1L << m.x; + return; + } + case 43 -> { + visited43 |= 1L << m.x; + return; + } + case 44 -> { + visited44 |= 1L << m.x; + return; + } + case 45 -> { + visited45 |= 1L << m.x; + return; + } + case 46 -> { + visited46 |= 1L << m.x; + return; + } + case 47 -> { + visited47 |= 1L << m.x; + return; + } + case 48 -> { + visited48 |= 1L << m.x; + return; + } + case 49 -> { + visited49 |= 1L << m.x; + return; + } + case 50 -> { + visited50 |= 1L << m.x; + return; + } + case 51 -> { + visited51 |= 1L << m.x; + return; + } + case 52 -> { + visited52 |= 1L << m.x; + return; + } + case 53 -> { + visited53 |= 1L << m.x; + return; + } + case 54 -> { + visited54 |= 1L << m.x; + return; + } + case 55 -> { + visited55 |= 1L << m.x; + return; + } + case 56 -> { + visited56 |= 1L << m.x; + return; + } + case 57 -> { + visited57 |= 1L << m.x; + return; + } + case 58 -> { + visited58 |= 1L << m.x; + return; + } + case 59 -> { + visited59 |= 1L << m.x; + return; + } + } + } + + // Pretty cheap, there are no ruins within a 5x5 of other ruins. + public static void loadRuins() throws GameActionException { + + local_ruin0 = 0; + + local_ruin1 = 0; + + local_ruin2 = 0; + + local_ruin3 = 0; + + local_ruin4 = 0; + + local_ruin5 = 0; + + local_ruin6 = 0; + + local_ruin7 = 0; + + local_ruin8 = 0; + + + int myY = rc.getLocation().y; + int myX = rc.getLocation().x; + long lastSquare = (1L << (rc.getMapWidth() - 1)); + MapLocation[] ruins = rc.senseNearbyRuins(-1); + for (int i = ruins.length; --i >= 0; ) { + MapLocation ruin = ruins[i]; + switch (ruin.y) { + case 0 -> { + ruin0 |= (1L << ruin.x); + ruin_reversed0 |= (lastSquare >> ruin.x); + } + case 1 -> { + ruin1 |= (1L << ruin.x); + ruin_reversed1 |= (lastSquare >> ruin.x); + } + case 2 -> { + ruin2 |= (1L << ruin.x); + ruin_reversed2 |= (lastSquare >> ruin.x); + } + case 3 -> { + ruin3 |= (1L << ruin.x); + ruin_reversed3 |= (lastSquare >> ruin.x); + } + case 4 -> { + ruin4 |= (1L << ruin.x); + ruin_reversed4 |= (lastSquare >> ruin.x); + } + case 5 -> { + ruin5 |= (1L << ruin.x); + ruin_reversed5 |= (lastSquare >> ruin.x); + } + case 6 -> { + ruin6 |= (1L << ruin.x); + ruin_reversed6 |= (lastSquare >> ruin.x); + } + case 7 -> { + ruin7 |= (1L << ruin.x); + ruin_reversed7 |= (lastSquare >> ruin.x); + } + case 8 -> { + ruin8 |= (1L << ruin.x); + ruin_reversed8 |= (lastSquare >> ruin.x); + } + case 9 -> { + ruin9 |= (1L << ruin.x); + ruin_reversed9 |= (lastSquare >> ruin.x); + } + case 10 -> { + ruin10 |= (1L << ruin.x); + ruin_reversed10 |= (lastSquare >> ruin.x); + } + case 11 -> { + ruin11 |= (1L << ruin.x); + ruin_reversed11 |= (lastSquare >> ruin.x); + } + case 12 -> { + ruin12 |= (1L << ruin.x); + ruin_reversed12 |= (lastSquare >> ruin.x); + } + case 13 -> { + ruin13 |= (1L << ruin.x); + ruin_reversed13 |= (lastSquare >> ruin.x); + } + case 14 -> { + ruin14 |= (1L << ruin.x); + ruin_reversed14 |= (lastSquare >> ruin.x); + } + case 15 -> { + ruin15 |= (1L << ruin.x); + ruin_reversed15 |= (lastSquare >> ruin.x); + } + case 16 -> { + ruin16 |= (1L << ruin.x); + ruin_reversed16 |= (lastSquare >> ruin.x); + } + case 17 -> { + ruin17 |= (1L << ruin.x); + ruin_reversed17 |= (lastSquare >> ruin.x); + } + case 18 -> { + ruin18 |= (1L << ruin.x); + ruin_reversed18 |= (lastSquare >> ruin.x); + } + case 19 -> { + ruin19 |= (1L << ruin.x); + ruin_reversed19 |= (lastSquare >> ruin.x); + } + case 20 -> { + ruin20 |= (1L << ruin.x); + ruin_reversed20 |= (lastSquare >> ruin.x); + } + case 21 -> { + ruin21 |= (1L << ruin.x); + ruin_reversed21 |= (lastSquare >> ruin.x); + } + case 22 -> { + ruin22 |= (1L << ruin.x); + ruin_reversed22 |= (lastSquare >> ruin.x); + } + case 23 -> { + ruin23 |= (1L << ruin.x); + ruin_reversed23 |= (lastSquare >> ruin.x); + } + case 24 -> { + ruin24 |= (1L << ruin.x); + ruin_reversed24 |= (lastSquare >> ruin.x); + } + case 25 -> { + ruin25 |= (1L << ruin.x); + ruin_reversed25 |= (lastSquare >> ruin.x); + } + case 26 -> { + ruin26 |= (1L << ruin.x); + ruin_reversed26 |= (lastSquare >> ruin.x); + } + case 27 -> { + ruin27 |= (1L << ruin.x); + ruin_reversed27 |= (lastSquare >> ruin.x); + } + case 28 -> { + ruin28 |= (1L << ruin.x); + ruin_reversed28 |= (lastSquare >> ruin.x); + } + case 29 -> { + ruin29 |= (1L << ruin.x); + ruin_reversed29 |= (lastSquare >> ruin.x); + } + case 30 -> { + ruin30 |= (1L << ruin.x); + ruin_reversed30 |= (lastSquare >> ruin.x); + } + case 31 -> { + ruin31 |= (1L << ruin.x); + ruin_reversed31 |= (lastSquare >> ruin.x); + } + case 32 -> { + ruin32 |= (1L << ruin.x); + ruin_reversed32 |= (lastSquare >> ruin.x); + } + case 33 -> { + ruin33 |= (1L << ruin.x); + ruin_reversed33 |= (lastSquare >> ruin.x); + } + case 34 -> { + ruin34 |= (1L << ruin.x); + ruin_reversed34 |= (lastSquare >> ruin.x); + } + case 35 -> { + ruin35 |= (1L << ruin.x); + ruin_reversed35 |= (lastSquare >> ruin.x); + } + case 36 -> { + ruin36 |= (1L << ruin.x); + ruin_reversed36 |= (lastSquare >> ruin.x); + } + case 37 -> { + ruin37 |= (1L << ruin.x); + ruin_reversed37 |= (lastSquare >> ruin.x); + } + case 38 -> { + ruin38 |= (1L << ruin.x); + ruin_reversed38 |= (lastSquare >> ruin.x); + } + case 39 -> { + ruin39 |= (1L << ruin.x); + ruin_reversed39 |= (lastSquare >> ruin.x); + } + case 40 -> { + ruin40 |= (1L << ruin.x); + ruin_reversed40 |= (lastSquare >> ruin.x); + } + case 41 -> { + ruin41 |= (1L << ruin.x); + ruin_reversed41 |= (lastSquare >> ruin.x); + } + case 42 -> { + ruin42 |= (1L << ruin.x); + ruin_reversed42 |= (lastSquare >> ruin.x); + } + case 43 -> { + ruin43 |= (1L << ruin.x); + ruin_reversed43 |= (lastSquare >> ruin.x); + } + case 44 -> { + ruin44 |= (1L << ruin.x); + ruin_reversed44 |= (lastSquare >> ruin.x); + } + case 45 -> { + ruin45 |= (1L << ruin.x); + ruin_reversed45 |= (lastSquare >> ruin.x); + } + case 46 -> { + ruin46 |= (1L << ruin.x); + ruin_reversed46 |= (lastSquare >> ruin.x); + } + case 47 -> { + ruin47 |= (1L << ruin.x); + ruin_reversed47 |= (lastSquare >> ruin.x); + } + case 48 -> { + ruin48 |= (1L << ruin.x); + ruin_reversed48 |= (lastSquare >> ruin.x); + } + case 49 -> { + ruin49 |= (1L << ruin.x); + ruin_reversed49 |= (lastSquare >> ruin.x); + } + case 50 -> { + ruin50 |= (1L << ruin.x); + ruin_reversed50 |= (lastSquare >> ruin.x); + } + case 51 -> { + ruin51 |= (1L << ruin.x); + ruin_reversed51 |= (lastSquare >> ruin.x); + } + case 52 -> { + ruin52 |= (1L << ruin.x); + ruin_reversed52 |= (lastSquare >> ruin.x); + } + case 53 -> { + ruin53 |= (1L << ruin.x); + ruin_reversed53 |= (lastSquare >> ruin.x); + } + case 54 -> { + ruin54 |= (1L << ruin.x); + ruin_reversed54 |= (lastSquare >> ruin.x); + } + case 55 -> { + ruin55 |= (1L << ruin.x); + ruin_reversed55 |= (lastSquare >> ruin.x); + } + case 56 -> { + ruin56 |= (1L << ruin.x); + ruin_reversed56 |= (lastSquare >> ruin.x); + } + case 57 -> { + ruin57 |= (1L << ruin.x); + ruin_reversed57 |= (lastSquare >> ruin.x); + } + case 58 -> { + ruin58 |= (1L << ruin.x); + ruin_reversed58 |= (lastSquare >> ruin.x); + } + case 59 -> { + ruin59 |= (1L << ruin.x); + ruin_reversed59 |= (lastSquare >> ruin.x); + } + + default -> System.out.println("Invalid Ruin Y"); + } + switch (ruin.y - (myY - 4)) { + case 0 -> { + local_ruin0 += (1 << (ruin.x - (myX - 4))); + } + case 1 -> { + local_ruin1 += (1 << (ruin.x - (myX - 4))); + } + case 2 -> { + local_ruin2 += (1 << (ruin.x - (myX - 4))); + } + case 3 -> { + local_ruin3 += (1 << (ruin.x - (myX - 4))); + } + case 4 -> { + local_ruin4 += (1 << (ruin.x - (myX - 4))); + } + case 5 -> { + local_ruin5 += (1 << (ruin.x - (myX - 4))); + } + case 6 -> { + local_ruin6 += (1 << (ruin.x - (myX - 4))); + } + case 7 -> { + local_ruin7 += (1 << (ruin.x - (myX - 4))); + } + case 8 -> { + local_ruin8 += (1 << (ruin.x - (myX - 4))); + } + + default -> System.out.println("Invalid Ruin Y"); + } + } + } + + public static void loadWalls() throws GameActionException { + // We measure from the top right corner since that will always + // Have non-negative coordinates, meaning this hashCode magic will make sense. + offset = rc.getLocation().translate(4, 4).hashCode(); + mapInfos = rc.senseNearbyMapInfos(); + + // The seen masks are known statically. + local_seen8 = 0b001111100; + local_seen7 = 0b011111110; + local_seen6 = 0b111111111; + local_seen5 = 0b111111111; + local_seen4 = 0b111111111; + local_seen3 = 0b111111111; + local_seen2 = 0b111111111; + local_seen1 = 0b011111110; + local_seen0 = 0b001111100; + local_seen_reversed8 = 0b001111100; + local_seen_reversed7 = 0b011111110; + local_seen_reversed6 = 0b111111111; + local_seen_reversed5 = 0b111111111; + local_seen_reversed4 = 0b111111111; + local_seen_reversed3 = 0b111111111; + local_seen_reversed2 = 0b111111111; + local_seen_reversed1 = 0b011111110; + local_seen_reversed0 = 0b001111100; + + local_wall0 = 0; + local_wall_reversed0 = 0; + local_wall1 = 0; + local_wall_reversed1 = 0; + local_wall2 = 0; + local_wall_reversed2 = 0; + local_wall3 = 0; + local_wall_reversed3 = 0; + local_wall4 = 0; + local_wall_reversed4 = 0; + local_wall5 = 0; + local_wall_reversed5 = 0; + local_wall6 = 0; + local_wall_reversed6 = 0; + local_wall7 = 0; + local_wall_reversed7 = 0; + local_wall8 = 0; + local_wall_reversed8 = 0; + + + for (int i = mapInfos.length; --i >= 0; ) { + // We choose to unroll the below instead of the outer loop because it has a much more significant effect. + // Storing something in a mask becomes a single integer increment instruction. + // https://github.com/battlecode/battlecode24/blob/master/engine/src/main/battlecode/common/MapLocation.java + MapInfo mapInfo = mapInfos[i]; + if (mapInfo.isWall()) { + switch (offset - mapInfo.getMapLocation().hashCode()) { + case 0x00000000 -> { + local_wall8 += 0b100000000; + local_wall_reversed8 += 0b000000001; + } + case 0x00000001 -> { + local_wall7 += 0b100000000; + local_wall_reversed7 += 0b000000001; + } + case 0x00000002 -> { + local_wall6 += 0b100000000; + local_wall_reversed6 += 0b000000001; + } + case 0x00000003 -> { + local_wall5 += 0b100000000; + local_wall_reversed5 += 0b000000001; + } + case 0x00000004 -> { + local_wall4 += 0b100000000; + local_wall_reversed4 += 0b000000001; + } + case 0x00000005 -> { + local_wall3 += 0b100000000; + local_wall_reversed3 += 0b000000001; + } + case 0x00000006 -> { + local_wall2 += 0b100000000; + local_wall_reversed2 += 0b000000001; + } + case 0x00000007 -> { + local_wall1 += 0b100000000; + local_wall_reversed1 += 0b000000001; + } + case 0x00000008 -> { + local_wall0 += 0b100000000; + local_wall_reversed0 += 0b000000001; + } + case 0x00010000 -> { + local_wall8 += 0b010000000; + local_wall_reversed8 += 0b000000010; + } + case 0x00010001 -> { + local_wall7 += 0b010000000; + local_wall_reversed7 += 0b000000010; + } + case 0x00010002 -> { + local_wall6 += 0b010000000; + local_wall_reversed6 += 0b000000010; + } + case 0x00010003 -> { + local_wall5 += 0b010000000; + local_wall_reversed5 += 0b000000010; + } + case 0x00010004 -> { + local_wall4 += 0b010000000; + local_wall_reversed4 += 0b000000010; + } + case 0x00010005 -> { + local_wall3 += 0b010000000; + local_wall_reversed3 += 0b000000010; + } + case 0x00010006 -> { + local_wall2 += 0b010000000; + local_wall_reversed2 += 0b000000010; + } + case 0x00010007 -> { + local_wall1 += 0b010000000; + local_wall_reversed1 += 0b000000010; + } + case 0x00010008 -> { + local_wall0 += 0b010000000; + local_wall_reversed0 += 0b000000010; + } + case 0x00020000 -> { + local_wall8 += 0b001000000; + local_wall_reversed8 += 0b000000100; + } + case 0x00020001 -> { + local_wall7 += 0b001000000; + local_wall_reversed7 += 0b000000100; + } + case 0x00020002 -> { + local_wall6 += 0b001000000; + local_wall_reversed6 += 0b000000100; + } + case 0x00020003 -> { + local_wall5 += 0b001000000; + local_wall_reversed5 += 0b000000100; + } + case 0x00020004 -> { + local_wall4 += 0b001000000; + local_wall_reversed4 += 0b000000100; + } + case 0x00020005 -> { + local_wall3 += 0b001000000; + local_wall_reversed3 += 0b000000100; + } + case 0x00020006 -> { + local_wall2 += 0b001000000; + local_wall_reversed2 += 0b000000100; + } + case 0x00020007 -> { + local_wall1 += 0b001000000; + local_wall_reversed1 += 0b000000100; + } + case 0x00020008 -> { + local_wall0 += 0b001000000; + local_wall_reversed0 += 0b000000100; + } + case 0x00030000 -> { + local_wall8 += 0b000100000; + local_wall_reversed8 += 0b000001000; + } + case 0x00030001 -> { + local_wall7 += 0b000100000; + local_wall_reversed7 += 0b000001000; + } + case 0x00030002 -> { + local_wall6 += 0b000100000; + local_wall_reversed6 += 0b000001000; + } + case 0x00030003 -> { + local_wall5 += 0b000100000; + local_wall_reversed5 += 0b000001000; + } + case 0x00030004 -> { + local_wall4 += 0b000100000; + local_wall_reversed4 += 0b000001000; + } + case 0x00030005 -> { + local_wall3 += 0b000100000; + local_wall_reversed3 += 0b000001000; + } + case 0x00030006 -> { + local_wall2 += 0b000100000; + local_wall_reversed2 += 0b000001000; + } + case 0x00030007 -> { + local_wall1 += 0b000100000; + local_wall_reversed1 += 0b000001000; + } + case 0x00030008 -> { + local_wall0 += 0b000100000; + local_wall_reversed0 += 0b000001000; + } + case 0x00040000 -> { + local_wall8 += 0b000010000; + local_wall_reversed8 += 0b000010000; + } + case 0x00040001 -> { + local_wall7 += 0b000010000; + local_wall_reversed7 += 0b000010000; + } + case 0x00040002 -> { + local_wall6 += 0b000010000; + local_wall_reversed6 += 0b000010000; + } + case 0x00040003 -> { + local_wall5 += 0b000010000; + local_wall_reversed5 += 0b000010000; + } + case 0x00040004 -> { + local_wall4 += 0b000010000; + local_wall_reversed4 += 0b000010000; + } + case 0x00040005 -> { + local_wall3 += 0b000010000; + local_wall_reversed3 += 0b000010000; + } + case 0x00040006 -> { + local_wall2 += 0b000010000; + local_wall_reversed2 += 0b000010000; + } + case 0x00040007 -> { + local_wall1 += 0b000010000; + local_wall_reversed1 += 0b000010000; + } + case 0x00040008 -> { + local_wall0 += 0b000010000; + local_wall_reversed0 += 0b000010000; + } + case 0x00050000 -> { + local_wall8 += 0b000001000; + local_wall_reversed8 += 0b000100000; + } + case 0x00050001 -> { + local_wall7 += 0b000001000; + local_wall_reversed7 += 0b000100000; + } + case 0x00050002 -> { + local_wall6 += 0b000001000; + local_wall_reversed6 += 0b000100000; + } + case 0x00050003 -> { + local_wall5 += 0b000001000; + local_wall_reversed5 += 0b000100000; + } + case 0x00050004 -> { + local_wall4 += 0b000001000; + local_wall_reversed4 += 0b000100000; + } + case 0x00050005 -> { + local_wall3 += 0b000001000; + local_wall_reversed3 += 0b000100000; + } + case 0x00050006 -> { + local_wall2 += 0b000001000; + local_wall_reversed2 += 0b000100000; + } + case 0x00050007 -> { + local_wall1 += 0b000001000; + local_wall_reversed1 += 0b000100000; + } + case 0x00050008 -> { + local_wall0 += 0b000001000; + local_wall_reversed0 += 0b000100000; + } + case 0x00060000 -> { + local_wall8 += 0b000000100; + local_wall_reversed8 += 0b001000000; + } + case 0x00060001 -> { + local_wall7 += 0b000000100; + local_wall_reversed7 += 0b001000000; + } + case 0x00060002 -> { + local_wall6 += 0b000000100; + local_wall_reversed6 += 0b001000000; + } + case 0x00060003 -> { + local_wall5 += 0b000000100; + local_wall_reversed5 += 0b001000000; + } + case 0x00060004 -> { + local_wall4 += 0b000000100; + local_wall_reversed4 += 0b001000000; + } + case 0x00060005 -> { + local_wall3 += 0b000000100; + local_wall_reversed3 += 0b001000000; + } + case 0x00060006 -> { + local_wall2 += 0b000000100; + local_wall_reversed2 += 0b001000000; + } + case 0x00060007 -> { + local_wall1 += 0b000000100; + local_wall_reversed1 += 0b001000000; + } + case 0x00060008 -> { + local_wall0 += 0b000000100; + local_wall_reversed0 += 0b001000000; + } + case 0x00070000 -> { + local_wall8 += 0b000000010; + local_wall_reversed8 += 0b010000000; + } + case 0x00070001 -> { + local_wall7 += 0b000000010; + local_wall_reversed7 += 0b010000000; + } + case 0x00070002 -> { + local_wall6 += 0b000000010; + local_wall_reversed6 += 0b010000000; + } + case 0x00070003 -> { + local_wall5 += 0b000000010; + local_wall_reversed5 += 0b010000000; + } + case 0x00070004 -> { + local_wall4 += 0b000000010; + local_wall_reversed4 += 0b010000000; + } + case 0x00070005 -> { + local_wall3 += 0b000000010; + local_wall_reversed3 += 0b010000000; + } + case 0x00070006 -> { + local_wall2 += 0b000000010; + local_wall_reversed2 += 0b010000000; + } + case 0x00070007 -> { + local_wall1 += 0b000000010; + local_wall_reversed1 += 0b010000000; + } + case 0x00070008 -> { + local_wall0 += 0b000000010; + local_wall_reversed0 += 0b010000000; + } + case 0x00080000 -> { + local_wall8 += 0b000000001; + local_wall_reversed8 += 0b100000000; + } + case 0x00080001 -> { + local_wall7 += 0b000000001; + local_wall_reversed7 += 0b100000000; + } + case 0x00080002 -> { + local_wall6 += 0b000000001; + local_wall_reversed6 += 0b100000000; + } + case 0x00080003 -> { + local_wall5 += 0b000000001; + local_wall_reversed5 += 0b100000000; + } + case 0x00080004 -> { + local_wall4 += 0b000000001; + local_wall_reversed4 += 0b100000000; + } + case 0x00080005 -> { + local_wall3 += 0b000000001; + local_wall_reversed3 += 0b100000000; + } + case 0x00080006 -> { + local_wall2 += 0b000000001; + local_wall_reversed2 += 0b100000000; + } + case 0x00080007 -> { + local_wall1 += 0b000000001; + local_wall_reversed1 += 0b100000000; + } + case 0x00080008 -> { + local_wall0 += 0b000000001; + local_wall_reversed0 += 0b100000000; + } + default -> System.out.println("Unknown MapLocation Offset"); + } + } + } + + // Dump the local masks into the actual masks. + shiftReversedX = ((rc.getMapWidth() - 1) - (rc.getLocation().x + 4)); + if (shiftReversedX > 0) { + dumpPositive(); + } else { + dumpNegative(); + } + } + + + + + public static void dumpPositive() throws GameActionException { + long rowMask = (1L << rc.getMapWidth()) - 1; + int cornerY = rc.getLocation().y + 4; + int shiftX = rc.getLocation().x + -4; + + + switch (cornerY) { + case 4 -> { + seen4 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed4 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall4 |= (long)(local_wall8) << shiftX; + wall_reversed4 |= (long)(local_wall_reversed8) << shiftReversedX; + seen3 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed3 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall3 |= (long)(local_wall7) << shiftX; + wall_reversed3 |= (long)(local_wall_reversed7) << shiftReversedX; + seen2 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed2 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall2 |= (long)(local_wall6) << shiftX; + wall_reversed2 |= (long)(local_wall_reversed6) << shiftReversedX; + seen1 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed1 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall1 |= (long)(local_wall5) << shiftX; + wall_reversed1 |= (long)(local_wall_reversed5) << shiftReversedX; + seen0 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed0 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall0 |= (long)(local_wall4) << shiftX; + wall_reversed0 |= (long)(local_wall_reversed4) << shiftReversedX; + + } + case 5 -> { + seen5 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed5 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall5 |= (long)(local_wall8) << shiftX; + wall_reversed5 |= (long)(local_wall_reversed8) << shiftReversedX; + seen4 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed4 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall4 |= (long)(local_wall7) << shiftX; + wall_reversed4 |= (long)(local_wall_reversed7) << shiftReversedX; + seen3 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed3 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall3 |= (long)(local_wall6) << shiftX; + wall_reversed3 |= (long)(local_wall_reversed6) << shiftReversedX; + seen2 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed2 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall2 |= (long)(local_wall5) << shiftX; + wall_reversed2 |= (long)(local_wall_reversed5) << shiftReversedX; + seen1 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed1 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall1 |= (long)(local_wall4) << shiftX; + wall_reversed1 |= (long)(local_wall_reversed4) << shiftReversedX; + seen0 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed0 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall0 |= (long)(local_wall3) << shiftX; + wall_reversed0 |= (long)(local_wall_reversed3) << shiftReversedX; + + } + case 6 -> { + seen6 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed6 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall6 |= (long)(local_wall8) << shiftX; + wall_reversed6 |= (long)(local_wall_reversed8) << shiftReversedX; + seen5 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed5 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall5 |= (long)(local_wall7) << shiftX; + wall_reversed5 |= (long)(local_wall_reversed7) << shiftReversedX; + seen4 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed4 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall4 |= (long)(local_wall6) << shiftX; + wall_reversed4 |= (long)(local_wall_reversed6) << shiftReversedX; + seen3 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed3 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall3 |= (long)(local_wall5) << shiftX; + wall_reversed3 |= (long)(local_wall_reversed5) << shiftReversedX; + seen2 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed2 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall2 |= (long)(local_wall4) << shiftX; + wall_reversed2 |= (long)(local_wall_reversed4) << shiftReversedX; + seen1 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed1 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall1 |= (long)(local_wall3) << shiftX; + wall_reversed1 |= (long)(local_wall_reversed3) << shiftReversedX; + seen0 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed0 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall0 |= (long)(local_wall2) << shiftX; + wall_reversed0 |= (long)(local_wall_reversed2) << shiftReversedX; + + } + case 7 -> { + seen7 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed7 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall7 |= (long)(local_wall8) << shiftX; + wall_reversed7 |= (long)(local_wall_reversed8) << shiftReversedX; + seen6 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed6 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall6 |= (long)(local_wall7) << shiftX; + wall_reversed6 |= (long)(local_wall_reversed7) << shiftReversedX; + seen5 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed5 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall5 |= (long)(local_wall6) << shiftX; + wall_reversed5 |= (long)(local_wall_reversed6) << shiftReversedX; + seen4 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed4 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall4 |= (long)(local_wall5) << shiftX; + wall_reversed4 |= (long)(local_wall_reversed5) << shiftReversedX; + seen3 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed3 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall3 |= (long)(local_wall4) << shiftX; + wall_reversed3 |= (long)(local_wall_reversed4) << shiftReversedX; + seen2 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed2 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall2 |= (long)(local_wall3) << shiftX; + wall_reversed2 |= (long)(local_wall_reversed3) << shiftReversedX; + seen1 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed1 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall1 |= (long)(local_wall2) << shiftX; + wall_reversed1 |= (long)(local_wall_reversed2) << shiftReversedX; + seen0 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed0 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall0 |= (long)(local_wall1) << shiftX; + wall_reversed0 |= (long)(local_wall_reversed1) << shiftReversedX; + + } + case 8 -> { + seen8 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed8 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall8 |= (long)(local_wall8) << shiftX; + wall_reversed8 |= (long)(local_wall_reversed8) << shiftReversedX; + seen7 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed7 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall7 |= (long)(local_wall7) << shiftX; + wall_reversed7 |= (long)(local_wall_reversed7) << shiftReversedX; + seen6 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed6 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall6 |= (long)(local_wall6) << shiftX; + wall_reversed6 |= (long)(local_wall_reversed6) << shiftReversedX; + seen5 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed5 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall5 |= (long)(local_wall5) << shiftX; + wall_reversed5 |= (long)(local_wall_reversed5) << shiftReversedX; + seen4 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed4 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall4 |= (long)(local_wall4) << shiftX; + wall_reversed4 |= (long)(local_wall_reversed4) << shiftReversedX; + seen3 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed3 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall3 |= (long)(local_wall3) << shiftX; + wall_reversed3 |= (long)(local_wall_reversed3) << shiftReversedX; + seen2 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed2 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall2 |= (long)(local_wall2) << shiftX; + wall_reversed2 |= (long)(local_wall_reversed2) << shiftReversedX; + seen1 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed1 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall1 |= (long)(local_wall1) << shiftX; + wall_reversed1 |= (long)(local_wall_reversed1) << shiftReversedX; + seen0 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed0 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall0 |= (long)(local_wall0) << shiftX; + wall_reversed0 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 9 -> { + seen9 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed9 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall9 |= (long)(local_wall8) << shiftX; + wall_reversed9 |= (long)(local_wall_reversed8) << shiftReversedX; + seen8 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed8 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall8 |= (long)(local_wall7) << shiftX; + wall_reversed8 |= (long)(local_wall_reversed7) << shiftReversedX; + seen7 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed7 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall7 |= (long)(local_wall6) << shiftX; + wall_reversed7 |= (long)(local_wall_reversed6) << shiftReversedX; + seen6 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed6 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall6 |= (long)(local_wall5) << shiftX; + wall_reversed6 |= (long)(local_wall_reversed5) << shiftReversedX; + seen5 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed5 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall5 |= (long)(local_wall4) << shiftX; + wall_reversed5 |= (long)(local_wall_reversed4) << shiftReversedX; + seen4 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed4 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall4 |= (long)(local_wall3) << shiftX; + wall_reversed4 |= (long)(local_wall_reversed3) << shiftReversedX; + seen3 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed3 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall3 |= (long)(local_wall2) << shiftX; + wall_reversed3 |= (long)(local_wall_reversed2) << shiftReversedX; + seen2 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed2 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall2 |= (long)(local_wall1) << shiftX; + wall_reversed2 |= (long)(local_wall_reversed1) << shiftReversedX; + seen1 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed1 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall1 |= (long)(local_wall0) << shiftX; + wall_reversed1 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 10 -> { + seen10 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed10 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall10 |= (long)(local_wall8) << shiftX; + wall_reversed10 |= (long)(local_wall_reversed8) << shiftReversedX; + seen9 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed9 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall9 |= (long)(local_wall7) << shiftX; + wall_reversed9 |= (long)(local_wall_reversed7) << shiftReversedX; + seen8 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed8 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall8 |= (long)(local_wall6) << shiftX; + wall_reversed8 |= (long)(local_wall_reversed6) << shiftReversedX; + seen7 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed7 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall7 |= (long)(local_wall5) << shiftX; + wall_reversed7 |= (long)(local_wall_reversed5) << shiftReversedX; + seen6 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed6 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall6 |= (long)(local_wall4) << shiftX; + wall_reversed6 |= (long)(local_wall_reversed4) << shiftReversedX; + seen5 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed5 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall5 |= (long)(local_wall3) << shiftX; + wall_reversed5 |= (long)(local_wall_reversed3) << shiftReversedX; + seen4 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed4 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall4 |= (long)(local_wall2) << shiftX; + wall_reversed4 |= (long)(local_wall_reversed2) << shiftReversedX; + seen3 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed3 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall3 |= (long)(local_wall1) << shiftX; + wall_reversed3 |= (long)(local_wall_reversed1) << shiftReversedX; + seen2 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed2 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall2 |= (long)(local_wall0) << shiftX; + wall_reversed2 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 11 -> { + seen11 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed11 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall11 |= (long)(local_wall8) << shiftX; + wall_reversed11 |= (long)(local_wall_reversed8) << shiftReversedX; + seen10 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed10 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall10 |= (long)(local_wall7) << shiftX; + wall_reversed10 |= (long)(local_wall_reversed7) << shiftReversedX; + seen9 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed9 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall9 |= (long)(local_wall6) << shiftX; + wall_reversed9 |= (long)(local_wall_reversed6) << shiftReversedX; + seen8 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed8 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall8 |= (long)(local_wall5) << shiftX; + wall_reversed8 |= (long)(local_wall_reversed5) << shiftReversedX; + seen7 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed7 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall7 |= (long)(local_wall4) << shiftX; + wall_reversed7 |= (long)(local_wall_reversed4) << shiftReversedX; + seen6 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed6 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall6 |= (long)(local_wall3) << shiftX; + wall_reversed6 |= (long)(local_wall_reversed3) << shiftReversedX; + seen5 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed5 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall5 |= (long)(local_wall2) << shiftX; + wall_reversed5 |= (long)(local_wall_reversed2) << shiftReversedX; + seen4 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed4 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall4 |= (long)(local_wall1) << shiftX; + wall_reversed4 |= (long)(local_wall_reversed1) << shiftReversedX; + seen3 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed3 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall3 |= (long)(local_wall0) << shiftX; + wall_reversed3 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 12 -> { + seen12 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed12 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall12 |= (long)(local_wall8) << shiftX; + wall_reversed12 |= (long)(local_wall_reversed8) << shiftReversedX; + seen11 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed11 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall11 |= (long)(local_wall7) << shiftX; + wall_reversed11 |= (long)(local_wall_reversed7) << shiftReversedX; + seen10 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed10 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall10 |= (long)(local_wall6) << shiftX; + wall_reversed10 |= (long)(local_wall_reversed6) << shiftReversedX; + seen9 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed9 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall9 |= (long)(local_wall5) << shiftX; + wall_reversed9 |= (long)(local_wall_reversed5) << shiftReversedX; + seen8 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed8 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall8 |= (long)(local_wall4) << shiftX; + wall_reversed8 |= (long)(local_wall_reversed4) << shiftReversedX; + seen7 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed7 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall7 |= (long)(local_wall3) << shiftX; + wall_reversed7 |= (long)(local_wall_reversed3) << shiftReversedX; + seen6 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed6 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall6 |= (long)(local_wall2) << shiftX; + wall_reversed6 |= (long)(local_wall_reversed2) << shiftReversedX; + seen5 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed5 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall5 |= (long)(local_wall1) << shiftX; + wall_reversed5 |= (long)(local_wall_reversed1) << shiftReversedX; + seen4 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed4 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall4 |= (long)(local_wall0) << shiftX; + wall_reversed4 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 13 -> { + seen13 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed13 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall13 |= (long)(local_wall8) << shiftX; + wall_reversed13 |= (long)(local_wall_reversed8) << shiftReversedX; + seen12 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed12 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall12 |= (long)(local_wall7) << shiftX; + wall_reversed12 |= (long)(local_wall_reversed7) << shiftReversedX; + seen11 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed11 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall11 |= (long)(local_wall6) << shiftX; + wall_reversed11 |= (long)(local_wall_reversed6) << shiftReversedX; + seen10 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed10 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall10 |= (long)(local_wall5) << shiftX; + wall_reversed10 |= (long)(local_wall_reversed5) << shiftReversedX; + seen9 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed9 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall9 |= (long)(local_wall4) << shiftX; + wall_reversed9 |= (long)(local_wall_reversed4) << shiftReversedX; + seen8 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed8 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall8 |= (long)(local_wall3) << shiftX; + wall_reversed8 |= (long)(local_wall_reversed3) << shiftReversedX; + seen7 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed7 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall7 |= (long)(local_wall2) << shiftX; + wall_reversed7 |= (long)(local_wall_reversed2) << shiftReversedX; + seen6 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed6 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall6 |= (long)(local_wall1) << shiftX; + wall_reversed6 |= (long)(local_wall_reversed1) << shiftReversedX; + seen5 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed5 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall5 |= (long)(local_wall0) << shiftX; + wall_reversed5 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 14 -> { + seen14 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed14 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall14 |= (long)(local_wall8) << shiftX; + wall_reversed14 |= (long)(local_wall_reversed8) << shiftReversedX; + seen13 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed13 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall13 |= (long)(local_wall7) << shiftX; + wall_reversed13 |= (long)(local_wall_reversed7) << shiftReversedX; + seen12 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed12 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall12 |= (long)(local_wall6) << shiftX; + wall_reversed12 |= (long)(local_wall_reversed6) << shiftReversedX; + seen11 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed11 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall11 |= (long)(local_wall5) << shiftX; + wall_reversed11 |= (long)(local_wall_reversed5) << shiftReversedX; + seen10 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed10 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall10 |= (long)(local_wall4) << shiftX; + wall_reversed10 |= (long)(local_wall_reversed4) << shiftReversedX; + seen9 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed9 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall9 |= (long)(local_wall3) << shiftX; + wall_reversed9 |= (long)(local_wall_reversed3) << shiftReversedX; + seen8 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed8 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall8 |= (long)(local_wall2) << shiftX; + wall_reversed8 |= (long)(local_wall_reversed2) << shiftReversedX; + seen7 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed7 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall7 |= (long)(local_wall1) << shiftX; + wall_reversed7 |= (long)(local_wall_reversed1) << shiftReversedX; + seen6 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed6 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall6 |= (long)(local_wall0) << shiftX; + wall_reversed6 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 15 -> { + seen15 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed15 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall15 |= (long)(local_wall8) << shiftX; + wall_reversed15 |= (long)(local_wall_reversed8) << shiftReversedX; + seen14 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed14 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall14 |= (long)(local_wall7) << shiftX; + wall_reversed14 |= (long)(local_wall_reversed7) << shiftReversedX; + seen13 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed13 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall13 |= (long)(local_wall6) << shiftX; + wall_reversed13 |= (long)(local_wall_reversed6) << shiftReversedX; + seen12 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed12 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall12 |= (long)(local_wall5) << shiftX; + wall_reversed12 |= (long)(local_wall_reversed5) << shiftReversedX; + seen11 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed11 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall11 |= (long)(local_wall4) << shiftX; + wall_reversed11 |= (long)(local_wall_reversed4) << shiftReversedX; + seen10 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed10 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall10 |= (long)(local_wall3) << shiftX; + wall_reversed10 |= (long)(local_wall_reversed3) << shiftReversedX; + seen9 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed9 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall9 |= (long)(local_wall2) << shiftX; + wall_reversed9 |= (long)(local_wall_reversed2) << shiftReversedX; + seen8 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed8 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall8 |= (long)(local_wall1) << shiftX; + wall_reversed8 |= (long)(local_wall_reversed1) << shiftReversedX; + seen7 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed7 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall7 |= (long)(local_wall0) << shiftX; + wall_reversed7 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 16 -> { + seen16 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed16 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall16 |= (long)(local_wall8) << shiftX; + wall_reversed16 |= (long)(local_wall_reversed8) << shiftReversedX; + seen15 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed15 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall15 |= (long)(local_wall7) << shiftX; + wall_reversed15 |= (long)(local_wall_reversed7) << shiftReversedX; + seen14 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed14 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall14 |= (long)(local_wall6) << shiftX; + wall_reversed14 |= (long)(local_wall_reversed6) << shiftReversedX; + seen13 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed13 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall13 |= (long)(local_wall5) << shiftX; + wall_reversed13 |= (long)(local_wall_reversed5) << shiftReversedX; + seen12 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed12 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall12 |= (long)(local_wall4) << shiftX; + wall_reversed12 |= (long)(local_wall_reversed4) << shiftReversedX; + seen11 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed11 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall11 |= (long)(local_wall3) << shiftX; + wall_reversed11 |= (long)(local_wall_reversed3) << shiftReversedX; + seen10 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed10 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall10 |= (long)(local_wall2) << shiftX; + wall_reversed10 |= (long)(local_wall_reversed2) << shiftReversedX; + seen9 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed9 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall9 |= (long)(local_wall1) << shiftX; + wall_reversed9 |= (long)(local_wall_reversed1) << shiftReversedX; + seen8 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed8 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall8 |= (long)(local_wall0) << shiftX; + wall_reversed8 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 17 -> { + seen17 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed17 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall17 |= (long)(local_wall8) << shiftX; + wall_reversed17 |= (long)(local_wall_reversed8) << shiftReversedX; + seen16 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed16 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall16 |= (long)(local_wall7) << shiftX; + wall_reversed16 |= (long)(local_wall_reversed7) << shiftReversedX; + seen15 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed15 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall15 |= (long)(local_wall6) << shiftX; + wall_reversed15 |= (long)(local_wall_reversed6) << shiftReversedX; + seen14 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed14 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall14 |= (long)(local_wall5) << shiftX; + wall_reversed14 |= (long)(local_wall_reversed5) << shiftReversedX; + seen13 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed13 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall13 |= (long)(local_wall4) << shiftX; + wall_reversed13 |= (long)(local_wall_reversed4) << shiftReversedX; + seen12 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed12 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall12 |= (long)(local_wall3) << shiftX; + wall_reversed12 |= (long)(local_wall_reversed3) << shiftReversedX; + seen11 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed11 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall11 |= (long)(local_wall2) << shiftX; + wall_reversed11 |= (long)(local_wall_reversed2) << shiftReversedX; + seen10 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed10 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall10 |= (long)(local_wall1) << shiftX; + wall_reversed10 |= (long)(local_wall_reversed1) << shiftReversedX; + seen9 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed9 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall9 |= (long)(local_wall0) << shiftX; + wall_reversed9 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 18 -> { + seen18 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed18 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall18 |= (long)(local_wall8) << shiftX; + wall_reversed18 |= (long)(local_wall_reversed8) << shiftReversedX; + seen17 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed17 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall17 |= (long)(local_wall7) << shiftX; + wall_reversed17 |= (long)(local_wall_reversed7) << shiftReversedX; + seen16 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed16 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall16 |= (long)(local_wall6) << shiftX; + wall_reversed16 |= (long)(local_wall_reversed6) << shiftReversedX; + seen15 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed15 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall15 |= (long)(local_wall5) << shiftX; + wall_reversed15 |= (long)(local_wall_reversed5) << shiftReversedX; + seen14 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed14 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall14 |= (long)(local_wall4) << shiftX; + wall_reversed14 |= (long)(local_wall_reversed4) << shiftReversedX; + seen13 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed13 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall13 |= (long)(local_wall3) << shiftX; + wall_reversed13 |= (long)(local_wall_reversed3) << shiftReversedX; + seen12 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed12 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall12 |= (long)(local_wall2) << shiftX; + wall_reversed12 |= (long)(local_wall_reversed2) << shiftReversedX; + seen11 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed11 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall11 |= (long)(local_wall1) << shiftX; + wall_reversed11 |= (long)(local_wall_reversed1) << shiftReversedX; + seen10 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed10 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall10 |= (long)(local_wall0) << shiftX; + wall_reversed10 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 19 -> { + seen19 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed19 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall19 |= (long)(local_wall8) << shiftX; + wall_reversed19 |= (long)(local_wall_reversed8) << shiftReversedX; + seen18 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed18 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall18 |= (long)(local_wall7) << shiftX; + wall_reversed18 |= (long)(local_wall_reversed7) << shiftReversedX; + seen17 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed17 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall17 |= (long)(local_wall6) << shiftX; + wall_reversed17 |= (long)(local_wall_reversed6) << shiftReversedX; + seen16 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed16 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall16 |= (long)(local_wall5) << shiftX; + wall_reversed16 |= (long)(local_wall_reversed5) << shiftReversedX; + seen15 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed15 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall15 |= (long)(local_wall4) << shiftX; + wall_reversed15 |= (long)(local_wall_reversed4) << shiftReversedX; + seen14 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed14 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall14 |= (long)(local_wall3) << shiftX; + wall_reversed14 |= (long)(local_wall_reversed3) << shiftReversedX; + seen13 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed13 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall13 |= (long)(local_wall2) << shiftX; + wall_reversed13 |= (long)(local_wall_reversed2) << shiftReversedX; + seen12 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed12 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall12 |= (long)(local_wall1) << shiftX; + wall_reversed12 |= (long)(local_wall_reversed1) << shiftReversedX; + seen11 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed11 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall11 |= (long)(local_wall0) << shiftX; + wall_reversed11 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 20 -> { + seen20 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed20 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall20 |= (long)(local_wall8) << shiftX; + wall_reversed20 |= (long)(local_wall_reversed8) << shiftReversedX; + seen19 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed19 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall19 |= (long)(local_wall7) << shiftX; + wall_reversed19 |= (long)(local_wall_reversed7) << shiftReversedX; + seen18 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed18 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall18 |= (long)(local_wall6) << shiftX; + wall_reversed18 |= (long)(local_wall_reversed6) << shiftReversedX; + seen17 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed17 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall17 |= (long)(local_wall5) << shiftX; + wall_reversed17 |= (long)(local_wall_reversed5) << shiftReversedX; + seen16 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed16 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall16 |= (long)(local_wall4) << shiftX; + wall_reversed16 |= (long)(local_wall_reversed4) << shiftReversedX; + seen15 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed15 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall15 |= (long)(local_wall3) << shiftX; + wall_reversed15 |= (long)(local_wall_reversed3) << shiftReversedX; + seen14 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed14 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall14 |= (long)(local_wall2) << shiftX; + wall_reversed14 |= (long)(local_wall_reversed2) << shiftReversedX; + seen13 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed13 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall13 |= (long)(local_wall1) << shiftX; + wall_reversed13 |= (long)(local_wall_reversed1) << shiftReversedX; + seen12 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed12 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall12 |= (long)(local_wall0) << shiftX; + wall_reversed12 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 21 -> { + seen21 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed21 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall21 |= (long)(local_wall8) << shiftX; + wall_reversed21 |= (long)(local_wall_reversed8) << shiftReversedX; + seen20 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed20 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall20 |= (long)(local_wall7) << shiftX; + wall_reversed20 |= (long)(local_wall_reversed7) << shiftReversedX; + seen19 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed19 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall19 |= (long)(local_wall6) << shiftX; + wall_reversed19 |= (long)(local_wall_reversed6) << shiftReversedX; + seen18 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed18 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall18 |= (long)(local_wall5) << shiftX; + wall_reversed18 |= (long)(local_wall_reversed5) << shiftReversedX; + seen17 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed17 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall17 |= (long)(local_wall4) << shiftX; + wall_reversed17 |= (long)(local_wall_reversed4) << shiftReversedX; + seen16 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed16 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall16 |= (long)(local_wall3) << shiftX; + wall_reversed16 |= (long)(local_wall_reversed3) << shiftReversedX; + seen15 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed15 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall15 |= (long)(local_wall2) << shiftX; + wall_reversed15 |= (long)(local_wall_reversed2) << shiftReversedX; + seen14 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed14 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall14 |= (long)(local_wall1) << shiftX; + wall_reversed14 |= (long)(local_wall_reversed1) << shiftReversedX; + seen13 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed13 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall13 |= (long)(local_wall0) << shiftX; + wall_reversed13 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 22 -> { + seen22 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed22 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall22 |= (long)(local_wall8) << shiftX; + wall_reversed22 |= (long)(local_wall_reversed8) << shiftReversedX; + seen21 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed21 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall21 |= (long)(local_wall7) << shiftX; + wall_reversed21 |= (long)(local_wall_reversed7) << shiftReversedX; + seen20 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed20 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall20 |= (long)(local_wall6) << shiftX; + wall_reversed20 |= (long)(local_wall_reversed6) << shiftReversedX; + seen19 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed19 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall19 |= (long)(local_wall5) << shiftX; + wall_reversed19 |= (long)(local_wall_reversed5) << shiftReversedX; + seen18 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed18 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall18 |= (long)(local_wall4) << shiftX; + wall_reversed18 |= (long)(local_wall_reversed4) << shiftReversedX; + seen17 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed17 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall17 |= (long)(local_wall3) << shiftX; + wall_reversed17 |= (long)(local_wall_reversed3) << shiftReversedX; + seen16 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed16 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall16 |= (long)(local_wall2) << shiftX; + wall_reversed16 |= (long)(local_wall_reversed2) << shiftReversedX; + seen15 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed15 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall15 |= (long)(local_wall1) << shiftX; + wall_reversed15 |= (long)(local_wall_reversed1) << shiftReversedX; + seen14 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed14 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall14 |= (long)(local_wall0) << shiftX; + wall_reversed14 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 23 -> { + seen23 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed23 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall23 |= (long)(local_wall8) << shiftX; + wall_reversed23 |= (long)(local_wall_reversed8) << shiftReversedX; + seen22 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed22 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall22 |= (long)(local_wall7) << shiftX; + wall_reversed22 |= (long)(local_wall_reversed7) << shiftReversedX; + seen21 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed21 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall21 |= (long)(local_wall6) << shiftX; + wall_reversed21 |= (long)(local_wall_reversed6) << shiftReversedX; + seen20 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed20 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall20 |= (long)(local_wall5) << shiftX; + wall_reversed20 |= (long)(local_wall_reversed5) << shiftReversedX; + seen19 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed19 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall19 |= (long)(local_wall4) << shiftX; + wall_reversed19 |= (long)(local_wall_reversed4) << shiftReversedX; + seen18 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed18 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall18 |= (long)(local_wall3) << shiftX; + wall_reversed18 |= (long)(local_wall_reversed3) << shiftReversedX; + seen17 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed17 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall17 |= (long)(local_wall2) << shiftX; + wall_reversed17 |= (long)(local_wall_reversed2) << shiftReversedX; + seen16 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed16 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall16 |= (long)(local_wall1) << shiftX; + wall_reversed16 |= (long)(local_wall_reversed1) << shiftReversedX; + seen15 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed15 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall15 |= (long)(local_wall0) << shiftX; + wall_reversed15 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 24 -> { + seen24 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed24 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall24 |= (long)(local_wall8) << shiftX; + wall_reversed24 |= (long)(local_wall_reversed8) << shiftReversedX; + seen23 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed23 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall23 |= (long)(local_wall7) << shiftX; + wall_reversed23 |= (long)(local_wall_reversed7) << shiftReversedX; + seen22 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed22 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall22 |= (long)(local_wall6) << shiftX; + wall_reversed22 |= (long)(local_wall_reversed6) << shiftReversedX; + seen21 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed21 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall21 |= (long)(local_wall5) << shiftX; + wall_reversed21 |= (long)(local_wall_reversed5) << shiftReversedX; + seen20 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed20 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall20 |= (long)(local_wall4) << shiftX; + wall_reversed20 |= (long)(local_wall_reversed4) << shiftReversedX; + seen19 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed19 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall19 |= (long)(local_wall3) << shiftX; + wall_reversed19 |= (long)(local_wall_reversed3) << shiftReversedX; + seen18 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed18 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall18 |= (long)(local_wall2) << shiftX; + wall_reversed18 |= (long)(local_wall_reversed2) << shiftReversedX; + seen17 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed17 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall17 |= (long)(local_wall1) << shiftX; + wall_reversed17 |= (long)(local_wall_reversed1) << shiftReversedX; + seen16 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed16 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall16 |= (long)(local_wall0) << shiftX; + wall_reversed16 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 25 -> { + seen25 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed25 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall25 |= (long)(local_wall8) << shiftX; + wall_reversed25 |= (long)(local_wall_reversed8) << shiftReversedX; + seen24 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed24 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall24 |= (long)(local_wall7) << shiftX; + wall_reversed24 |= (long)(local_wall_reversed7) << shiftReversedX; + seen23 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed23 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall23 |= (long)(local_wall6) << shiftX; + wall_reversed23 |= (long)(local_wall_reversed6) << shiftReversedX; + seen22 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed22 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall22 |= (long)(local_wall5) << shiftX; + wall_reversed22 |= (long)(local_wall_reversed5) << shiftReversedX; + seen21 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed21 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall21 |= (long)(local_wall4) << shiftX; + wall_reversed21 |= (long)(local_wall_reversed4) << shiftReversedX; + seen20 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed20 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall20 |= (long)(local_wall3) << shiftX; + wall_reversed20 |= (long)(local_wall_reversed3) << shiftReversedX; + seen19 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed19 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall19 |= (long)(local_wall2) << shiftX; + wall_reversed19 |= (long)(local_wall_reversed2) << shiftReversedX; + seen18 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed18 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall18 |= (long)(local_wall1) << shiftX; + wall_reversed18 |= (long)(local_wall_reversed1) << shiftReversedX; + seen17 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed17 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall17 |= (long)(local_wall0) << shiftX; + wall_reversed17 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 26 -> { + seen26 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed26 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall26 |= (long)(local_wall8) << shiftX; + wall_reversed26 |= (long)(local_wall_reversed8) << shiftReversedX; + seen25 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed25 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall25 |= (long)(local_wall7) << shiftX; + wall_reversed25 |= (long)(local_wall_reversed7) << shiftReversedX; + seen24 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed24 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall24 |= (long)(local_wall6) << shiftX; + wall_reversed24 |= (long)(local_wall_reversed6) << shiftReversedX; + seen23 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed23 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall23 |= (long)(local_wall5) << shiftX; + wall_reversed23 |= (long)(local_wall_reversed5) << shiftReversedX; + seen22 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed22 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall22 |= (long)(local_wall4) << shiftX; + wall_reversed22 |= (long)(local_wall_reversed4) << shiftReversedX; + seen21 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed21 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall21 |= (long)(local_wall3) << shiftX; + wall_reversed21 |= (long)(local_wall_reversed3) << shiftReversedX; + seen20 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed20 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall20 |= (long)(local_wall2) << shiftX; + wall_reversed20 |= (long)(local_wall_reversed2) << shiftReversedX; + seen19 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed19 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall19 |= (long)(local_wall1) << shiftX; + wall_reversed19 |= (long)(local_wall_reversed1) << shiftReversedX; + seen18 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed18 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall18 |= (long)(local_wall0) << shiftX; + wall_reversed18 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 27 -> { + seen27 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed27 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall27 |= (long)(local_wall8) << shiftX; + wall_reversed27 |= (long)(local_wall_reversed8) << shiftReversedX; + seen26 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed26 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall26 |= (long)(local_wall7) << shiftX; + wall_reversed26 |= (long)(local_wall_reversed7) << shiftReversedX; + seen25 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed25 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall25 |= (long)(local_wall6) << shiftX; + wall_reversed25 |= (long)(local_wall_reversed6) << shiftReversedX; + seen24 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed24 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall24 |= (long)(local_wall5) << shiftX; + wall_reversed24 |= (long)(local_wall_reversed5) << shiftReversedX; + seen23 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed23 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall23 |= (long)(local_wall4) << shiftX; + wall_reversed23 |= (long)(local_wall_reversed4) << shiftReversedX; + seen22 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed22 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall22 |= (long)(local_wall3) << shiftX; + wall_reversed22 |= (long)(local_wall_reversed3) << shiftReversedX; + seen21 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed21 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall21 |= (long)(local_wall2) << shiftX; + wall_reversed21 |= (long)(local_wall_reversed2) << shiftReversedX; + seen20 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed20 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall20 |= (long)(local_wall1) << shiftX; + wall_reversed20 |= (long)(local_wall_reversed1) << shiftReversedX; + seen19 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed19 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall19 |= (long)(local_wall0) << shiftX; + wall_reversed19 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 28 -> { + seen28 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed28 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall28 |= (long)(local_wall8) << shiftX; + wall_reversed28 |= (long)(local_wall_reversed8) << shiftReversedX; + seen27 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed27 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall27 |= (long)(local_wall7) << shiftX; + wall_reversed27 |= (long)(local_wall_reversed7) << shiftReversedX; + seen26 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed26 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall26 |= (long)(local_wall6) << shiftX; + wall_reversed26 |= (long)(local_wall_reversed6) << shiftReversedX; + seen25 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed25 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall25 |= (long)(local_wall5) << shiftX; + wall_reversed25 |= (long)(local_wall_reversed5) << shiftReversedX; + seen24 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed24 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall24 |= (long)(local_wall4) << shiftX; + wall_reversed24 |= (long)(local_wall_reversed4) << shiftReversedX; + seen23 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed23 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall23 |= (long)(local_wall3) << shiftX; + wall_reversed23 |= (long)(local_wall_reversed3) << shiftReversedX; + seen22 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed22 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall22 |= (long)(local_wall2) << shiftX; + wall_reversed22 |= (long)(local_wall_reversed2) << shiftReversedX; + seen21 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed21 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall21 |= (long)(local_wall1) << shiftX; + wall_reversed21 |= (long)(local_wall_reversed1) << shiftReversedX; + seen20 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed20 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall20 |= (long)(local_wall0) << shiftX; + wall_reversed20 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 29 -> { + seen29 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed29 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall29 |= (long)(local_wall8) << shiftX; + wall_reversed29 |= (long)(local_wall_reversed8) << shiftReversedX; + seen28 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed28 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall28 |= (long)(local_wall7) << shiftX; + wall_reversed28 |= (long)(local_wall_reversed7) << shiftReversedX; + seen27 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed27 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall27 |= (long)(local_wall6) << shiftX; + wall_reversed27 |= (long)(local_wall_reversed6) << shiftReversedX; + seen26 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed26 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall26 |= (long)(local_wall5) << shiftX; + wall_reversed26 |= (long)(local_wall_reversed5) << shiftReversedX; + seen25 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed25 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall25 |= (long)(local_wall4) << shiftX; + wall_reversed25 |= (long)(local_wall_reversed4) << shiftReversedX; + seen24 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed24 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall24 |= (long)(local_wall3) << shiftX; + wall_reversed24 |= (long)(local_wall_reversed3) << shiftReversedX; + seen23 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed23 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall23 |= (long)(local_wall2) << shiftX; + wall_reversed23 |= (long)(local_wall_reversed2) << shiftReversedX; + seen22 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed22 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall22 |= (long)(local_wall1) << shiftX; + wall_reversed22 |= (long)(local_wall_reversed1) << shiftReversedX; + seen21 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed21 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall21 |= (long)(local_wall0) << shiftX; + wall_reversed21 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 30 -> { + seen30 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed30 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall30 |= (long)(local_wall8) << shiftX; + wall_reversed30 |= (long)(local_wall_reversed8) << shiftReversedX; + seen29 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed29 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall29 |= (long)(local_wall7) << shiftX; + wall_reversed29 |= (long)(local_wall_reversed7) << shiftReversedX; + seen28 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed28 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall28 |= (long)(local_wall6) << shiftX; + wall_reversed28 |= (long)(local_wall_reversed6) << shiftReversedX; + seen27 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed27 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall27 |= (long)(local_wall5) << shiftX; + wall_reversed27 |= (long)(local_wall_reversed5) << shiftReversedX; + seen26 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed26 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall26 |= (long)(local_wall4) << shiftX; + wall_reversed26 |= (long)(local_wall_reversed4) << shiftReversedX; + seen25 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed25 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall25 |= (long)(local_wall3) << shiftX; + wall_reversed25 |= (long)(local_wall_reversed3) << shiftReversedX; + seen24 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed24 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall24 |= (long)(local_wall2) << shiftX; + wall_reversed24 |= (long)(local_wall_reversed2) << shiftReversedX; + seen23 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed23 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall23 |= (long)(local_wall1) << shiftX; + wall_reversed23 |= (long)(local_wall_reversed1) << shiftReversedX; + seen22 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed22 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall22 |= (long)(local_wall0) << shiftX; + wall_reversed22 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 31 -> { + seen31 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed31 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall31 |= (long)(local_wall8) << shiftX; + wall_reversed31 |= (long)(local_wall_reversed8) << shiftReversedX; + seen30 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed30 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall30 |= (long)(local_wall7) << shiftX; + wall_reversed30 |= (long)(local_wall_reversed7) << shiftReversedX; + seen29 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed29 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall29 |= (long)(local_wall6) << shiftX; + wall_reversed29 |= (long)(local_wall_reversed6) << shiftReversedX; + seen28 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed28 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall28 |= (long)(local_wall5) << shiftX; + wall_reversed28 |= (long)(local_wall_reversed5) << shiftReversedX; + seen27 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed27 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall27 |= (long)(local_wall4) << shiftX; + wall_reversed27 |= (long)(local_wall_reversed4) << shiftReversedX; + seen26 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed26 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall26 |= (long)(local_wall3) << shiftX; + wall_reversed26 |= (long)(local_wall_reversed3) << shiftReversedX; + seen25 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed25 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall25 |= (long)(local_wall2) << shiftX; + wall_reversed25 |= (long)(local_wall_reversed2) << shiftReversedX; + seen24 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed24 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall24 |= (long)(local_wall1) << shiftX; + wall_reversed24 |= (long)(local_wall_reversed1) << shiftReversedX; + seen23 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed23 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall23 |= (long)(local_wall0) << shiftX; + wall_reversed23 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 32 -> { + seen32 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed32 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall32 |= (long)(local_wall8) << shiftX; + wall_reversed32 |= (long)(local_wall_reversed8) << shiftReversedX; + seen31 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed31 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall31 |= (long)(local_wall7) << shiftX; + wall_reversed31 |= (long)(local_wall_reversed7) << shiftReversedX; + seen30 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed30 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall30 |= (long)(local_wall6) << shiftX; + wall_reversed30 |= (long)(local_wall_reversed6) << shiftReversedX; + seen29 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed29 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall29 |= (long)(local_wall5) << shiftX; + wall_reversed29 |= (long)(local_wall_reversed5) << shiftReversedX; + seen28 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed28 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall28 |= (long)(local_wall4) << shiftX; + wall_reversed28 |= (long)(local_wall_reversed4) << shiftReversedX; + seen27 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed27 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall27 |= (long)(local_wall3) << shiftX; + wall_reversed27 |= (long)(local_wall_reversed3) << shiftReversedX; + seen26 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed26 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall26 |= (long)(local_wall2) << shiftX; + wall_reversed26 |= (long)(local_wall_reversed2) << shiftReversedX; + seen25 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed25 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall25 |= (long)(local_wall1) << shiftX; + wall_reversed25 |= (long)(local_wall_reversed1) << shiftReversedX; + seen24 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed24 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall24 |= (long)(local_wall0) << shiftX; + wall_reversed24 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 33 -> { + seen33 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed33 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall33 |= (long)(local_wall8) << shiftX; + wall_reversed33 |= (long)(local_wall_reversed8) << shiftReversedX; + seen32 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed32 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall32 |= (long)(local_wall7) << shiftX; + wall_reversed32 |= (long)(local_wall_reversed7) << shiftReversedX; + seen31 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed31 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall31 |= (long)(local_wall6) << shiftX; + wall_reversed31 |= (long)(local_wall_reversed6) << shiftReversedX; + seen30 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed30 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall30 |= (long)(local_wall5) << shiftX; + wall_reversed30 |= (long)(local_wall_reversed5) << shiftReversedX; + seen29 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed29 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall29 |= (long)(local_wall4) << shiftX; + wall_reversed29 |= (long)(local_wall_reversed4) << shiftReversedX; + seen28 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed28 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall28 |= (long)(local_wall3) << shiftX; + wall_reversed28 |= (long)(local_wall_reversed3) << shiftReversedX; + seen27 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed27 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall27 |= (long)(local_wall2) << shiftX; + wall_reversed27 |= (long)(local_wall_reversed2) << shiftReversedX; + seen26 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed26 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall26 |= (long)(local_wall1) << shiftX; + wall_reversed26 |= (long)(local_wall_reversed1) << shiftReversedX; + seen25 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed25 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall25 |= (long)(local_wall0) << shiftX; + wall_reversed25 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 34 -> { + seen34 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed34 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall34 |= (long)(local_wall8) << shiftX; + wall_reversed34 |= (long)(local_wall_reversed8) << shiftReversedX; + seen33 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed33 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall33 |= (long)(local_wall7) << shiftX; + wall_reversed33 |= (long)(local_wall_reversed7) << shiftReversedX; + seen32 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed32 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall32 |= (long)(local_wall6) << shiftX; + wall_reversed32 |= (long)(local_wall_reversed6) << shiftReversedX; + seen31 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed31 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall31 |= (long)(local_wall5) << shiftX; + wall_reversed31 |= (long)(local_wall_reversed5) << shiftReversedX; + seen30 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed30 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall30 |= (long)(local_wall4) << shiftX; + wall_reversed30 |= (long)(local_wall_reversed4) << shiftReversedX; + seen29 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed29 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall29 |= (long)(local_wall3) << shiftX; + wall_reversed29 |= (long)(local_wall_reversed3) << shiftReversedX; + seen28 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed28 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall28 |= (long)(local_wall2) << shiftX; + wall_reversed28 |= (long)(local_wall_reversed2) << shiftReversedX; + seen27 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed27 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall27 |= (long)(local_wall1) << shiftX; + wall_reversed27 |= (long)(local_wall_reversed1) << shiftReversedX; + seen26 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed26 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall26 |= (long)(local_wall0) << shiftX; + wall_reversed26 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 35 -> { + seen35 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed35 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall35 |= (long)(local_wall8) << shiftX; + wall_reversed35 |= (long)(local_wall_reversed8) << shiftReversedX; + seen34 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed34 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall34 |= (long)(local_wall7) << shiftX; + wall_reversed34 |= (long)(local_wall_reversed7) << shiftReversedX; + seen33 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed33 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall33 |= (long)(local_wall6) << shiftX; + wall_reversed33 |= (long)(local_wall_reversed6) << shiftReversedX; + seen32 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed32 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall32 |= (long)(local_wall5) << shiftX; + wall_reversed32 |= (long)(local_wall_reversed5) << shiftReversedX; + seen31 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed31 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall31 |= (long)(local_wall4) << shiftX; + wall_reversed31 |= (long)(local_wall_reversed4) << shiftReversedX; + seen30 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed30 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall30 |= (long)(local_wall3) << shiftX; + wall_reversed30 |= (long)(local_wall_reversed3) << shiftReversedX; + seen29 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed29 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall29 |= (long)(local_wall2) << shiftX; + wall_reversed29 |= (long)(local_wall_reversed2) << shiftReversedX; + seen28 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed28 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall28 |= (long)(local_wall1) << shiftX; + wall_reversed28 |= (long)(local_wall_reversed1) << shiftReversedX; + seen27 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed27 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall27 |= (long)(local_wall0) << shiftX; + wall_reversed27 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 36 -> { + seen36 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed36 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall36 |= (long)(local_wall8) << shiftX; + wall_reversed36 |= (long)(local_wall_reversed8) << shiftReversedX; + seen35 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed35 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall35 |= (long)(local_wall7) << shiftX; + wall_reversed35 |= (long)(local_wall_reversed7) << shiftReversedX; + seen34 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed34 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall34 |= (long)(local_wall6) << shiftX; + wall_reversed34 |= (long)(local_wall_reversed6) << shiftReversedX; + seen33 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed33 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall33 |= (long)(local_wall5) << shiftX; + wall_reversed33 |= (long)(local_wall_reversed5) << shiftReversedX; + seen32 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed32 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall32 |= (long)(local_wall4) << shiftX; + wall_reversed32 |= (long)(local_wall_reversed4) << shiftReversedX; + seen31 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed31 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall31 |= (long)(local_wall3) << shiftX; + wall_reversed31 |= (long)(local_wall_reversed3) << shiftReversedX; + seen30 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed30 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall30 |= (long)(local_wall2) << shiftX; + wall_reversed30 |= (long)(local_wall_reversed2) << shiftReversedX; + seen29 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed29 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall29 |= (long)(local_wall1) << shiftX; + wall_reversed29 |= (long)(local_wall_reversed1) << shiftReversedX; + seen28 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed28 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall28 |= (long)(local_wall0) << shiftX; + wall_reversed28 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 37 -> { + seen37 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed37 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall37 |= (long)(local_wall8) << shiftX; + wall_reversed37 |= (long)(local_wall_reversed8) << shiftReversedX; + seen36 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed36 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall36 |= (long)(local_wall7) << shiftX; + wall_reversed36 |= (long)(local_wall_reversed7) << shiftReversedX; + seen35 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed35 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall35 |= (long)(local_wall6) << shiftX; + wall_reversed35 |= (long)(local_wall_reversed6) << shiftReversedX; + seen34 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed34 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall34 |= (long)(local_wall5) << shiftX; + wall_reversed34 |= (long)(local_wall_reversed5) << shiftReversedX; + seen33 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed33 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall33 |= (long)(local_wall4) << shiftX; + wall_reversed33 |= (long)(local_wall_reversed4) << shiftReversedX; + seen32 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed32 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall32 |= (long)(local_wall3) << shiftX; + wall_reversed32 |= (long)(local_wall_reversed3) << shiftReversedX; + seen31 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed31 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall31 |= (long)(local_wall2) << shiftX; + wall_reversed31 |= (long)(local_wall_reversed2) << shiftReversedX; + seen30 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed30 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall30 |= (long)(local_wall1) << shiftX; + wall_reversed30 |= (long)(local_wall_reversed1) << shiftReversedX; + seen29 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed29 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall29 |= (long)(local_wall0) << shiftX; + wall_reversed29 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 38 -> { + seen38 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed38 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall38 |= (long)(local_wall8) << shiftX; + wall_reversed38 |= (long)(local_wall_reversed8) << shiftReversedX; + seen37 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed37 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall37 |= (long)(local_wall7) << shiftX; + wall_reversed37 |= (long)(local_wall_reversed7) << shiftReversedX; + seen36 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed36 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall36 |= (long)(local_wall6) << shiftX; + wall_reversed36 |= (long)(local_wall_reversed6) << shiftReversedX; + seen35 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed35 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall35 |= (long)(local_wall5) << shiftX; + wall_reversed35 |= (long)(local_wall_reversed5) << shiftReversedX; + seen34 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed34 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall34 |= (long)(local_wall4) << shiftX; + wall_reversed34 |= (long)(local_wall_reversed4) << shiftReversedX; + seen33 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed33 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall33 |= (long)(local_wall3) << shiftX; + wall_reversed33 |= (long)(local_wall_reversed3) << shiftReversedX; + seen32 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed32 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall32 |= (long)(local_wall2) << shiftX; + wall_reversed32 |= (long)(local_wall_reversed2) << shiftReversedX; + seen31 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed31 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall31 |= (long)(local_wall1) << shiftX; + wall_reversed31 |= (long)(local_wall_reversed1) << shiftReversedX; + seen30 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed30 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall30 |= (long)(local_wall0) << shiftX; + wall_reversed30 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 39 -> { + seen39 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed39 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall39 |= (long)(local_wall8) << shiftX; + wall_reversed39 |= (long)(local_wall_reversed8) << shiftReversedX; + seen38 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed38 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall38 |= (long)(local_wall7) << shiftX; + wall_reversed38 |= (long)(local_wall_reversed7) << shiftReversedX; + seen37 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed37 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall37 |= (long)(local_wall6) << shiftX; + wall_reversed37 |= (long)(local_wall_reversed6) << shiftReversedX; + seen36 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed36 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall36 |= (long)(local_wall5) << shiftX; + wall_reversed36 |= (long)(local_wall_reversed5) << shiftReversedX; + seen35 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed35 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall35 |= (long)(local_wall4) << shiftX; + wall_reversed35 |= (long)(local_wall_reversed4) << shiftReversedX; + seen34 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed34 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall34 |= (long)(local_wall3) << shiftX; + wall_reversed34 |= (long)(local_wall_reversed3) << shiftReversedX; + seen33 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed33 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall33 |= (long)(local_wall2) << shiftX; + wall_reversed33 |= (long)(local_wall_reversed2) << shiftReversedX; + seen32 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed32 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall32 |= (long)(local_wall1) << shiftX; + wall_reversed32 |= (long)(local_wall_reversed1) << shiftReversedX; + seen31 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed31 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall31 |= (long)(local_wall0) << shiftX; + wall_reversed31 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 40 -> { + seen40 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed40 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall40 |= (long)(local_wall8) << shiftX; + wall_reversed40 |= (long)(local_wall_reversed8) << shiftReversedX; + seen39 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed39 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall39 |= (long)(local_wall7) << shiftX; + wall_reversed39 |= (long)(local_wall_reversed7) << shiftReversedX; + seen38 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed38 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall38 |= (long)(local_wall6) << shiftX; + wall_reversed38 |= (long)(local_wall_reversed6) << shiftReversedX; + seen37 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed37 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall37 |= (long)(local_wall5) << shiftX; + wall_reversed37 |= (long)(local_wall_reversed5) << shiftReversedX; + seen36 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed36 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall36 |= (long)(local_wall4) << shiftX; + wall_reversed36 |= (long)(local_wall_reversed4) << shiftReversedX; + seen35 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed35 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall35 |= (long)(local_wall3) << shiftX; + wall_reversed35 |= (long)(local_wall_reversed3) << shiftReversedX; + seen34 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed34 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall34 |= (long)(local_wall2) << shiftX; + wall_reversed34 |= (long)(local_wall_reversed2) << shiftReversedX; + seen33 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed33 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall33 |= (long)(local_wall1) << shiftX; + wall_reversed33 |= (long)(local_wall_reversed1) << shiftReversedX; + seen32 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed32 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall32 |= (long)(local_wall0) << shiftX; + wall_reversed32 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 41 -> { + seen41 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed41 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall41 |= (long)(local_wall8) << shiftX; + wall_reversed41 |= (long)(local_wall_reversed8) << shiftReversedX; + seen40 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed40 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall40 |= (long)(local_wall7) << shiftX; + wall_reversed40 |= (long)(local_wall_reversed7) << shiftReversedX; + seen39 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed39 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall39 |= (long)(local_wall6) << shiftX; + wall_reversed39 |= (long)(local_wall_reversed6) << shiftReversedX; + seen38 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed38 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall38 |= (long)(local_wall5) << shiftX; + wall_reversed38 |= (long)(local_wall_reversed5) << shiftReversedX; + seen37 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed37 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall37 |= (long)(local_wall4) << shiftX; + wall_reversed37 |= (long)(local_wall_reversed4) << shiftReversedX; + seen36 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed36 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall36 |= (long)(local_wall3) << shiftX; + wall_reversed36 |= (long)(local_wall_reversed3) << shiftReversedX; + seen35 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed35 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall35 |= (long)(local_wall2) << shiftX; + wall_reversed35 |= (long)(local_wall_reversed2) << shiftReversedX; + seen34 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed34 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall34 |= (long)(local_wall1) << shiftX; + wall_reversed34 |= (long)(local_wall_reversed1) << shiftReversedX; + seen33 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed33 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall33 |= (long)(local_wall0) << shiftX; + wall_reversed33 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 42 -> { + seen42 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed42 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall42 |= (long)(local_wall8) << shiftX; + wall_reversed42 |= (long)(local_wall_reversed8) << shiftReversedX; + seen41 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed41 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall41 |= (long)(local_wall7) << shiftX; + wall_reversed41 |= (long)(local_wall_reversed7) << shiftReversedX; + seen40 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed40 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall40 |= (long)(local_wall6) << shiftX; + wall_reversed40 |= (long)(local_wall_reversed6) << shiftReversedX; + seen39 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed39 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall39 |= (long)(local_wall5) << shiftX; + wall_reversed39 |= (long)(local_wall_reversed5) << shiftReversedX; + seen38 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed38 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall38 |= (long)(local_wall4) << shiftX; + wall_reversed38 |= (long)(local_wall_reversed4) << shiftReversedX; + seen37 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed37 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall37 |= (long)(local_wall3) << shiftX; + wall_reversed37 |= (long)(local_wall_reversed3) << shiftReversedX; + seen36 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed36 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall36 |= (long)(local_wall2) << shiftX; + wall_reversed36 |= (long)(local_wall_reversed2) << shiftReversedX; + seen35 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed35 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall35 |= (long)(local_wall1) << shiftX; + wall_reversed35 |= (long)(local_wall_reversed1) << shiftReversedX; + seen34 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed34 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall34 |= (long)(local_wall0) << shiftX; + wall_reversed34 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 43 -> { + seen43 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed43 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall43 |= (long)(local_wall8) << shiftX; + wall_reversed43 |= (long)(local_wall_reversed8) << shiftReversedX; + seen42 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed42 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall42 |= (long)(local_wall7) << shiftX; + wall_reversed42 |= (long)(local_wall_reversed7) << shiftReversedX; + seen41 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed41 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall41 |= (long)(local_wall6) << shiftX; + wall_reversed41 |= (long)(local_wall_reversed6) << shiftReversedX; + seen40 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed40 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall40 |= (long)(local_wall5) << shiftX; + wall_reversed40 |= (long)(local_wall_reversed5) << shiftReversedX; + seen39 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed39 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall39 |= (long)(local_wall4) << shiftX; + wall_reversed39 |= (long)(local_wall_reversed4) << shiftReversedX; + seen38 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed38 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall38 |= (long)(local_wall3) << shiftX; + wall_reversed38 |= (long)(local_wall_reversed3) << shiftReversedX; + seen37 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed37 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall37 |= (long)(local_wall2) << shiftX; + wall_reversed37 |= (long)(local_wall_reversed2) << shiftReversedX; + seen36 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed36 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall36 |= (long)(local_wall1) << shiftX; + wall_reversed36 |= (long)(local_wall_reversed1) << shiftReversedX; + seen35 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed35 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall35 |= (long)(local_wall0) << shiftX; + wall_reversed35 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 44 -> { + seen44 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed44 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall44 |= (long)(local_wall8) << shiftX; + wall_reversed44 |= (long)(local_wall_reversed8) << shiftReversedX; + seen43 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed43 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall43 |= (long)(local_wall7) << shiftX; + wall_reversed43 |= (long)(local_wall_reversed7) << shiftReversedX; + seen42 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed42 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall42 |= (long)(local_wall6) << shiftX; + wall_reversed42 |= (long)(local_wall_reversed6) << shiftReversedX; + seen41 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed41 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall41 |= (long)(local_wall5) << shiftX; + wall_reversed41 |= (long)(local_wall_reversed5) << shiftReversedX; + seen40 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed40 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall40 |= (long)(local_wall4) << shiftX; + wall_reversed40 |= (long)(local_wall_reversed4) << shiftReversedX; + seen39 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed39 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall39 |= (long)(local_wall3) << shiftX; + wall_reversed39 |= (long)(local_wall_reversed3) << shiftReversedX; + seen38 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed38 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall38 |= (long)(local_wall2) << shiftX; + wall_reversed38 |= (long)(local_wall_reversed2) << shiftReversedX; + seen37 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed37 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall37 |= (long)(local_wall1) << shiftX; + wall_reversed37 |= (long)(local_wall_reversed1) << shiftReversedX; + seen36 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed36 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall36 |= (long)(local_wall0) << shiftX; + wall_reversed36 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 45 -> { + seen45 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed45 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall45 |= (long)(local_wall8) << shiftX; + wall_reversed45 |= (long)(local_wall_reversed8) << shiftReversedX; + seen44 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed44 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall44 |= (long)(local_wall7) << shiftX; + wall_reversed44 |= (long)(local_wall_reversed7) << shiftReversedX; + seen43 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed43 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall43 |= (long)(local_wall6) << shiftX; + wall_reversed43 |= (long)(local_wall_reversed6) << shiftReversedX; + seen42 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed42 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall42 |= (long)(local_wall5) << shiftX; + wall_reversed42 |= (long)(local_wall_reversed5) << shiftReversedX; + seen41 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed41 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall41 |= (long)(local_wall4) << shiftX; + wall_reversed41 |= (long)(local_wall_reversed4) << shiftReversedX; + seen40 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed40 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall40 |= (long)(local_wall3) << shiftX; + wall_reversed40 |= (long)(local_wall_reversed3) << shiftReversedX; + seen39 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed39 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall39 |= (long)(local_wall2) << shiftX; + wall_reversed39 |= (long)(local_wall_reversed2) << shiftReversedX; + seen38 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed38 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall38 |= (long)(local_wall1) << shiftX; + wall_reversed38 |= (long)(local_wall_reversed1) << shiftReversedX; + seen37 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed37 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall37 |= (long)(local_wall0) << shiftX; + wall_reversed37 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 46 -> { + seen46 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed46 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall46 |= (long)(local_wall8) << shiftX; + wall_reversed46 |= (long)(local_wall_reversed8) << shiftReversedX; + seen45 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed45 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall45 |= (long)(local_wall7) << shiftX; + wall_reversed45 |= (long)(local_wall_reversed7) << shiftReversedX; + seen44 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed44 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall44 |= (long)(local_wall6) << shiftX; + wall_reversed44 |= (long)(local_wall_reversed6) << shiftReversedX; + seen43 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed43 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall43 |= (long)(local_wall5) << shiftX; + wall_reversed43 |= (long)(local_wall_reversed5) << shiftReversedX; + seen42 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed42 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall42 |= (long)(local_wall4) << shiftX; + wall_reversed42 |= (long)(local_wall_reversed4) << shiftReversedX; + seen41 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed41 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall41 |= (long)(local_wall3) << shiftX; + wall_reversed41 |= (long)(local_wall_reversed3) << shiftReversedX; + seen40 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed40 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall40 |= (long)(local_wall2) << shiftX; + wall_reversed40 |= (long)(local_wall_reversed2) << shiftReversedX; + seen39 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed39 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall39 |= (long)(local_wall1) << shiftX; + wall_reversed39 |= (long)(local_wall_reversed1) << shiftReversedX; + seen38 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed38 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall38 |= (long)(local_wall0) << shiftX; + wall_reversed38 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 47 -> { + seen47 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed47 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall47 |= (long)(local_wall8) << shiftX; + wall_reversed47 |= (long)(local_wall_reversed8) << shiftReversedX; + seen46 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed46 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall46 |= (long)(local_wall7) << shiftX; + wall_reversed46 |= (long)(local_wall_reversed7) << shiftReversedX; + seen45 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed45 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall45 |= (long)(local_wall6) << shiftX; + wall_reversed45 |= (long)(local_wall_reversed6) << shiftReversedX; + seen44 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed44 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall44 |= (long)(local_wall5) << shiftX; + wall_reversed44 |= (long)(local_wall_reversed5) << shiftReversedX; + seen43 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed43 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall43 |= (long)(local_wall4) << shiftX; + wall_reversed43 |= (long)(local_wall_reversed4) << shiftReversedX; + seen42 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed42 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall42 |= (long)(local_wall3) << shiftX; + wall_reversed42 |= (long)(local_wall_reversed3) << shiftReversedX; + seen41 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed41 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall41 |= (long)(local_wall2) << shiftX; + wall_reversed41 |= (long)(local_wall_reversed2) << shiftReversedX; + seen40 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed40 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall40 |= (long)(local_wall1) << shiftX; + wall_reversed40 |= (long)(local_wall_reversed1) << shiftReversedX; + seen39 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed39 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall39 |= (long)(local_wall0) << shiftX; + wall_reversed39 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 48 -> { + seen48 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed48 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall48 |= (long)(local_wall8) << shiftX; + wall_reversed48 |= (long)(local_wall_reversed8) << shiftReversedX; + seen47 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed47 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall47 |= (long)(local_wall7) << shiftX; + wall_reversed47 |= (long)(local_wall_reversed7) << shiftReversedX; + seen46 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed46 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall46 |= (long)(local_wall6) << shiftX; + wall_reversed46 |= (long)(local_wall_reversed6) << shiftReversedX; + seen45 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed45 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall45 |= (long)(local_wall5) << shiftX; + wall_reversed45 |= (long)(local_wall_reversed5) << shiftReversedX; + seen44 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed44 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall44 |= (long)(local_wall4) << shiftX; + wall_reversed44 |= (long)(local_wall_reversed4) << shiftReversedX; + seen43 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed43 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall43 |= (long)(local_wall3) << shiftX; + wall_reversed43 |= (long)(local_wall_reversed3) << shiftReversedX; + seen42 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed42 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall42 |= (long)(local_wall2) << shiftX; + wall_reversed42 |= (long)(local_wall_reversed2) << shiftReversedX; + seen41 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed41 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall41 |= (long)(local_wall1) << shiftX; + wall_reversed41 |= (long)(local_wall_reversed1) << shiftReversedX; + seen40 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed40 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall40 |= (long)(local_wall0) << shiftX; + wall_reversed40 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 49 -> { + seen49 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed49 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall49 |= (long)(local_wall8) << shiftX; + wall_reversed49 |= (long)(local_wall_reversed8) << shiftReversedX; + seen48 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed48 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall48 |= (long)(local_wall7) << shiftX; + wall_reversed48 |= (long)(local_wall_reversed7) << shiftReversedX; + seen47 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed47 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall47 |= (long)(local_wall6) << shiftX; + wall_reversed47 |= (long)(local_wall_reversed6) << shiftReversedX; + seen46 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed46 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall46 |= (long)(local_wall5) << shiftX; + wall_reversed46 |= (long)(local_wall_reversed5) << shiftReversedX; + seen45 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed45 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall45 |= (long)(local_wall4) << shiftX; + wall_reversed45 |= (long)(local_wall_reversed4) << shiftReversedX; + seen44 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed44 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall44 |= (long)(local_wall3) << shiftX; + wall_reversed44 |= (long)(local_wall_reversed3) << shiftReversedX; + seen43 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed43 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall43 |= (long)(local_wall2) << shiftX; + wall_reversed43 |= (long)(local_wall_reversed2) << shiftReversedX; + seen42 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed42 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall42 |= (long)(local_wall1) << shiftX; + wall_reversed42 |= (long)(local_wall_reversed1) << shiftReversedX; + seen41 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed41 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall41 |= (long)(local_wall0) << shiftX; + wall_reversed41 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 50 -> { + seen50 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed50 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall50 |= (long)(local_wall8) << shiftX; + wall_reversed50 |= (long)(local_wall_reversed8) << shiftReversedX; + seen49 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed49 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall49 |= (long)(local_wall7) << shiftX; + wall_reversed49 |= (long)(local_wall_reversed7) << shiftReversedX; + seen48 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed48 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall48 |= (long)(local_wall6) << shiftX; + wall_reversed48 |= (long)(local_wall_reversed6) << shiftReversedX; + seen47 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed47 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall47 |= (long)(local_wall5) << shiftX; + wall_reversed47 |= (long)(local_wall_reversed5) << shiftReversedX; + seen46 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed46 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall46 |= (long)(local_wall4) << shiftX; + wall_reversed46 |= (long)(local_wall_reversed4) << shiftReversedX; + seen45 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed45 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall45 |= (long)(local_wall3) << shiftX; + wall_reversed45 |= (long)(local_wall_reversed3) << shiftReversedX; + seen44 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed44 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall44 |= (long)(local_wall2) << shiftX; + wall_reversed44 |= (long)(local_wall_reversed2) << shiftReversedX; + seen43 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed43 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall43 |= (long)(local_wall1) << shiftX; + wall_reversed43 |= (long)(local_wall_reversed1) << shiftReversedX; + seen42 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed42 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall42 |= (long)(local_wall0) << shiftX; + wall_reversed42 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 51 -> { + seen51 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed51 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall51 |= (long)(local_wall8) << shiftX; + wall_reversed51 |= (long)(local_wall_reversed8) << shiftReversedX; + seen50 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed50 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall50 |= (long)(local_wall7) << shiftX; + wall_reversed50 |= (long)(local_wall_reversed7) << shiftReversedX; + seen49 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed49 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall49 |= (long)(local_wall6) << shiftX; + wall_reversed49 |= (long)(local_wall_reversed6) << shiftReversedX; + seen48 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed48 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall48 |= (long)(local_wall5) << shiftX; + wall_reversed48 |= (long)(local_wall_reversed5) << shiftReversedX; + seen47 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed47 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall47 |= (long)(local_wall4) << shiftX; + wall_reversed47 |= (long)(local_wall_reversed4) << shiftReversedX; + seen46 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed46 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall46 |= (long)(local_wall3) << shiftX; + wall_reversed46 |= (long)(local_wall_reversed3) << shiftReversedX; + seen45 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed45 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall45 |= (long)(local_wall2) << shiftX; + wall_reversed45 |= (long)(local_wall_reversed2) << shiftReversedX; + seen44 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed44 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall44 |= (long)(local_wall1) << shiftX; + wall_reversed44 |= (long)(local_wall_reversed1) << shiftReversedX; + seen43 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed43 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall43 |= (long)(local_wall0) << shiftX; + wall_reversed43 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 52 -> { + seen52 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed52 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall52 |= (long)(local_wall8) << shiftX; + wall_reversed52 |= (long)(local_wall_reversed8) << shiftReversedX; + seen51 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed51 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall51 |= (long)(local_wall7) << shiftX; + wall_reversed51 |= (long)(local_wall_reversed7) << shiftReversedX; + seen50 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed50 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall50 |= (long)(local_wall6) << shiftX; + wall_reversed50 |= (long)(local_wall_reversed6) << shiftReversedX; + seen49 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed49 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall49 |= (long)(local_wall5) << shiftX; + wall_reversed49 |= (long)(local_wall_reversed5) << shiftReversedX; + seen48 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed48 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall48 |= (long)(local_wall4) << shiftX; + wall_reversed48 |= (long)(local_wall_reversed4) << shiftReversedX; + seen47 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed47 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall47 |= (long)(local_wall3) << shiftX; + wall_reversed47 |= (long)(local_wall_reversed3) << shiftReversedX; + seen46 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed46 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall46 |= (long)(local_wall2) << shiftX; + wall_reversed46 |= (long)(local_wall_reversed2) << shiftReversedX; + seen45 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed45 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall45 |= (long)(local_wall1) << shiftX; + wall_reversed45 |= (long)(local_wall_reversed1) << shiftReversedX; + seen44 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed44 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall44 |= (long)(local_wall0) << shiftX; + wall_reversed44 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 53 -> { + seen53 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed53 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall53 |= (long)(local_wall8) << shiftX; + wall_reversed53 |= (long)(local_wall_reversed8) << shiftReversedX; + seen52 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed52 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall52 |= (long)(local_wall7) << shiftX; + wall_reversed52 |= (long)(local_wall_reversed7) << shiftReversedX; + seen51 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed51 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall51 |= (long)(local_wall6) << shiftX; + wall_reversed51 |= (long)(local_wall_reversed6) << shiftReversedX; + seen50 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed50 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall50 |= (long)(local_wall5) << shiftX; + wall_reversed50 |= (long)(local_wall_reversed5) << shiftReversedX; + seen49 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed49 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall49 |= (long)(local_wall4) << shiftX; + wall_reversed49 |= (long)(local_wall_reversed4) << shiftReversedX; + seen48 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed48 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall48 |= (long)(local_wall3) << shiftX; + wall_reversed48 |= (long)(local_wall_reversed3) << shiftReversedX; + seen47 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed47 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall47 |= (long)(local_wall2) << shiftX; + wall_reversed47 |= (long)(local_wall_reversed2) << shiftReversedX; + seen46 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed46 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall46 |= (long)(local_wall1) << shiftX; + wall_reversed46 |= (long)(local_wall_reversed1) << shiftReversedX; + seen45 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed45 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall45 |= (long)(local_wall0) << shiftX; + wall_reversed45 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 54 -> { + seen54 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed54 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall54 |= (long)(local_wall8) << shiftX; + wall_reversed54 |= (long)(local_wall_reversed8) << shiftReversedX; + seen53 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed53 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall53 |= (long)(local_wall7) << shiftX; + wall_reversed53 |= (long)(local_wall_reversed7) << shiftReversedX; + seen52 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed52 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall52 |= (long)(local_wall6) << shiftX; + wall_reversed52 |= (long)(local_wall_reversed6) << shiftReversedX; + seen51 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed51 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall51 |= (long)(local_wall5) << shiftX; + wall_reversed51 |= (long)(local_wall_reversed5) << shiftReversedX; + seen50 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed50 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall50 |= (long)(local_wall4) << shiftX; + wall_reversed50 |= (long)(local_wall_reversed4) << shiftReversedX; + seen49 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed49 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall49 |= (long)(local_wall3) << shiftX; + wall_reversed49 |= (long)(local_wall_reversed3) << shiftReversedX; + seen48 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed48 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall48 |= (long)(local_wall2) << shiftX; + wall_reversed48 |= (long)(local_wall_reversed2) << shiftReversedX; + seen47 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed47 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall47 |= (long)(local_wall1) << shiftX; + wall_reversed47 |= (long)(local_wall_reversed1) << shiftReversedX; + seen46 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed46 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall46 |= (long)(local_wall0) << shiftX; + wall_reversed46 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 55 -> { + seen55 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed55 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall55 |= (long)(local_wall8) << shiftX; + wall_reversed55 |= (long)(local_wall_reversed8) << shiftReversedX; + seen54 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed54 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall54 |= (long)(local_wall7) << shiftX; + wall_reversed54 |= (long)(local_wall_reversed7) << shiftReversedX; + seen53 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed53 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall53 |= (long)(local_wall6) << shiftX; + wall_reversed53 |= (long)(local_wall_reversed6) << shiftReversedX; + seen52 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed52 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall52 |= (long)(local_wall5) << shiftX; + wall_reversed52 |= (long)(local_wall_reversed5) << shiftReversedX; + seen51 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed51 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall51 |= (long)(local_wall4) << shiftX; + wall_reversed51 |= (long)(local_wall_reversed4) << shiftReversedX; + seen50 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed50 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall50 |= (long)(local_wall3) << shiftX; + wall_reversed50 |= (long)(local_wall_reversed3) << shiftReversedX; + seen49 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed49 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall49 |= (long)(local_wall2) << shiftX; + wall_reversed49 |= (long)(local_wall_reversed2) << shiftReversedX; + seen48 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed48 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall48 |= (long)(local_wall1) << shiftX; + wall_reversed48 |= (long)(local_wall_reversed1) << shiftReversedX; + seen47 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed47 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall47 |= (long)(local_wall0) << shiftX; + wall_reversed47 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 56 -> { + seen56 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed56 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall56 |= (long)(local_wall8) << shiftX; + wall_reversed56 |= (long)(local_wall_reversed8) << shiftReversedX; + seen55 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed55 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall55 |= (long)(local_wall7) << shiftX; + wall_reversed55 |= (long)(local_wall_reversed7) << shiftReversedX; + seen54 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed54 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall54 |= (long)(local_wall6) << shiftX; + wall_reversed54 |= (long)(local_wall_reversed6) << shiftReversedX; + seen53 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed53 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall53 |= (long)(local_wall5) << shiftX; + wall_reversed53 |= (long)(local_wall_reversed5) << shiftReversedX; + seen52 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed52 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall52 |= (long)(local_wall4) << shiftX; + wall_reversed52 |= (long)(local_wall_reversed4) << shiftReversedX; + seen51 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed51 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall51 |= (long)(local_wall3) << shiftX; + wall_reversed51 |= (long)(local_wall_reversed3) << shiftReversedX; + seen50 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed50 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall50 |= (long)(local_wall2) << shiftX; + wall_reversed50 |= (long)(local_wall_reversed2) << shiftReversedX; + seen49 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed49 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall49 |= (long)(local_wall1) << shiftX; + wall_reversed49 |= (long)(local_wall_reversed1) << shiftReversedX; + seen48 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed48 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall48 |= (long)(local_wall0) << shiftX; + wall_reversed48 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 57 -> { + seen57 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed57 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall57 |= (long)(local_wall8) << shiftX; + wall_reversed57 |= (long)(local_wall_reversed8) << shiftReversedX; + seen56 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed56 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall56 |= (long)(local_wall7) << shiftX; + wall_reversed56 |= (long)(local_wall_reversed7) << shiftReversedX; + seen55 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed55 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall55 |= (long)(local_wall6) << shiftX; + wall_reversed55 |= (long)(local_wall_reversed6) << shiftReversedX; + seen54 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed54 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall54 |= (long)(local_wall5) << shiftX; + wall_reversed54 |= (long)(local_wall_reversed5) << shiftReversedX; + seen53 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed53 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall53 |= (long)(local_wall4) << shiftX; + wall_reversed53 |= (long)(local_wall_reversed4) << shiftReversedX; + seen52 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed52 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall52 |= (long)(local_wall3) << shiftX; + wall_reversed52 |= (long)(local_wall_reversed3) << shiftReversedX; + seen51 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed51 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall51 |= (long)(local_wall2) << shiftX; + wall_reversed51 |= (long)(local_wall_reversed2) << shiftReversedX; + seen50 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed50 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall50 |= (long)(local_wall1) << shiftX; + wall_reversed50 |= (long)(local_wall_reversed1) << shiftReversedX; + seen49 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed49 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall49 |= (long)(local_wall0) << shiftX; + wall_reversed49 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 58 -> { + seen58 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed58 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall58 |= (long)(local_wall8) << shiftX; + wall_reversed58 |= (long)(local_wall_reversed8) << shiftReversedX; + seen57 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed57 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall57 |= (long)(local_wall7) << shiftX; + wall_reversed57 |= (long)(local_wall_reversed7) << shiftReversedX; + seen56 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed56 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall56 |= (long)(local_wall6) << shiftX; + wall_reversed56 |= (long)(local_wall_reversed6) << shiftReversedX; + seen55 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed55 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall55 |= (long)(local_wall5) << shiftX; + wall_reversed55 |= (long)(local_wall_reversed5) << shiftReversedX; + seen54 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed54 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall54 |= (long)(local_wall4) << shiftX; + wall_reversed54 |= (long)(local_wall_reversed4) << shiftReversedX; + seen53 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed53 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall53 |= (long)(local_wall3) << shiftX; + wall_reversed53 |= (long)(local_wall_reversed3) << shiftReversedX; + seen52 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed52 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall52 |= (long)(local_wall2) << shiftX; + wall_reversed52 |= (long)(local_wall_reversed2) << shiftReversedX; + seen51 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed51 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall51 |= (long)(local_wall1) << shiftX; + wall_reversed51 |= (long)(local_wall_reversed1) << shiftReversedX; + seen50 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed50 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall50 |= (long)(local_wall0) << shiftX; + wall_reversed50 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 59 -> { + seen59 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed59 |= ((long)(local_seen_reversed8) << shiftReversedX) & rowMask; + wall59 |= (long)(local_wall8) << shiftX; + wall_reversed59 |= (long)(local_wall_reversed8) << shiftReversedX; + seen58 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed58 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall58 |= (long)(local_wall7) << shiftX; + wall_reversed58 |= (long)(local_wall_reversed7) << shiftReversedX; + seen57 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed57 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall57 |= (long)(local_wall6) << shiftX; + wall_reversed57 |= (long)(local_wall_reversed6) << shiftReversedX; + seen56 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed56 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall56 |= (long)(local_wall5) << shiftX; + wall_reversed56 |= (long)(local_wall_reversed5) << shiftReversedX; + seen55 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed55 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall55 |= (long)(local_wall4) << shiftX; + wall_reversed55 |= (long)(local_wall_reversed4) << shiftReversedX; + seen54 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed54 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall54 |= (long)(local_wall3) << shiftX; + wall_reversed54 |= (long)(local_wall_reversed3) << shiftReversedX; + seen53 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed53 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall53 |= (long)(local_wall2) << shiftX; + wall_reversed53 |= (long)(local_wall_reversed2) << shiftReversedX; + seen52 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed52 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall52 |= (long)(local_wall1) << shiftX; + wall_reversed52 |= (long)(local_wall_reversed1) << shiftReversedX; + seen51 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed51 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall51 |= (long)(local_wall0) << shiftX; + wall_reversed51 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 60 -> { + seen59 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed59 |= ((long)(local_seen_reversed7) << shiftReversedX) & rowMask; + wall59 |= (long)(local_wall7) << shiftX; + wall_reversed59 |= (long)(local_wall_reversed7) << shiftReversedX; + seen58 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed58 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall58 |= (long)(local_wall6) << shiftX; + wall_reversed58 |= (long)(local_wall_reversed6) << shiftReversedX; + seen57 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed57 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall57 |= (long)(local_wall5) << shiftX; + wall_reversed57 |= (long)(local_wall_reversed5) << shiftReversedX; + seen56 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed56 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall56 |= (long)(local_wall4) << shiftX; + wall_reversed56 |= (long)(local_wall_reversed4) << shiftReversedX; + seen55 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed55 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall55 |= (long)(local_wall3) << shiftX; + wall_reversed55 |= (long)(local_wall_reversed3) << shiftReversedX; + seen54 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed54 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall54 |= (long)(local_wall2) << shiftX; + wall_reversed54 |= (long)(local_wall_reversed2) << shiftReversedX; + seen53 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed53 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall53 |= (long)(local_wall1) << shiftX; + wall_reversed53 |= (long)(local_wall_reversed1) << shiftReversedX; + seen52 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed52 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall52 |= (long)(local_wall0) << shiftX; + wall_reversed52 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 61 -> { + seen59 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed59 |= ((long)(local_seen_reversed6) << shiftReversedX) & rowMask; + wall59 |= (long)(local_wall6) << shiftX; + wall_reversed59 |= (long)(local_wall_reversed6) << shiftReversedX; + seen58 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed58 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall58 |= (long)(local_wall5) << shiftX; + wall_reversed58 |= (long)(local_wall_reversed5) << shiftReversedX; + seen57 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed57 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall57 |= (long)(local_wall4) << shiftX; + wall_reversed57 |= (long)(local_wall_reversed4) << shiftReversedX; + seen56 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed56 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall56 |= (long)(local_wall3) << shiftX; + wall_reversed56 |= (long)(local_wall_reversed3) << shiftReversedX; + seen55 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed55 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall55 |= (long)(local_wall2) << shiftX; + wall_reversed55 |= (long)(local_wall_reversed2) << shiftReversedX; + seen54 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed54 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall54 |= (long)(local_wall1) << shiftX; + wall_reversed54 |= (long)(local_wall_reversed1) << shiftReversedX; + seen53 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed53 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall53 |= (long)(local_wall0) << shiftX; + wall_reversed53 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 62 -> { + seen59 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed59 |= ((long)(local_seen_reversed5) << shiftReversedX) & rowMask; + wall59 |= (long)(local_wall5) << shiftX; + wall_reversed59 |= (long)(local_wall_reversed5) << shiftReversedX; + seen58 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed58 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall58 |= (long)(local_wall4) << shiftX; + wall_reversed58 |= (long)(local_wall_reversed4) << shiftReversedX; + seen57 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed57 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall57 |= (long)(local_wall3) << shiftX; + wall_reversed57 |= (long)(local_wall_reversed3) << shiftReversedX; + seen56 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed56 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall56 |= (long)(local_wall2) << shiftX; + wall_reversed56 |= (long)(local_wall_reversed2) << shiftReversedX; + seen55 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed55 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall55 |= (long)(local_wall1) << shiftX; + wall_reversed55 |= (long)(local_wall_reversed1) << shiftReversedX; + seen54 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed54 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall54 |= (long)(local_wall0) << shiftX; + wall_reversed54 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + case 63 -> { + seen59 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed59 |= ((long)(local_seen_reversed4) << shiftReversedX) & rowMask; + wall59 |= (long)(local_wall4) << shiftX; + wall_reversed59 |= (long)(local_wall_reversed4) << shiftReversedX; + seen58 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed58 |= ((long)(local_seen_reversed3) << shiftReversedX) & rowMask; + wall58 |= (long)(local_wall3) << shiftX; + wall_reversed58 |= (long)(local_wall_reversed3) << shiftReversedX; + seen57 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed57 |= ((long)(local_seen_reversed2) << shiftReversedX) & rowMask; + wall57 |= (long)(local_wall2) << shiftX; + wall_reversed57 |= (long)(local_wall_reversed2) << shiftReversedX; + seen56 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed56 |= ((long)(local_seen_reversed1) << shiftReversedX) & rowMask; + wall56 |= (long)(local_wall1) << shiftX; + wall_reversed56 |= (long)(local_wall_reversed1) << shiftReversedX; + seen55 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed55 |= ((long)(local_seen_reversed0) << shiftReversedX) & rowMask; + wall55 |= (long)(local_wall0) << shiftX; + wall_reversed55 |= (long)(local_wall_reversed0) << shiftReversedX; + + } + default -> System.out.println("Top Right Corner Out of Bounds."); + } + } + + + public static void dumpNegative() throws GameActionException { + long rowMask = (1L << rc.getMapWidth()) - 1; + int cornerY = rc.getLocation().y + 4; + int shiftX = rc.getLocation().x + -4; + int trueReversedShiftX = -shiftReversedX; + + switch (cornerY) { + case 4 -> { + seen4 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed4 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall4 |= (long)(local_wall8) << shiftX; + wall_reversed4 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen3 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed3 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall3 |= (long)(local_wall7) << shiftX; + wall_reversed3 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen2 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed2 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall2 |= (long)(local_wall6) << shiftX; + wall_reversed2 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen1 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed1 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall1 |= (long)(local_wall5) << shiftX; + wall_reversed1 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen0 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed0 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall0 |= (long)(local_wall4) << shiftX; + wall_reversed0 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + + } + case 5 -> { + seen5 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed5 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall5 |= (long)(local_wall8) << shiftX; + wall_reversed5 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen4 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed4 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall4 |= (long)(local_wall7) << shiftX; + wall_reversed4 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen3 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed3 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall3 |= (long)(local_wall6) << shiftX; + wall_reversed3 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen2 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed2 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall2 |= (long)(local_wall5) << shiftX; + wall_reversed2 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen1 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed1 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall1 |= (long)(local_wall4) << shiftX; + wall_reversed1 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen0 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed0 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall0 |= (long)(local_wall3) << shiftX; + wall_reversed0 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + + } + case 6 -> { + seen6 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed6 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall6 |= (long)(local_wall8) << shiftX; + wall_reversed6 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen5 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed5 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall5 |= (long)(local_wall7) << shiftX; + wall_reversed5 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen4 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed4 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall4 |= (long)(local_wall6) << shiftX; + wall_reversed4 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen3 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed3 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall3 |= (long)(local_wall5) << shiftX; + wall_reversed3 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen2 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed2 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall2 |= (long)(local_wall4) << shiftX; + wall_reversed2 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen1 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed1 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall1 |= (long)(local_wall3) << shiftX; + wall_reversed1 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen0 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed0 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall0 |= (long)(local_wall2) << shiftX; + wall_reversed0 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + + } + case 7 -> { + seen7 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed7 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall7 |= (long)(local_wall8) << shiftX; + wall_reversed7 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen6 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed6 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall6 |= (long)(local_wall7) << shiftX; + wall_reversed6 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen5 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed5 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall5 |= (long)(local_wall6) << shiftX; + wall_reversed5 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen4 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed4 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall4 |= (long)(local_wall5) << shiftX; + wall_reversed4 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen3 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed3 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall3 |= (long)(local_wall4) << shiftX; + wall_reversed3 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen2 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed2 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall2 |= (long)(local_wall3) << shiftX; + wall_reversed2 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen1 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed1 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall1 |= (long)(local_wall2) << shiftX; + wall_reversed1 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen0 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed0 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall0 |= (long)(local_wall1) << shiftX; + wall_reversed0 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + + } + case 8 -> { + seen8 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed8 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall8 |= (long)(local_wall8) << shiftX; + wall_reversed8 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen7 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed7 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall7 |= (long)(local_wall7) << shiftX; + wall_reversed7 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen6 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed6 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall6 |= (long)(local_wall6) << shiftX; + wall_reversed6 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen5 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed5 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall5 |= (long)(local_wall5) << shiftX; + wall_reversed5 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen4 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed4 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall4 |= (long)(local_wall4) << shiftX; + wall_reversed4 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen3 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed3 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall3 |= (long)(local_wall3) << shiftX; + wall_reversed3 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen2 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed2 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall2 |= (long)(local_wall2) << shiftX; + wall_reversed2 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen1 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed1 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall1 |= (long)(local_wall1) << shiftX; + wall_reversed1 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen0 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed0 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall0 |= (long)(local_wall0) << shiftX; + wall_reversed0 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 9 -> { + seen9 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed9 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall9 |= (long)(local_wall8) << shiftX; + wall_reversed9 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen8 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed8 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall8 |= (long)(local_wall7) << shiftX; + wall_reversed8 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen7 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed7 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall7 |= (long)(local_wall6) << shiftX; + wall_reversed7 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen6 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed6 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall6 |= (long)(local_wall5) << shiftX; + wall_reversed6 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen5 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed5 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall5 |= (long)(local_wall4) << shiftX; + wall_reversed5 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen4 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed4 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall4 |= (long)(local_wall3) << shiftX; + wall_reversed4 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen3 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed3 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall3 |= (long)(local_wall2) << shiftX; + wall_reversed3 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen2 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed2 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall2 |= (long)(local_wall1) << shiftX; + wall_reversed2 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen1 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed1 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall1 |= (long)(local_wall0) << shiftX; + wall_reversed1 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 10 -> { + seen10 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed10 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall10 |= (long)(local_wall8) << shiftX; + wall_reversed10 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen9 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed9 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall9 |= (long)(local_wall7) << shiftX; + wall_reversed9 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen8 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed8 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall8 |= (long)(local_wall6) << shiftX; + wall_reversed8 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen7 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed7 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall7 |= (long)(local_wall5) << shiftX; + wall_reversed7 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen6 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed6 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall6 |= (long)(local_wall4) << shiftX; + wall_reversed6 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen5 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed5 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall5 |= (long)(local_wall3) << shiftX; + wall_reversed5 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen4 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed4 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall4 |= (long)(local_wall2) << shiftX; + wall_reversed4 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen3 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed3 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall3 |= (long)(local_wall1) << shiftX; + wall_reversed3 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen2 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed2 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall2 |= (long)(local_wall0) << shiftX; + wall_reversed2 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 11 -> { + seen11 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed11 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall11 |= (long)(local_wall8) << shiftX; + wall_reversed11 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen10 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed10 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall10 |= (long)(local_wall7) << shiftX; + wall_reversed10 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen9 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed9 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall9 |= (long)(local_wall6) << shiftX; + wall_reversed9 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen8 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed8 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall8 |= (long)(local_wall5) << shiftX; + wall_reversed8 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen7 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed7 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall7 |= (long)(local_wall4) << shiftX; + wall_reversed7 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen6 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed6 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall6 |= (long)(local_wall3) << shiftX; + wall_reversed6 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen5 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed5 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall5 |= (long)(local_wall2) << shiftX; + wall_reversed5 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen4 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed4 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall4 |= (long)(local_wall1) << shiftX; + wall_reversed4 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen3 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed3 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall3 |= (long)(local_wall0) << shiftX; + wall_reversed3 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 12 -> { + seen12 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed12 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall12 |= (long)(local_wall8) << shiftX; + wall_reversed12 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen11 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed11 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall11 |= (long)(local_wall7) << shiftX; + wall_reversed11 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen10 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed10 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall10 |= (long)(local_wall6) << shiftX; + wall_reversed10 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen9 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed9 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall9 |= (long)(local_wall5) << shiftX; + wall_reversed9 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen8 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed8 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall8 |= (long)(local_wall4) << shiftX; + wall_reversed8 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen7 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed7 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall7 |= (long)(local_wall3) << shiftX; + wall_reversed7 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen6 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed6 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall6 |= (long)(local_wall2) << shiftX; + wall_reversed6 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen5 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed5 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall5 |= (long)(local_wall1) << shiftX; + wall_reversed5 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen4 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed4 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall4 |= (long)(local_wall0) << shiftX; + wall_reversed4 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 13 -> { + seen13 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed13 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall13 |= (long)(local_wall8) << shiftX; + wall_reversed13 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen12 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed12 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall12 |= (long)(local_wall7) << shiftX; + wall_reversed12 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen11 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed11 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall11 |= (long)(local_wall6) << shiftX; + wall_reversed11 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen10 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed10 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall10 |= (long)(local_wall5) << shiftX; + wall_reversed10 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen9 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed9 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall9 |= (long)(local_wall4) << shiftX; + wall_reversed9 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen8 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed8 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall8 |= (long)(local_wall3) << shiftX; + wall_reversed8 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen7 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed7 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall7 |= (long)(local_wall2) << shiftX; + wall_reversed7 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen6 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed6 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall6 |= (long)(local_wall1) << shiftX; + wall_reversed6 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen5 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed5 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall5 |= (long)(local_wall0) << shiftX; + wall_reversed5 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 14 -> { + seen14 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed14 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall14 |= (long)(local_wall8) << shiftX; + wall_reversed14 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen13 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed13 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall13 |= (long)(local_wall7) << shiftX; + wall_reversed13 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen12 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed12 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall12 |= (long)(local_wall6) << shiftX; + wall_reversed12 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen11 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed11 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall11 |= (long)(local_wall5) << shiftX; + wall_reversed11 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen10 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed10 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall10 |= (long)(local_wall4) << shiftX; + wall_reversed10 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen9 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed9 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall9 |= (long)(local_wall3) << shiftX; + wall_reversed9 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen8 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed8 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall8 |= (long)(local_wall2) << shiftX; + wall_reversed8 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen7 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed7 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall7 |= (long)(local_wall1) << shiftX; + wall_reversed7 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen6 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed6 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall6 |= (long)(local_wall0) << shiftX; + wall_reversed6 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 15 -> { + seen15 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed15 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall15 |= (long)(local_wall8) << shiftX; + wall_reversed15 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen14 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed14 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall14 |= (long)(local_wall7) << shiftX; + wall_reversed14 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen13 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed13 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall13 |= (long)(local_wall6) << shiftX; + wall_reversed13 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen12 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed12 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall12 |= (long)(local_wall5) << shiftX; + wall_reversed12 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen11 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed11 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall11 |= (long)(local_wall4) << shiftX; + wall_reversed11 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen10 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed10 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall10 |= (long)(local_wall3) << shiftX; + wall_reversed10 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen9 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed9 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall9 |= (long)(local_wall2) << shiftX; + wall_reversed9 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen8 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed8 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall8 |= (long)(local_wall1) << shiftX; + wall_reversed8 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen7 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed7 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall7 |= (long)(local_wall0) << shiftX; + wall_reversed7 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 16 -> { + seen16 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed16 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall16 |= (long)(local_wall8) << shiftX; + wall_reversed16 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen15 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed15 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall15 |= (long)(local_wall7) << shiftX; + wall_reversed15 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen14 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed14 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall14 |= (long)(local_wall6) << shiftX; + wall_reversed14 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen13 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed13 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall13 |= (long)(local_wall5) << shiftX; + wall_reversed13 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen12 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed12 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall12 |= (long)(local_wall4) << shiftX; + wall_reversed12 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen11 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed11 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall11 |= (long)(local_wall3) << shiftX; + wall_reversed11 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen10 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed10 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall10 |= (long)(local_wall2) << shiftX; + wall_reversed10 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen9 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed9 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall9 |= (long)(local_wall1) << shiftX; + wall_reversed9 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen8 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed8 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall8 |= (long)(local_wall0) << shiftX; + wall_reversed8 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 17 -> { + seen17 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed17 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall17 |= (long)(local_wall8) << shiftX; + wall_reversed17 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen16 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed16 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall16 |= (long)(local_wall7) << shiftX; + wall_reversed16 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen15 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed15 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall15 |= (long)(local_wall6) << shiftX; + wall_reversed15 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen14 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed14 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall14 |= (long)(local_wall5) << shiftX; + wall_reversed14 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen13 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed13 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall13 |= (long)(local_wall4) << shiftX; + wall_reversed13 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen12 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed12 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall12 |= (long)(local_wall3) << shiftX; + wall_reversed12 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen11 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed11 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall11 |= (long)(local_wall2) << shiftX; + wall_reversed11 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen10 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed10 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall10 |= (long)(local_wall1) << shiftX; + wall_reversed10 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen9 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed9 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall9 |= (long)(local_wall0) << shiftX; + wall_reversed9 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 18 -> { + seen18 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed18 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall18 |= (long)(local_wall8) << shiftX; + wall_reversed18 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen17 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed17 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall17 |= (long)(local_wall7) << shiftX; + wall_reversed17 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen16 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed16 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall16 |= (long)(local_wall6) << shiftX; + wall_reversed16 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen15 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed15 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall15 |= (long)(local_wall5) << shiftX; + wall_reversed15 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen14 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed14 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall14 |= (long)(local_wall4) << shiftX; + wall_reversed14 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen13 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed13 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall13 |= (long)(local_wall3) << shiftX; + wall_reversed13 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen12 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed12 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall12 |= (long)(local_wall2) << shiftX; + wall_reversed12 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen11 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed11 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall11 |= (long)(local_wall1) << shiftX; + wall_reversed11 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen10 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed10 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall10 |= (long)(local_wall0) << shiftX; + wall_reversed10 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 19 -> { + seen19 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed19 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall19 |= (long)(local_wall8) << shiftX; + wall_reversed19 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen18 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed18 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall18 |= (long)(local_wall7) << shiftX; + wall_reversed18 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen17 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed17 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall17 |= (long)(local_wall6) << shiftX; + wall_reversed17 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen16 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed16 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall16 |= (long)(local_wall5) << shiftX; + wall_reversed16 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen15 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed15 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall15 |= (long)(local_wall4) << shiftX; + wall_reversed15 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen14 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed14 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall14 |= (long)(local_wall3) << shiftX; + wall_reversed14 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen13 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed13 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall13 |= (long)(local_wall2) << shiftX; + wall_reversed13 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen12 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed12 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall12 |= (long)(local_wall1) << shiftX; + wall_reversed12 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen11 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed11 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall11 |= (long)(local_wall0) << shiftX; + wall_reversed11 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 20 -> { + seen20 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed20 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall20 |= (long)(local_wall8) << shiftX; + wall_reversed20 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen19 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed19 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall19 |= (long)(local_wall7) << shiftX; + wall_reversed19 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen18 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed18 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall18 |= (long)(local_wall6) << shiftX; + wall_reversed18 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen17 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed17 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall17 |= (long)(local_wall5) << shiftX; + wall_reversed17 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen16 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed16 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall16 |= (long)(local_wall4) << shiftX; + wall_reversed16 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen15 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed15 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall15 |= (long)(local_wall3) << shiftX; + wall_reversed15 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen14 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed14 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall14 |= (long)(local_wall2) << shiftX; + wall_reversed14 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen13 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed13 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall13 |= (long)(local_wall1) << shiftX; + wall_reversed13 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen12 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed12 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall12 |= (long)(local_wall0) << shiftX; + wall_reversed12 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 21 -> { + seen21 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed21 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall21 |= (long)(local_wall8) << shiftX; + wall_reversed21 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen20 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed20 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall20 |= (long)(local_wall7) << shiftX; + wall_reversed20 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen19 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed19 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall19 |= (long)(local_wall6) << shiftX; + wall_reversed19 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen18 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed18 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall18 |= (long)(local_wall5) << shiftX; + wall_reversed18 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen17 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed17 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall17 |= (long)(local_wall4) << shiftX; + wall_reversed17 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen16 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed16 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall16 |= (long)(local_wall3) << shiftX; + wall_reversed16 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen15 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed15 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall15 |= (long)(local_wall2) << shiftX; + wall_reversed15 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen14 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed14 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall14 |= (long)(local_wall1) << shiftX; + wall_reversed14 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen13 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed13 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall13 |= (long)(local_wall0) << shiftX; + wall_reversed13 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 22 -> { + seen22 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed22 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall22 |= (long)(local_wall8) << shiftX; + wall_reversed22 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen21 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed21 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall21 |= (long)(local_wall7) << shiftX; + wall_reversed21 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen20 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed20 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall20 |= (long)(local_wall6) << shiftX; + wall_reversed20 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen19 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed19 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall19 |= (long)(local_wall5) << shiftX; + wall_reversed19 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen18 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed18 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall18 |= (long)(local_wall4) << shiftX; + wall_reversed18 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen17 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed17 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall17 |= (long)(local_wall3) << shiftX; + wall_reversed17 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen16 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed16 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall16 |= (long)(local_wall2) << shiftX; + wall_reversed16 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen15 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed15 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall15 |= (long)(local_wall1) << shiftX; + wall_reversed15 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen14 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed14 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall14 |= (long)(local_wall0) << shiftX; + wall_reversed14 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 23 -> { + seen23 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed23 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall23 |= (long)(local_wall8) << shiftX; + wall_reversed23 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen22 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed22 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall22 |= (long)(local_wall7) << shiftX; + wall_reversed22 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen21 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed21 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall21 |= (long)(local_wall6) << shiftX; + wall_reversed21 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen20 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed20 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall20 |= (long)(local_wall5) << shiftX; + wall_reversed20 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen19 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed19 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall19 |= (long)(local_wall4) << shiftX; + wall_reversed19 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen18 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed18 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall18 |= (long)(local_wall3) << shiftX; + wall_reversed18 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen17 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed17 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall17 |= (long)(local_wall2) << shiftX; + wall_reversed17 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen16 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed16 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall16 |= (long)(local_wall1) << shiftX; + wall_reversed16 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen15 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed15 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall15 |= (long)(local_wall0) << shiftX; + wall_reversed15 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 24 -> { + seen24 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed24 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall24 |= (long)(local_wall8) << shiftX; + wall_reversed24 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen23 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed23 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall23 |= (long)(local_wall7) << shiftX; + wall_reversed23 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen22 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed22 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall22 |= (long)(local_wall6) << shiftX; + wall_reversed22 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen21 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed21 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall21 |= (long)(local_wall5) << shiftX; + wall_reversed21 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen20 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed20 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall20 |= (long)(local_wall4) << shiftX; + wall_reversed20 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen19 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed19 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall19 |= (long)(local_wall3) << shiftX; + wall_reversed19 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen18 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed18 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall18 |= (long)(local_wall2) << shiftX; + wall_reversed18 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen17 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed17 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall17 |= (long)(local_wall1) << shiftX; + wall_reversed17 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen16 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed16 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall16 |= (long)(local_wall0) << shiftX; + wall_reversed16 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 25 -> { + seen25 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed25 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall25 |= (long)(local_wall8) << shiftX; + wall_reversed25 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen24 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed24 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall24 |= (long)(local_wall7) << shiftX; + wall_reversed24 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen23 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed23 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall23 |= (long)(local_wall6) << shiftX; + wall_reversed23 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen22 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed22 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall22 |= (long)(local_wall5) << shiftX; + wall_reversed22 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen21 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed21 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall21 |= (long)(local_wall4) << shiftX; + wall_reversed21 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen20 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed20 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall20 |= (long)(local_wall3) << shiftX; + wall_reversed20 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen19 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed19 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall19 |= (long)(local_wall2) << shiftX; + wall_reversed19 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen18 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed18 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall18 |= (long)(local_wall1) << shiftX; + wall_reversed18 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen17 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed17 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall17 |= (long)(local_wall0) << shiftX; + wall_reversed17 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 26 -> { + seen26 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed26 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall26 |= (long)(local_wall8) << shiftX; + wall_reversed26 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen25 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed25 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall25 |= (long)(local_wall7) << shiftX; + wall_reversed25 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen24 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed24 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall24 |= (long)(local_wall6) << shiftX; + wall_reversed24 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen23 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed23 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall23 |= (long)(local_wall5) << shiftX; + wall_reversed23 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen22 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed22 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall22 |= (long)(local_wall4) << shiftX; + wall_reversed22 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen21 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed21 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall21 |= (long)(local_wall3) << shiftX; + wall_reversed21 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen20 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed20 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall20 |= (long)(local_wall2) << shiftX; + wall_reversed20 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen19 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed19 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall19 |= (long)(local_wall1) << shiftX; + wall_reversed19 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen18 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed18 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall18 |= (long)(local_wall0) << shiftX; + wall_reversed18 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 27 -> { + seen27 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed27 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall27 |= (long)(local_wall8) << shiftX; + wall_reversed27 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen26 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed26 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall26 |= (long)(local_wall7) << shiftX; + wall_reversed26 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen25 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed25 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall25 |= (long)(local_wall6) << shiftX; + wall_reversed25 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen24 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed24 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall24 |= (long)(local_wall5) << shiftX; + wall_reversed24 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen23 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed23 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall23 |= (long)(local_wall4) << shiftX; + wall_reversed23 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen22 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed22 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall22 |= (long)(local_wall3) << shiftX; + wall_reversed22 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen21 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed21 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall21 |= (long)(local_wall2) << shiftX; + wall_reversed21 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen20 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed20 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall20 |= (long)(local_wall1) << shiftX; + wall_reversed20 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen19 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed19 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall19 |= (long)(local_wall0) << shiftX; + wall_reversed19 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 28 -> { + seen28 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed28 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall28 |= (long)(local_wall8) << shiftX; + wall_reversed28 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen27 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed27 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall27 |= (long)(local_wall7) << shiftX; + wall_reversed27 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen26 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed26 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall26 |= (long)(local_wall6) << shiftX; + wall_reversed26 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen25 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed25 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall25 |= (long)(local_wall5) << shiftX; + wall_reversed25 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen24 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed24 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall24 |= (long)(local_wall4) << shiftX; + wall_reversed24 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen23 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed23 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall23 |= (long)(local_wall3) << shiftX; + wall_reversed23 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen22 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed22 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall22 |= (long)(local_wall2) << shiftX; + wall_reversed22 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen21 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed21 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall21 |= (long)(local_wall1) << shiftX; + wall_reversed21 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen20 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed20 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall20 |= (long)(local_wall0) << shiftX; + wall_reversed20 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 29 -> { + seen29 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed29 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall29 |= (long)(local_wall8) << shiftX; + wall_reversed29 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen28 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed28 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall28 |= (long)(local_wall7) << shiftX; + wall_reversed28 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen27 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed27 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall27 |= (long)(local_wall6) << shiftX; + wall_reversed27 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen26 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed26 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall26 |= (long)(local_wall5) << shiftX; + wall_reversed26 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen25 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed25 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall25 |= (long)(local_wall4) << shiftX; + wall_reversed25 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen24 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed24 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall24 |= (long)(local_wall3) << shiftX; + wall_reversed24 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen23 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed23 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall23 |= (long)(local_wall2) << shiftX; + wall_reversed23 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen22 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed22 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall22 |= (long)(local_wall1) << shiftX; + wall_reversed22 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen21 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed21 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall21 |= (long)(local_wall0) << shiftX; + wall_reversed21 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 30 -> { + seen30 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed30 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall30 |= (long)(local_wall8) << shiftX; + wall_reversed30 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen29 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed29 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall29 |= (long)(local_wall7) << shiftX; + wall_reversed29 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen28 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed28 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall28 |= (long)(local_wall6) << shiftX; + wall_reversed28 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen27 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed27 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall27 |= (long)(local_wall5) << shiftX; + wall_reversed27 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen26 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed26 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall26 |= (long)(local_wall4) << shiftX; + wall_reversed26 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen25 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed25 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall25 |= (long)(local_wall3) << shiftX; + wall_reversed25 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen24 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed24 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall24 |= (long)(local_wall2) << shiftX; + wall_reversed24 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen23 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed23 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall23 |= (long)(local_wall1) << shiftX; + wall_reversed23 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen22 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed22 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall22 |= (long)(local_wall0) << shiftX; + wall_reversed22 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 31 -> { + seen31 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed31 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall31 |= (long)(local_wall8) << shiftX; + wall_reversed31 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen30 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed30 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall30 |= (long)(local_wall7) << shiftX; + wall_reversed30 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen29 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed29 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall29 |= (long)(local_wall6) << shiftX; + wall_reversed29 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen28 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed28 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall28 |= (long)(local_wall5) << shiftX; + wall_reversed28 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen27 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed27 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall27 |= (long)(local_wall4) << shiftX; + wall_reversed27 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen26 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed26 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall26 |= (long)(local_wall3) << shiftX; + wall_reversed26 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen25 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed25 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall25 |= (long)(local_wall2) << shiftX; + wall_reversed25 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen24 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed24 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall24 |= (long)(local_wall1) << shiftX; + wall_reversed24 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen23 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed23 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall23 |= (long)(local_wall0) << shiftX; + wall_reversed23 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 32 -> { + seen32 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed32 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall32 |= (long)(local_wall8) << shiftX; + wall_reversed32 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen31 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed31 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall31 |= (long)(local_wall7) << shiftX; + wall_reversed31 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen30 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed30 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall30 |= (long)(local_wall6) << shiftX; + wall_reversed30 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen29 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed29 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall29 |= (long)(local_wall5) << shiftX; + wall_reversed29 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen28 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed28 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall28 |= (long)(local_wall4) << shiftX; + wall_reversed28 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen27 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed27 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall27 |= (long)(local_wall3) << shiftX; + wall_reversed27 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen26 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed26 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall26 |= (long)(local_wall2) << shiftX; + wall_reversed26 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen25 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed25 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall25 |= (long)(local_wall1) << shiftX; + wall_reversed25 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen24 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed24 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall24 |= (long)(local_wall0) << shiftX; + wall_reversed24 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 33 -> { + seen33 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed33 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall33 |= (long)(local_wall8) << shiftX; + wall_reversed33 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen32 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed32 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall32 |= (long)(local_wall7) << shiftX; + wall_reversed32 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen31 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed31 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall31 |= (long)(local_wall6) << shiftX; + wall_reversed31 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen30 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed30 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall30 |= (long)(local_wall5) << shiftX; + wall_reversed30 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen29 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed29 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall29 |= (long)(local_wall4) << shiftX; + wall_reversed29 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen28 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed28 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall28 |= (long)(local_wall3) << shiftX; + wall_reversed28 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen27 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed27 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall27 |= (long)(local_wall2) << shiftX; + wall_reversed27 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen26 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed26 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall26 |= (long)(local_wall1) << shiftX; + wall_reversed26 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen25 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed25 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall25 |= (long)(local_wall0) << shiftX; + wall_reversed25 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 34 -> { + seen34 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed34 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall34 |= (long)(local_wall8) << shiftX; + wall_reversed34 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen33 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed33 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall33 |= (long)(local_wall7) << shiftX; + wall_reversed33 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen32 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed32 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall32 |= (long)(local_wall6) << shiftX; + wall_reversed32 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen31 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed31 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall31 |= (long)(local_wall5) << shiftX; + wall_reversed31 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen30 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed30 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall30 |= (long)(local_wall4) << shiftX; + wall_reversed30 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen29 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed29 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall29 |= (long)(local_wall3) << shiftX; + wall_reversed29 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen28 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed28 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall28 |= (long)(local_wall2) << shiftX; + wall_reversed28 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen27 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed27 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall27 |= (long)(local_wall1) << shiftX; + wall_reversed27 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen26 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed26 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall26 |= (long)(local_wall0) << shiftX; + wall_reversed26 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 35 -> { + seen35 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed35 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall35 |= (long)(local_wall8) << shiftX; + wall_reversed35 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen34 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed34 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall34 |= (long)(local_wall7) << shiftX; + wall_reversed34 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen33 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed33 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall33 |= (long)(local_wall6) << shiftX; + wall_reversed33 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen32 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed32 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall32 |= (long)(local_wall5) << shiftX; + wall_reversed32 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen31 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed31 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall31 |= (long)(local_wall4) << shiftX; + wall_reversed31 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen30 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed30 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall30 |= (long)(local_wall3) << shiftX; + wall_reversed30 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen29 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed29 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall29 |= (long)(local_wall2) << shiftX; + wall_reversed29 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen28 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed28 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall28 |= (long)(local_wall1) << shiftX; + wall_reversed28 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen27 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed27 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall27 |= (long)(local_wall0) << shiftX; + wall_reversed27 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 36 -> { + seen36 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed36 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall36 |= (long)(local_wall8) << shiftX; + wall_reversed36 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen35 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed35 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall35 |= (long)(local_wall7) << shiftX; + wall_reversed35 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen34 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed34 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall34 |= (long)(local_wall6) << shiftX; + wall_reversed34 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen33 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed33 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall33 |= (long)(local_wall5) << shiftX; + wall_reversed33 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen32 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed32 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall32 |= (long)(local_wall4) << shiftX; + wall_reversed32 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen31 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed31 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall31 |= (long)(local_wall3) << shiftX; + wall_reversed31 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen30 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed30 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall30 |= (long)(local_wall2) << shiftX; + wall_reversed30 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen29 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed29 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall29 |= (long)(local_wall1) << shiftX; + wall_reversed29 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen28 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed28 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall28 |= (long)(local_wall0) << shiftX; + wall_reversed28 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 37 -> { + seen37 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed37 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall37 |= (long)(local_wall8) << shiftX; + wall_reversed37 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen36 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed36 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall36 |= (long)(local_wall7) << shiftX; + wall_reversed36 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen35 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed35 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall35 |= (long)(local_wall6) << shiftX; + wall_reversed35 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen34 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed34 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall34 |= (long)(local_wall5) << shiftX; + wall_reversed34 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen33 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed33 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall33 |= (long)(local_wall4) << shiftX; + wall_reversed33 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen32 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed32 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall32 |= (long)(local_wall3) << shiftX; + wall_reversed32 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen31 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed31 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall31 |= (long)(local_wall2) << shiftX; + wall_reversed31 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen30 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed30 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall30 |= (long)(local_wall1) << shiftX; + wall_reversed30 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen29 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed29 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall29 |= (long)(local_wall0) << shiftX; + wall_reversed29 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 38 -> { + seen38 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed38 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall38 |= (long)(local_wall8) << shiftX; + wall_reversed38 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen37 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed37 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall37 |= (long)(local_wall7) << shiftX; + wall_reversed37 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen36 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed36 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall36 |= (long)(local_wall6) << shiftX; + wall_reversed36 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen35 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed35 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall35 |= (long)(local_wall5) << shiftX; + wall_reversed35 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen34 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed34 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall34 |= (long)(local_wall4) << shiftX; + wall_reversed34 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen33 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed33 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall33 |= (long)(local_wall3) << shiftX; + wall_reversed33 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen32 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed32 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall32 |= (long)(local_wall2) << shiftX; + wall_reversed32 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen31 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed31 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall31 |= (long)(local_wall1) << shiftX; + wall_reversed31 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen30 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed30 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall30 |= (long)(local_wall0) << shiftX; + wall_reversed30 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 39 -> { + seen39 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed39 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall39 |= (long)(local_wall8) << shiftX; + wall_reversed39 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen38 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed38 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall38 |= (long)(local_wall7) << shiftX; + wall_reversed38 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen37 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed37 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall37 |= (long)(local_wall6) << shiftX; + wall_reversed37 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen36 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed36 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall36 |= (long)(local_wall5) << shiftX; + wall_reversed36 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen35 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed35 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall35 |= (long)(local_wall4) << shiftX; + wall_reversed35 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen34 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed34 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall34 |= (long)(local_wall3) << shiftX; + wall_reversed34 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen33 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed33 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall33 |= (long)(local_wall2) << shiftX; + wall_reversed33 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen32 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed32 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall32 |= (long)(local_wall1) << shiftX; + wall_reversed32 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen31 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed31 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall31 |= (long)(local_wall0) << shiftX; + wall_reversed31 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 40 -> { + seen40 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed40 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall40 |= (long)(local_wall8) << shiftX; + wall_reversed40 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen39 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed39 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall39 |= (long)(local_wall7) << shiftX; + wall_reversed39 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen38 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed38 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall38 |= (long)(local_wall6) << shiftX; + wall_reversed38 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen37 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed37 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall37 |= (long)(local_wall5) << shiftX; + wall_reversed37 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen36 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed36 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall36 |= (long)(local_wall4) << shiftX; + wall_reversed36 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen35 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed35 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall35 |= (long)(local_wall3) << shiftX; + wall_reversed35 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen34 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed34 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall34 |= (long)(local_wall2) << shiftX; + wall_reversed34 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen33 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed33 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall33 |= (long)(local_wall1) << shiftX; + wall_reversed33 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen32 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed32 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall32 |= (long)(local_wall0) << shiftX; + wall_reversed32 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 41 -> { + seen41 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed41 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall41 |= (long)(local_wall8) << shiftX; + wall_reversed41 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen40 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed40 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall40 |= (long)(local_wall7) << shiftX; + wall_reversed40 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen39 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed39 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall39 |= (long)(local_wall6) << shiftX; + wall_reversed39 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen38 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed38 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall38 |= (long)(local_wall5) << shiftX; + wall_reversed38 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen37 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed37 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall37 |= (long)(local_wall4) << shiftX; + wall_reversed37 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen36 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed36 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall36 |= (long)(local_wall3) << shiftX; + wall_reversed36 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen35 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed35 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall35 |= (long)(local_wall2) << shiftX; + wall_reversed35 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen34 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed34 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall34 |= (long)(local_wall1) << shiftX; + wall_reversed34 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen33 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed33 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall33 |= (long)(local_wall0) << shiftX; + wall_reversed33 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 42 -> { + seen42 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed42 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall42 |= (long)(local_wall8) << shiftX; + wall_reversed42 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen41 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed41 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall41 |= (long)(local_wall7) << shiftX; + wall_reversed41 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen40 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed40 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall40 |= (long)(local_wall6) << shiftX; + wall_reversed40 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen39 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed39 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall39 |= (long)(local_wall5) << shiftX; + wall_reversed39 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen38 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed38 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall38 |= (long)(local_wall4) << shiftX; + wall_reversed38 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen37 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed37 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall37 |= (long)(local_wall3) << shiftX; + wall_reversed37 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen36 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed36 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall36 |= (long)(local_wall2) << shiftX; + wall_reversed36 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen35 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed35 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall35 |= (long)(local_wall1) << shiftX; + wall_reversed35 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen34 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed34 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall34 |= (long)(local_wall0) << shiftX; + wall_reversed34 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 43 -> { + seen43 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed43 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall43 |= (long)(local_wall8) << shiftX; + wall_reversed43 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen42 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed42 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall42 |= (long)(local_wall7) << shiftX; + wall_reversed42 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen41 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed41 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall41 |= (long)(local_wall6) << shiftX; + wall_reversed41 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen40 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed40 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall40 |= (long)(local_wall5) << shiftX; + wall_reversed40 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen39 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed39 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall39 |= (long)(local_wall4) << shiftX; + wall_reversed39 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen38 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed38 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall38 |= (long)(local_wall3) << shiftX; + wall_reversed38 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen37 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed37 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall37 |= (long)(local_wall2) << shiftX; + wall_reversed37 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen36 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed36 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall36 |= (long)(local_wall1) << shiftX; + wall_reversed36 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen35 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed35 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall35 |= (long)(local_wall0) << shiftX; + wall_reversed35 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 44 -> { + seen44 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed44 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall44 |= (long)(local_wall8) << shiftX; + wall_reversed44 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen43 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed43 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall43 |= (long)(local_wall7) << shiftX; + wall_reversed43 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen42 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed42 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall42 |= (long)(local_wall6) << shiftX; + wall_reversed42 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen41 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed41 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall41 |= (long)(local_wall5) << shiftX; + wall_reversed41 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen40 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed40 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall40 |= (long)(local_wall4) << shiftX; + wall_reversed40 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen39 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed39 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall39 |= (long)(local_wall3) << shiftX; + wall_reversed39 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen38 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed38 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall38 |= (long)(local_wall2) << shiftX; + wall_reversed38 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen37 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed37 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall37 |= (long)(local_wall1) << shiftX; + wall_reversed37 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen36 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed36 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall36 |= (long)(local_wall0) << shiftX; + wall_reversed36 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 45 -> { + seen45 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed45 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall45 |= (long)(local_wall8) << shiftX; + wall_reversed45 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen44 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed44 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall44 |= (long)(local_wall7) << shiftX; + wall_reversed44 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen43 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed43 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall43 |= (long)(local_wall6) << shiftX; + wall_reversed43 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen42 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed42 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall42 |= (long)(local_wall5) << shiftX; + wall_reversed42 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen41 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed41 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall41 |= (long)(local_wall4) << shiftX; + wall_reversed41 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen40 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed40 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall40 |= (long)(local_wall3) << shiftX; + wall_reversed40 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen39 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed39 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall39 |= (long)(local_wall2) << shiftX; + wall_reversed39 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen38 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed38 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall38 |= (long)(local_wall1) << shiftX; + wall_reversed38 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen37 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed37 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall37 |= (long)(local_wall0) << shiftX; + wall_reversed37 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 46 -> { + seen46 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed46 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall46 |= (long)(local_wall8) << shiftX; + wall_reversed46 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen45 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed45 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall45 |= (long)(local_wall7) << shiftX; + wall_reversed45 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen44 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed44 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall44 |= (long)(local_wall6) << shiftX; + wall_reversed44 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen43 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed43 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall43 |= (long)(local_wall5) << shiftX; + wall_reversed43 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen42 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed42 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall42 |= (long)(local_wall4) << shiftX; + wall_reversed42 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen41 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed41 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall41 |= (long)(local_wall3) << shiftX; + wall_reversed41 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen40 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed40 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall40 |= (long)(local_wall2) << shiftX; + wall_reversed40 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen39 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed39 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall39 |= (long)(local_wall1) << shiftX; + wall_reversed39 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen38 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed38 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall38 |= (long)(local_wall0) << shiftX; + wall_reversed38 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 47 -> { + seen47 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed47 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall47 |= (long)(local_wall8) << shiftX; + wall_reversed47 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen46 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed46 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall46 |= (long)(local_wall7) << shiftX; + wall_reversed46 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen45 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed45 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall45 |= (long)(local_wall6) << shiftX; + wall_reversed45 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen44 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed44 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall44 |= (long)(local_wall5) << shiftX; + wall_reversed44 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen43 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed43 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall43 |= (long)(local_wall4) << shiftX; + wall_reversed43 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen42 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed42 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall42 |= (long)(local_wall3) << shiftX; + wall_reversed42 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen41 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed41 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall41 |= (long)(local_wall2) << shiftX; + wall_reversed41 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen40 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed40 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall40 |= (long)(local_wall1) << shiftX; + wall_reversed40 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen39 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed39 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall39 |= (long)(local_wall0) << shiftX; + wall_reversed39 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 48 -> { + seen48 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed48 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall48 |= (long)(local_wall8) << shiftX; + wall_reversed48 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen47 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed47 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall47 |= (long)(local_wall7) << shiftX; + wall_reversed47 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen46 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed46 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall46 |= (long)(local_wall6) << shiftX; + wall_reversed46 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen45 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed45 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall45 |= (long)(local_wall5) << shiftX; + wall_reversed45 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen44 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed44 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall44 |= (long)(local_wall4) << shiftX; + wall_reversed44 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen43 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed43 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall43 |= (long)(local_wall3) << shiftX; + wall_reversed43 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen42 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed42 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall42 |= (long)(local_wall2) << shiftX; + wall_reversed42 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen41 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed41 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall41 |= (long)(local_wall1) << shiftX; + wall_reversed41 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen40 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed40 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall40 |= (long)(local_wall0) << shiftX; + wall_reversed40 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 49 -> { + seen49 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed49 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall49 |= (long)(local_wall8) << shiftX; + wall_reversed49 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen48 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed48 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall48 |= (long)(local_wall7) << shiftX; + wall_reversed48 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen47 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed47 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall47 |= (long)(local_wall6) << shiftX; + wall_reversed47 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen46 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed46 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall46 |= (long)(local_wall5) << shiftX; + wall_reversed46 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen45 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed45 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall45 |= (long)(local_wall4) << shiftX; + wall_reversed45 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen44 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed44 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall44 |= (long)(local_wall3) << shiftX; + wall_reversed44 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen43 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed43 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall43 |= (long)(local_wall2) << shiftX; + wall_reversed43 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen42 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed42 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall42 |= (long)(local_wall1) << shiftX; + wall_reversed42 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen41 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed41 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall41 |= (long)(local_wall0) << shiftX; + wall_reversed41 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 50 -> { + seen50 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed50 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall50 |= (long)(local_wall8) << shiftX; + wall_reversed50 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen49 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed49 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall49 |= (long)(local_wall7) << shiftX; + wall_reversed49 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen48 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed48 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall48 |= (long)(local_wall6) << shiftX; + wall_reversed48 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen47 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed47 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall47 |= (long)(local_wall5) << shiftX; + wall_reversed47 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen46 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed46 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall46 |= (long)(local_wall4) << shiftX; + wall_reversed46 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen45 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed45 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall45 |= (long)(local_wall3) << shiftX; + wall_reversed45 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen44 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed44 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall44 |= (long)(local_wall2) << shiftX; + wall_reversed44 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen43 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed43 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall43 |= (long)(local_wall1) << shiftX; + wall_reversed43 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen42 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed42 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall42 |= (long)(local_wall0) << shiftX; + wall_reversed42 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 51 -> { + seen51 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed51 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall51 |= (long)(local_wall8) << shiftX; + wall_reversed51 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen50 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed50 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall50 |= (long)(local_wall7) << shiftX; + wall_reversed50 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen49 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed49 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall49 |= (long)(local_wall6) << shiftX; + wall_reversed49 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen48 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed48 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall48 |= (long)(local_wall5) << shiftX; + wall_reversed48 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen47 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed47 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall47 |= (long)(local_wall4) << shiftX; + wall_reversed47 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen46 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed46 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall46 |= (long)(local_wall3) << shiftX; + wall_reversed46 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen45 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed45 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall45 |= (long)(local_wall2) << shiftX; + wall_reversed45 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen44 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed44 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall44 |= (long)(local_wall1) << shiftX; + wall_reversed44 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen43 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed43 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall43 |= (long)(local_wall0) << shiftX; + wall_reversed43 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 52 -> { + seen52 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed52 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall52 |= (long)(local_wall8) << shiftX; + wall_reversed52 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen51 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed51 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall51 |= (long)(local_wall7) << shiftX; + wall_reversed51 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen50 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed50 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall50 |= (long)(local_wall6) << shiftX; + wall_reversed50 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen49 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed49 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall49 |= (long)(local_wall5) << shiftX; + wall_reversed49 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen48 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed48 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall48 |= (long)(local_wall4) << shiftX; + wall_reversed48 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen47 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed47 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall47 |= (long)(local_wall3) << shiftX; + wall_reversed47 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen46 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed46 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall46 |= (long)(local_wall2) << shiftX; + wall_reversed46 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen45 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed45 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall45 |= (long)(local_wall1) << shiftX; + wall_reversed45 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen44 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed44 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall44 |= (long)(local_wall0) << shiftX; + wall_reversed44 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 53 -> { + seen53 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed53 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall53 |= (long)(local_wall8) << shiftX; + wall_reversed53 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen52 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed52 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall52 |= (long)(local_wall7) << shiftX; + wall_reversed52 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen51 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed51 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall51 |= (long)(local_wall6) << shiftX; + wall_reversed51 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen50 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed50 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall50 |= (long)(local_wall5) << shiftX; + wall_reversed50 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen49 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed49 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall49 |= (long)(local_wall4) << shiftX; + wall_reversed49 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen48 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed48 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall48 |= (long)(local_wall3) << shiftX; + wall_reversed48 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen47 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed47 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall47 |= (long)(local_wall2) << shiftX; + wall_reversed47 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen46 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed46 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall46 |= (long)(local_wall1) << shiftX; + wall_reversed46 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen45 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed45 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall45 |= (long)(local_wall0) << shiftX; + wall_reversed45 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 54 -> { + seen54 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed54 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall54 |= (long)(local_wall8) << shiftX; + wall_reversed54 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen53 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed53 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall53 |= (long)(local_wall7) << shiftX; + wall_reversed53 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen52 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed52 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall52 |= (long)(local_wall6) << shiftX; + wall_reversed52 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen51 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed51 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall51 |= (long)(local_wall5) << shiftX; + wall_reversed51 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen50 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed50 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall50 |= (long)(local_wall4) << shiftX; + wall_reversed50 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen49 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed49 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall49 |= (long)(local_wall3) << shiftX; + wall_reversed49 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen48 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed48 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall48 |= (long)(local_wall2) << shiftX; + wall_reversed48 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen47 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed47 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall47 |= (long)(local_wall1) << shiftX; + wall_reversed47 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen46 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed46 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall46 |= (long)(local_wall0) << shiftX; + wall_reversed46 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 55 -> { + seen55 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed55 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall55 |= (long)(local_wall8) << shiftX; + wall_reversed55 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen54 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed54 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall54 |= (long)(local_wall7) << shiftX; + wall_reversed54 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen53 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed53 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall53 |= (long)(local_wall6) << shiftX; + wall_reversed53 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen52 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed52 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall52 |= (long)(local_wall5) << shiftX; + wall_reversed52 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen51 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed51 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall51 |= (long)(local_wall4) << shiftX; + wall_reversed51 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen50 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed50 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall50 |= (long)(local_wall3) << shiftX; + wall_reversed50 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen49 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed49 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall49 |= (long)(local_wall2) << shiftX; + wall_reversed49 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen48 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed48 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall48 |= (long)(local_wall1) << shiftX; + wall_reversed48 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen47 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed47 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall47 |= (long)(local_wall0) << shiftX; + wall_reversed47 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 56 -> { + seen56 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed56 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall56 |= (long)(local_wall8) << shiftX; + wall_reversed56 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen55 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed55 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall55 |= (long)(local_wall7) << shiftX; + wall_reversed55 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen54 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed54 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall54 |= (long)(local_wall6) << shiftX; + wall_reversed54 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen53 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed53 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall53 |= (long)(local_wall5) << shiftX; + wall_reversed53 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen52 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed52 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall52 |= (long)(local_wall4) << shiftX; + wall_reversed52 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen51 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed51 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall51 |= (long)(local_wall3) << shiftX; + wall_reversed51 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen50 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed50 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall50 |= (long)(local_wall2) << shiftX; + wall_reversed50 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen49 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed49 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall49 |= (long)(local_wall1) << shiftX; + wall_reversed49 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen48 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed48 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall48 |= (long)(local_wall0) << shiftX; + wall_reversed48 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 57 -> { + seen57 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed57 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall57 |= (long)(local_wall8) << shiftX; + wall_reversed57 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen56 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed56 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall56 |= (long)(local_wall7) << shiftX; + wall_reversed56 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen55 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed55 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall55 |= (long)(local_wall6) << shiftX; + wall_reversed55 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen54 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed54 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall54 |= (long)(local_wall5) << shiftX; + wall_reversed54 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen53 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed53 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall53 |= (long)(local_wall4) << shiftX; + wall_reversed53 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen52 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed52 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall52 |= (long)(local_wall3) << shiftX; + wall_reversed52 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen51 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed51 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall51 |= (long)(local_wall2) << shiftX; + wall_reversed51 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen50 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed50 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall50 |= (long)(local_wall1) << shiftX; + wall_reversed50 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen49 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed49 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall49 |= (long)(local_wall0) << shiftX; + wall_reversed49 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 58 -> { + seen58 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed58 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall58 |= (long)(local_wall8) << shiftX; + wall_reversed58 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen57 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed57 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall57 |= (long)(local_wall7) << shiftX; + wall_reversed57 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen56 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed56 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall56 |= (long)(local_wall6) << shiftX; + wall_reversed56 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen55 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed55 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall55 |= (long)(local_wall5) << shiftX; + wall_reversed55 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen54 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed54 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall54 |= (long)(local_wall4) << shiftX; + wall_reversed54 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen53 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed53 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall53 |= (long)(local_wall3) << shiftX; + wall_reversed53 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen52 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed52 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall52 |= (long)(local_wall2) << shiftX; + wall_reversed52 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen51 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed51 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall51 |= (long)(local_wall1) << shiftX; + wall_reversed51 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen50 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed50 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall50 |= (long)(local_wall0) << shiftX; + wall_reversed50 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 59 -> { + seen59 |= ((long)(local_seen8) << shiftX) & rowMask; + seen_reversed59 |= ((long)(local_seen_reversed8) >>> trueReversedShiftX) & rowMask; + wall59 |= (long)(local_wall8) << shiftX; + wall_reversed59 |= (long)(local_wall_reversed8) >>> trueReversedShiftX; + seen58 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed58 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall58 |= (long)(local_wall7) << shiftX; + wall_reversed58 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen57 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed57 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall57 |= (long)(local_wall6) << shiftX; + wall_reversed57 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen56 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed56 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall56 |= (long)(local_wall5) << shiftX; + wall_reversed56 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen55 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed55 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall55 |= (long)(local_wall4) << shiftX; + wall_reversed55 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen54 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed54 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall54 |= (long)(local_wall3) << shiftX; + wall_reversed54 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen53 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed53 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall53 |= (long)(local_wall2) << shiftX; + wall_reversed53 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen52 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed52 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall52 |= (long)(local_wall1) << shiftX; + wall_reversed52 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen51 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed51 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall51 |= (long)(local_wall0) << shiftX; + wall_reversed51 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 60 -> { + seen59 |= ((long)(local_seen7) << shiftX) & rowMask; + seen_reversed59 |= ((long)(local_seen_reversed7) >>> trueReversedShiftX) & rowMask; + wall59 |= (long)(local_wall7) << shiftX; + wall_reversed59 |= (long)(local_wall_reversed7) >>> trueReversedShiftX; + seen58 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed58 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall58 |= (long)(local_wall6) << shiftX; + wall_reversed58 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen57 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed57 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall57 |= (long)(local_wall5) << shiftX; + wall_reversed57 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen56 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed56 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall56 |= (long)(local_wall4) << shiftX; + wall_reversed56 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen55 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed55 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall55 |= (long)(local_wall3) << shiftX; + wall_reversed55 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen54 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed54 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall54 |= (long)(local_wall2) << shiftX; + wall_reversed54 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen53 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed53 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall53 |= (long)(local_wall1) << shiftX; + wall_reversed53 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen52 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed52 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall52 |= (long)(local_wall0) << shiftX; + wall_reversed52 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 61 -> { + seen59 |= ((long)(local_seen6) << shiftX) & rowMask; + seen_reversed59 |= ((long)(local_seen_reversed6) >>> trueReversedShiftX) & rowMask; + wall59 |= (long)(local_wall6) << shiftX; + wall_reversed59 |= (long)(local_wall_reversed6) >>> trueReversedShiftX; + seen58 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed58 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall58 |= (long)(local_wall5) << shiftX; + wall_reversed58 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen57 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed57 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall57 |= (long)(local_wall4) << shiftX; + wall_reversed57 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen56 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed56 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall56 |= (long)(local_wall3) << shiftX; + wall_reversed56 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen55 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed55 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall55 |= (long)(local_wall2) << shiftX; + wall_reversed55 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen54 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed54 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall54 |= (long)(local_wall1) << shiftX; + wall_reversed54 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen53 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed53 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall53 |= (long)(local_wall0) << shiftX; + wall_reversed53 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 62 -> { + seen59 |= ((long)(local_seen5) << shiftX) & rowMask; + seen_reversed59 |= ((long)(local_seen_reversed5) >>> trueReversedShiftX) & rowMask; + wall59 |= (long)(local_wall5) << shiftX; + wall_reversed59 |= (long)(local_wall_reversed5) >>> trueReversedShiftX; + seen58 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed58 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall58 |= (long)(local_wall4) << shiftX; + wall_reversed58 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen57 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed57 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall57 |= (long)(local_wall3) << shiftX; + wall_reversed57 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen56 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed56 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall56 |= (long)(local_wall2) << shiftX; + wall_reversed56 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen55 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed55 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall55 |= (long)(local_wall1) << shiftX; + wall_reversed55 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen54 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed54 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall54 |= (long)(local_wall0) << shiftX; + wall_reversed54 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + case 63 -> { + seen59 |= ((long)(local_seen4) << shiftX) & rowMask; + seen_reversed59 |= ((long)(local_seen_reversed4) >>> trueReversedShiftX) & rowMask; + wall59 |= (long)(local_wall4) << shiftX; + wall_reversed59 |= (long)(local_wall_reversed4) >>> trueReversedShiftX; + seen58 |= ((long)(local_seen3) << shiftX) & rowMask; + seen_reversed58 |= ((long)(local_seen_reversed3) >>> trueReversedShiftX) & rowMask; + wall58 |= (long)(local_wall3) << shiftX; + wall_reversed58 |= (long)(local_wall_reversed3) >>> trueReversedShiftX; + seen57 |= ((long)(local_seen2) << shiftX) & rowMask; + seen_reversed57 |= ((long)(local_seen_reversed2) >>> trueReversedShiftX) & rowMask; + wall57 |= (long)(local_wall2) << shiftX; + wall_reversed57 |= (long)(local_wall_reversed2) >>> trueReversedShiftX; + seen56 |= ((long)(local_seen1) << shiftX) & rowMask; + seen_reversed56 |= ((long)(local_seen_reversed1) >>> trueReversedShiftX) & rowMask; + wall56 |= (long)(local_wall1) << shiftX; + wall_reversed56 |= (long)(local_wall_reversed1) >>> trueReversedShiftX; + seen55 |= ((long)(local_seen0) << shiftX) & rowMask; + seen_reversed55 |= ((long)(local_seen_reversed0) >>> trueReversedShiftX) & rowMask; + wall55 |= (long)(local_wall0) << shiftX; + wall_reversed55 |= (long)(local_wall_reversed0) >>> trueReversedShiftX; + + } + default -> System.out.println("Top Right Corner Out of Bounds."); + } + } + + + + + + public static void display() throws GameActionException { + System.out.println("I'm displaying!"); + + display0(); + + display1(); + + display2(); + + display3(); + + display4(); + + display5(); + + } + + + + + + public static void display0() throws GameActionException { + + if (ruin0 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin0 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 0), 0, 0, 0); + } + } + case 59: { + if ((ruin0 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 0), 0, 0, 0); + } + } + case 58: { + if ((ruin0 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 0), 0, 0, 0); + } + } + case 57: { + if ((ruin0 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 0), 0, 0, 0); + } + } + case 56: { + if ((ruin0 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 0), 0, 0, 0); + } + } + case 55: { + if ((ruin0 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 0), 0, 0, 0); + } + } + case 54: { + if ((ruin0 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 0), 0, 0, 0); + } + } + case 53: { + if ((ruin0 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 0), 0, 0, 0); + } + } + case 52: { + if ((ruin0 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 0), 0, 0, 0); + } + } + case 51: { + if ((ruin0 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 0), 0, 0, 0); + } + } + case 50: { + if ((ruin0 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 0), 0, 0, 0); + } + } + case 49: { + if ((ruin0 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 0), 0, 0, 0); + } + } + case 48: { + if ((ruin0 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 0), 0, 0, 0); + } + } + case 47: { + if ((ruin0 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 0), 0, 0, 0); + } + } + case 46: { + if ((ruin0 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 0), 0, 0, 0); + } + } + case 45: { + if ((ruin0 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 0), 0, 0, 0); + } + } + case 44: { + if ((ruin0 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 0), 0, 0, 0); + } + } + case 43: { + if ((ruin0 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 0), 0, 0, 0); + } + } + case 42: { + if ((ruin0 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 0), 0, 0, 0); + } + } + case 41: { + if ((ruin0 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 0), 0, 0, 0); + } + } + case 40: { + if ((ruin0 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 0), 0, 0, 0); + } + } + case 39: { + if ((ruin0 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 0), 0, 0, 0); + } + } + case 38: { + if ((ruin0 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 0), 0, 0, 0); + } + } + case 37: { + if ((ruin0 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 0), 0, 0, 0); + } + } + case 36: { + if ((ruin0 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 0), 0, 0, 0); + } + } + case 35: { + if ((ruin0 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 0), 0, 0, 0); + } + } + case 34: { + if ((ruin0 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 0), 0, 0, 0); + } + } + case 33: { + if ((ruin0 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 0), 0, 0, 0); + } + } + case 32: { + if ((ruin0 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 0), 0, 0, 0); + } + } + case 31: { + if ((ruin0 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 0), 0, 0, 0); + } + } + case 30: { + if ((ruin0 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 0), 0, 0, 0); + } + } + case 29: { + if ((ruin0 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 0), 0, 0, 0); + } + } + case 28: { + if ((ruin0 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 0), 0, 0, 0); + } + } + case 27: { + if ((ruin0 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 0), 0, 0, 0); + } + } + case 26: { + if ((ruin0 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 0), 0, 0, 0); + } + } + case 25: { + if ((ruin0 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 0), 0, 0, 0); + } + } + case 24: { + if ((ruin0 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 0), 0, 0, 0); + } + } + case 23: { + if ((ruin0 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 0), 0, 0, 0); + } + } + case 22: { + if ((ruin0 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 0), 0, 0, 0); + } + } + case 21: { + if ((ruin0 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 0), 0, 0, 0); + } + } + case 20: { + if ((ruin0 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 0), 0, 0, 0); + } + } + case 19: { + if ((ruin0 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 0), 0, 0, 0); + } + } + case 18: { + if ((ruin0 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 0), 0, 0, 0); + } + } + case 17: { + if ((ruin0 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 0), 0, 0, 0); + } + } + case 16: { + if ((ruin0 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 0), 0, 0, 0); + } + } + case 15: { + if ((ruin0 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 0), 0, 0, 0); + } + } + case 14: { + if ((ruin0 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 0), 0, 0, 0); + } + } + case 13: { + if ((ruin0 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 0), 0, 0, 0); + } + } + case 12: { + if ((ruin0 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 0), 0, 0, 0); + } + } + case 11: { + if ((ruin0 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 0), 0, 0, 0); + } + } + case 10: { + if ((ruin0 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 0), 0, 0, 0); + } + } + case 9: { + if ((ruin0 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 0), 0, 0, 0); + } + } + case 8: { + if ((ruin0 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 0), 0, 0, 0); + } + } + case 7: { + if ((ruin0 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 0), 0, 0, 0); + } + } + case 6: { + if ((ruin0 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 0), 0, 0, 0); + } + } + case 5: { + if ((ruin0 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 0), 0, 0, 0); + } + } + case 4: { + if ((ruin0 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 0), 0, 0, 0); + } + } + case 3: { + if ((ruin0 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 0), 0, 0, 0); + } + } + case 2: { + if ((ruin0 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 0), 0, 0, 0); + } + } + case 1: { + if ((ruin0 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 0), 0, 0, 0); + } + } + case 0: { + if ((ruin0 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 0), 0, 0, 0); + } + } + } + }if (ruin1 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin1 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 1), 0, 0, 0); + } + } + case 59: { + if ((ruin1 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 1), 0, 0, 0); + } + } + case 58: { + if ((ruin1 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 1), 0, 0, 0); + } + } + case 57: { + if ((ruin1 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 1), 0, 0, 0); + } + } + case 56: { + if ((ruin1 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 1), 0, 0, 0); + } + } + case 55: { + if ((ruin1 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 1), 0, 0, 0); + } + } + case 54: { + if ((ruin1 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 1), 0, 0, 0); + } + } + case 53: { + if ((ruin1 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 1), 0, 0, 0); + } + } + case 52: { + if ((ruin1 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 1), 0, 0, 0); + } + } + case 51: { + if ((ruin1 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 1), 0, 0, 0); + } + } + case 50: { + if ((ruin1 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 1), 0, 0, 0); + } + } + case 49: { + if ((ruin1 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 1), 0, 0, 0); + } + } + case 48: { + if ((ruin1 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 1), 0, 0, 0); + } + } + case 47: { + if ((ruin1 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 1), 0, 0, 0); + } + } + case 46: { + if ((ruin1 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 1), 0, 0, 0); + } + } + case 45: { + if ((ruin1 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 1), 0, 0, 0); + } + } + case 44: { + if ((ruin1 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 1), 0, 0, 0); + } + } + case 43: { + if ((ruin1 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 1), 0, 0, 0); + } + } + case 42: { + if ((ruin1 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 1), 0, 0, 0); + } + } + case 41: { + if ((ruin1 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 1), 0, 0, 0); + } + } + case 40: { + if ((ruin1 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 1), 0, 0, 0); + } + } + case 39: { + if ((ruin1 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 1), 0, 0, 0); + } + } + case 38: { + if ((ruin1 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 1), 0, 0, 0); + } + } + case 37: { + if ((ruin1 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 1), 0, 0, 0); + } + } + case 36: { + if ((ruin1 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 1), 0, 0, 0); + } + } + case 35: { + if ((ruin1 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 1), 0, 0, 0); + } + } + case 34: { + if ((ruin1 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 1), 0, 0, 0); + } + } + case 33: { + if ((ruin1 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 1), 0, 0, 0); + } + } + case 32: { + if ((ruin1 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 1), 0, 0, 0); + } + } + case 31: { + if ((ruin1 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 1), 0, 0, 0); + } + } + case 30: { + if ((ruin1 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 1), 0, 0, 0); + } + } + case 29: { + if ((ruin1 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 1), 0, 0, 0); + } + } + case 28: { + if ((ruin1 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 1), 0, 0, 0); + } + } + case 27: { + if ((ruin1 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 1), 0, 0, 0); + } + } + case 26: { + if ((ruin1 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 1), 0, 0, 0); + } + } + case 25: { + if ((ruin1 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 1), 0, 0, 0); + } + } + case 24: { + if ((ruin1 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 1), 0, 0, 0); + } + } + case 23: { + if ((ruin1 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 1), 0, 0, 0); + } + } + case 22: { + if ((ruin1 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 1), 0, 0, 0); + } + } + case 21: { + if ((ruin1 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 1), 0, 0, 0); + } + } + case 20: { + if ((ruin1 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 1), 0, 0, 0); + } + } + case 19: { + if ((ruin1 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 1), 0, 0, 0); + } + } + case 18: { + if ((ruin1 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 1), 0, 0, 0); + } + } + case 17: { + if ((ruin1 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 1), 0, 0, 0); + } + } + case 16: { + if ((ruin1 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 1), 0, 0, 0); + } + } + case 15: { + if ((ruin1 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 1), 0, 0, 0); + } + } + case 14: { + if ((ruin1 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 1), 0, 0, 0); + } + } + case 13: { + if ((ruin1 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 1), 0, 0, 0); + } + } + case 12: { + if ((ruin1 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 1), 0, 0, 0); + } + } + case 11: { + if ((ruin1 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 1), 0, 0, 0); + } + } + case 10: { + if ((ruin1 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 1), 0, 0, 0); + } + } + case 9: { + if ((ruin1 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 1), 0, 0, 0); + } + } + case 8: { + if ((ruin1 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 1), 0, 0, 0); + } + } + case 7: { + if ((ruin1 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 1), 0, 0, 0); + } + } + case 6: { + if ((ruin1 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 1), 0, 0, 0); + } + } + case 5: { + if ((ruin1 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 1), 0, 0, 0); + } + } + case 4: { + if ((ruin1 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 1), 0, 0, 0); + } + } + case 3: { + if ((ruin1 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 1), 0, 0, 0); + } + } + case 2: { + if ((ruin1 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 1), 0, 0, 0); + } + } + case 1: { + if ((ruin1 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 1), 0, 0, 0); + } + } + case 0: { + if ((ruin1 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 1), 0, 0, 0); + } + } + } + }if (ruin2 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin2 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 2), 0, 0, 0); + } + } + case 59: { + if ((ruin2 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 2), 0, 0, 0); + } + } + case 58: { + if ((ruin2 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 2), 0, 0, 0); + } + } + case 57: { + if ((ruin2 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 2), 0, 0, 0); + } + } + case 56: { + if ((ruin2 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 2), 0, 0, 0); + } + } + case 55: { + if ((ruin2 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 2), 0, 0, 0); + } + } + case 54: { + if ((ruin2 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 2), 0, 0, 0); + } + } + case 53: { + if ((ruin2 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 2), 0, 0, 0); + } + } + case 52: { + if ((ruin2 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 2), 0, 0, 0); + } + } + case 51: { + if ((ruin2 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 2), 0, 0, 0); + } + } + case 50: { + if ((ruin2 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 2), 0, 0, 0); + } + } + case 49: { + if ((ruin2 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 2), 0, 0, 0); + } + } + case 48: { + if ((ruin2 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 2), 0, 0, 0); + } + } + case 47: { + if ((ruin2 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 2), 0, 0, 0); + } + } + case 46: { + if ((ruin2 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 2), 0, 0, 0); + } + } + case 45: { + if ((ruin2 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 2), 0, 0, 0); + } + } + case 44: { + if ((ruin2 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 2), 0, 0, 0); + } + } + case 43: { + if ((ruin2 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 2), 0, 0, 0); + } + } + case 42: { + if ((ruin2 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 2), 0, 0, 0); + } + } + case 41: { + if ((ruin2 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 2), 0, 0, 0); + } + } + case 40: { + if ((ruin2 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 2), 0, 0, 0); + } + } + case 39: { + if ((ruin2 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 2), 0, 0, 0); + } + } + case 38: { + if ((ruin2 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 2), 0, 0, 0); + } + } + case 37: { + if ((ruin2 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 2), 0, 0, 0); + } + } + case 36: { + if ((ruin2 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 2), 0, 0, 0); + } + } + case 35: { + if ((ruin2 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 2), 0, 0, 0); + } + } + case 34: { + if ((ruin2 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 2), 0, 0, 0); + } + } + case 33: { + if ((ruin2 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 2), 0, 0, 0); + } + } + case 32: { + if ((ruin2 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 2), 0, 0, 0); + } + } + case 31: { + if ((ruin2 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 2), 0, 0, 0); + } + } + case 30: { + if ((ruin2 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 2), 0, 0, 0); + } + } + case 29: { + if ((ruin2 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 2), 0, 0, 0); + } + } + case 28: { + if ((ruin2 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 2), 0, 0, 0); + } + } + case 27: { + if ((ruin2 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 2), 0, 0, 0); + } + } + case 26: { + if ((ruin2 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 2), 0, 0, 0); + } + } + case 25: { + if ((ruin2 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 2), 0, 0, 0); + } + } + case 24: { + if ((ruin2 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 2), 0, 0, 0); + } + } + case 23: { + if ((ruin2 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 2), 0, 0, 0); + } + } + case 22: { + if ((ruin2 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 2), 0, 0, 0); + } + } + case 21: { + if ((ruin2 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 2), 0, 0, 0); + } + } + case 20: { + if ((ruin2 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 2), 0, 0, 0); + } + } + case 19: { + if ((ruin2 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 2), 0, 0, 0); + } + } + case 18: { + if ((ruin2 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 2), 0, 0, 0); + } + } + case 17: { + if ((ruin2 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 2), 0, 0, 0); + } + } + case 16: { + if ((ruin2 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 2), 0, 0, 0); + } + } + case 15: { + if ((ruin2 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 2), 0, 0, 0); + } + } + case 14: { + if ((ruin2 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 2), 0, 0, 0); + } + } + case 13: { + if ((ruin2 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 2), 0, 0, 0); + } + } + case 12: { + if ((ruin2 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 2), 0, 0, 0); + } + } + case 11: { + if ((ruin2 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 2), 0, 0, 0); + } + } + case 10: { + if ((ruin2 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 2), 0, 0, 0); + } + } + case 9: { + if ((ruin2 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 2), 0, 0, 0); + } + } + case 8: { + if ((ruin2 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 2), 0, 0, 0); + } + } + case 7: { + if ((ruin2 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 2), 0, 0, 0); + } + } + case 6: { + if ((ruin2 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 2), 0, 0, 0); + } + } + case 5: { + if ((ruin2 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 2), 0, 0, 0); + } + } + case 4: { + if ((ruin2 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 2), 0, 0, 0); + } + } + case 3: { + if ((ruin2 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 2), 0, 0, 0); + } + } + case 2: { + if ((ruin2 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 2), 0, 0, 0); + } + } + case 1: { + if ((ruin2 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 2), 0, 0, 0); + } + } + case 0: { + if ((ruin2 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 2), 0, 0, 0); + } + } + } + }if (ruin3 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin3 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 3), 0, 0, 0); + } + } + case 59: { + if ((ruin3 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 3), 0, 0, 0); + } + } + case 58: { + if ((ruin3 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 3), 0, 0, 0); + } + } + case 57: { + if ((ruin3 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 3), 0, 0, 0); + } + } + case 56: { + if ((ruin3 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 3), 0, 0, 0); + } + } + case 55: { + if ((ruin3 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 3), 0, 0, 0); + } + } + case 54: { + if ((ruin3 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 3), 0, 0, 0); + } + } + case 53: { + if ((ruin3 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 3), 0, 0, 0); + } + } + case 52: { + if ((ruin3 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 3), 0, 0, 0); + } + } + case 51: { + if ((ruin3 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 3), 0, 0, 0); + } + } + case 50: { + if ((ruin3 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 3), 0, 0, 0); + } + } + case 49: { + if ((ruin3 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 3), 0, 0, 0); + } + } + case 48: { + if ((ruin3 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 3), 0, 0, 0); + } + } + case 47: { + if ((ruin3 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 3), 0, 0, 0); + } + } + case 46: { + if ((ruin3 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 3), 0, 0, 0); + } + } + case 45: { + if ((ruin3 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 3), 0, 0, 0); + } + } + case 44: { + if ((ruin3 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 3), 0, 0, 0); + } + } + case 43: { + if ((ruin3 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 3), 0, 0, 0); + } + } + case 42: { + if ((ruin3 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 3), 0, 0, 0); + } + } + case 41: { + if ((ruin3 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 3), 0, 0, 0); + } + } + case 40: { + if ((ruin3 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 3), 0, 0, 0); + } + } + case 39: { + if ((ruin3 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 3), 0, 0, 0); + } + } + case 38: { + if ((ruin3 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 3), 0, 0, 0); + } + } + case 37: { + if ((ruin3 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 3), 0, 0, 0); + } + } + case 36: { + if ((ruin3 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 3), 0, 0, 0); + } + } + case 35: { + if ((ruin3 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 3), 0, 0, 0); + } + } + case 34: { + if ((ruin3 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 3), 0, 0, 0); + } + } + case 33: { + if ((ruin3 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 3), 0, 0, 0); + } + } + case 32: { + if ((ruin3 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 3), 0, 0, 0); + } + } + case 31: { + if ((ruin3 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 3), 0, 0, 0); + } + } + case 30: { + if ((ruin3 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 3), 0, 0, 0); + } + } + case 29: { + if ((ruin3 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 3), 0, 0, 0); + } + } + case 28: { + if ((ruin3 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 3), 0, 0, 0); + } + } + case 27: { + if ((ruin3 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 3), 0, 0, 0); + } + } + case 26: { + if ((ruin3 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 3), 0, 0, 0); + } + } + case 25: { + if ((ruin3 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 3), 0, 0, 0); + } + } + case 24: { + if ((ruin3 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 3), 0, 0, 0); + } + } + case 23: { + if ((ruin3 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 3), 0, 0, 0); + } + } + case 22: { + if ((ruin3 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 3), 0, 0, 0); + } + } + case 21: { + if ((ruin3 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 3), 0, 0, 0); + } + } + case 20: { + if ((ruin3 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 3), 0, 0, 0); + } + } + case 19: { + if ((ruin3 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 3), 0, 0, 0); + } + } + case 18: { + if ((ruin3 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 3), 0, 0, 0); + } + } + case 17: { + if ((ruin3 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 3), 0, 0, 0); + } + } + case 16: { + if ((ruin3 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 3), 0, 0, 0); + } + } + case 15: { + if ((ruin3 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 3), 0, 0, 0); + } + } + case 14: { + if ((ruin3 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 3), 0, 0, 0); + } + } + case 13: { + if ((ruin3 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 3), 0, 0, 0); + } + } + case 12: { + if ((ruin3 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 3), 0, 0, 0); + } + } + case 11: { + if ((ruin3 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 3), 0, 0, 0); + } + } + case 10: { + if ((ruin3 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 3), 0, 0, 0); + } + } + case 9: { + if ((ruin3 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 3), 0, 0, 0); + } + } + case 8: { + if ((ruin3 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 3), 0, 0, 0); + } + } + case 7: { + if ((ruin3 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 3), 0, 0, 0); + } + } + case 6: { + if ((ruin3 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 3), 0, 0, 0); + } + } + case 5: { + if ((ruin3 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 3), 0, 0, 0); + } + } + case 4: { + if ((ruin3 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 3), 0, 0, 0); + } + } + case 3: { + if ((ruin3 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 3), 0, 0, 0); + } + } + case 2: { + if ((ruin3 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 3), 0, 0, 0); + } + } + case 1: { + if ((ruin3 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 3), 0, 0, 0); + } + } + case 0: { + if ((ruin3 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 3), 0, 0, 0); + } + } + } + }if (ruin4 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin4 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 4), 0, 0, 0); + } + } + case 59: { + if ((ruin4 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 4), 0, 0, 0); + } + } + case 58: { + if ((ruin4 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 4), 0, 0, 0); + } + } + case 57: { + if ((ruin4 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 4), 0, 0, 0); + } + } + case 56: { + if ((ruin4 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 4), 0, 0, 0); + } + } + case 55: { + if ((ruin4 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 4), 0, 0, 0); + } + } + case 54: { + if ((ruin4 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 4), 0, 0, 0); + } + } + case 53: { + if ((ruin4 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 4), 0, 0, 0); + } + } + case 52: { + if ((ruin4 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 4), 0, 0, 0); + } + } + case 51: { + if ((ruin4 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 4), 0, 0, 0); + } + } + case 50: { + if ((ruin4 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 4), 0, 0, 0); + } + } + case 49: { + if ((ruin4 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 4), 0, 0, 0); + } + } + case 48: { + if ((ruin4 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 4), 0, 0, 0); + } + } + case 47: { + if ((ruin4 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 4), 0, 0, 0); + } + } + case 46: { + if ((ruin4 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 4), 0, 0, 0); + } + } + case 45: { + if ((ruin4 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 4), 0, 0, 0); + } + } + case 44: { + if ((ruin4 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 4), 0, 0, 0); + } + } + case 43: { + if ((ruin4 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 4), 0, 0, 0); + } + } + case 42: { + if ((ruin4 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 4), 0, 0, 0); + } + } + case 41: { + if ((ruin4 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 4), 0, 0, 0); + } + } + case 40: { + if ((ruin4 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 4), 0, 0, 0); + } + } + case 39: { + if ((ruin4 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 4), 0, 0, 0); + } + } + case 38: { + if ((ruin4 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 4), 0, 0, 0); + } + } + case 37: { + if ((ruin4 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 4), 0, 0, 0); + } + } + case 36: { + if ((ruin4 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 4), 0, 0, 0); + } + } + case 35: { + if ((ruin4 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 4), 0, 0, 0); + } + } + case 34: { + if ((ruin4 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 4), 0, 0, 0); + } + } + case 33: { + if ((ruin4 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 4), 0, 0, 0); + } + } + case 32: { + if ((ruin4 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 4), 0, 0, 0); + } + } + case 31: { + if ((ruin4 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 4), 0, 0, 0); + } + } + case 30: { + if ((ruin4 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 4), 0, 0, 0); + } + } + case 29: { + if ((ruin4 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 4), 0, 0, 0); + } + } + case 28: { + if ((ruin4 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 4), 0, 0, 0); + } + } + case 27: { + if ((ruin4 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 4), 0, 0, 0); + } + } + case 26: { + if ((ruin4 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 4), 0, 0, 0); + } + } + case 25: { + if ((ruin4 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 4), 0, 0, 0); + } + } + case 24: { + if ((ruin4 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 4), 0, 0, 0); + } + } + case 23: { + if ((ruin4 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 4), 0, 0, 0); + } + } + case 22: { + if ((ruin4 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 4), 0, 0, 0); + } + } + case 21: { + if ((ruin4 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 4), 0, 0, 0); + } + } + case 20: { + if ((ruin4 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 4), 0, 0, 0); + } + } + case 19: { + if ((ruin4 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 4), 0, 0, 0); + } + } + case 18: { + if ((ruin4 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 4), 0, 0, 0); + } + } + case 17: { + if ((ruin4 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 4), 0, 0, 0); + } + } + case 16: { + if ((ruin4 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 4), 0, 0, 0); + } + } + case 15: { + if ((ruin4 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 4), 0, 0, 0); + } + } + case 14: { + if ((ruin4 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 4), 0, 0, 0); + } + } + case 13: { + if ((ruin4 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 4), 0, 0, 0); + } + } + case 12: { + if ((ruin4 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 4), 0, 0, 0); + } + } + case 11: { + if ((ruin4 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 4), 0, 0, 0); + } + } + case 10: { + if ((ruin4 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 4), 0, 0, 0); + } + } + case 9: { + if ((ruin4 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 4), 0, 0, 0); + } + } + case 8: { + if ((ruin4 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 4), 0, 0, 0); + } + } + case 7: { + if ((ruin4 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 4), 0, 0, 0); + } + } + case 6: { + if ((ruin4 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 4), 0, 0, 0); + } + } + case 5: { + if ((ruin4 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 4), 0, 0, 0); + } + } + case 4: { + if ((ruin4 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 4), 0, 0, 0); + } + } + case 3: { + if ((ruin4 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 4), 0, 0, 0); + } + } + case 2: { + if ((ruin4 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 4), 0, 0, 0); + } + } + case 1: { + if ((ruin4 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 4), 0, 0, 0); + } + } + case 0: { + if ((ruin4 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 4), 0, 0, 0); + } + } + } + }if (ruin5 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin5 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 5), 0, 0, 0); + } + } + case 59: { + if ((ruin5 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 5), 0, 0, 0); + } + } + case 58: { + if ((ruin5 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 5), 0, 0, 0); + } + } + case 57: { + if ((ruin5 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 5), 0, 0, 0); + } + } + case 56: { + if ((ruin5 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 5), 0, 0, 0); + } + } + case 55: { + if ((ruin5 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 5), 0, 0, 0); + } + } + case 54: { + if ((ruin5 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 5), 0, 0, 0); + } + } + case 53: { + if ((ruin5 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 5), 0, 0, 0); + } + } + case 52: { + if ((ruin5 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 5), 0, 0, 0); + } + } + case 51: { + if ((ruin5 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 5), 0, 0, 0); + } + } + case 50: { + if ((ruin5 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 5), 0, 0, 0); + } + } + case 49: { + if ((ruin5 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 5), 0, 0, 0); + } + } + case 48: { + if ((ruin5 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 5), 0, 0, 0); + } + } + case 47: { + if ((ruin5 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 5), 0, 0, 0); + } + } + case 46: { + if ((ruin5 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 5), 0, 0, 0); + } + } + case 45: { + if ((ruin5 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 5), 0, 0, 0); + } + } + case 44: { + if ((ruin5 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 5), 0, 0, 0); + } + } + case 43: { + if ((ruin5 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 5), 0, 0, 0); + } + } + case 42: { + if ((ruin5 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 5), 0, 0, 0); + } + } + case 41: { + if ((ruin5 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 5), 0, 0, 0); + } + } + case 40: { + if ((ruin5 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 5), 0, 0, 0); + } + } + case 39: { + if ((ruin5 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 5), 0, 0, 0); + } + } + case 38: { + if ((ruin5 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 5), 0, 0, 0); + } + } + case 37: { + if ((ruin5 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 5), 0, 0, 0); + } + } + case 36: { + if ((ruin5 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 5), 0, 0, 0); + } + } + case 35: { + if ((ruin5 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 5), 0, 0, 0); + } + } + case 34: { + if ((ruin5 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 5), 0, 0, 0); + } + } + case 33: { + if ((ruin5 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 5), 0, 0, 0); + } + } + case 32: { + if ((ruin5 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 5), 0, 0, 0); + } + } + case 31: { + if ((ruin5 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 5), 0, 0, 0); + } + } + case 30: { + if ((ruin5 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 5), 0, 0, 0); + } + } + case 29: { + if ((ruin5 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 5), 0, 0, 0); + } + } + case 28: { + if ((ruin5 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 5), 0, 0, 0); + } + } + case 27: { + if ((ruin5 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 5), 0, 0, 0); + } + } + case 26: { + if ((ruin5 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 5), 0, 0, 0); + } + } + case 25: { + if ((ruin5 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 5), 0, 0, 0); + } + } + case 24: { + if ((ruin5 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 5), 0, 0, 0); + } + } + case 23: { + if ((ruin5 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 5), 0, 0, 0); + } + } + case 22: { + if ((ruin5 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 5), 0, 0, 0); + } + } + case 21: { + if ((ruin5 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 5), 0, 0, 0); + } + } + case 20: { + if ((ruin5 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 5), 0, 0, 0); + } + } + case 19: { + if ((ruin5 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 5), 0, 0, 0); + } + } + case 18: { + if ((ruin5 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 5), 0, 0, 0); + } + } + case 17: { + if ((ruin5 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 5), 0, 0, 0); + } + } + case 16: { + if ((ruin5 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 5), 0, 0, 0); + } + } + case 15: { + if ((ruin5 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 5), 0, 0, 0); + } + } + case 14: { + if ((ruin5 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 5), 0, 0, 0); + } + } + case 13: { + if ((ruin5 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 5), 0, 0, 0); + } + } + case 12: { + if ((ruin5 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 5), 0, 0, 0); + } + } + case 11: { + if ((ruin5 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 5), 0, 0, 0); + } + } + case 10: { + if ((ruin5 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 5), 0, 0, 0); + } + } + case 9: { + if ((ruin5 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 5), 0, 0, 0); + } + } + case 8: { + if ((ruin5 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 5), 0, 0, 0); + } + } + case 7: { + if ((ruin5 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 5), 0, 0, 0); + } + } + case 6: { + if ((ruin5 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 5), 0, 0, 0); + } + } + case 5: { + if ((ruin5 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 5), 0, 0, 0); + } + } + case 4: { + if ((ruin5 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 5), 0, 0, 0); + } + } + case 3: { + if ((ruin5 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 5), 0, 0, 0); + } + } + case 2: { + if ((ruin5 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 5), 0, 0, 0); + } + } + case 1: { + if ((ruin5 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 5), 0, 0, 0); + } + } + case 0: { + if ((ruin5 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 5), 0, 0, 0); + } + } + } + }if (ruin6 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin6 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 6), 0, 0, 0); + } + } + case 59: { + if ((ruin6 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 6), 0, 0, 0); + } + } + case 58: { + if ((ruin6 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 6), 0, 0, 0); + } + } + case 57: { + if ((ruin6 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 6), 0, 0, 0); + } + } + case 56: { + if ((ruin6 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 6), 0, 0, 0); + } + } + case 55: { + if ((ruin6 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 6), 0, 0, 0); + } + } + case 54: { + if ((ruin6 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 6), 0, 0, 0); + } + } + case 53: { + if ((ruin6 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 6), 0, 0, 0); + } + } + case 52: { + if ((ruin6 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 6), 0, 0, 0); + } + } + case 51: { + if ((ruin6 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 6), 0, 0, 0); + } + } + case 50: { + if ((ruin6 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 6), 0, 0, 0); + } + } + case 49: { + if ((ruin6 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 6), 0, 0, 0); + } + } + case 48: { + if ((ruin6 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 6), 0, 0, 0); + } + } + case 47: { + if ((ruin6 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 6), 0, 0, 0); + } + } + case 46: { + if ((ruin6 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 6), 0, 0, 0); + } + } + case 45: { + if ((ruin6 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 6), 0, 0, 0); + } + } + case 44: { + if ((ruin6 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 6), 0, 0, 0); + } + } + case 43: { + if ((ruin6 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 6), 0, 0, 0); + } + } + case 42: { + if ((ruin6 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 6), 0, 0, 0); + } + } + case 41: { + if ((ruin6 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 6), 0, 0, 0); + } + } + case 40: { + if ((ruin6 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 6), 0, 0, 0); + } + } + case 39: { + if ((ruin6 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 6), 0, 0, 0); + } + } + case 38: { + if ((ruin6 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 6), 0, 0, 0); + } + } + case 37: { + if ((ruin6 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 6), 0, 0, 0); + } + } + case 36: { + if ((ruin6 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 6), 0, 0, 0); + } + } + case 35: { + if ((ruin6 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 6), 0, 0, 0); + } + } + case 34: { + if ((ruin6 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 6), 0, 0, 0); + } + } + case 33: { + if ((ruin6 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 6), 0, 0, 0); + } + } + case 32: { + if ((ruin6 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 6), 0, 0, 0); + } + } + case 31: { + if ((ruin6 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 6), 0, 0, 0); + } + } + case 30: { + if ((ruin6 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 6), 0, 0, 0); + } + } + case 29: { + if ((ruin6 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 6), 0, 0, 0); + } + } + case 28: { + if ((ruin6 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 6), 0, 0, 0); + } + } + case 27: { + if ((ruin6 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 6), 0, 0, 0); + } + } + case 26: { + if ((ruin6 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 6), 0, 0, 0); + } + } + case 25: { + if ((ruin6 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 6), 0, 0, 0); + } + } + case 24: { + if ((ruin6 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 6), 0, 0, 0); + } + } + case 23: { + if ((ruin6 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 6), 0, 0, 0); + } + } + case 22: { + if ((ruin6 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 6), 0, 0, 0); + } + } + case 21: { + if ((ruin6 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 6), 0, 0, 0); + } + } + case 20: { + if ((ruin6 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 6), 0, 0, 0); + } + } + case 19: { + if ((ruin6 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 6), 0, 0, 0); + } + } + case 18: { + if ((ruin6 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 6), 0, 0, 0); + } + } + case 17: { + if ((ruin6 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 6), 0, 0, 0); + } + } + case 16: { + if ((ruin6 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 6), 0, 0, 0); + } + } + case 15: { + if ((ruin6 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 6), 0, 0, 0); + } + } + case 14: { + if ((ruin6 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 6), 0, 0, 0); + } + } + case 13: { + if ((ruin6 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 6), 0, 0, 0); + } + } + case 12: { + if ((ruin6 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 6), 0, 0, 0); + } + } + case 11: { + if ((ruin6 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 6), 0, 0, 0); + } + } + case 10: { + if ((ruin6 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 6), 0, 0, 0); + } + } + case 9: { + if ((ruin6 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 6), 0, 0, 0); + } + } + case 8: { + if ((ruin6 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 6), 0, 0, 0); + } + } + case 7: { + if ((ruin6 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 6), 0, 0, 0); + } + } + case 6: { + if ((ruin6 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 6), 0, 0, 0); + } + } + case 5: { + if ((ruin6 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 6), 0, 0, 0); + } + } + case 4: { + if ((ruin6 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 6), 0, 0, 0); + } + } + case 3: { + if ((ruin6 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 6), 0, 0, 0); + } + } + case 2: { + if ((ruin6 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 6), 0, 0, 0); + } + } + case 1: { + if ((ruin6 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 6), 0, 0, 0); + } + } + case 0: { + if ((ruin6 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 6), 0, 0, 0); + } + } + } + }if (ruin7 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin7 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 7), 0, 0, 0); + } + } + case 59: { + if ((ruin7 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 7), 0, 0, 0); + } + } + case 58: { + if ((ruin7 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 7), 0, 0, 0); + } + } + case 57: { + if ((ruin7 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 7), 0, 0, 0); + } + } + case 56: { + if ((ruin7 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 7), 0, 0, 0); + } + } + case 55: { + if ((ruin7 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 7), 0, 0, 0); + } + } + case 54: { + if ((ruin7 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 7), 0, 0, 0); + } + } + case 53: { + if ((ruin7 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 7), 0, 0, 0); + } + } + case 52: { + if ((ruin7 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 7), 0, 0, 0); + } + } + case 51: { + if ((ruin7 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 7), 0, 0, 0); + } + } + case 50: { + if ((ruin7 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 7), 0, 0, 0); + } + } + case 49: { + if ((ruin7 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 7), 0, 0, 0); + } + } + case 48: { + if ((ruin7 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 7), 0, 0, 0); + } + } + case 47: { + if ((ruin7 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 7), 0, 0, 0); + } + } + case 46: { + if ((ruin7 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 7), 0, 0, 0); + } + } + case 45: { + if ((ruin7 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 7), 0, 0, 0); + } + } + case 44: { + if ((ruin7 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 7), 0, 0, 0); + } + } + case 43: { + if ((ruin7 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 7), 0, 0, 0); + } + } + case 42: { + if ((ruin7 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 7), 0, 0, 0); + } + } + case 41: { + if ((ruin7 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 7), 0, 0, 0); + } + } + case 40: { + if ((ruin7 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 7), 0, 0, 0); + } + } + case 39: { + if ((ruin7 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 7), 0, 0, 0); + } + } + case 38: { + if ((ruin7 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 7), 0, 0, 0); + } + } + case 37: { + if ((ruin7 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 7), 0, 0, 0); + } + } + case 36: { + if ((ruin7 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 7), 0, 0, 0); + } + } + case 35: { + if ((ruin7 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 7), 0, 0, 0); + } + } + case 34: { + if ((ruin7 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 7), 0, 0, 0); + } + } + case 33: { + if ((ruin7 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 7), 0, 0, 0); + } + } + case 32: { + if ((ruin7 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 7), 0, 0, 0); + } + } + case 31: { + if ((ruin7 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 7), 0, 0, 0); + } + } + case 30: { + if ((ruin7 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 7), 0, 0, 0); + } + } + case 29: { + if ((ruin7 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 7), 0, 0, 0); + } + } + case 28: { + if ((ruin7 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 7), 0, 0, 0); + } + } + case 27: { + if ((ruin7 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 7), 0, 0, 0); + } + } + case 26: { + if ((ruin7 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 7), 0, 0, 0); + } + } + case 25: { + if ((ruin7 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 7), 0, 0, 0); + } + } + case 24: { + if ((ruin7 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 7), 0, 0, 0); + } + } + case 23: { + if ((ruin7 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 7), 0, 0, 0); + } + } + case 22: { + if ((ruin7 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 7), 0, 0, 0); + } + } + case 21: { + if ((ruin7 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 7), 0, 0, 0); + } + } + case 20: { + if ((ruin7 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 7), 0, 0, 0); + } + } + case 19: { + if ((ruin7 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 7), 0, 0, 0); + } + } + case 18: { + if ((ruin7 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 7), 0, 0, 0); + } + } + case 17: { + if ((ruin7 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 7), 0, 0, 0); + } + } + case 16: { + if ((ruin7 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 7), 0, 0, 0); + } + } + case 15: { + if ((ruin7 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 7), 0, 0, 0); + } + } + case 14: { + if ((ruin7 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 7), 0, 0, 0); + } + } + case 13: { + if ((ruin7 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 7), 0, 0, 0); + } + } + case 12: { + if ((ruin7 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 7), 0, 0, 0); + } + } + case 11: { + if ((ruin7 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 7), 0, 0, 0); + } + } + case 10: { + if ((ruin7 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 7), 0, 0, 0); + } + } + case 9: { + if ((ruin7 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 7), 0, 0, 0); + } + } + case 8: { + if ((ruin7 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 7), 0, 0, 0); + } + } + case 7: { + if ((ruin7 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 7), 0, 0, 0); + } + } + case 6: { + if ((ruin7 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 7), 0, 0, 0); + } + } + case 5: { + if ((ruin7 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 7), 0, 0, 0); + } + } + case 4: { + if ((ruin7 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 7), 0, 0, 0); + } + } + case 3: { + if ((ruin7 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 7), 0, 0, 0); + } + } + case 2: { + if ((ruin7 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 7), 0, 0, 0); + } + } + case 1: { + if ((ruin7 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 7), 0, 0, 0); + } + } + case 0: { + if ((ruin7 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 7), 0, 0, 0); + } + } + } + }if (ruin8 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin8 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 8), 0, 0, 0); + } + } + case 59: { + if ((ruin8 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 8), 0, 0, 0); + } + } + case 58: { + if ((ruin8 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 8), 0, 0, 0); + } + } + case 57: { + if ((ruin8 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 8), 0, 0, 0); + } + } + case 56: { + if ((ruin8 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 8), 0, 0, 0); + } + } + case 55: { + if ((ruin8 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 8), 0, 0, 0); + } + } + case 54: { + if ((ruin8 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 8), 0, 0, 0); + } + } + case 53: { + if ((ruin8 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 8), 0, 0, 0); + } + } + case 52: { + if ((ruin8 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 8), 0, 0, 0); + } + } + case 51: { + if ((ruin8 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 8), 0, 0, 0); + } + } + case 50: { + if ((ruin8 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 8), 0, 0, 0); + } + } + case 49: { + if ((ruin8 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 8), 0, 0, 0); + } + } + case 48: { + if ((ruin8 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 8), 0, 0, 0); + } + } + case 47: { + if ((ruin8 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 8), 0, 0, 0); + } + } + case 46: { + if ((ruin8 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 8), 0, 0, 0); + } + } + case 45: { + if ((ruin8 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 8), 0, 0, 0); + } + } + case 44: { + if ((ruin8 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 8), 0, 0, 0); + } + } + case 43: { + if ((ruin8 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 8), 0, 0, 0); + } + } + case 42: { + if ((ruin8 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 8), 0, 0, 0); + } + } + case 41: { + if ((ruin8 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 8), 0, 0, 0); + } + } + case 40: { + if ((ruin8 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 8), 0, 0, 0); + } + } + case 39: { + if ((ruin8 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 8), 0, 0, 0); + } + } + case 38: { + if ((ruin8 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 8), 0, 0, 0); + } + } + case 37: { + if ((ruin8 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 8), 0, 0, 0); + } + } + case 36: { + if ((ruin8 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 8), 0, 0, 0); + } + } + case 35: { + if ((ruin8 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 8), 0, 0, 0); + } + } + case 34: { + if ((ruin8 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 8), 0, 0, 0); + } + } + case 33: { + if ((ruin8 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 8), 0, 0, 0); + } + } + case 32: { + if ((ruin8 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 8), 0, 0, 0); + } + } + case 31: { + if ((ruin8 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 8), 0, 0, 0); + } + } + case 30: { + if ((ruin8 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 8), 0, 0, 0); + } + } + case 29: { + if ((ruin8 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 8), 0, 0, 0); + } + } + case 28: { + if ((ruin8 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 8), 0, 0, 0); + } + } + case 27: { + if ((ruin8 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 8), 0, 0, 0); + } + } + case 26: { + if ((ruin8 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 8), 0, 0, 0); + } + } + case 25: { + if ((ruin8 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 8), 0, 0, 0); + } + } + case 24: { + if ((ruin8 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 8), 0, 0, 0); + } + } + case 23: { + if ((ruin8 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 8), 0, 0, 0); + } + } + case 22: { + if ((ruin8 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 8), 0, 0, 0); + } + } + case 21: { + if ((ruin8 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 8), 0, 0, 0); + } + } + case 20: { + if ((ruin8 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 8), 0, 0, 0); + } + } + case 19: { + if ((ruin8 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 8), 0, 0, 0); + } + } + case 18: { + if ((ruin8 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 8), 0, 0, 0); + } + } + case 17: { + if ((ruin8 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 8), 0, 0, 0); + } + } + case 16: { + if ((ruin8 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 8), 0, 0, 0); + } + } + case 15: { + if ((ruin8 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 8), 0, 0, 0); + } + } + case 14: { + if ((ruin8 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 8), 0, 0, 0); + } + } + case 13: { + if ((ruin8 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 8), 0, 0, 0); + } + } + case 12: { + if ((ruin8 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 8), 0, 0, 0); + } + } + case 11: { + if ((ruin8 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 8), 0, 0, 0); + } + } + case 10: { + if ((ruin8 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 8), 0, 0, 0); + } + } + case 9: { + if ((ruin8 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 8), 0, 0, 0); + } + } + case 8: { + if ((ruin8 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 8), 0, 0, 0); + } + } + case 7: { + if ((ruin8 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 8), 0, 0, 0); + } + } + case 6: { + if ((ruin8 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 8), 0, 0, 0); + } + } + case 5: { + if ((ruin8 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 8), 0, 0, 0); + } + } + case 4: { + if ((ruin8 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 8), 0, 0, 0); + } + } + case 3: { + if ((ruin8 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 8), 0, 0, 0); + } + } + case 2: { + if ((ruin8 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 8), 0, 0, 0); + } + } + case 1: { + if ((ruin8 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 8), 0, 0, 0); + } + } + case 0: { + if ((ruin8 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 8), 0, 0, 0); + } + } + } + }if (ruin9 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin9 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 9), 0, 0, 0); + } + } + case 59: { + if ((ruin9 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 9), 0, 0, 0); + } + } + case 58: { + if ((ruin9 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 9), 0, 0, 0); + } + } + case 57: { + if ((ruin9 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 9), 0, 0, 0); + } + } + case 56: { + if ((ruin9 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 9), 0, 0, 0); + } + } + case 55: { + if ((ruin9 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 9), 0, 0, 0); + } + } + case 54: { + if ((ruin9 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 9), 0, 0, 0); + } + } + case 53: { + if ((ruin9 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 9), 0, 0, 0); + } + } + case 52: { + if ((ruin9 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 9), 0, 0, 0); + } + } + case 51: { + if ((ruin9 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 9), 0, 0, 0); + } + } + case 50: { + if ((ruin9 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 9), 0, 0, 0); + } + } + case 49: { + if ((ruin9 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 9), 0, 0, 0); + } + } + case 48: { + if ((ruin9 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 9), 0, 0, 0); + } + } + case 47: { + if ((ruin9 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 9), 0, 0, 0); + } + } + case 46: { + if ((ruin9 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 9), 0, 0, 0); + } + } + case 45: { + if ((ruin9 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 9), 0, 0, 0); + } + } + case 44: { + if ((ruin9 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 9), 0, 0, 0); + } + } + case 43: { + if ((ruin9 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 9), 0, 0, 0); + } + } + case 42: { + if ((ruin9 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 9), 0, 0, 0); + } + } + case 41: { + if ((ruin9 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 9), 0, 0, 0); + } + } + case 40: { + if ((ruin9 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 9), 0, 0, 0); + } + } + case 39: { + if ((ruin9 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 9), 0, 0, 0); + } + } + case 38: { + if ((ruin9 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 9), 0, 0, 0); + } + } + case 37: { + if ((ruin9 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 9), 0, 0, 0); + } + } + case 36: { + if ((ruin9 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 9), 0, 0, 0); + } + } + case 35: { + if ((ruin9 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 9), 0, 0, 0); + } + } + case 34: { + if ((ruin9 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 9), 0, 0, 0); + } + } + case 33: { + if ((ruin9 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 9), 0, 0, 0); + } + } + case 32: { + if ((ruin9 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 9), 0, 0, 0); + } + } + case 31: { + if ((ruin9 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 9), 0, 0, 0); + } + } + case 30: { + if ((ruin9 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 9), 0, 0, 0); + } + } + case 29: { + if ((ruin9 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 9), 0, 0, 0); + } + } + case 28: { + if ((ruin9 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 9), 0, 0, 0); + } + } + case 27: { + if ((ruin9 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 9), 0, 0, 0); + } + } + case 26: { + if ((ruin9 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 9), 0, 0, 0); + } + } + case 25: { + if ((ruin9 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 9), 0, 0, 0); + } + } + case 24: { + if ((ruin9 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 9), 0, 0, 0); + } + } + case 23: { + if ((ruin9 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 9), 0, 0, 0); + } + } + case 22: { + if ((ruin9 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 9), 0, 0, 0); + } + } + case 21: { + if ((ruin9 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 9), 0, 0, 0); + } + } + case 20: { + if ((ruin9 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 9), 0, 0, 0); + } + } + case 19: { + if ((ruin9 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 9), 0, 0, 0); + } + } + case 18: { + if ((ruin9 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 9), 0, 0, 0); + } + } + case 17: { + if ((ruin9 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 9), 0, 0, 0); + } + } + case 16: { + if ((ruin9 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 9), 0, 0, 0); + } + } + case 15: { + if ((ruin9 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 9), 0, 0, 0); + } + } + case 14: { + if ((ruin9 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 9), 0, 0, 0); + } + } + case 13: { + if ((ruin9 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 9), 0, 0, 0); + } + } + case 12: { + if ((ruin9 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 9), 0, 0, 0); + } + } + case 11: { + if ((ruin9 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 9), 0, 0, 0); + } + } + case 10: { + if ((ruin9 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 9), 0, 0, 0); + } + } + case 9: { + if ((ruin9 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 9), 0, 0, 0); + } + } + case 8: { + if ((ruin9 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 9), 0, 0, 0); + } + } + case 7: { + if ((ruin9 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 9), 0, 0, 0); + } + } + case 6: { + if ((ruin9 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 9), 0, 0, 0); + } + } + case 5: { + if ((ruin9 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 9), 0, 0, 0); + } + } + case 4: { + if ((ruin9 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 9), 0, 0, 0); + } + } + case 3: { + if ((ruin9 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 9), 0, 0, 0); + } + } + case 2: { + if ((ruin9 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 9), 0, 0, 0); + } + } + case 1: { + if ((ruin9 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 9), 0, 0, 0); + } + } + case 0: { + if ((ruin9 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 9), 0, 0, 0); + } + } + } + } + } + + + + public static void display1() throws GameActionException { + + if (ruin10 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin10 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 10), 0, 0, 0); + } + } + case 59: { + if ((ruin10 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 10), 0, 0, 0); + } + } + case 58: { + if ((ruin10 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 10), 0, 0, 0); + } + } + case 57: { + if ((ruin10 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 10), 0, 0, 0); + } + } + case 56: { + if ((ruin10 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 10), 0, 0, 0); + } + } + case 55: { + if ((ruin10 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 10), 0, 0, 0); + } + } + case 54: { + if ((ruin10 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 10), 0, 0, 0); + } + } + case 53: { + if ((ruin10 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 10), 0, 0, 0); + } + } + case 52: { + if ((ruin10 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 10), 0, 0, 0); + } + } + case 51: { + if ((ruin10 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 10), 0, 0, 0); + } + } + case 50: { + if ((ruin10 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 10), 0, 0, 0); + } + } + case 49: { + if ((ruin10 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 10), 0, 0, 0); + } + } + case 48: { + if ((ruin10 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 10), 0, 0, 0); + } + } + case 47: { + if ((ruin10 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 10), 0, 0, 0); + } + } + case 46: { + if ((ruin10 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 10), 0, 0, 0); + } + } + case 45: { + if ((ruin10 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 10), 0, 0, 0); + } + } + case 44: { + if ((ruin10 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 10), 0, 0, 0); + } + } + case 43: { + if ((ruin10 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 10), 0, 0, 0); + } + } + case 42: { + if ((ruin10 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 10), 0, 0, 0); + } + } + case 41: { + if ((ruin10 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 10), 0, 0, 0); + } + } + case 40: { + if ((ruin10 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 10), 0, 0, 0); + } + } + case 39: { + if ((ruin10 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 10), 0, 0, 0); + } + } + case 38: { + if ((ruin10 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 10), 0, 0, 0); + } + } + case 37: { + if ((ruin10 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 10), 0, 0, 0); + } + } + case 36: { + if ((ruin10 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 10), 0, 0, 0); + } + } + case 35: { + if ((ruin10 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 10), 0, 0, 0); + } + } + case 34: { + if ((ruin10 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 10), 0, 0, 0); + } + } + case 33: { + if ((ruin10 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 10), 0, 0, 0); + } + } + case 32: { + if ((ruin10 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 10), 0, 0, 0); + } + } + case 31: { + if ((ruin10 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 10), 0, 0, 0); + } + } + case 30: { + if ((ruin10 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 10), 0, 0, 0); + } + } + case 29: { + if ((ruin10 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 10), 0, 0, 0); + } + } + case 28: { + if ((ruin10 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 10), 0, 0, 0); + } + } + case 27: { + if ((ruin10 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 10), 0, 0, 0); + } + } + case 26: { + if ((ruin10 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 10), 0, 0, 0); + } + } + case 25: { + if ((ruin10 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 10), 0, 0, 0); + } + } + case 24: { + if ((ruin10 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 10), 0, 0, 0); + } + } + case 23: { + if ((ruin10 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 10), 0, 0, 0); + } + } + case 22: { + if ((ruin10 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 10), 0, 0, 0); + } + } + case 21: { + if ((ruin10 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 10), 0, 0, 0); + } + } + case 20: { + if ((ruin10 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 10), 0, 0, 0); + } + } + case 19: { + if ((ruin10 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 10), 0, 0, 0); + } + } + case 18: { + if ((ruin10 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 10), 0, 0, 0); + } + } + case 17: { + if ((ruin10 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 10), 0, 0, 0); + } + } + case 16: { + if ((ruin10 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 10), 0, 0, 0); + } + } + case 15: { + if ((ruin10 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 10), 0, 0, 0); + } + } + case 14: { + if ((ruin10 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 10), 0, 0, 0); + } + } + case 13: { + if ((ruin10 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 10), 0, 0, 0); + } + } + case 12: { + if ((ruin10 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 10), 0, 0, 0); + } + } + case 11: { + if ((ruin10 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 10), 0, 0, 0); + } + } + case 10: { + if ((ruin10 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 10), 0, 0, 0); + } + } + case 9: { + if ((ruin10 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 10), 0, 0, 0); + } + } + case 8: { + if ((ruin10 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 10), 0, 0, 0); + } + } + case 7: { + if ((ruin10 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 10), 0, 0, 0); + } + } + case 6: { + if ((ruin10 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 10), 0, 0, 0); + } + } + case 5: { + if ((ruin10 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 10), 0, 0, 0); + } + } + case 4: { + if ((ruin10 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 10), 0, 0, 0); + } + } + case 3: { + if ((ruin10 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 10), 0, 0, 0); + } + } + case 2: { + if ((ruin10 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 10), 0, 0, 0); + } + } + case 1: { + if ((ruin10 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 10), 0, 0, 0); + } + } + case 0: { + if ((ruin10 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 10), 0, 0, 0); + } + } + } + }if (ruin11 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin11 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 11), 0, 0, 0); + } + } + case 59: { + if ((ruin11 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 11), 0, 0, 0); + } + } + case 58: { + if ((ruin11 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 11), 0, 0, 0); + } + } + case 57: { + if ((ruin11 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 11), 0, 0, 0); + } + } + case 56: { + if ((ruin11 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 11), 0, 0, 0); + } + } + case 55: { + if ((ruin11 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 11), 0, 0, 0); + } + } + case 54: { + if ((ruin11 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 11), 0, 0, 0); + } + } + case 53: { + if ((ruin11 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 11), 0, 0, 0); + } + } + case 52: { + if ((ruin11 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 11), 0, 0, 0); + } + } + case 51: { + if ((ruin11 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 11), 0, 0, 0); + } + } + case 50: { + if ((ruin11 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 11), 0, 0, 0); + } + } + case 49: { + if ((ruin11 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 11), 0, 0, 0); + } + } + case 48: { + if ((ruin11 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 11), 0, 0, 0); + } + } + case 47: { + if ((ruin11 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 11), 0, 0, 0); + } + } + case 46: { + if ((ruin11 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 11), 0, 0, 0); + } + } + case 45: { + if ((ruin11 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 11), 0, 0, 0); + } + } + case 44: { + if ((ruin11 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 11), 0, 0, 0); + } + } + case 43: { + if ((ruin11 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 11), 0, 0, 0); + } + } + case 42: { + if ((ruin11 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 11), 0, 0, 0); + } + } + case 41: { + if ((ruin11 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 11), 0, 0, 0); + } + } + case 40: { + if ((ruin11 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 11), 0, 0, 0); + } + } + case 39: { + if ((ruin11 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 11), 0, 0, 0); + } + } + case 38: { + if ((ruin11 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 11), 0, 0, 0); + } + } + case 37: { + if ((ruin11 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 11), 0, 0, 0); + } + } + case 36: { + if ((ruin11 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 11), 0, 0, 0); + } + } + case 35: { + if ((ruin11 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 11), 0, 0, 0); + } + } + case 34: { + if ((ruin11 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 11), 0, 0, 0); + } + } + case 33: { + if ((ruin11 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 11), 0, 0, 0); + } + } + case 32: { + if ((ruin11 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 11), 0, 0, 0); + } + } + case 31: { + if ((ruin11 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 11), 0, 0, 0); + } + } + case 30: { + if ((ruin11 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 11), 0, 0, 0); + } + } + case 29: { + if ((ruin11 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 11), 0, 0, 0); + } + } + case 28: { + if ((ruin11 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 11), 0, 0, 0); + } + } + case 27: { + if ((ruin11 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 11), 0, 0, 0); + } + } + case 26: { + if ((ruin11 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 11), 0, 0, 0); + } + } + case 25: { + if ((ruin11 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 11), 0, 0, 0); + } + } + case 24: { + if ((ruin11 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 11), 0, 0, 0); + } + } + case 23: { + if ((ruin11 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 11), 0, 0, 0); + } + } + case 22: { + if ((ruin11 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 11), 0, 0, 0); + } + } + case 21: { + if ((ruin11 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 11), 0, 0, 0); + } + } + case 20: { + if ((ruin11 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 11), 0, 0, 0); + } + } + case 19: { + if ((ruin11 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 11), 0, 0, 0); + } + } + case 18: { + if ((ruin11 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 11), 0, 0, 0); + } + } + case 17: { + if ((ruin11 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 11), 0, 0, 0); + } + } + case 16: { + if ((ruin11 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 11), 0, 0, 0); + } + } + case 15: { + if ((ruin11 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 11), 0, 0, 0); + } + } + case 14: { + if ((ruin11 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 11), 0, 0, 0); + } + } + case 13: { + if ((ruin11 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 11), 0, 0, 0); + } + } + case 12: { + if ((ruin11 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 11), 0, 0, 0); + } + } + case 11: { + if ((ruin11 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 11), 0, 0, 0); + } + } + case 10: { + if ((ruin11 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 11), 0, 0, 0); + } + } + case 9: { + if ((ruin11 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 11), 0, 0, 0); + } + } + case 8: { + if ((ruin11 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 11), 0, 0, 0); + } + } + case 7: { + if ((ruin11 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 11), 0, 0, 0); + } + } + case 6: { + if ((ruin11 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 11), 0, 0, 0); + } + } + case 5: { + if ((ruin11 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 11), 0, 0, 0); + } + } + case 4: { + if ((ruin11 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 11), 0, 0, 0); + } + } + case 3: { + if ((ruin11 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 11), 0, 0, 0); + } + } + case 2: { + if ((ruin11 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 11), 0, 0, 0); + } + } + case 1: { + if ((ruin11 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 11), 0, 0, 0); + } + } + case 0: { + if ((ruin11 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 11), 0, 0, 0); + } + } + } + }if (ruin12 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin12 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 12), 0, 0, 0); + } + } + case 59: { + if ((ruin12 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 12), 0, 0, 0); + } + } + case 58: { + if ((ruin12 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 12), 0, 0, 0); + } + } + case 57: { + if ((ruin12 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 12), 0, 0, 0); + } + } + case 56: { + if ((ruin12 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 12), 0, 0, 0); + } + } + case 55: { + if ((ruin12 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 12), 0, 0, 0); + } + } + case 54: { + if ((ruin12 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 12), 0, 0, 0); + } + } + case 53: { + if ((ruin12 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 12), 0, 0, 0); + } + } + case 52: { + if ((ruin12 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 12), 0, 0, 0); + } + } + case 51: { + if ((ruin12 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 12), 0, 0, 0); + } + } + case 50: { + if ((ruin12 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 12), 0, 0, 0); + } + } + case 49: { + if ((ruin12 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 12), 0, 0, 0); + } + } + case 48: { + if ((ruin12 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 12), 0, 0, 0); + } + } + case 47: { + if ((ruin12 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 12), 0, 0, 0); + } + } + case 46: { + if ((ruin12 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 12), 0, 0, 0); + } + } + case 45: { + if ((ruin12 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 12), 0, 0, 0); + } + } + case 44: { + if ((ruin12 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 12), 0, 0, 0); + } + } + case 43: { + if ((ruin12 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 12), 0, 0, 0); + } + } + case 42: { + if ((ruin12 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 12), 0, 0, 0); + } + } + case 41: { + if ((ruin12 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 12), 0, 0, 0); + } + } + case 40: { + if ((ruin12 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 12), 0, 0, 0); + } + } + case 39: { + if ((ruin12 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 12), 0, 0, 0); + } + } + case 38: { + if ((ruin12 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 12), 0, 0, 0); + } + } + case 37: { + if ((ruin12 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 12), 0, 0, 0); + } + } + case 36: { + if ((ruin12 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 12), 0, 0, 0); + } + } + case 35: { + if ((ruin12 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 12), 0, 0, 0); + } + } + case 34: { + if ((ruin12 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 12), 0, 0, 0); + } + } + case 33: { + if ((ruin12 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 12), 0, 0, 0); + } + } + case 32: { + if ((ruin12 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 12), 0, 0, 0); + } + } + case 31: { + if ((ruin12 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 12), 0, 0, 0); + } + } + case 30: { + if ((ruin12 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 12), 0, 0, 0); + } + } + case 29: { + if ((ruin12 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 12), 0, 0, 0); + } + } + case 28: { + if ((ruin12 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 12), 0, 0, 0); + } + } + case 27: { + if ((ruin12 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 12), 0, 0, 0); + } + } + case 26: { + if ((ruin12 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 12), 0, 0, 0); + } + } + case 25: { + if ((ruin12 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 12), 0, 0, 0); + } + } + case 24: { + if ((ruin12 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 12), 0, 0, 0); + } + } + case 23: { + if ((ruin12 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 12), 0, 0, 0); + } + } + case 22: { + if ((ruin12 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 12), 0, 0, 0); + } + } + case 21: { + if ((ruin12 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 12), 0, 0, 0); + } + } + case 20: { + if ((ruin12 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 12), 0, 0, 0); + } + } + case 19: { + if ((ruin12 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 12), 0, 0, 0); + } + } + case 18: { + if ((ruin12 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 12), 0, 0, 0); + } + } + case 17: { + if ((ruin12 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 12), 0, 0, 0); + } + } + case 16: { + if ((ruin12 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 12), 0, 0, 0); + } + } + case 15: { + if ((ruin12 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 12), 0, 0, 0); + } + } + case 14: { + if ((ruin12 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 12), 0, 0, 0); + } + } + case 13: { + if ((ruin12 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 12), 0, 0, 0); + } + } + case 12: { + if ((ruin12 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 12), 0, 0, 0); + } + } + case 11: { + if ((ruin12 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 12), 0, 0, 0); + } + } + case 10: { + if ((ruin12 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 12), 0, 0, 0); + } + } + case 9: { + if ((ruin12 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 12), 0, 0, 0); + } + } + case 8: { + if ((ruin12 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 12), 0, 0, 0); + } + } + case 7: { + if ((ruin12 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 12), 0, 0, 0); + } + } + case 6: { + if ((ruin12 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 12), 0, 0, 0); + } + } + case 5: { + if ((ruin12 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 12), 0, 0, 0); + } + } + case 4: { + if ((ruin12 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 12), 0, 0, 0); + } + } + case 3: { + if ((ruin12 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 12), 0, 0, 0); + } + } + case 2: { + if ((ruin12 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 12), 0, 0, 0); + } + } + case 1: { + if ((ruin12 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 12), 0, 0, 0); + } + } + case 0: { + if ((ruin12 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 12), 0, 0, 0); + } + } + } + }if (ruin13 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin13 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 13), 0, 0, 0); + } + } + case 59: { + if ((ruin13 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 13), 0, 0, 0); + } + } + case 58: { + if ((ruin13 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 13), 0, 0, 0); + } + } + case 57: { + if ((ruin13 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 13), 0, 0, 0); + } + } + case 56: { + if ((ruin13 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 13), 0, 0, 0); + } + } + case 55: { + if ((ruin13 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 13), 0, 0, 0); + } + } + case 54: { + if ((ruin13 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 13), 0, 0, 0); + } + } + case 53: { + if ((ruin13 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 13), 0, 0, 0); + } + } + case 52: { + if ((ruin13 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 13), 0, 0, 0); + } + } + case 51: { + if ((ruin13 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 13), 0, 0, 0); + } + } + case 50: { + if ((ruin13 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 13), 0, 0, 0); + } + } + case 49: { + if ((ruin13 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 13), 0, 0, 0); + } + } + case 48: { + if ((ruin13 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 13), 0, 0, 0); + } + } + case 47: { + if ((ruin13 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 13), 0, 0, 0); + } + } + case 46: { + if ((ruin13 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 13), 0, 0, 0); + } + } + case 45: { + if ((ruin13 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 13), 0, 0, 0); + } + } + case 44: { + if ((ruin13 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 13), 0, 0, 0); + } + } + case 43: { + if ((ruin13 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 13), 0, 0, 0); + } + } + case 42: { + if ((ruin13 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 13), 0, 0, 0); + } + } + case 41: { + if ((ruin13 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 13), 0, 0, 0); + } + } + case 40: { + if ((ruin13 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 13), 0, 0, 0); + } + } + case 39: { + if ((ruin13 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 13), 0, 0, 0); + } + } + case 38: { + if ((ruin13 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 13), 0, 0, 0); + } + } + case 37: { + if ((ruin13 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 13), 0, 0, 0); + } + } + case 36: { + if ((ruin13 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 13), 0, 0, 0); + } + } + case 35: { + if ((ruin13 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 13), 0, 0, 0); + } + } + case 34: { + if ((ruin13 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 13), 0, 0, 0); + } + } + case 33: { + if ((ruin13 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 13), 0, 0, 0); + } + } + case 32: { + if ((ruin13 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 13), 0, 0, 0); + } + } + case 31: { + if ((ruin13 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 13), 0, 0, 0); + } + } + case 30: { + if ((ruin13 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 13), 0, 0, 0); + } + } + case 29: { + if ((ruin13 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 13), 0, 0, 0); + } + } + case 28: { + if ((ruin13 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 13), 0, 0, 0); + } + } + case 27: { + if ((ruin13 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 13), 0, 0, 0); + } + } + case 26: { + if ((ruin13 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 13), 0, 0, 0); + } + } + case 25: { + if ((ruin13 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 13), 0, 0, 0); + } + } + case 24: { + if ((ruin13 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 13), 0, 0, 0); + } + } + case 23: { + if ((ruin13 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 13), 0, 0, 0); + } + } + case 22: { + if ((ruin13 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 13), 0, 0, 0); + } + } + case 21: { + if ((ruin13 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 13), 0, 0, 0); + } + } + case 20: { + if ((ruin13 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 13), 0, 0, 0); + } + } + case 19: { + if ((ruin13 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 13), 0, 0, 0); + } + } + case 18: { + if ((ruin13 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 13), 0, 0, 0); + } + } + case 17: { + if ((ruin13 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 13), 0, 0, 0); + } + } + case 16: { + if ((ruin13 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 13), 0, 0, 0); + } + } + case 15: { + if ((ruin13 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 13), 0, 0, 0); + } + } + case 14: { + if ((ruin13 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 13), 0, 0, 0); + } + } + case 13: { + if ((ruin13 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 13), 0, 0, 0); + } + } + case 12: { + if ((ruin13 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 13), 0, 0, 0); + } + } + case 11: { + if ((ruin13 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 13), 0, 0, 0); + } + } + case 10: { + if ((ruin13 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 13), 0, 0, 0); + } + } + case 9: { + if ((ruin13 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 13), 0, 0, 0); + } + } + case 8: { + if ((ruin13 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 13), 0, 0, 0); + } + } + case 7: { + if ((ruin13 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 13), 0, 0, 0); + } + } + case 6: { + if ((ruin13 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 13), 0, 0, 0); + } + } + case 5: { + if ((ruin13 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 13), 0, 0, 0); + } + } + case 4: { + if ((ruin13 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 13), 0, 0, 0); + } + } + case 3: { + if ((ruin13 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 13), 0, 0, 0); + } + } + case 2: { + if ((ruin13 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 13), 0, 0, 0); + } + } + case 1: { + if ((ruin13 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 13), 0, 0, 0); + } + } + case 0: { + if ((ruin13 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 13), 0, 0, 0); + } + } + } + }if (ruin14 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin14 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 14), 0, 0, 0); + } + } + case 59: { + if ((ruin14 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 14), 0, 0, 0); + } + } + case 58: { + if ((ruin14 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 14), 0, 0, 0); + } + } + case 57: { + if ((ruin14 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 14), 0, 0, 0); + } + } + case 56: { + if ((ruin14 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 14), 0, 0, 0); + } + } + case 55: { + if ((ruin14 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 14), 0, 0, 0); + } + } + case 54: { + if ((ruin14 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 14), 0, 0, 0); + } + } + case 53: { + if ((ruin14 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 14), 0, 0, 0); + } + } + case 52: { + if ((ruin14 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 14), 0, 0, 0); + } + } + case 51: { + if ((ruin14 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 14), 0, 0, 0); + } + } + case 50: { + if ((ruin14 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 14), 0, 0, 0); + } + } + case 49: { + if ((ruin14 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 14), 0, 0, 0); + } + } + case 48: { + if ((ruin14 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 14), 0, 0, 0); + } + } + case 47: { + if ((ruin14 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 14), 0, 0, 0); + } + } + case 46: { + if ((ruin14 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 14), 0, 0, 0); + } + } + case 45: { + if ((ruin14 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 14), 0, 0, 0); + } + } + case 44: { + if ((ruin14 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 14), 0, 0, 0); + } + } + case 43: { + if ((ruin14 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 14), 0, 0, 0); + } + } + case 42: { + if ((ruin14 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 14), 0, 0, 0); + } + } + case 41: { + if ((ruin14 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 14), 0, 0, 0); + } + } + case 40: { + if ((ruin14 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 14), 0, 0, 0); + } + } + case 39: { + if ((ruin14 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 14), 0, 0, 0); + } + } + case 38: { + if ((ruin14 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 14), 0, 0, 0); + } + } + case 37: { + if ((ruin14 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 14), 0, 0, 0); + } + } + case 36: { + if ((ruin14 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 14), 0, 0, 0); + } + } + case 35: { + if ((ruin14 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 14), 0, 0, 0); + } + } + case 34: { + if ((ruin14 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 14), 0, 0, 0); + } + } + case 33: { + if ((ruin14 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 14), 0, 0, 0); + } + } + case 32: { + if ((ruin14 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 14), 0, 0, 0); + } + } + case 31: { + if ((ruin14 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 14), 0, 0, 0); + } + } + case 30: { + if ((ruin14 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 14), 0, 0, 0); + } + } + case 29: { + if ((ruin14 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 14), 0, 0, 0); + } + } + case 28: { + if ((ruin14 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 14), 0, 0, 0); + } + } + case 27: { + if ((ruin14 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 14), 0, 0, 0); + } + } + case 26: { + if ((ruin14 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 14), 0, 0, 0); + } + } + case 25: { + if ((ruin14 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 14), 0, 0, 0); + } + } + case 24: { + if ((ruin14 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 14), 0, 0, 0); + } + } + case 23: { + if ((ruin14 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 14), 0, 0, 0); + } + } + case 22: { + if ((ruin14 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 14), 0, 0, 0); + } + } + case 21: { + if ((ruin14 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 14), 0, 0, 0); + } + } + case 20: { + if ((ruin14 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 14), 0, 0, 0); + } + } + case 19: { + if ((ruin14 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 14), 0, 0, 0); + } + } + case 18: { + if ((ruin14 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 14), 0, 0, 0); + } + } + case 17: { + if ((ruin14 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 14), 0, 0, 0); + } + } + case 16: { + if ((ruin14 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 14), 0, 0, 0); + } + } + case 15: { + if ((ruin14 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 14), 0, 0, 0); + } + } + case 14: { + if ((ruin14 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 14), 0, 0, 0); + } + } + case 13: { + if ((ruin14 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 14), 0, 0, 0); + } + } + case 12: { + if ((ruin14 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 14), 0, 0, 0); + } + } + case 11: { + if ((ruin14 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 14), 0, 0, 0); + } + } + case 10: { + if ((ruin14 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 14), 0, 0, 0); + } + } + case 9: { + if ((ruin14 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 14), 0, 0, 0); + } + } + case 8: { + if ((ruin14 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 14), 0, 0, 0); + } + } + case 7: { + if ((ruin14 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 14), 0, 0, 0); + } + } + case 6: { + if ((ruin14 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 14), 0, 0, 0); + } + } + case 5: { + if ((ruin14 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 14), 0, 0, 0); + } + } + case 4: { + if ((ruin14 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 14), 0, 0, 0); + } + } + case 3: { + if ((ruin14 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 14), 0, 0, 0); + } + } + case 2: { + if ((ruin14 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 14), 0, 0, 0); + } + } + case 1: { + if ((ruin14 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 14), 0, 0, 0); + } + } + case 0: { + if ((ruin14 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 14), 0, 0, 0); + } + } + } + }if (ruin15 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin15 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 15), 0, 0, 0); + } + } + case 59: { + if ((ruin15 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 15), 0, 0, 0); + } + } + case 58: { + if ((ruin15 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 15), 0, 0, 0); + } + } + case 57: { + if ((ruin15 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 15), 0, 0, 0); + } + } + case 56: { + if ((ruin15 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 15), 0, 0, 0); + } + } + case 55: { + if ((ruin15 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 15), 0, 0, 0); + } + } + case 54: { + if ((ruin15 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 15), 0, 0, 0); + } + } + case 53: { + if ((ruin15 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 15), 0, 0, 0); + } + } + case 52: { + if ((ruin15 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 15), 0, 0, 0); + } + } + case 51: { + if ((ruin15 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 15), 0, 0, 0); + } + } + case 50: { + if ((ruin15 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 15), 0, 0, 0); + } + } + case 49: { + if ((ruin15 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 15), 0, 0, 0); + } + } + case 48: { + if ((ruin15 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 15), 0, 0, 0); + } + } + case 47: { + if ((ruin15 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 15), 0, 0, 0); + } + } + case 46: { + if ((ruin15 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 15), 0, 0, 0); + } + } + case 45: { + if ((ruin15 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 15), 0, 0, 0); + } + } + case 44: { + if ((ruin15 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 15), 0, 0, 0); + } + } + case 43: { + if ((ruin15 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 15), 0, 0, 0); + } + } + case 42: { + if ((ruin15 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 15), 0, 0, 0); + } + } + case 41: { + if ((ruin15 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 15), 0, 0, 0); + } + } + case 40: { + if ((ruin15 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 15), 0, 0, 0); + } + } + case 39: { + if ((ruin15 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 15), 0, 0, 0); + } + } + case 38: { + if ((ruin15 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 15), 0, 0, 0); + } + } + case 37: { + if ((ruin15 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 15), 0, 0, 0); + } + } + case 36: { + if ((ruin15 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 15), 0, 0, 0); + } + } + case 35: { + if ((ruin15 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 15), 0, 0, 0); + } + } + case 34: { + if ((ruin15 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 15), 0, 0, 0); + } + } + case 33: { + if ((ruin15 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 15), 0, 0, 0); + } + } + case 32: { + if ((ruin15 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 15), 0, 0, 0); + } + } + case 31: { + if ((ruin15 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 15), 0, 0, 0); + } + } + case 30: { + if ((ruin15 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 15), 0, 0, 0); + } + } + case 29: { + if ((ruin15 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 15), 0, 0, 0); + } + } + case 28: { + if ((ruin15 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 15), 0, 0, 0); + } + } + case 27: { + if ((ruin15 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 15), 0, 0, 0); + } + } + case 26: { + if ((ruin15 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 15), 0, 0, 0); + } + } + case 25: { + if ((ruin15 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 15), 0, 0, 0); + } + } + case 24: { + if ((ruin15 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 15), 0, 0, 0); + } + } + case 23: { + if ((ruin15 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 15), 0, 0, 0); + } + } + case 22: { + if ((ruin15 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 15), 0, 0, 0); + } + } + case 21: { + if ((ruin15 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 15), 0, 0, 0); + } + } + case 20: { + if ((ruin15 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 15), 0, 0, 0); + } + } + case 19: { + if ((ruin15 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 15), 0, 0, 0); + } + } + case 18: { + if ((ruin15 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 15), 0, 0, 0); + } + } + case 17: { + if ((ruin15 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 15), 0, 0, 0); + } + } + case 16: { + if ((ruin15 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 15), 0, 0, 0); + } + } + case 15: { + if ((ruin15 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 15), 0, 0, 0); + } + } + case 14: { + if ((ruin15 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 15), 0, 0, 0); + } + } + case 13: { + if ((ruin15 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 15), 0, 0, 0); + } + } + case 12: { + if ((ruin15 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 15), 0, 0, 0); + } + } + case 11: { + if ((ruin15 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 15), 0, 0, 0); + } + } + case 10: { + if ((ruin15 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 15), 0, 0, 0); + } + } + case 9: { + if ((ruin15 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 15), 0, 0, 0); + } + } + case 8: { + if ((ruin15 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 15), 0, 0, 0); + } + } + case 7: { + if ((ruin15 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 15), 0, 0, 0); + } + } + case 6: { + if ((ruin15 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 15), 0, 0, 0); + } + } + case 5: { + if ((ruin15 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 15), 0, 0, 0); + } + } + case 4: { + if ((ruin15 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 15), 0, 0, 0); + } + } + case 3: { + if ((ruin15 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 15), 0, 0, 0); + } + } + case 2: { + if ((ruin15 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 15), 0, 0, 0); + } + } + case 1: { + if ((ruin15 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 15), 0, 0, 0); + } + } + case 0: { + if ((ruin15 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 15), 0, 0, 0); + } + } + } + }if (ruin16 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin16 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 16), 0, 0, 0); + } + } + case 59: { + if ((ruin16 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 16), 0, 0, 0); + } + } + case 58: { + if ((ruin16 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 16), 0, 0, 0); + } + } + case 57: { + if ((ruin16 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 16), 0, 0, 0); + } + } + case 56: { + if ((ruin16 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 16), 0, 0, 0); + } + } + case 55: { + if ((ruin16 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 16), 0, 0, 0); + } + } + case 54: { + if ((ruin16 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 16), 0, 0, 0); + } + } + case 53: { + if ((ruin16 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 16), 0, 0, 0); + } + } + case 52: { + if ((ruin16 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 16), 0, 0, 0); + } + } + case 51: { + if ((ruin16 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 16), 0, 0, 0); + } + } + case 50: { + if ((ruin16 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 16), 0, 0, 0); + } + } + case 49: { + if ((ruin16 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 16), 0, 0, 0); + } + } + case 48: { + if ((ruin16 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 16), 0, 0, 0); + } + } + case 47: { + if ((ruin16 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 16), 0, 0, 0); + } + } + case 46: { + if ((ruin16 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 16), 0, 0, 0); + } + } + case 45: { + if ((ruin16 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 16), 0, 0, 0); + } + } + case 44: { + if ((ruin16 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 16), 0, 0, 0); + } + } + case 43: { + if ((ruin16 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 16), 0, 0, 0); + } + } + case 42: { + if ((ruin16 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 16), 0, 0, 0); + } + } + case 41: { + if ((ruin16 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 16), 0, 0, 0); + } + } + case 40: { + if ((ruin16 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 16), 0, 0, 0); + } + } + case 39: { + if ((ruin16 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 16), 0, 0, 0); + } + } + case 38: { + if ((ruin16 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 16), 0, 0, 0); + } + } + case 37: { + if ((ruin16 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 16), 0, 0, 0); + } + } + case 36: { + if ((ruin16 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 16), 0, 0, 0); + } + } + case 35: { + if ((ruin16 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 16), 0, 0, 0); + } + } + case 34: { + if ((ruin16 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 16), 0, 0, 0); + } + } + case 33: { + if ((ruin16 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 16), 0, 0, 0); + } + } + case 32: { + if ((ruin16 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 16), 0, 0, 0); + } + } + case 31: { + if ((ruin16 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 16), 0, 0, 0); + } + } + case 30: { + if ((ruin16 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 16), 0, 0, 0); + } + } + case 29: { + if ((ruin16 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 16), 0, 0, 0); + } + } + case 28: { + if ((ruin16 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 16), 0, 0, 0); + } + } + case 27: { + if ((ruin16 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 16), 0, 0, 0); + } + } + case 26: { + if ((ruin16 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 16), 0, 0, 0); + } + } + case 25: { + if ((ruin16 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 16), 0, 0, 0); + } + } + case 24: { + if ((ruin16 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 16), 0, 0, 0); + } + } + case 23: { + if ((ruin16 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 16), 0, 0, 0); + } + } + case 22: { + if ((ruin16 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 16), 0, 0, 0); + } + } + case 21: { + if ((ruin16 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 16), 0, 0, 0); + } + } + case 20: { + if ((ruin16 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 16), 0, 0, 0); + } + } + case 19: { + if ((ruin16 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 16), 0, 0, 0); + } + } + case 18: { + if ((ruin16 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 16), 0, 0, 0); + } + } + case 17: { + if ((ruin16 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 16), 0, 0, 0); + } + } + case 16: { + if ((ruin16 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 16), 0, 0, 0); + } + } + case 15: { + if ((ruin16 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 16), 0, 0, 0); + } + } + case 14: { + if ((ruin16 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 16), 0, 0, 0); + } + } + case 13: { + if ((ruin16 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 16), 0, 0, 0); + } + } + case 12: { + if ((ruin16 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 16), 0, 0, 0); + } + } + case 11: { + if ((ruin16 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 16), 0, 0, 0); + } + } + case 10: { + if ((ruin16 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 16), 0, 0, 0); + } + } + case 9: { + if ((ruin16 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 16), 0, 0, 0); + } + } + case 8: { + if ((ruin16 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 16), 0, 0, 0); + } + } + case 7: { + if ((ruin16 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 16), 0, 0, 0); + } + } + case 6: { + if ((ruin16 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 16), 0, 0, 0); + } + } + case 5: { + if ((ruin16 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 16), 0, 0, 0); + } + } + case 4: { + if ((ruin16 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 16), 0, 0, 0); + } + } + case 3: { + if ((ruin16 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 16), 0, 0, 0); + } + } + case 2: { + if ((ruin16 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 16), 0, 0, 0); + } + } + case 1: { + if ((ruin16 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 16), 0, 0, 0); + } + } + case 0: { + if ((ruin16 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 16), 0, 0, 0); + } + } + } + }if (ruin17 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin17 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 17), 0, 0, 0); + } + } + case 59: { + if ((ruin17 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 17), 0, 0, 0); + } + } + case 58: { + if ((ruin17 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 17), 0, 0, 0); + } + } + case 57: { + if ((ruin17 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 17), 0, 0, 0); + } + } + case 56: { + if ((ruin17 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 17), 0, 0, 0); + } + } + case 55: { + if ((ruin17 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 17), 0, 0, 0); + } + } + case 54: { + if ((ruin17 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 17), 0, 0, 0); + } + } + case 53: { + if ((ruin17 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 17), 0, 0, 0); + } + } + case 52: { + if ((ruin17 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 17), 0, 0, 0); + } + } + case 51: { + if ((ruin17 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 17), 0, 0, 0); + } + } + case 50: { + if ((ruin17 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 17), 0, 0, 0); + } + } + case 49: { + if ((ruin17 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 17), 0, 0, 0); + } + } + case 48: { + if ((ruin17 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 17), 0, 0, 0); + } + } + case 47: { + if ((ruin17 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 17), 0, 0, 0); + } + } + case 46: { + if ((ruin17 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 17), 0, 0, 0); + } + } + case 45: { + if ((ruin17 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 17), 0, 0, 0); + } + } + case 44: { + if ((ruin17 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 17), 0, 0, 0); + } + } + case 43: { + if ((ruin17 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 17), 0, 0, 0); + } + } + case 42: { + if ((ruin17 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 17), 0, 0, 0); + } + } + case 41: { + if ((ruin17 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 17), 0, 0, 0); + } + } + case 40: { + if ((ruin17 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 17), 0, 0, 0); + } + } + case 39: { + if ((ruin17 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 17), 0, 0, 0); + } + } + case 38: { + if ((ruin17 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 17), 0, 0, 0); + } + } + case 37: { + if ((ruin17 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 17), 0, 0, 0); + } + } + case 36: { + if ((ruin17 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 17), 0, 0, 0); + } + } + case 35: { + if ((ruin17 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 17), 0, 0, 0); + } + } + case 34: { + if ((ruin17 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 17), 0, 0, 0); + } + } + case 33: { + if ((ruin17 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 17), 0, 0, 0); + } + } + case 32: { + if ((ruin17 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 17), 0, 0, 0); + } + } + case 31: { + if ((ruin17 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 17), 0, 0, 0); + } + } + case 30: { + if ((ruin17 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 17), 0, 0, 0); + } + } + case 29: { + if ((ruin17 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 17), 0, 0, 0); + } + } + case 28: { + if ((ruin17 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 17), 0, 0, 0); + } + } + case 27: { + if ((ruin17 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 17), 0, 0, 0); + } + } + case 26: { + if ((ruin17 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 17), 0, 0, 0); + } + } + case 25: { + if ((ruin17 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 17), 0, 0, 0); + } + } + case 24: { + if ((ruin17 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 17), 0, 0, 0); + } + } + case 23: { + if ((ruin17 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 17), 0, 0, 0); + } + } + case 22: { + if ((ruin17 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 17), 0, 0, 0); + } + } + case 21: { + if ((ruin17 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 17), 0, 0, 0); + } + } + case 20: { + if ((ruin17 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 17), 0, 0, 0); + } + } + case 19: { + if ((ruin17 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 17), 0, 0, 0); + } + } + case 18: { + if ((ruin17 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 17), 0, 0, 0); + } + } + case 17: { + if ((ruin17 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 17), 0, 0, 0); + } + } + case 16: { + if ((ruin17 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 17), 0, 0, 0); + } + } + case 15: { + if ((ruin17 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 17), 0, 0, 0); + } + } + case 14: { + if ((ruin17 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 17), 0, 0, 0); + } + } + case 13: { + if ((ruin17 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 17), 0, 0, 0); + } + } + case 12: { + if ((ruin17 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 17), 0, 0, 0); + } + } + case 11: { + if ((ruin17 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 17), 0, 0, 0); + } + } + case 10: { + if ((ruin17 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 17), 0, 0, 0); + } + } + case 9: { + if ((ruin17 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 17), 0, 0, 0); + } + } + case 8: { + if ((ruin17 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 17), 0, 0, 0); + } + } + case 7: { + if ((ruin17 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 17), 0, 0, 0); + } + } + case 6: { + if ((ruin17 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 17), 0, 0, 0); + } + } + case 5: { + if ((ruin17 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 17), 0, 0, 0); + } + } + case 4: { + if ((ruin17 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 17), 0, 0, 0); + } + } + case 3: { + if ((ruin17 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 17), 0, 0, 0); + } + } + case 2: { + if ((ruin17 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 17), 0, 0, 0); + } + } + case 1: { + if ((ruin17 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 17), 0, 0, 0); + } + } + case 0: { + if ((ruin17 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 17), 0, 0, 0); + } + } + } + }if (ruin18 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin18 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 18), 0, 0, 0); + } + } + case 59: { + if ((ruin18 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 18), 0, 0, 0); + } + } + case 58: { + if ((ruin18 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 18), 0, 0, 0); + } + } + case 57: { + if ((ruin18 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 18), 0, 0, 0); + } + } + case 56: { + if ((ruin18 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 18), 0, 0, 0); + } + } + case 55: { + if ((ruin18 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 18), 0, 0, 0); + } + } + case 54: { + if ((ruin18 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 18), 0, 0, 0); + } + } + case 53: { + if ((ruin18 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 18), 0, 0, 0); + } + } + case 52: { + if ((ruin18 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 18), 0, 0, 0); + } + } + case 51: { + if ((ruin18 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 18), 0, 0, 0); + } + } + case 50: { + if ((ruin18 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 18), 0, 0, 0); + } + } + case 49: { + if ((ruin18 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 18), 0, 0, 0); + } + } + case 48: { + if ((ruin18 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 18), 0, 0, 0); + } + } + case 47: { + if ((ruin18 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 18), 0, 0, 0); + } + } + case 46: { + if ((ruin18 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 18), 0, 0, 0); + } + } + case 45: { + if ((ruin18 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 18), 0, 0, 0); + } + } + case 44: { + if ((ruin18 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 18), 0, 0, 0); + } + } + case 43: { + if ((ruin18 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 18), 0, 0, 0); + } + } + case 42: { + if ((ruin18 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 18), 0, 0, 0); + } + } + case 41: { + if ((ruin18 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 18), 0, 0, 0); + } + } + case 40: { + if ((ruin18 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 18), 0, 0, 0); + } + } + case 39: { + if ((ruin18 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 18), 0, 0, 0); + } + } + case 38: { + if ((ruin18 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 18), 0, 0, 0); + } + } + case 37: { + if ((ruin18 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 18), 0, 0, 0); + } + } + case 36: { + if ((ruin18 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 18), 0, 0, 0); + } + } + case 35: { + if ((ruin18 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 18), 0, 0, 0); + } + } + case 34: { + if ((ruin18 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 18), 0, 0, 0); + } + } + case 33: { + if ((ruin18 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 18), 0, 0, 0); + } + } + case 32: { + if ((ruin18 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 18), 0, 0, 0); + } + } + case 31: { + if ((ruin18 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 18), 0, 0, 0); + } + } + case 30: { + if ((ruin18 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 18), 0, 0, 0); + } + } + case 29: { + if ((ruin18 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 18), 0, 0, 0); + } + } + case 28: { + if ((ruin18 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 18), 0, 0, 0); + } + } + case 27: { + if ((ruin18 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 18), 0, 0, 0); + } + } + case 26: { + if ((ruin18 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 18), 0, 0, 0); + } + } + case 25: { + if ((ruin18 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 18), 0, 0, 0); + } + } + case 24: { + if ((ruin18 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 18), 0, 0, 0); + } + } + case 23: { + if ((ruin18 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 18), 0, 0, 0); + } + } + case 22: { + if ((ruin18 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 18), 0, 0, 0); + } + } + case 21: { + if ((ruin18 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 18), 0, 0, 0); + } + } + case 20: { + if ((ruin18 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 18), 0, 0, 0); + } + } + case 19: { + if ((ruin18 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 18), 0, 0, 0); + } + } + case 18: { + if ((ruin18 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 18), 0, 0, 0); + } + } + case 17: { + if ((ruin18 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 18), 0, 0, 0); + } + } + case 16: { + if ((ruin18 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 18), 0, 0, 0); + } + } + case 15: { + if ((ruin18 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 18), 0, 0, 0); + } + } + case 14: { + if ((ruin18 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 18), 0, 0, 0); + } + } + case 13: { + if ((ruin18 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 18), 0, 0, 0); + } + } + case 12: { + if ((ruin18 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 18), 0, 0, 0); + } + } + case 11: { + if ((ruin18 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 18), 0, 0, 0); + } + } + case 10: { + if ((ruin18 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 18), 0, 0, 0); + } + } + case 9: { + if ((ruin18 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 18), 0, 0, 0); + } + } + case 8: { + if ((ruin18 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 18), 0, 0, 0); + } + } + case 7: { + if ((ruin18 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 18), 0, 0, 0); + } + } + case 6: { + if ((ruin18 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 18), 0, 0, 0); + } + } + case 5: { + if ((ruin18 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 18), 0, 0, 0); + } + } + case 4: { + if ((ruin18 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 18), 0, 0, 0); + } + } + case 3: { + if ((ruin18 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 18), 0, 0, 0); + } + } + case 2: { + if ((ruin18 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 18), 0, 0, 0); + } + } + case 1: { + if ((ruin18 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 18), 0, 0, 0); + } + } + case 0: { + if ((ruin18 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 18), 0, 0, 0); + } + } + } + }if (ruin19 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin19 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 19), 0, 0, 0); + } + } + case 59: { + if ((ruin19 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 19), 0, 0, 0); + } + } + case 58: { + if ((ruin19 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 19), 0, 0, 0); + } + } + case 57: { + if ((ruin19 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 19), 0, 0, 0); + } + } + case 56: { + if ((ruin19 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 19), 0, 0, 0); + } + } + case 55: { + if ((ruin19 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 19), 0, 0, 0); + } + } + case 54: { + if ((ruin19 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 19), 0, 0, 0); + } + } + case 53: { + if ((ruin19 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 19), 0, 0, 0); + } + } + case 52: { + if ((ruin19 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 19), 0, 0, 0); + } + } + case 51: { + if ((ruin19 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 19), 0, 0, 0); + } + } + case 50: { + if ((ruin19 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 19), 0, 0, 0); + } + } + case 49: { + if ((ruin19 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 19), 0, 0, 0); + } + } + case 48: { + if ((ruin19 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 19), 0, 0, 0); + } + } + case 47: { + if ((ruin19 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 19), 0, 0, 0); + } + } + case 46: { + if ((ruin19 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 19), 0, 0, 0); + } + } + case 45: { + if ((ruin19 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 19), 0, 0, 0); + } + } + case 44: { + if ((ruin19 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 19), 0, 0, 0); + } + } + case 43: { + if ((ruin19 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 19), 0, 0, 0); + } + } + case 42: { + if ((ruin19 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 19), 0, 0, 0); + } + } + case 41: { + if ((ruin19 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 19), 0, 0, 0); + } + } + case 40: { + if ((ruin19 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 19), 0, 0, 0); + } + } + case 39: { + if ((ruin19 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 19), 0, 0, 0); + } + } + case 38: { + if ((ruin19 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 19), 0, 0, 0); + } + } + case 37: { + if ((ruin19 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 19), 0, 0, 0); + } + } + case 36: { + if ((ruin19 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 19), 0, 0, 0); + } + } + case 35: { + if ((ruin19 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 19), 0, 0, 0); + } + } + case 34: { + if ((ruin19 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 19), 0, 0, 0); + } + } + case 33: { + if ((ruin19 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 19), 0, 0, 0); + } + } + case 32: { + if ((ruin19 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 19), 0, 0, 0); + } + } + case 31: { + if ((ruin19 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 19), 0, 0, 0); + } + } + case 30: { + if ((ruin19 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 19), 0, 0, 0); + } + } + case 29: { + if ((ruin19 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 19), 0, 0, 0); + } + } + case 28: { + if ((ruin19 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 19), 0, 0, 0); + } + } + case 27: { + if ((ruin19 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 19), 0, 0, 0); + } + } + case 26: { + if ((ruin19 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 19), 0, 0, 0); + } + } + case 25: { + if ((ruin19 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 19), 0, 0, 0); + } + } + case 24: { + if ((ruin19 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 19), 0, 0, 0); + } + } + case 23: { + if ((ruin19 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 19), 0, 0, 0); + } + } + case 22: { + if ((ruin19 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 19), 0, 0, 0); + } + } + case 21: { + if ((ruin19 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 19), 0, 0, 0); + } + } + case 20: { + if ((ruin19 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 19), 0, 0, 0); + } + } + case 19: { + if ((ruin19 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 19), 0, 0, 0); + } + } + case 18: { + if ((ruin19 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 19), 0, 0, 0); + } + } + case 17: { + if ((ruin19 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 19), 0, 0, 0); + } + } + case 16: { + if ((ruin19 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 19), 0, 0, 0); + } + } + case 15: { + if ((ruin19 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 19), 0, 0, 0); + } + } + case 14: { + if ((ruin19 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 19), 0, 0, 0); + } + } + case 13: { + if ((ruin19 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 19), 0, 0, 0); + } + } + case 12: { + if ((ruin19 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 19), 0, 0, 0); + } + } + case 11: { + if ((ruin19 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 19), 0, 0, 0); + } + } + case 10: { + if ((ruin19 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 19), 0, 0, 0); + } + } + case 9: { + if ((ruin19 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 19), 0, 0, 0); + } + } + case 8: { + if ((ruin19 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 19), 0, 0, 0); + } + } + case 7: { + if ((ruin19 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 19), 0, 0, 0); + } + } + case 6: { + if ((ruin19 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 19), 0, 0, 0); + } + } + case 5: { + if ((ruin19 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 19), 0, 0, 0); + } + } + case 4: { + if ((ruin19 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 19), 0, 0, 0); + } + } + case 3: { + if ((ruin19 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 19), 0, 0, 0); + } + } + case 2: { + if ((ruin19 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 19), 0, 0, 0); + } + } + case 1: { + if ((ruin19 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 19), 0, 0, 0); + } + } + case 0: { + if ((ruin19 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 19), 0, 0, 0); + } + } + } + } + } + + + + public static void display2() throws GameActionException { + + if (ruin20 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin20 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 20), 0, 0, 0); + } + } + case 59: { + if ((ruin20 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 20), 0, 0, 0); + } + } + case 58: { + if ((ruin20 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 20), 0, 0, 0); + } + } + case 57: { + if ((ruin20 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 20), 0, 0, 0); + } + } + case 56: { + if ((ruin20 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 20), 0, 0, 0); + } + } + case 55: { + if ((ruin20 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 20), 0, 0, 0); + } + } + case 54: { + if ((ruin20 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 20), 0, 0, 0); + } + } + case 53: { + if ((ruin20 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 20), 0, 0, 0); + } + } + case 52: { + if ((ruin20 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 20), 0, 0, 0); + } + } + case 51: { + if ((ruin20 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 20), 0, 0, 0); + } + } + case 50: { + if ((ruin20 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 20), 0, 0, 0); + } + } + case 49: { + if ((ruin20 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 20), 0, 0, 0); + } + } + case 48: { + if ((ruin20 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 20), 0, 0, 0); + } + } + case 47: { + if ((ruin20 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 20), 0, 0, 0); + } + } + case 46: { + if ((ruin20 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 20), 0, 0, 0); + } + } + case 45: { + if ((ruin20 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 20), 0, 0, 0); + } + } + case 44: { + if ((ruin20 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 20), 0, 0, 0); + } + } + case 43: { + if ((ruin20 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 20), 0, 0, 0); + } + } + case 42: { + if ((ruin20 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 20), 0, 0, 0); + } + } + case 41: { + if ((ruin20 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 20), 0, 0, 0); + } + } + case 40: { + if ((ruin20 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 20), 0, 0, 0); + } + } + case 39: { + if ((ruin20 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 20), 0, 0, 0); + } + } + case 38: { + if ((ruin20 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 20), 0, 0, 0); + } + } + case 37: { + if ((ruin20 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 20), 0, 0, 0); + } + } + case 36: { + if ((ruin20 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 20), 0, 0, 0); + } + } + case 35: { + if ((ruin20 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 20), 0, 0, 0); + } + } + case 34: { + if ((ruin20 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 20), 0, 0, 0); + } + } + case 33: { + if ((ruin20 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 20), 0, 0, 0); + } + } + case 32: { + if ((ruin20 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 20), 0, 0, 0); + } + } + case 31: { + if ((ruin20 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 20), 0, 0, 0); + } + } + case 30: { + if ((ruin20 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 20), 0, 0, 0); + } + } + case 29: { + if ((ruin20 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 20), 0, 0, 0); + } + } + case 28: { + if ((ruin20 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 20), 0, 0, 0); + } + } + case 27: { + if ((ruin20 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 20), 0, 0, 0); + } + } + case 26: { + if ((ruin20 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 20), 0, 0, 0); + } + } + case 25: { + if ((ruin20 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 20), 0, 0, 0); + } + } + case 24: { + if ((ruin20 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 20), 0, 0, 0); + } + } + case 23: { + if ((ruin20 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 20), 0, 0, 0); + } + } + case 22: { + if ((ruin20 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 20), 0, 0, 0); + } + } + case 21: { + if ((ruin20 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 20), 0, 0, 0); + } + } + case 20: { + if ((ruin20 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 20), 0, 0, 0); + } + } + case 19: { + if ((ruin20 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 20), 0, 0, 0); + } + } + case 18: { + if ((ruin20 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 20), 0, 0, 0); + } + } + case 17: { + if ((ruin20 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 20), 0, 0, 0); + } + } + case 16: { + if ((ruin20 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 20), 0, 0, 0); + } + } + case 15: { + if ((ruin20 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 20), 0, 0, 0); + } + } + case 14: { + if ((ruin20 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 20), 0, 0, 0); + } + } + case 13: { + if ((ruin20 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 20), 0, 0, 0); + } + } + case 12: { + if ((ruin20 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 20), 0, 0, 0); + } + } + case 11: { + if ((ruin20 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 20), 0, 0, 0); + } + } + case 10: { + if ((ruin20 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 20), 0, 0, 0); + } + } + case 9: { + if ((ruin20 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 20), 0, 0, 0); + } + } + case 8: { + if ((ruin20 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 20), 0, 0, 0); + } + } + case 7: { + if ((ruin20 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 20), 0, 0, 0); + } + } + case 6: { + if ((ruin20 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 20), 0, 0, 0); + } + } + case 5: { + if ((ruin20 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 20), 0, 0, 0); + } + } + case 4: { + if ((ruin20 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 20), 0, 0, 0); + } + } + case 3: { + if ((ruin20 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 20), 0, 0, 0); + } + } + case 2: { + if ((ruin20 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 20), 0, 0, 0); + } + } + case 1: { + if ((ruin20 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 20), 0, 0, 0); + } + } + case 0: { + if ((ruin20 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 20), 0, 0, 0); + } + } + } + }if (ruin21 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin21 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 21), 0, 0, 0); + } + } + case 59: { + if ((ruin21 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 21), 0, 0, 0); + } + } + case 58: { + if ((ruin21 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 21), 0, 0, 0); + } + } + case 57: { + if ((ruin21 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 21), 0, 0, 0); + } + } + case 56: { + if ((ruin21 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 21), 0, 0, 0); + } + } + case 55: { + if ((ruin21 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 21), 0, 0, 0); + } + } + case 54: { + if ((ruin21 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 21), 0, 0, 0); + } + } + case 53: { + if ((ruin21 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 21), 0, 0, 0); + } + } + case 52: { + if ((ruin21 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 21), 0, 0, 0); + } + } + case 51: { + if ((ruin21 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 21), 0, 0, 0); + } + } + case 50: { + if ((ruin21 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 21), 0, 0, 0); + } + } + case 49: { + if ((ruin21 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 21), 0, 0, 0); + } + } + case 48: { + if ((ruin21 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 21), 0, 0, 0); + } + } + case 47: { + if ((ruin21 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 21), 0, 0, 0); + } + } + case 46: { + if ((ruin21 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 21), 0, 0, 0); + } + } + case 45: { + if ((ruin21 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 21), 0, 0, 0); + } + } + case 44: { + if ((ruin21 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 21), 0, 0, 0); + } + } + case 43: { + if ((ruin21 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 21), 0, 0, 0); + } + } + case 42: { + if ((ruin21 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 21), 0, 0, 0); + } + } + case 41: { + if ((ruin21 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 21), 0, 0, 0); + } + } + case 40: { + if ((ruin21 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 21), 0, 0, 0); + } + } + case 39: { + if ((ruin21 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 21), 0, 0, 0); + } + } + case 38: { + if ((ruin21 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 21), 0, 0, 0); + } + } + case 37: { + if ((ruin21 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 21), 0, 0, 0); + } + } + case 36: { + if ((ruin21 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 21), 0, 0, 0); + } + } + case 35: { + if ((ruin21 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 21), 0, 0, 0); + } + } + case 34: { + if ((ruin21 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 21), 0, 0, 0); + } + } + case 33: { + if ((ruin21 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 21), 0, 0, 0); + } + } + case 32: { + if ((ruin21 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 21), 0, 0, 0); + } + } + case 31: { + if ((ruin21 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 21), 0, 0, 0); + } + } + case 30: { + if ((ruin21 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 21), 0, 0, 0); + } + } + case 29: { + if ((ruin21 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 21), 0, 0, 0); + } + } + case 28: { + if ((ruin21 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 21), 0, 0, 0); + } + } + case 27: { + if ((ruin21 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 21), 0, 0, 0); + } + } + case 26: { + if ((ruin21 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 21), 0, 0, 0); + } + } + case 25: { + if ((ruin21 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 21), 0, 0, 0); + } + } + case 24: { + if ((ruin21 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 21), 0, 0, 0); + } + } + case 23: { + if ((ruin21 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 21), 0, 0, 0); + } + } + case 22: { + if ((ruin21 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 21), 0, 0, 0); + } + } + case 21: { + if ((ruin21 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 21), 0, 0, 0); + } + } + case 20: { + if ((ruin21 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 21), 0, 0, 0); + } + } + case 19: { + if ((ruin21 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 21), 0, 0, 0); + } + } + case 18: { + if ((ruin21 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 21), 0, 0, 0); + } + } + case 17: { + if ((ruin21 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 21), 0, 0, 0); + } + } + case 16: { + if ((ruin21 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 21), 0, 0, 0); + } + } + case 15: { + if ((ruin21 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 21), 0, 0, 0); + } + } + case 14: { + if ((ruin21 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 21), 0, 0, 0); + } + } + case 13: { + if ((ruin21 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 21), 0, 0, 0); + } + } + case 12: { + if ((ruin21 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 21), 0, 0, 0); + } + } + case 11: { + if ((ruin21 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 21), 0, 0, 0); + } + } + case 10: { + if ((ruin21 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 21), 0, 0, 0); + } + } + case 9: { + if ((ruin21 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 21), 0, 0, 0); + } + } + case 8: { + if ((ruin21 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 21), 0, 0, 0); + } + } + case 7: { + if ((ruin21 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 21), 0, 0, 0); + } + } + case 6: { + if ((ruin21 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 21), 0, 0, 0); + } + } + case 5: { + if ((ruin21 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 21), 0, 0, 0); + } + } + case 4: { + if ((ruin21 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 21), 0, 0, 0); + } + } + case 3: { + if ((ruin21 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 21), 0, 0, 0); + } + } + case 2: { + if ((ruin21 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 21), 0, 0, 0); + } + } + case 1: { + if ((ruin21 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 21), 0, 0, 0); + } + } + case 0: { + if ((ruin21 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 21), 0, 0, 0); + } + } + } + }if (ruin22 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin22 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 22), 0, 0, 0); + } + } + case 59: { + if ((ruin22 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 22), 0, 0, 0); + } + } + case 58: { + if ((ruin22 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 22), 0, 0, 0); + } + } + case 57: { + if ((ruin22 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 22), 0, 0, 0); + } + } + case 56: { + if ((ruin22 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 22), 0, 0, 0); + } + } + case 55: { + if ((ruin22 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 22), 0, 0, 0); + } + } + case 54: { + if ((ruin22 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 22), 0, 0, 0); + } + } + case 53: { + if ((ruin22 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 22), 0, 0, 0); + } + } + case 52: { + if ((ruin22 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 22), 0, 0, 0); + } + } + case 51: { + if ((ruin22 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 22), 0, 0, 0); + } + } + case 50: { + if ((ruin22 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 22), 0, 0, 0); + } + } + case 49: { + if ((ruin22 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 22), 0, 0, 0); + } + } + case 48: { + if ((ruin22 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 22), 0, 0, 0); + } + } + case 47: { + if ((ruin22 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 22), 0, 0, 0); + } + } + case 46: { + if ((ruin22 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 22), 0, 0, 0); + } + } + case 45: { + if ((ruin22 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 22), 0, 0, 0); + } + } + case 44: { + if ((ruin22 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 22), 0, 0, 0); + } + } + case 43: { + if ((ruin22 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 22), 0, 0, 0); + } + } + case 42: { + if ((ruin22 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 22), 0, 0, 0); + } + } + case 41: { + if ((ruin22 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 22), 0, 0, 0); + } + } + case 40: { + if ((ruin22 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 22), 0, 0, 0); + } + } + case 39: { + if ((ruin22 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 22), 0, 0, 0); + } + } + case 38: { + if ((ruin22 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 22), 0, 0, 0); + } + } + case 37: { + if ((ruin22 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 22), 0, 0, 0); + } + } + case 36: { + if ((ruin22 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 22), 0, 0, 0); + } + } + case 35: { + if ((ruin22 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 22), 0, 0, 0); + } + } + case 34: { + if ((ruin22 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 22), 0, 0, 0); + } + } + case 33: { + if ((ruin22 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 22), 0, 0, 0); + } + } + case 32: { + if ((ruin22 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 22), 0, 0, 0); + } + } + case 31: { + if ((ruin22 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 22), 0, 0, 0); + } + } + case 30: { + if ((ruin22 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 22), 0, 0, 0); + } + } + case 29: { + if ((ruin22 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 22), 0, 0, 0); + } + } + case 28: { + if ((ruin22 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 22), 0, 0, 0); + } + } + case 27: { + if ((ruin22 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 22), 0, 0, 0); + } + } + case 26: { + if ((ruin22 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 22), 0, 0, 0); + } + } + case 25: { + if ((ruin22 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 22), 0, 0, 0); + } + } + case 24: { + if ((ruin22 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 22), 0, 0, 0); + } + } + case 23: { + if ((ruin22 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 22), 0, 0, 0); + } + } + case 22: { + if ((ruin22 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 22), 0, 0, 0); + } + } + case 21: { + if ((ruin22 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 22), 0, 0, 0); + } + } + case 20: { + if ((ruin22 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 22), 0, 0, 0); + } + } + case 19: { + if ((ruin22 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 22), 0, 0, 0); + } + } + case 18: { + if ((ruin22 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 22), 0, 0, 0); + } + } + case 17: { + if ((ruin22 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 22), 0, 0, 0); + } + } + case 16: { + if ((ruin22 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 22), 0, 0, 0); + } + } + case 15: { + if ((ruin22 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 22), 0, 0, 0); + } + } + case 14: { + if ((ruin22 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 22), 0, 0, 0); + } + } + case 13: { + if ((ruin22 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 22), 0, 0, 0); + } + } + case 12: { + if ((ruin22 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 22), 0, 0, 0); + } + } + case 11: { + if ((ruin22 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 22), 0, 0, 0); + } + } + case 10: { + if ((ruin22 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 22), 0, 0, 0); + } + } + case 9: { + if ((ruin22 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 22), 0, 0, 0); + } + } + case 8: { + if ((ruin22 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 22), 0, 0, 0); + } + } + case 7: { + if ((ruin22 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 22), 0, 0, 0); + } + } + case 6: { + if ((ruin22 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 22), 0, 0, 0); + } + } + case 5: { + if ((ruin22 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 22), 0, 0, 0); + } + } + case 4: { + if ((ruin22 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 22), 0, 0, 0); + } + } + case 3: { + if ((ruin22 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 22), 0, 0, 0); + } + } + case 2: { + if ((ruin22 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 22), 0, 0, 0); + } + } + case 1: { + if ((ruin22 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 22), 0, 0, 0); + } + } + case 0: { + if ((ruin22 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 22), 0, 0, 0); + } + } + } + }if (ruin23 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin23 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 23), 0, 0, 0); + } + } + case 59: { + if ((ruin23 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 23), 0, 0, 0); + } + } + case 58: { + if ((ruin23 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 23), 0, 0, 0); + } + } + case 57: { + if ((ruin23 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 23), 0, 0, 0); + } + } + case 56: { + if ((ruin23 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 23), 0, 0, 0); + } + } + case 55: { + if ((ruin23 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 23), 0, 0, 0); + } + } + case 54: { + if ((ruin23 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 23), 0, 0, 0); + } + } + case 53: { + if ((ruin23 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 23), 0, 0, 0); + } + } + case 52: { + if ((ruin23 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 23), 0, 0, 0); + } + } + case 51: { + if ((ruin23 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 23), 0, 0, 0); + } + } + case 50: { + if ((ruin23 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 23), 0, 0, 0); + } + } + case 49: { + if ((ruin23 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 23), 0, 0, 0); + } + } + case 48: { + if ((ruin23 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 23), 0, 0, 0); + } + } + case 47: { + if ((ruin23 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 23), 0, 0, 0); + } + } + case 46: { + if ((ruin23 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 23), 0, 0, 0); + } + } + case 45: { + if ((ruin23 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 23), 0, 0, 0); + } + } + case 44: { + if ((ruin23 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 23), 0, 0, 0); + } + } + case 43: { + if ((ruin23 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 23), 0, 0, 0); + } + } + case 42: { + if ((ruin23 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 23), 0, 0, 0); + } + } + case 41: { + if ((ruin23 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 23), 0, 0, 0); + } + } + case 40: { + if ((ruin23 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 23), 0, 0, 0); + } + } + case 39: { + if ((ruin23 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 23), 0, 0, 0); + } + } + case 38: { + if ((ruin23 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 23), 0, 0, 0); + } + } + case 37: { + if ((ruin23 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 23), 0, 0, 0); + } + } + case 36: { + if ((ruin23 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 23), 0, 0, 0); + } + } + case 35: { + if ((ruin23 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 23), 0, 0, 0); + } + } + case 34: { + if ((ruin23 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 23), 0, 0, 0); + } + } + case 33: { + if ((ruin23 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 23), 0, 0, 0); + } + } + case 32: { + if ((ruin23 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 23), 0, 0, 0); + } + } + case 31: { + if ((ruin23 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 23), 0, 0, 0); + } + } + case 30: { + if ((ruin23 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 23), 0, 0, 0); + } + } + case 29: { + if ((ruin23 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 23), 0, 0, 0); + } + } + case 28: { + if ((ruin23 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 23), 0, 0, 0); + } + } + case 27: { + if ((ruin23 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 23), 0, 0, 0); + } + } + case 26: { + if ((ruin23 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 23), 0, 0, 0); + } + } + case 25: { + if ((ruin23 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 23), 0, 0, 0); + } + } + case 24: { + if ((ruin23 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 23), 0, 0, 0); + } + } + case 23: { + if ((ruin23 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 23), 0, 0, 0); + } + } + case 22: { + if ((ruin23 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 23), 0, 0, 0); + } + } + case 21: { + if ((ruin23 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 23), 0, 0, 0); + } + } + case 20: { + if ((ruin23 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 23), 0, 0, 0); + } + } + case 19: { + if ((ruin23 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 23), 0, 0, 0); + } + } + case 18: { + if ((ruin23 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 23), 0, 0, 0); + } + } + case 17: { + if ((ruin23 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 23), 0, 0, 0); + } + } + case 16: { + if ((ruin23 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 23), 0, 0, 0); + } + } + case 15: { + if ((ruin23 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 23), 0, 0, 0); + } + } + case 14: { + if ((ruin23 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 23), 0, 0, 0); + } + } + case 13: { + if ((ruin23 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 23), 0, 0, 0); + } + } + case 12: { + if ((ruin23 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 23), 0, 0, 0); + } + } + case 11: { + if ((ruin23 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 23), 0, 0, 0); + } + } + case 10: { + if ((ruin23 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 23), 0, 0, 0); + } + } + case 9: { + if ((ruin23 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 23), 0, 0, 0); + } + } + case 8: { + if ((ruin23 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 23), 0, 0, 0); + } + } + case 7: { + if ((ruin23 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 23), 0, 0, 0); + } + } + case 6: { + if ((ruin23 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 23), 0, 0, 0); + } + } + case 5: { + if ((ruin23 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 23), 0, 0, 0); + } + } + case 4: { + if ((ruin23 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 23), 0, 0, 0); + } + } + case 3: { + if ((ruin23 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 23), 0, 0, 0); + } + } + case 2: { + if ((ruin23 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 23), 0, 0, 0); + } + } + case 1: { + if ((ruin23 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 23), 0, 0, 0); + } + } + case 0: { + if ((ruin23 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 23), 0, 0, 0); + } + } + } + }if (ruin24 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin24 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 24), 0, 0, 0); + } + } + case 59: { + if ((ruin24 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 24), 0, 0, 0); + } + } + case 58: { + if ((ruin24 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 24), 0, 0, 0); + } + } + case 57: { + if ((ruin24 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 24), 0, 0, 0); + } + } + case 56: { + if ((ruin24 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 24), 0, 0, 0); + } + } + case 55: { + if ((ruin24 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 24), 0, 0, 0); + } + } + case 54: { + if ((ruin24 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 24), 0, 0, 0); + } + } + case 53: { + if ((ruin24 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 24), 0, 0, 0); + } + } + case 52: { + if ((ruin24 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 24), 0, 0, 0); + } + } + case 51: { + if ((ruin24 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 24), 0, 0, 0); + } + } + case 50: { + if ((ruin24 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 24), 0, 0, 0); + } + } + case 49: { + if ((ruin24 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 24), 0, 0, 0); + } + } + case 48: { + if ((ruin24 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 24), 0, 0, 0); + } + } + case 47: { + if ((ruin24 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 24), 0, 0, 0); + } + } + case 46: { + if ((ruin24 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 24), 0, 0, 0); + } + } + case 45: { + if ((ruin24 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 24), 0, 0, 0); + } + } + case 44: { + if ((ruin24 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 24), 0, 0, 0); + } + } + case 43: { + if ((ruin24 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 24), 0, 0, 0); + } + } + case 42: { + if ((ruin24 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 24), 0, 0, 0); + } + } + case 41: { + if ((ruin24 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 24), 0, 0, 0); + } + } + case 40: { + if ((ruin24 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 24), 0, 0, 0); + } + } + case 39: { + if ((ruin24 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 24), 0, 0, 0); + } + } + case 38: { + if ((ruin24 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 24), 0, 0, 0); + } + } + case 37: { + if ((ruin24 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 24), 0, 0, 0); + } + } + case 36: { + if ((ruin24 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 24), 0, 0, 0); + } + } + case 35: { + if ((ruin24 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 24), 0, 0, 0); + } + } + case 34: { + if ((ruin24 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 24), 0, 0, 0); + } + } + case 33: { + if ((ruin24 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 24), 0, 0, 0); + } + } + case 32: { + if ((ruin24 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 24), 0, 0, 0); + } + } + case 31: { + if ((ruin24 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 24), 0, 0, 0); + } + } + case 30: { + if ((ruin24 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 24), 0, 0, 0); + } + } + case 29: { + if ((ruin24 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 24), 0, 0, 0); + } + } + case 28: { + if ((ruin24 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 24), 0, 0, 0); + } + } + case 27: { + if ((ruin24 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 24), 0, 0, 0); + } + } + case 26: { + if ((ruin24 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 24), 0, 0, 0); + } + } + case 25: { + if ((ruin24 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 24), 0, 0, 0); + } + } + case 24: { + if ((ruin24 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 24), 0, 0, 0); + } + } + case 23: { + if ((ruin24 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 24), 0, 0, 0); + } + } + case 22: { + if ((ruin24 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 24), 0, 0, 0); + } + } + case 21: { + if ((ruin24 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 24), 0, 0, 0); + } + } + case 20: { + if ((ruin24 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 24), 0, 0, 0); + } + } + case 19: { + if ((ruin24 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 24), 0, 0, 0); + } + } + case 18: { + if ((ruin24 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 24), 0, 0, 0); + } + } + case 17: { + if ((ruin24 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 24), 0, 0, 0); + } + } + case 16: { + if ((ruin24 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 24), 0, 0, 0); + } + } + case 15: { + if ((ruin24 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 24), 0, 0, 0); + } + } + case 14: { + if ((ruin24 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 24), 0, 0, 0); + } + } + case 13: { + if ((ruin24 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 24), 0, 0, 0); + } + } + case 12: { + if ((ruin24 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 24), 0, 0, 0); + } + } + case 11: { + if ((ruin24 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 24), 0, 0, 0); + } + } + case 10: { + if ((ruin24 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 24), 0, 0, 0); + } + } + case 9: { + if ((ruin24 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 24), 0, 0, 0); + } + } + case 8: { + if ((ruin24 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 24), 0, 0, 0); + } + } + case 7: { + if ((ruin24 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 24), 0, 0, 0); + } + } + case 6: { + if ((ruin24 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 24), 0, 0, 0); + } + } + case 5: { + if ((ruin24 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 24), 0, 0, 0); + } + } + case 4: { + if ((ruin24 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 24), 0, 0, 0); + } + } + case 3: { + if ((ruin24 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 24), 0, 0, 0); + } + } + case 2: { + if ((ruin24 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 24), 0, 0, 0); + } + } + case 1: { + if ((ruin24 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 24), 0, 0, 0); + } + } + case 0: { + if ((ruin24 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 24), 0, 0, 0); + } + } + } + }if (ruin25 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin25 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 25), 0, 0, 0); + } + } + case 59: { + if ((ruin25 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 25), 0, 0, 0); + } + } + case 58: { + if ((ruin25 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 25), 0, 0, 0); + } + } + case 57: { + if ((ruin25 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 25), 0, 0, 0); + } + } + case 56: { + if ((ruin25 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 25), 0, 0, 0); + } + } + case 55: { + if ((ruin25 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 25), 0, 0, 0); + } + } + case 54: { + if ((ruin25 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 25), 0, 0, 0); + } + } + case 53: { + if ((ruin25 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 25), 0, 0, 0); + } + } + case 52: { + if ((ruin25 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 25), 0, 0, 0); + } + } + case 51: { + if ((ruin25 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 25), 0, 0, 0); + } + } + case 50: { + if ((ruin25 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 25), 0, 0, 0); + } + } + case 49: { + if ((ruin25 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 25), 0, 0, 0); + } + } + case 48: { + if ((ruin25 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 25), 0, 0, 0); + } + } + case 47: { + if ((ruin25 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 25), 0, 0, 0); + } + } + case 46: { + if ((ruin25 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 25), 0, 0, 0); + } + } + case 45: { + if ((ruin25 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 25), 0, 0, 0); + } + } + case 44: { + if ((ruin25 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 25), 0, 0, 0); + } + } + case 43: { + if ((ruin25 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 25), 0, 0, 0); + } + } + case 42: { + if ((ruin25 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 25), 0, 0, 0); + } + } + case 41: { + if ((ruin25 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 25), 0, 0, 0); + } + } + case 40: { + if ((ruin25 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 25), 0, 0, 0); + } + } + case 39: { + if ((ruin25 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 25), 0, 0, 0); + } + } + case 38: { + if ((ruin25 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 25), 0, 0, 0); + } + } + case 37: { + if ((ruin25 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 25), 0, 0, 0); + } + } + case 36: { + if ((ruin25 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 25), 0, 0, 0); + } + } + case 35: { + if ((ruin25 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 25), 0, 0, 0); + } + } + case 34: { + if ((ruin25 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 25), 0, 0, 0); + } + } + case 33: { + if ((ruin25 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 25), 0, 0, 0); + } + } + case 32: { + if ((ruin25 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 25), 0, 0, 0); + } + } + case 31: { + if ((ruin25 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 25), 0, 0, 0); + } + } + case 30: { + if ((ruin25 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 25), 0, 0, 0); + } + } + case 29: { + if ((ruin25 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 25), 0, 0, 0); + } + } + case 28: { + if ((ruin25 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 25), 0, 0, 0); + } + } + case 27: { + if ((ruin25 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 25), 0, 0, 0); + } + } + case 26: { + if ((ruin25 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 25), 0, 0, 0); + } + } + case 25: { + if ((ruin25 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 25), 0, 0, 0); + } + } + case 24: { + if ((ruin25 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 25), 0, 0, 0); + } + } + case 23: { + if ((ruin25 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 25), 0, 0, 0); + } + } + case 22: { + if ((ruin25 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 25), 0, 0, 0); + } + } + case 21: { + if ((ruin25 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 25), 0, 0, 0); + } + } + case 20: { + if ((ruin25 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 25), 0, 0, 0); + } + } + case 19: { + if ((ruin25 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 25), 0, 0, 0); + } + } + case 18: { + if ((ruin25 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 25), 0, 0, 0); + } + } + case 17: { + if ((ruin25 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 25), 0, 0, 0); + } + } + case 16: { + if ((ruin25 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 25), 0, 0, 0); + } + } + case 15: { + if ((ruin25 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 25), 0, 0, 0); + } + } + case 14: { + if ((ruin25 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 25), 0, 0, 0); + } + } + case 13: { + if ((ruin25 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 25), 0, 0, 0); + } + } + case 12: { + if ((ruin25 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 25), 0, 0, 0); + } + } + case 11: { + if ((ruin25 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 25), 0, 0, 0); + } + } + case 10: { + if ((ruin25 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 25), 0, 0, 0); + } + } + case 9: { + if ((ruin25 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 25), 0, 0, 0); + } + } + case 8: { + if ((ruin25 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 25), 0, 0, 0); + } + } + case 7: { + if ((ruin25 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 25), 0, 0, 0); + } + } + case 6: { + if ((ruin25 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 25), 0, 0, 0); + } + } + case 5: { + if ((ruin25 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 25), 0, 0, 0); + } + } + case 4: { + if ((ruin25 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 25), 0, 0, 0); + } + } + case 3: { + if ((ruin25 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 25), 0, 0, 0); + } + } + case 2: { + if ((ruin25 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 25), 0, 0, 0); + } + } + case 1: { + if ((ruin25 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 25), 0, 0, 0); + } + } + case 0: { + if ((ruin25 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 25), 0, 0, 0); + } + } + } + }if (ruin26 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin26 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 26), 0, 0, 0); + } + } + case 59: { + if ((ruin26 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 26), 0, 0, 0); + } + } + case 58: { + if ((ruin26 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 26), 0, 0, 0); + } + } + case 57: { + if ((ruin26 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 26), 0, 0, 0); + } + } + case 56: { + if ((ruin26 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 26), 0, 0, 0); + } + } + case 55: { + if ((ruin26 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 26), 0, 0, 0); + } + } + case 54: { + if ((ruin26 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 26), 0, 0, 0); + } + } + case 53: { + if ((ruin26 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 26), 0, 0, 0); + } + } + case 52: { + if ((ruin26 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 26), 0, 0, 0); + } + } + case 51: { + if ((ruin26 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 26), 0, 0, 0); + } + } + case 50: { + if ((ruin26 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 26), 0, 0, 0); + } + } + case 49: { + if ((ruin26 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 26), 0, 0, 0); + } + } + case 48: { + if ((ruin26 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 26), 0, 0, 0); + } + } + case 47: { + if ((ruin26 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 26), 0, 0, 0); + } + } + case 46: { + if ((ruin26 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 26), 0, 0, 0); + } + } + case 45: { + if ((ruin26 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 26), 0, 0, 0); + } + } + case 44: { + if ((ruin26 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 26), 0, 0, 0); + } + } + case 43: { + if ((ruin26 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 26), 0, 0, 0); + } + } + case 42: { + if ((ruin26 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 26), 0, 0, 0); + } + } + case 41: { + if ((ruin26 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 26), 0, 0, 0); + } + } + case 40: { + if ((ruin26 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 26), 0, 0, 0); + } + } + case 39: { + if ((ruin26 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 26), 0, 0, 0); + } + } + case 38: { + if ((ruin26 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 26), 0, 0, 0); + } + } + case 37: { + if ((ruin26 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 26), 0, 0, 0); + } + } + case 36: { + if ((ruin26 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 26), 0, 0, 0); + } + } + case 35: { + if ((ruin26 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 26), 0, 0, 0); + } + } + case 34: { + if ((ruin26 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 26), 0, 0, 0); + } + } + case 33: { + if ((ruin26 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 26), 0, 0, 0); + } + } + case 32: { + if ((ruin26 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 26), 0, 0, 0); + } + } + case 31: { + if ((ruin26 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 26), 0, 0, 0); + } + } + case 30: { + if ((ruin26 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 26), 0, 0, 0); + } + } + case 29: { + if ((ruin26 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 26), 0, 0, 0); + } + } + case 28: { + if ((ruin26 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 26), 0, 0, 0); + } + } + case 27: { + if ((ruin26 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 26), 0, 0, 0); + } + } + case 26: { + if ((ruin26 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 26), 0, 0, 0); + } + } + case 25: { + if ((ruin26 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 26), 0, 0, 0); + } + } + case 24: { + if ((ruin26 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 26), 0, 0, 0); + } + } + case 23: { + if ((ruin26 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 26), 0, 0, 0); + } + } + case 22: { + if ((ruin26 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 26), 0, 0, 0); + } + } + case 21: { + if ((ruin26 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 26), 0, 0, 0); + } + } + case 20: { + if ((ruin26 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 26), 0, 0, 0); + } + } + case 19: { + if ((ruin26 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 26), 0, 0, 0); + } + } + case 18: { + if ((ruin26 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 26), 0, 0, 0); + } + } + case 17: { + if ((ruin26 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 26), 0, 0, 0); + } + } + case 16: { + if ((ruin26 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 26), 0, 0, 0); + } + } + case 15: { + if ((ruin26 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 26), 0, 0, 0); + } + } + case 14: { + if ((ruin26 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 26), 0, 0, 0); + } + } + case 13: { + if ((ruin26 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 26), 0, 0, 0); + } + } + case 12: { + if ((ruin26 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 26), 0, 0, 0); + } + } + case 11: { + if ((ruin26 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 26), 0, 0, 0); + } + } + case 10: { + if ((ruin26 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 26), 0, 0, 0); + } + } + case 9: { + if ((ruin26 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 26), 0, 0, 0); + } + } + case 8: { + if ((ruin26 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 26), 0, 0, 0); + } + } + case 7: { + if ((ruin26 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 26), 0, 0, 0); + } + } + case 6: { + if ((ruin26 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 26), 0, 0, 0); + } + } + case 5: { + if ((ruin26 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 26), 0, 0, 0); + } + } + case 4: { + if ((ruin26 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 26), 0, 0, 0); + } + } + case 3: { + if ((ruin26 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 26), 0, 0, 0); + } + } + case 2: { + if ((ruin26 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 26), 0, 0, 0); + } + } + case 1: { + if ((ruin26 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 26), 0, 0, 0); + } + } + case 0: { + if ((ruin26 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 26), 0, 0, 0); + } + } + } + }if (ruin27 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin27 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 27), 0, 0, 0); + } + } + case 59: { + if ((ruin27 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 27), 0, 0, 0); + } + } + case 58: { + if ((ruin27 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 27), 0, 0, 0); + } + } + case 57: { + if ((ruin27 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 27), 0, 0, 0); + } + } + case 56: { + if ((ruin27 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 27), 0, 0, 0); + } + } + case 55: { + if ((ruin27 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 27), 0, 0, 0); + } + } + case 54: { + if ((ruin27 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 27), 0, 0, 0); + } + } + case 53: { + if ((ruin27 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 27), 0, 0, 0); + } + } + case 52: { + if ((ruin27 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 27), 0, 0, 0); + } + } + case 51: { + if ((ruin27 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 27), 0, 0, 0); + } + } + case 50: { + if ((ruin27 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 27), 0, 0, 0); + } + } + case 49: { + if ((ruin27 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 27), 0, 0, 0); + } + } + case 48: { + if ((ruin27 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 27), 0, 0, 0); + } + } + case 47: { + if ((ruin27 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 27), 0, 0, 0); + } + } + case 46: { + if ((ruin27 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 27), 0, 0, 0); + } + } + case 45: { + if ((ruin27 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 27), 0, 0, 0); + } + } + case 44: { + if ((ruin27 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 27), 0, 0, 0); + } + } + case 43: { + if ((ruin27 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 27), 0, 0, 0); + } + } + case 42: { + if ((ruin27 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 27), 0, 0, 0); + } + } + case 41: { + if ((ruin27 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 27), 0, 0, 0); + } + } + case 40: { + if ((ruin27 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 27), 0, 0, 0); + } + } + case 39: { + if ((ruin27 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 27), 0, 0, 0); + } + } + case 38: { + if ((ruin27 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 27), 0, 0, 0); + } + } + case 37: { + if ((ruin27 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 27), 0, 0, 0); + } + } + case 36: { + if ((ruin27 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 27), 0, 0, 0); + } + } + case 35: { + if ((ruin27 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 27), 0, 0, 0); + } + } + case 34: { + if ((ruin27 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 27), 0, 0, 0); + } + } + case 33: { + if ((ruin27 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 27), 0, 0, 0); + } + } + case 32: { + if ((ruin27 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 27), 0, 0, 0); + } + } + case 31: { + if ((ruin27 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 27), 0, 0, 0); + } + } + case 30: { + if ((ruin27 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 27), 0, 0, 0); + } + } + case 29: { + if ((ruin27 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 27), 0, 0, 0); + } + } + case 28: { + if ((ruin27 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 27), 0, 0, 0); + } + } + case 27: { + if ((ruin27 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 27), 0, 0, 0); + } + } + case 26: { + if ((ruin27 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 27), 0, 0, 0); + } + } + case 25: { + if ((ruin27 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 27), 0, 0, 0); + } + } + case 24: { + if ((ruin27 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 27), 0, 0, 0); + } + } + case 23: { + if ((ruin27 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 27), 0, 0, 0); + } + } + case 22: { + if ((ruin27 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 27), 0, 0, 0); + } + } + case 21: { + if ((ruin27 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 27), 0, 0, 0); + } + } + case 20: { + if ((ruin27 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 27), 0, 0, 0); + } + } + case 19: { + if ((ruin27 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 27), 0, 0, 0); + } + } + case 18: { + if ((ruin27 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 27), 0, 0, 0); + } + } + case 17: { + if ((ruin27 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 27), 0, 0, 0); + } + } + case 16: { + if ((ruin27 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 27), 0, 0, 0); + } + } + case 15: { + if ((ruin27 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 27), 0, 0, 0); + } + } + case 14: { + if ((ruin27 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 27), 0, 0, 0); + } + } + case 13: { + if ((ruin27 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 27), 0, 0, 0); + } + } + case 12: { + if ((ruin27 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 27), 0, 0, 0); + } + } + case 11: { + if ((ruin27 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 27), 0, 0, 0); + } + } + case 10: { + if ((ruin27 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 27), 0, 0, 0); + } + } + case 9: { + if ((ruin27 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 27), 0, 0, 0); + } + } + case 8: { + if ((ruin27 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 27), 0, 0, 0); + } + } + case 7: { + if ((ruin27 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 27), 0, 0, 0); + } + } + case 6: { + if ((ruin27 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 27), 0, 0, 0); + } + } + case 5: { + if ((ruin27 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 27), 0, 0, 0); + } + } + case 4: { + if ((ruin27 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 27), 0, 0, 0); + } + } + case 3: { + if ((ruin27 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 27), 0, 0, 0); + } + } + case 2: { + if ((ruin27 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 27), 0, 0, 0); + } + } + case 1: { + if ((ruin27 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 27), 0, 0, 0); + } + } + case 0: { + if ((ruin27 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 27), 0, 0, 0); + } + } + } + }if (ruin28 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin28 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 28), 0, 0, 0); + } + } + case 59: { + if ((ruin28 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 28), 0, 0, 0); + } + } + case 58: { + if ((ruin28 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 28), 0, 0, 0); + } + } + case 57: { + if ((ruin28 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 28), 0, 0, 0); + } + } + case 56: { + if ((ruin28 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 28), 0, 0, 0); + } + } + case 55: { + if ((ruin28 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 28), 0, 0, 0); + } + } + case 54: { + if ((ruin28 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 28), 0, 0, 0); + } + } + case 53: { + if ((ruin28 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 28), 0, 0, 0); + } + } + case 52: { + if ((ruin28 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 28), 0, 0, 0); + } + } + case 51: { + if ((ruin28 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 28), 0, 0, 0); + } + } + case 50: { + if ((ruin28 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 28), 0, 0, 0); + } + } + case 49: { + if ((ruin28 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 28), 0, 0, 0); + } + } + case 48: { + if ((ruin28 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 28), 0, 0, 0); + } + } + case 47: { + if ((ruin28 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 28), 0, 0, 0); + } + } + case 46: { + if ((ruin28 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 28), 0, 0, 0); + } + } + case 45: { + if ((ruin28 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 28), 0, 0, 0); + } + } + case 44: { + if ((ruin28 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 28), 0, 0, 0); + } + } + case 43: { + if ((ruin28 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 28), 0, 0, 0); + } + } + case 42: { + if ((ruin28 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 28), 0, 0, 0); + } + } + case 41: { + if ((ruin28 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 28), 0, 0, 0); + } + } + case 40: { + if ((ruin28 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 28), 0, 0, 0); + } + } + case 39: { + if ((ruin28 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 28), 0, 0, 0); + } + } + case 38: { + if ((ruin28 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 28), 0, 0, 0); + } + } + case 37: { + if ((ruin28 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 28), 0, 0, 0); + } + } + case 36: { + if ((ruin28 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 28), 0, 0, 0); + } + } + case 35: { + if ((ruin28 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 28), 0, 0, 0); + } + } + case 34: { + if ((ruin28 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 28), 0, 0, 0); + } + } + case 33: { + if ((ruin28 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 28), 0, 0, 0); + } + } + case 32: { + if ((ruin28 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 28), 0, 0, 0); + } + } + case 31: { + if ((ruin28 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 28), 0, 0, 0); + } + } + case 30: { + if ((ruin28 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 28), 0, 0, 0); + } + } + case 29: { + if ((ruin28 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 28), 0, 0, 0); + } + } + case 28: { + if ((ruin28 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 28), 0, 0, 0); + } + } + case 27: { + if ((ruin28 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 28), 0, 0, 0); + } + } + case 26: { + if ((ruin28 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 28), 0, 0, 0); + } + } + case 25: { + if ((ruin28 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 28), 0, 0, 0); + } + } + case 24: { + if ((ruin28 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 28), 0, 0, 0); + } + } + case 23: { + if ((ruin28 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 28), 0, 0, 0); + } + } + case 22: { + if ((ruin28 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 28), 0, 0, 0); + } + } + case 21: { + if ((ruin28 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 28), 0, 0, 0); + } + } + case 20: { + if ((ruin28 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 28), 0, 0, 0); + } + } + case 19: { + if ((ruin28 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 28), 0, 0, 0); + } + } + case 18: { + if ((ruin28 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 28), 0, 0, 0); + } + } + case 17: { + if ((ruin28 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 28), 0, 0, 0); + } + } + case 16: { + if ((ruin28 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 28), 0, 0, 0); + } + } + case 15: { + if ((ruin28 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 28), 0, 0, 0); + } + } + case 14: { + if ((ruin28 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 28), 0, 0, 0); + } + } + case 13: { + if ((ruin28 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 28), 0, 0, 0); + } + } + case 12: { + if ((ruin28 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 28), 0, 0, 0); + } + } + case 11: { + if ((ruin28 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 28), 0, 0, 0); + } + } + case 10: { + if ((ruin28 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 28), 0, 0, 0); + } + } + case 9: { + if ((ruin28 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 28), 0, 0, 0); + } + } + case 8: { + if ((ruin28 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 28), 0, 0, 0); + } + } + case 7: { + if ((ruin28 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 28), 0, 0, 0); + } + } + case 6: { + if ((ruin28 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 28), 0, 0, 0); + } + } + case 5: { + if ((ruin28 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 28), 0, 0, 0); + } + } + case 4: { + if ((ruin28 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 28), 0, 0, 0); + } + } + case 3: { + if ((ruin28 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 28), 0, 0, 0); + } + } + case 2: { + if ((ruin28 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 28), 0, 0, 0); + } + } + case 1: { + if ((ruin28 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 28), 0, 0, 0); + } + } + case 0: { + if ((ruin28 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 28), 0, 0, 0); + } + } + } + }if (ruin29 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin29 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 29), 0, 0, 0); + } + } + case 59: { + if ((ruin29 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 29), 0, 0, 0); + } + } + case 58: { + if ((ruin29 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 29), 0, 0, 0); + } + } + case 57: { + if ((ruin29 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 29), 0, 0, 0); + } + } + case 56: { + if ((ruin29 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 29), 0, 0, 0); + } + } + case 55: { + if ((ruin29 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 29), 0, 0, 0); + } + } + case 54: { + if ((ruin29 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 29), 0, 0, 0); + } + } + case 53: { + if ((ruin29 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 29), 0, 0, 0); + } + } + case 52: { + if ((ruin29 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 29), 0, 0, 0); + } + } + case 51: { + if ((ruin29 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 29), 0, 0, 0); + } + } + case 50: { + if ((ruin29 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 29), 0, 0, 0); + } + } + case 49: { + if ((ruin29 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 29), 0, 0, 0); + } + } + case 48: { + if ((ruin29 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 29), 0, 0, 0); + } + } + case 47: { + if ((ruin29 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 29), 0, 0, 0); + } + } + case 46: { + if ((ruin29 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 29), 0, 0, 0); + } + } + case 45: { + if ((ruin29 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 29), 0, 0, 0); + } + } + case 44: { + if ((ruin29 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 29), 0, 0, 0); + } + } + case 43: { + if ((ruin29 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 29), 0, 0, 0); + } + } + case 42: { + if ((ruin29 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 29), 0, 0, 0); + } + } + case 41: { + if ((ruin29 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 29), 0, 0, 0); + } + } + case 40: { + if ((ruin29 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 29), 0, 0, 0); + } + } + case 39: { + if ((ruin29 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 29), 0, 0, 0); + } + } + case 38: { + if ((ruin29 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 29), 0, 0, 0); + } + } + case 37: { + if ((ruin29 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 29), 0, 0, 0); + } + } + case 36: { + if ((ruin29 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 29), 0, 0, 0); + } + } + case 35: { + if ((ruin29 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 29), 0, 0, 0); + } + } + case 34: { + if ((ruin29 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 29), 0, 0, 0); + } + } + case 33: { + if ((ruin29 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 29), 0, 0, 0); + } + } + case 32: { + if ((ruin29 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 29), 0, 0, 0); + } + } + case 31: { + if ((ruin29 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 29), 0, 0, 0); + } + } + case 30: { + if ((ruin29 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 29), 0, 0, 0); + } + } + case 29: { + if ((ruin29 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 29), 0, 0, 0); + } + } + case 28: { + if ((ruin29 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 29), 0, 0, 0); + } + } + case 27: { + if ((ruin29 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 29), 0, 0, 0); + } + } + case 26: { + if ((ruin29 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 29), 0, 0, 0); + } + } + case 25: { + if ((ruin29 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 29), 0, 0, 0); + } + } + case 24: { + if ((ruin29 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 29), 0, 0, 0); + } + } + case 23: { + if ((ruin29 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 29), 0, 0, 0); + } + } + case 22: { + if ((ruin29 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 29), 0, 0, 0); + } + } + case 21: { + if ((ruin29 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 29), 0, 0, 0); + } + } + case 20: { + if ((ruin29 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 29), 0, 0, 0); + } + } + case 19: { + if ((ruin29 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 29), 0, 0, 0); + } + } + case 18: { + if ((ruin29 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 29), 0, 0, 0); + } + } + case 17: { + if ((ruin29 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 29), 0, 0, 0); + } + } + case 16: { + if ((ruin29 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 29), 0, 0, 0); + } + } + case 15: { + if ((ruin29 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 29), 0, 0, 0); + } + } + case 14: { + if ((ruin29 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 29), 0, 0, 0); + } + } + case 13: { + if ((ruin29 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 29), 0, 0, 0); + } + } + case 12: { + if ((ruin29 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 29), 0, 0, 0); + } + } + case 11: { + if ((ruin29 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 29), 0, 0, 0); + } + } + case 10: { + if ((ruin29 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 29), 0, 0, 0); + } + } + case 9: { + if ((ruin29 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 29), 0, 0, 0); + } + } + case 8: { + if ((ruin29 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 29), 0, 0, 0); + } + } + case 7: { + if ((ruin29 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 29), 0, 0, 0); + } + } + case 6: { + if ((ruin29 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 29), 0, 0, 0); + } + } + case 5: { + if ((ruin29 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 29), 0, 0, 0); + } + } + case 4: { + if ((ruin29 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 29), 0, 0, 0); + } + } + case 3: { + if ((ruin29 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 29), 0, 0, 0); + } + } + case 2: { + if ((ruin29 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 29), 0, 0, 0); + } + } + case 1: { + if ((ruin29 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 29), 0, 0, 0); + } + } + case 0: { + if ((ruin29 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 29), 0, 0, 0); + } + } + } + } + } + + + + public static void display3() throws GameActionException { + + if (ruin30 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin30 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 30), 0, 0, 0); + } + } + case 59: { + if ((ruin30 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 30), 0, 0, 0); + } + } + case 58: { + if ((ruin30 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 30), 0, 0, 0); + } + } + case 57: { + if ((ruin30 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 30), 0, 0, 0); + } + } + case 56: { + if ((ruin30 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 30), 0, 0, 0); + } + } + case 55: { + if ((ruin30 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 30), 0, 0, 0); + } + } + case 54: { + if ((ruin30 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 30), 0, 0, 0); + } + } + case 53: { + if ((ruin30 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 30), 0, 0, 0); + } + } + case 52: { + if ((ruin30 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 30), 0, 0, 0); + } + } + case 51: { + if ((ruin30 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 30), 0, 0, 0); + } + } + case 50: { + if ((ruin30 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 30), 0, 0, 0); + } + } + case 49: { + if ((ruin30 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 30), 0, 0, 0); + } + } + case 48: { + if ((ruin30 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 30), 0, 0, 0); + } + } + case 47: { + if ((ruin30 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 30), 0, 0, 0); + } + } + case 46: { + if ((ruin30 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 30), 0, 0, 0); + } + } + case 45: { + if ((ruin30 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 30), 0, 0, 0); + } + } + case 44: { + if ((ruin30 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 30), 0, 0, 0); + } + } + case 43: { + if ((ruin30 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 30), 0, 0, 0); + } + } + case 42: { + if ((ruin30 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 30), 0, 0, 0); + } + } + case 41: { + if ((ruin30 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 30), 0, 0, 0); + } + } + case 40: { + if ((ruin30 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 30), 0, 0, 0); + } + } + case 39: { + if ((ruin30 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 30), 0, 0, 0); + } + } + case 38: { + if ((ruin30 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 30), 0, 0, 0); + } + } + case 37: { + if ((ruin30 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 30), 0, 0, 0); + } + } + case 36: { + if ((ruin30 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 30), 0, 0, 0); + } + } + case 35: { + if ((ruin30 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 30), 0, 0, 0); + } + } + case 34: { + if ((ruin30 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 30), 0, 0, 0); + } + } + case 33: { + if ((ruin30 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 30), 0, 0, 0); + } + } + case 32: { + if ((ruin30 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 30), 0, 0, 0); + } + } + case 31: { + if ((ruin30 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 30), 0, 0, 0); + } + } + case 30: { + if ((ruin30 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 30), 0, 0, 0); + } + } + case 29: { + if ((ruin30 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 30), 0, 0, 0); + } + } + case 28: { + if ((ruin30 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 30), 0, 0, 0); + } + } + case 27: { + if ((ruin30 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 30), 0, 0, 0); + } + } + case 26: { + if ((ruin30 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 30), 0, 0, 0); + } + } + case 25: { + if ((ruin30 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 30), 0, 0, 0); + } + } + case 24: { + if ((ruin30 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 30), 0, 0, 0); + } + } + case 23: { + if ((ruin30 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 30), 0, 0, 0); + } + } + case 22: { + if ((ruin30 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 30), 0, 0, 0); + } + } + case 21: { + if ((ruin30 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 30), 0, 0, 0); + } + } + case 20: { + if ((ruin30 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 30), 0, 0, 0); + } + } + case 19: { + if ((ruin30 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 30), 0, 0, 0); + } + } + case 18: { + if ((ruin30 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 30), 0, 0, 0); + } + } + case 17: { + if ((ruin30 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 30), 0, 0, 0); + } + } + case 16: { + if ((ruin30 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 30), 0, 0, 0); + } + } + case 15: { + if ((ruin30 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 30), 0, 0, 0); + } + } + case 14: { + if ((ruin30 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 30), 0, 0, 0); + } + } + case 13: { + if ((ruin30 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 30), 0, 0, 0); + } + } + case 12: { + if ((ruin30 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 30), 0, 0, 0); + } + } + case 11: { + if ((ruin30 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 30), 0, 0, 0); + } + } + case 10: { + if ((ruin30 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 30), 0, 0, 0); + } + } + case 9: { + if ((ruin30 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 30), 0, 0, 0); + } + } + case 8: { + if ((ruin30 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 30), 0, 0, 0); + } + } + case 7: { + if ((ruin30 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 30), 0, 0, 0); + } + } + case 6: { + if ((ruin30 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 30), 0, 0, 0); + } + } + case 5: { + if ((ruin30 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 30), 0, 0, 0); + } + } + case 4: { + if ((ruin30 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 30), 0, 0, 0); + } + } + case 3: { + if ((ruin30 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 30), 0, 0, 0); + } + } + case 2: { + if ((ruin30 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 30), 0, 0, 0); + } + } + case 1: { + if ((ruin30 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 30), 0, 0, 0); + } + } + case 0: { + if ((ruin30 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 30), 0, 0, 0); + } + } + } + }if (ruin31 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin31 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 31), 0, 0, 0); + } + } + case 59: { + if ((ruin31 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 31), 0, 0, 0); + } + } + case 58: { + if ((ruin31 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 31), 0, 0, 0); + } + } + case 57: { + if ((ruin31 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 31), 0, 0, 0); + } + } + case 56: { + if ((ruin31 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 31), 0, 0, 0); + } + } + case 55: { + if ((ruin31 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 31), 0, 0, 0); + } + } + case 54: { + if ((ruin31 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 31), 0, 0, 0); + } + } + case 53: { + if ((ruin31 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 31), 0, 0, 0); + } + } + case 52: { + if ((ruin31 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 31), 0, 0, 0); + } + } + case 51: { + if ((ruin31 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 31), 0, 0, 0); + } + } + case 50: { + if ((ruin31 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 31), 0, 0, 0); + } + } + case 49: { + if ((ruin31 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 31), 0, 0, 0); + } + } + case 48: { + if ((ruin31 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 31), 0, 0, 0); + } + } + case 47: { + if ((ruin31 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 31), 0, 0, 0); + } + } + case 46: { + if ((ruin31 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 31), 0, 0, 0); + } + } + case 45: { + if ((ruin31 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 31), 0, 0, 0); + } + } + case 44: { + if ((ruin31 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 31), 0, 0, 0); + } + } + case 43: { + if ((ruin31 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 31), 0, 0, 0); + } + } + case 42: { + if ((ruin31 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 31), 0, 0, 0); + } + } + case 41: { + if ((ruin31 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 31), 0, 0, 0); + } + } + case 40: { + if ((ruin31 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 31), 0, 0, 0); + } + } + case 39: { + if ((ruin31 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 31), 0, 0, 0); + } + } + case 38: { + if ((ruin31 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 31), 0, 0, 0); + } + } + case 37: { + if ((ruin31 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 31), 0, 0, 0); + } + } + case 36: { + if ((ruin31 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 31), 0, 0, 0); + } + } + case 35: { + if ((ruin31 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 31), 0, 0, 0); + } + } + case 34: { + if ((ruin31 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 31), 0, 0, 0); + } + } + case 33: { + if ((ruin31 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 31), 0, 0, 0); + } + } + case 32: { + if ((ruin31 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 31), 0, 0, 0); + } + } + case 31: { + if ((ruin31 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 31), 0, 0, 0); + } + } + case 30: { + if ((ruin31 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 31), 0, 0, 0); + } + } + case 29: { + if ((ruin31 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 31), 0, 0, 0); + } + } + case 28: { + if ((ruin31 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 31), 0, 0, 0); + } + } + case 27: { + if ((ruin31 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 31), 0, 0, 0); + } + } + case 26: { + if ((ruin31 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 31), 0, 0, 0); + } + } + case 25: { + if ((ruin31 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 31), 0, 0, 0); + } + } + case 24: { + if ((ruin31 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 31), 0, 0, 0); + } + } + case 23: { + if ((ruin31 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 31), 0, 0, 0); + } + } + case 22: { + if ((ruin31 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 31), 0, 0, 0); + } + } + case 21: { + if ((ruin31 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 31), 0, 0, 0); + } + } + case 20: { + if ((ruin31 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 31), 0, 0, 0); + } + } + case 19: { + if ((ruin31 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 31), 0, 0, 0); + } + } + case 18: { + if ((ruin31 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 31), 0, 0, 0); + } + } + case 17: { + if ((ruin31 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 31), 0, 0, 0); + } + } + case 16: { + if ((ruin31 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 31), 0, 0, 0); + } + } + case 15: { + if ((ruin31 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 31), 0, 0, 0); + } + } + case 14: { + if ((ruin31 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 31), 0, 0, 0); + } + } + case 13: { + if ((ruin31 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 31), 0, 0, 0); + } + } + case 12: { + if ((ruin31 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 31), 0, 0, 0); + } + } + case 11: { + if ((ruin31 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 31), 0, 0, 0); + } + } + case 10: { + if ((ruin31 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 31), 0, 0, 0); + } + } + case 9: { + if ((ruin31 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 31), 0, 0, 0); + } + } + case 8: { + if ((ruin31 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 31), 0, 0, 0); + } + } + case 7: { + if ((ruin31 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 31), 0, 0, 0); + } + } + case 6: { + if ((ruin31 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 31), 0, 0, 0); + } + } + case 5: { + if ((ruin31 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 31), 0, 0, 0); + } + } + case 4: { + if ((ruin31 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 31), 0, 0, 0); + } + } + case 3: { + if ((ruin31 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 31), 0, 0, 0); + } + } + case 2: { + if ((ruin31 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 31), 0, 0, 0); + } + } + case 1: { + if ((ruin31 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 31), 0, 0, 0); + } + } + case 0: { + if ((ruin31 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 31), 0, 0, 0); + } + } + } + }if (ruin32 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin32 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 32), 0, 0, 0); + } + } + case 59: { + if ((ruin32 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 32), 0, 0, 0); + } + } + case 58: { + if ((ruin32 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 32), 0, 0, 0); + } + } + case 57: { + if ((ruin32 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 32), 0, 0, 0); + } + } + case 56: { + if ((ruin32 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 32), 0, 0, 0); + } + } + case 55: { + if ((ruin32 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 32), 0, 0, 0); + } + } + case 54: { + if ((ruin32 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 32), 0, 0, 0); + } + } + case 53: { + if ((ruin32 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 32), 0, 0, 0); + } + } + case 52: { + if ((ruin32 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 32), 0, 0, 0); + } + } + case 51: { + if ((ruin32 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 32), 0, 0, 0); + } + } + case 50: { + if ((ruin32 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 32), 0, 0, 0); + } + } + case 49: { + if ((ruin32 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 32), 0, 0, 0); + } + } + case 48: { + if ((ruin32 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 32), 0, 0, 0); + } + } + case 47: { + if ((ruin32 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 32), 0, 0, 0); + } + } + case 46: { + if ((ruin32 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 32), 0, 0, 0); + } + } + case 45: { + if ((ruin32 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 32), 0, 0, 0); + } + } + case 44: { + if ((ruin32 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 32), 0, 0, 0); + } + } + case 43: { + if ((ruin32 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 32), 0, 0, 0); + } + } + case 42: { + if ((ruin32 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 32), 0, 0, 0); + } + } + case 41: { + if ((ruin32 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 32), 0, 0, 0); + } + } + case 40: { + if ((ruin32 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 32), 0, 0, 0); + } + } + case 39: { + if ((ruin32 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 32), 0, 0, 0); + } + } + case 38: { + if ((ruin32 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 32), 0, 0, 0); + } + } + case 37: { + if ((ruin32 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 32), 0, 0, 0); + } + } + case 36: { + if ((ruin32 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 32), 0, 0, 0); + } + } + case 35: { + if ((ruin32 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 32), 0, 0, 0); + } + } + case 34: { + if ((ruin32 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 32), 0, 0, 0); + } + } + case 33: { + if ((ruin32 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 32), 0, 0, 0); + } + } + case 32: { + if ((ruin32 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 32), 0, 0, 0); + } + } + case 31: { + if ((ruin32 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 32), 0, 0, 0); + } + } + case 30: { + if ((ruin32 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 32), 0, 0, 0); + } + } + case 29: { + if ((ruin32 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 32), 0, 0, 0); + } + } + case 28: { + if ((ruin32 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 32), 0, 0, 0); + } + } + case 27: { + if ((ruin32 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 32), 0, 0, 0); + } + } + case 26: { + if ((ruin32 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 32), 0, 0, 0); + } + } + case 25: { + if ((ruin32 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 32), 0, 0, 0); + } + } + case 24: { + if ((ruin32 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 32), 0, 0, 0); + } + } + case 23: { + if ((ruin32 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 32), 0, 0, 0); + } + } + case 22: { + if ((ruin32 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 32), 0, 0, 0); + } + } + case 21: { + if ((ruin32 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 32), 0, 0, 0); + } + } + case 20: { + if ((ruin32 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 32), 0, 0, 0); + } + } + case 19: { + if ((ruin32 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 32), 0, 0, 0); + } + } + case 18: { + if ((ruin32 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 32), 0, 0, 0); + } + } + case 17: { + if ((ruin32 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 32), 0, 0, 0); + } + } + case 16: { + if ((ruin32 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 32), 0, 0, 0); + } + } + case 15: { + if ((ruin32 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 32), 0, 0, 0); + } + } + case 14: { + if ((ruin32 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 32), 0, 0, 0); + } + } + case 13: { + if ((ruin32 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 32), 0, 0, 0); + } + } + case 12: { + if ((ruin32 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 32), 0, 0, 0); + } + } + case 11: { + if ((ruin32 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 32), 0, 0, 0); + } + } + case 10: { + if ((ruin32 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 32), 0, 0, 0); + } + } + case 9: { + if ((ruin32 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 32), 0, 0, 0); + } + } + case 8: { + if ((ruin32 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 32), 0, 0, 0); + } + } + case 7: { + if ((ruin32 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 32), 0, 0, 0); + } + } + case 6: { + if ((ruin32 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 32), 0, 0, 0); + } + } + case 5: { + if ((ruin32 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 32), 0, 0, 0); + } + } + case 4: { + if ((ruin32 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 32), 0, 0, 0); + } + } + case 3: { + if ((ruin32 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 32), 0, 0, 0); + } + } + case 2: { + if ((ruin32 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 32), 0, 0, 0); + } + } + case 1: { + if ((ruin32 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 32), 0, 0, 0); + } + } + case 0: { + if ((ruin32 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 32), 0, 0, 0); + } + } + } + }if (ruin33 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin33 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 33), 0, 0, 0); + } + } + case 59: { + if ((ruin33 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 33), 0, 0, 0); + } + } + case 58: { + if ((ruin33 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 33), 0, 0, 0); + } + } + case 57: { + if ((ruin33 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 33), 0, 0, 0); + } + } + case 56: { + if ((ruin33 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 33), 0, 0, 0); + } + } + case 55: { + if ((ruin33 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 33), 0, 0, 0); + } + } + case 54: { + if ((ruin33 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 33), 0, 0, 0); + } + } + case 53: { + if ((ruin33 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 33), 0, 0, 0); + } + } + case 52: { + if ((ruin33 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 33), 0, 0, 0); + } + } + case 51: { + if ((ruin33 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 33), 0, 0, 0); + } + } + case 50: { + if ((ruin33 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 33), 0, 0, 0); + } + } + case 49: { + if ((ruin33 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 33), 0, 0, 0); + } + } + case 48: { + if ((ruin33 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 33), 0, 0, 0); + } + } + case 47: { + if ((ruin33 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 33), 0, 0, 0); + } + } + case 46: { + if ((ruin33 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 33), 0, 0, 0); + } + } + case 45: { + if ((ruin33 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 33), 0, 0, 0); + } + } + case 44: { + if ((ruin33 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 33), 0, 0, 0); + } + } + case 43: { + if ((ruin33 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 33), 0, 0, 0); + } + } + case 42: { + if ((ruin33 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 33), 0, 0, 0); + } + } + case 41: { + if ((ruin33 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 33), 0, 0, 0); + } + } + case 40: { + if ((ruin33 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 33), 0, 0, 0); + } + } + case 39: { + if ((ruin33 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 33), 0, 0, 0); + } + } + case 38: { + if ((ruin33 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 33), 0, 0, 0); + } + } + case 37: { + if ((ruin33 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 33), 0, 0, 0); + } + } + case 36: { + if ((ruin33 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 33), 0, 0, 0); + } + } + case 35: { + if ((ruin33 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 33), 0, 0, 0); + } + } + case 34: { + if ((ruin33 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 33), 0, 0, 0); + } + } + case 33: { + if ((ruin33 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 33), 0, 0, 0); + } + } + case 32: { + if ((ruin33 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 33), 0, 0, 0); + } + } + case 31: { + if ((ruin33 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 33), 0, 0, 0); + } + } + case 30: { + if ((ruin33 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 33), 0, 0, 0); + } + } + case 29: { + if ((ruin33 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 33), 0, 0, 0); + } + } + case 28: { + if ((ruin33 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 33), 0, 0, 0); + } + } + case 27: { + if ((ruin33 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 33), 0, 0, 0); + } + } + case 26: { + if ((ruin33 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 33), 0, 0, 0); + } + } + case 25: { + if ((ruin33 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 33), 0, 0, 0); + } + } + case 24: { + if ((ruin33 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 33), 0, 0, 0); + } + } + case 23: { + if ((ruin33 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 33), 0, 0, 0); + } + } + case 22: { + if ((ruin33 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 33), 0, 0, 0); + } + } + case 21: { + if ((ruin33 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 33), 0, 0, 0); + } + } + case 20: { + if ((ruin33 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 33), 0, 0, 0); + } + } + case 19: { + if ((ruin33 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 33), 0, 0, 0); + } + } + case 18: { + if ((ruin33 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 33), 0, 0, 0); + } + } + case 17: { + if ((ruin33 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 33), 0, 0, 0); + } + } + case 16: { + if ((ruin33 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 33), 0, 0, 0); + } + } + case 15: { + if ((ruin33 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 33), 0, 0, 0); + } + } + case 14: { + if ((ruin33 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 33), 0, 0, 0); + } + } + case 13: { + if ((ruin33 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 33), 0, 0, 0); + } + } + case 12: { + if ((ruin33 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 33), 0, 0, 0); + } + } + case 11: { + if ((ruin33 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 33), 0, 0, 0); + } + } + case 10: { + if ((ruin33 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 33), 0, 0, 0); + } + } + case 9: { + if ((ruin33 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 33), 0, 0, 0); + } + } + case 8: { + if ((ruin33 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 33), 0, 0, 0); + } + } + case 7: { + if ((ruin33 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 33), 0, 0, 0); + } + } + case 6: { + if ((ruin33 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 33), 0, 0, 0); + } + } + case 5: { + if ((ruin33 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 33), 0, 0, 0); + } + } + case 4: { + if ((ruin33 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 33), 0, 0, 0); + } + } + case 3: { + if ((ruin33 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 33), 0, 0, 0); + } + } + case 2: { + if ((ruin33 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 33), 0, 0, 0); + } + } + case 1: { + if ((ruin33 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 33), 0, 0, 0); + } + } + case 0: { + if ((ruin33 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 33), 0, 0, 0); + } + } + } + }if (ruin34 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin34 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 34), 0, 0, 0); + } + } + case 59: { + if ((ruin34 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 34), 0, 0, 0); + } + } + case 58: { + if ((ruin34 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 34), 0, 0, 0); + } + } + case 57: { + if ((ruin34 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 34), 0, 0, 0); + } + } + case 56: { + if ((ruin34 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 34), 0, 0, 0); + } + } + case 55: { + if ((ruin34 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 34), 0, 0, 0); + } + } + case 54: { + if ((ruin34 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 34), 0, 0, 0); + } + } + case 53: { + if ((ruin34 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 34), 0, 0, 0); + } + } + case 52: { + if ((ruin34 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 34), 0, 0, 0); + } + } + case 51: { + if ((ruin34 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 34), 0, 0, 0); + } + } + case 50: { + if ((ruin34 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 34), 0, 0, 0); + } + } + case 49: { + if ((ruin34 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 34), 0, 0, 0); + } + } + case 48: { + if ((ruin34 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 34), 0, 0, 0); + } + } + case 47: { + if ((ruin34 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 34), 0, 0, 0); + } + } + case 46: { + if ((ruin34 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 34), 0, 0, 0); + } + } + case 45: { + if ((ruin34 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 34), 0, 0, 0); + } + } + case 44: { + if ((ruin34 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 34), 0, 0, 0); + } + } + case 43: { + if ((ruin34 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 34), 0, 0, 0); + } + } + case 42: { + if ((ruin34 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 34), 0, 0, 0); + } + } + case 41: { + if ((ruin34 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 34), 0, 0, 0); + } + } + case 40: { + if ((ruin34 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 34), 0, 0, 0); + } + } + case 39: { + if ((ruin34 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 34), 0, 0, 0); + } + } + case 38: { + if ((ruin34 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 34), 0, 0, 0); + } + } + case 37: { + if ((ruin34 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 34), 0, 0, 0); + } + } + case 36: { + if ((ruin34 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 34), 0, 0, 0); + } + } + case 35: { + if ((ruin34 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 34), 0, 0, 0); + } + } + case 34: { + if ((ruin34 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 34), 0, 0, 0); + } + } + case 33: { + if ((ruin34 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 34), 0, 0, 0); + } + } + case 32: { + if ((ruin34 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 34), 0, 0, 0); + } + } + case 31: { + if ((ruin34 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 34), 0, 0, 0); + } + } + case 30: { + if ((ruin34 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 34), 0, 0, 0); + } + } + case 29: { + if ((ruin34 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 34), 0, 0, 0); + } + } + case 28: { + if ((ruin34 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 34), 0, 0, 0); + } + } + case 27: { + if ((ruin34 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 34), 0, 0, 0); + } + } + case 26: { + if ((ruin34 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 34), 0, 0, 0); + } + } + case 25: { + if ((ruin34 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 34), 0, 0, 0); + } + } + case 24: { + if ((ruin34 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 34), 0, 0, 0); + } + } + case 23: { + if ((ruin34 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 34), 0, 0, 0); + } + } + case 22: { + if ((ruin34 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 34), 0, 0, 0); + } + } + case 21: { + if ((ruin34 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 34), 0, 0, 0); + } + } + case 20: { + if ((ruin34 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 34), 0, 0, 0); + } + } + case 19: { + if ((ruin34 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 34), 0, 0, 0); + } + } + case 18: { + if ((ruin34 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 34), 0, 0, 0); + } + } + case 17: { + if ((ruin34 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 34), 0, 0, 0); + } + } + case 16: { + if ((ruin34 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 34), 0, 0, 0); + } + } + case 15: { + if ((ruin34 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 34), 0, 0, 0); + } + } + case 14: { + if ((ruin34 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 34), 0, 0, 0); + } + } + case 13: { + if ((ruin34 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 34), 0, 0, 0); + } + } + case 12: { + if ((ruin34 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 34), 0, 0, 0); + } + } + case 11: { + if ((ruin34 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 34), 0, 0, 0); + } + } + case 10: { + if ((ruin34 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 34), 0, 0, 0); + } + } + case 9: { + if ((ruin34 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 34), 0, 0, 0); + } + } + case 8: { + if ((ruin34 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 34), 0, 0, 0); + } + } + case 7: { + if ((ruin34 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 34), 0, 0, 0); + } + } + case 6: { + if ((ruin34 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 34), 0, 0, 0); + } + } + case 5: { + if ((ruin34 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 34), 0, 0, 0); + } + } + case 4: { + if ((ruin34 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 34), 0, 0, 0); + } + } + case 3: { + if ((ruin34 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 34), 0, 0, 0); + } + } + case 2: { + if ((ruin34 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 34), 0, 0, 0); + } + } + case 1: { + if ((ruin34 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 34), 0, 0, 0); + } + } + case 0: { + if ((ruin34 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 34), 0, 0, 0); + } + } + } + }if (ruin35 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin35 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 35), 0, 0, 0); + } + } + case 59: { + if ((ruin35 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 35), 0, 0, 0); + } + } + case 58: { + if ((ruin35 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 35), 0, 0, 0); + } + } + case 57: { + if ((ruin35 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 35), 0, 0, 0); + } + } + case 56: { + if ((ruin35 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 35), 0, 0, 0); + } + } + case 55: { + if ((ruin35 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 35), 0, 0, 0); + } + } + case 54: { + if ((ruin35 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 35), 0, 0, 0); + } + } + case 53: { + if ((ruin35 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 35), 0, 0, 0); + } + } + case 52: { + if ((ruin35 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 35), 0, 0, 0); + } + } + case 51: { + if ((ruin35 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 35), 0, 0, 0); + } + } + case 50: { + if ((ruin35 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 35), 0, 0, 0); + } + } + case 49: { + if ((ruin35 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 35), 0, 0, 0); + } + } + case 48: { + if ((ruin35 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 35), 0, 0, 0); + } + } + case 47: { + if ((ruin35 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 35), 0, 0, 0); + } + } + case 46: { + if ((ruin35 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 35), 0, 0, 0); + } + } + case 45: { + if ((ruin35 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 35), 0, 0, 0); + } + } + case 44: { + if ((ruin35 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 35), 0, 0, 0); + } + } + case 43: { + if ((ruin35 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 35), 0, 0, 0); + } + } + case 42: { + if ((ruin35 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 35), 0, 0, 0); + } + } + case 41: { + if ((ruin35 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 35), 0, 0, 0); + } + } + case 40: { + if ((ruin35 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 35), 0, 0, 0); + } + } + case 39: { + if ((ruin35 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 35), 0, 0, 0); + } + } + case 38: { + if ((ruin35 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 35), 0, 0, 0); + } + } + case 37: { + if ((ruin35 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 35), 0, 0, 0); + } + } + case 36: { + if ((ruin35 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 35), 0, 0, 0); + } + } + case 35: { + if ((ruin35 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 35), 0, 0, 0); + } + } + case 34: { + if ((ruin35 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 35), 0, 0, 0); + } + } + case 33: { + if ((ruin35 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 35), 0, 0, 0); + } + } + case 32: { + if ((ruin35 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 35), 0, 0, 0); + } + } + case 31: { + if ((ruin35 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 35), 0, 0, 0); + } + } + case 30: { + if ((ruin35 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 35), 0, 0, 0); + } + } + case 29: { + if ((ruin35 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 35), 0, 0, 0); + } + } + case 28: { + if ((ruin35 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 35), 0, 0, 0); + } + } + case 27: { + if ((ruin35 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 35), 0, 0, 0); + } + } + case 26: { + if ((ruin35 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 35), 0, 0, 0); + } + } + case 25: { + if ((ruin35 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 35), 0, 0, 0); + } + } + case 24: { + if ((ruin35 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 35), 0, 0, 0); + } + } + case 23: { + if ((ruin35 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 35), 0, 0, 0); + } + } + case 22: { + if ((ruin35 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 35), 0, 0, 0); + } + } + case 21: { + if ((ruin35 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 35), 0, 0, 0); + } + } + case 20: { + if ((ruin35 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 35), 0, 0, 0); + } + } + case 19: { + if ((ruin35 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 35), 0, 0, 0); + } + } + case 18: { + if ((ruin35 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 35), 0, 0, 0); + } + } + case 17: { + if ((ruin35 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 35), 0, 0, 0); + } + } + case 16: { + if ((ruin35 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 35), 0, 0, 0); + } + } + case 15: { + if ((ruin35 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 35), 0, 0, 0); + } + } + case 14: { + if ((ruin35 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 35), 0, 0, 0); + } + } + case 13: { + if ((ruin35 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 35), 0, 0, 0); + } + } + case 12: { + if ((ruin35 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 35), 0, 0, 0); + } + } + case 11: { + if ((ruin35 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 35), 0, 0, 0); + } + } + case 10: { + if ((ruin35 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 35), 0, 0, 0); + } + } + case 9: { + if ((ruin35 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 35), 0, 0, 0); + } + } + case 8: { + if ((ruin35 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 35), 0, 0, 0); + } + } + case 7: { + if ((ruin35 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 35), 0, 0, 0); + } + } + case 6: { + if ((ruin35 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 35), 0, 0, 0); + } + } + case 5: { + if ((ruin35 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 35), 0, 0, 0); + } + } + case 4: { + if ((ruin35 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 35), 0, 0, 0); + } + } + case 3: { + if ((ruin35 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 35), 0, 0, 0); + } + } + case 2: { + if ((ruin35 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 35), 0, 0, 0); + } + } + case 1: { + if ((ruin35 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 35), 0, 0, 0); + } + } + case 0: { + if ((ruin35 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 35), 0, 0, 0); + } + } + } + }if (ruin36 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin36 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 36), 0, 0, 0); + } + } + case 59: { + if ((ruin36 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 36), 0, 0, 0); + } + } + case 58: { + if ((ruin36 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 36), 0, 0, 0); + } + } + case 57: { + if ((ruin36 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 36), 0, 0, 0); + } + } + case 56: { + if ((ruin36 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 36), 0, 0, 0); + } + } + case 55: { + if ((ruin36 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 36), 0, 0, 0); + } + } + case 54: { + if ((ruin36 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 36), 0, 0, 0); + } + } + case 53: { + if ((ruin36 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 36), 0, 0, 0); + } + } + case 52: { + if ((ruin36 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 36), 0, 0, 0); + } + } + case 51: { + if ((ruin36 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 36), 0, 0, 0); + } + } + case 50: { + if ((ruin36 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 36), 0, 0, 0); + } + } + case 49: { + if ((ruin36 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 36), 0, 0, 0); + } + } + case 48: { + if ((ruin36 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 36), 0, 0, 0); + } + } + case 47: { + if ((ruin36 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 36), 0, 0, 0); + } + } + case 46: { + if ((ruin36 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 36), 0, 0, 0); + } + } + case 45: { + if ((ruin36 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 36), 0, 0, 0); + } + } + case 44: { + if ((ruin36 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 36), 0, 0, 0); + } + } + case 43: { + if ((ruin36 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 36), 0, 0, 0); + } + } + case 42: { + if ((ruin36 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 36), 0, 0, 0); + } + } + case 41: { + if ((ruin36 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 36), 0, 0, 0); + } + } + case 40: { + if ((ruin36 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 36), 0, 0, 0); + } + } + case 39: { + if ((ruin36 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 36), 0, 0, 0); + } + } + case 38: { + if ((ruin36 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 36), 0, 0, 0); + } + } + case 37: { + if ((ruin36 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 36), 0, 0, 0); + } + } + case 36: { + if ((ruin36 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 36), 0, 0, 0); + } + } + case 35: { + if ((ruin36 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 36), 0, 0, 0); + } + } + case 34: { + if ((ruin36 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 36), 0, 0, 0); + } + } + case 33: { + if ((ruin36 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 36), 0, 0, 0); + } + } + case 32: { + if ((ruin36 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 36), 0, 0, 0); + } + } + case 31: { + if ((ruin36 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 36), 0, 0, 0); + } + } + case 30: { + if ((ruin36 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 36), 0, 0, 0); + } + } + case 29: { + if ((ruin36 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 36), 0, 0, 0); + } + } + case 28: { + if ((ruin36 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 36), 0, 0, 0); + } + } + case 27: { + if ((ruin36 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 36), 0, 0, 0); + } + } + case 26: { + if ((ruin36 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 36), 0, 0, 0); + } + } + case 25: { + if ((ruin36 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 36), 0, 0, 0); + } + } + case 24: { + if ((ruin36 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 36), 0, 0, 0); + } + } + case 23: { + if ((ruin36 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 36), 0, 0, 0); + } + } + case 22: { + if ((ruin36 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 36), 0, 0, 0); + } + } + case 21: { + if ((ruin36 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 36), 0, 0, 0); + } + } + case 20: { + if ((ruin36 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 36), 0, 0, 0); + } + } + case 19: { + if ((ruin36 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 36), 0, 0, 0); + } + } + case 18: { + if ((ruin36 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 36), 0, 0, 0); + } + } + case 17: { + if ((ruin36 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 36), 0, 0, 0); + } + } + case 16: { + if ((ruin36 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 36), 0, 0, 0); + } + } + case 15: { + if ((ruin36 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 36), 0, 0, 0); + } + } + case 14: { + if ((ruin36 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 36), 0, 0, 0); + } + } + case 13: { + if ((ruin36 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 36), 0, 0, 0); + } + } + case 12: { + if ((ruin36 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 36), 0, 0, 0); + } + } + case 11: { + if ((ruin36 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 36), 0, 0, 0); + } + } + case 10: { + if ((ruin36 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 36), 0, 0, 0); + } + } + case 9: { + if ((ruin36 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 36), 0, 0, 0); + } + } + case 8: { + if ((ruin36 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 36), 0, 0, 0); + } + } + case 7: { + if ((ruin36 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 36), 0, 0, 0); + } + } + case 6: { + if ((ruin36 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 36), 0, 0, 0); + } + } + case 5: { + if ((ruin36 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 36), 0, 0, 0); + } + } + case 4: { + if ((ruin36 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 36), 0, 0, 0); + } + } + case 3: { + if ((ruin36 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 36), 0, 0, 0); + } + } + case 2: { + if ((ruin36 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 36), 0, 0, 0); + } + } + case 1: { + if ((ruin36 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 36), 0, 0, 0); + } + } + case 0: { + if ((ruin36 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 36), 0, 0, 0); + } + } + } + }if (ruin37 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin37 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 37), 0, 0, 0); + } + } + case 59: { + if ((ruin37 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 37), 0, 0, 0); + } + } + case 58: { + if ((ruin37 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 37), 0, 0, 0); + } + } + case 57: { + if ((ruin37 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 37), 0, 0, 0); + } + } + case 56: { + if ((ruin37 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 37), 0, 0, 0); + } + } + case 55: { + if ((ruin37 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 37), 0, 0, 0); + } + } + case 54: { + if ((ruin37 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 37), 0, 0, 0); + } + } + case 53: { + if ((ruin37 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 37), 0, 0, 0); + } + } + case 52: { + if ((ruin37 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 37), 0, 0, 0); + } + } + case 51: { + if ((ruin37 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 37), 0, 0, 0); + } + } + case 50: { + if ((ruin37 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 37), 0, 0, 0); + } + } + case 49: { + if ((ruin37 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 37), 0, 0, 0); + } + } + case 48: { + if ((ruin37 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 37), 0, 0, 0); + } + } + case 47: { + if ((ruin37 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 37), 0, 0, 0); + } + } + case 46: { + if ((ruin37 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 37), 0, 0, 0); + } + } + case 45: { + if ((ruin37 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 37), 0, 0, 0); + } + } + case 44: { + if ((ruin37 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 37), 0, 0, 0); + } + } + case 43: { + if ((ruin37 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 37), 0, 0, 0); + } + } + case 42: { + if ((ruin37 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 37), 0, 0, 0); + } + } + case 41: { + if ((ruin37 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 37), 0, 0, 0); + } + } + case 40: { + if ((ruin37 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 37), 0, 0, 0); + } + } + case 39: { + if ((ruin37 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 37), 0, 0, 0); + } + } + case 38: { + if ((ruin37 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 37), 0, 0, 0); + } + } + case 37: { + if ((ruin37 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 37), 0, 0, 0); + } + } + case 36: { + if ((ruin37 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 37), 0, 0, 0); + } + } + case 35: { + if ((ruin37 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 37), 0, 0, 0); + } + } + case 34: { + if ((ruin37 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 37), 0, 0, 0); + } + } + case 33: { + if ((ruin37 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 37), 0, 0, 0); + } + } + case 32: { + if ((ruin37 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 37), 0, 0, 0); + } + } + case 31: { + if ((ruin37 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 37), 0, 0, 0); + } + } + case 30: { + if ((ruin37 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 37), 0, 0, 0); + } + } + case 29: { + if ((ruin37 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 37), 0, 0, 0); + } + } + case 28: { + if ((ruin37 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 37), 0, 0, 0); + } + } + case 27: { + if ((ruin37 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 37), 0, 0, 0); + } + } + case 26: { + if ((ruin37 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 37), 0, 0, 0); + } + } + case 25: { + if ((ruin37 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 37), 0, 0, 0); + } + } + case 24: { + if ((ruin37 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 37), 0, 0, 0); + } + } + case 23: { + if ((ruin37 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 37), 0, 0, 0); + } + } + case 22: { + if ((ruin37 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 37), 0, 0, 0); + } + } + case 21: { + if ((ruin37 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 37), 0, 0, 0); + } + } + case 20: { + if ((ruin37 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 37), 0, 0, 0); + } + } + case 19: { + if ((ruin37 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 37), 0, 0, 0); + } + } + case 18: { + if ((ruin37 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 37), 0, 0, 0); + } + } + case 17: { + if ((ruin37 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 37), 0, 0, 0); + } + } + case 16: { + if ((ruin37 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 37), 0, 0, 0); + } + } + case 15: { + if ((ruin37 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 37), 0, 0, 0); + } + } + case 14: { + if ((ruin37 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 37), 0, 0, 0); + } + } + case 13: { + if ((ruin37 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 37), 0, 0, 0); + } + } + case 12: { + if ((ruin37 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 37), 0, 0, 0); + } + } + case 11: { + if ((ruin37 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 37), 0, 0, 0); + } + } + case 10: { + if ((ruin37 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 37), 0, 0, 0); + } + } + case 9: { + if ((ruin37 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 37), 0, 0, 0); + } + } + case 8: { + if ((ruin37 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 37), 0, 0, 0); + } + } + case 7: { + if ((ruin37 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 37), 0, 0, 0); + } + } + case 6: { + if ((ruin37 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 37), 0, 0, 0); + } + } + case 5: { + if ((ruin37 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 37), 0, 0, 0); + } + } + case 4: { + if ((ruin37 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 37), 0, 0, 0); + } + } + case 3: { + if ((ruin37 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 37), 0, 0, 0); + } + } + case 2: { + if ((ruin37 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 37), 0, 0, 0); + } + } + case 1: { + if ((ruin37 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 37), 0, 0, 0); + } + } + case 0: { + if ((ruin37 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 37), 0, 0, 0); + } + } + } + }if (ruin38 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin38 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 38), 0, 0, 0); + } + } + case 59: { + if ((ruin38 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 38), 0, 0, 0); + } + } + case 58: { + if ((ruin38 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 38), 0, 0, 0); + } + } + case 57: { + if ((ruin38 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 38), 0, 0, 0); + } + } + case 56: { + if ((ruin38 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 38), 0, 0, 0); + } + } + case 55: { + if ((ruin38 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 38), 0, 0, 0); + } + } + case 54: { + if ((ruin38 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 38), 0, 0, 0); + } + } + case 53: { + if ((ruin38 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 38), 0, 0, 0); + } + } + case 52: { + if ((ruin38 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 38), 0, 0, 0); + } + } + case 51: { + if ((ruin38 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 38), 0, 0, 0); + } + } + case 50: { + if ((ruin38 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 38), 0, 0, 0); + } + } + case 49: { + if ((ruin38 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 38), 0, 0, 0); + } + } + case 48: { + if ((ruin38 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 38), 0, 0, 0); + } + } + case 47: { + if ((ruin38 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 38), 0, 0, 0); + } + } + case 46: { + if ((ruin38 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 38), 0, 0, 0); + } + } + case 45: { + if ((ruin38 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 38), 0, 0, 0); + } + } + case 44: { + if ((ruin38 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 38), 0, 0, 0); + } + } + case 43: { + if ((ruin38 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 38), 0, 0, 0); + } + } + case 42: { + if ((ruin38 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 38), 0, 0, 0); + } + } + case 41: { + if ((ruin38 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 38), 0, 0, 0); + } + } + case 40: { + if ((ruin38 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 38), 0, 0, 0); + } + } + case 39: { + if ((ruin38 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 38), 0, 0, 0); + } + } + case 38: { + if ((ruin38 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 38), 0, 0, 0); + } + } + case 37: { + if ((ruin38 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 38), 0, 0, 0); + } + } + case 36: { + if ((ruin38 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 38), 0, 0, 0); + } + } + case 35: { + if ((ruin38 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 38), 0, 0, 0); + } + } + case 34: { + if ((ruin38 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 38), 0, 0, 0); + } + } + case 33: { + if ((ruin38 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 38), 0, 0, 0); + } + } + case 32: { + if ((ruin38 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 38), 0, 0, 0); + } + } + case 31: { + if ((ruin38 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 38), 0, 0, 0); + } + } + case 30: { + if ((ruin38 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 38), 0, 0, 0); + } + } + case 29: { + if ((ruin38 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 38), 0, 0, 0); + } + } + case 28: { + if ((ruin38 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 38), 0, 0, 0); + } + } + case 27: { + if ((ruin38 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 38), 0, 0, 0); + } + } + case 26: { + if ((ruin38 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 38), 0, 0, 0); + } + } + case 25: { + if ((ruin38 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 38), 0, 0, 0); + } + } + case 24: { + if ((ruin38 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 38), 0, 0, 0); + } + } + case 23: { + if ((ruin38 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 38), 0, 0, 0); + } + } + case 22: { + if ((ruin38 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 38), 0, 0, 0); + } + } + case 21: { + if ((ruin38 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 38), 0, 0, 0); + } + } + case 20: { + if ((ruin38 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 38), 0, 0, 0); + } + } + case 19: { + if ((ruin38 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 38), 0, 0, 0); + } + } + case 18: { + if ((ruin38 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 38), 0, 0, 0); + } + } + case 17: { + if ((ruin38 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 38), 0, 0, 0); + } + } + case 16: { + if ((ruin38 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 38), 0, 0, 0); + } + } + case 15: { + if ((ruin38 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 38), 0, 0, 0); + } + } + case 14: { + if ((ruin38 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 38), 0, 0, 0); + } + } + case 13: { + if ((ruin38 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 38), 0, 0, 0); + } + } + case 12: { + if ((ruin38 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 38), 0, 0, 0); + } + } + case 11: { + if ((ruin38 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 38), 0, 0, 0); + } + } + case 10: { + if ((ruin38 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 38), 0, 0, 0); + } + } + case 9: { + if ((ruin38 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 38), 0, 0, 0); + } + } + case 8: { + if ((ruin38 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 38), 0, 0, 0); + } + } + case 7: { + if ((ruin38 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 38), 0, 0, 0); + } + } + case 6: { + if ((ruin38 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 38), 0, 0, 0); + } + } + case 5: { + if ((ruin38 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 38), 0, 0, 0); + } + } + case 4: { + if ((ruin38 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 38), 0, 0, 0); + } + } + case 3: { + if ((ruin38 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 38), 0, 0, 0); + } + } + case 2: { + if ((ruin38 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 38), 0, 0, 0); + } + } + case 1: { + if ((ruin38 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 38), 0, 0, 0); + } + } + case 0: { + if ((ruin38 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 38), 0, 0, 0); + } + } + } + }if (ruin39 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin39 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 39), 0, 0, 0); + } + } + case 59: { + if ((ruin39 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 39), 0, 0, 0); + } + } + case 58: { + if ((ruin39 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 39), 0, 0, 0); + } + } + case 57: { + if ((ruin39 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 39), 0, 0, 0); + } + } + case 56: { + if ((ruin39 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 39), 0, 0, 0); + } + } + case 55: { + if ((ruin39 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 39), 0, 0, 0); + } + } + case 54: { + if ((ruin39 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 39), 0, 0, 0); + } + } + case 53: { + if ((ruin39 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 39), 0, 0, 0); + } + } + case 52: { + if ((ruin39 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 39), 0, 0, 0); + } + } + case 51: { + if ((ruin39 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 39), 0, 0, 0); + } + } + case 50: { + if ((ruin39 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 39), 0, 0, 0); + } + } + case 49: { + if ((ruin39 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 39), 0, 0, 0); + } + } + case 48: { + if ((ruin39 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 39), 0, 0, 0); + } + } + case 47: { + if ((ruin39 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 39), 0, 0, 0); + } + } + case 46: { + if ((ruin39 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 39), 0, 0, 0); + } + } + case 45: { + if ((ruin39 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 39), 0, 0, 0); + } + } + case 44: { + if ((ruin39 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 39), 0, 0, 0); + } + } + case 43: { + if ((ruin39 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 39), 0, 0, 0); + } + } + case 42: { + if ((ruin39 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 39), 0, 0, 0); + } + } + case 41: { + if ((ruin39 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 39), 0, 0, 0); + } + } + case 40: { + if ((ruin39 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 39), 0, 0, 0); + } + } + case 39: { + if ((ruin39 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 39), 0, 0, 0); + } + } + case 38: { + if ((ruin39 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 39), 0, 0, 0); + } + } + case 37: { + if ((ruin39 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 39), 0, 0, 0); + } + } + case 36: { + if ((ruin39 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 39), 0, 0, 0); + } + } + case 35: { + if ((ruin39 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 39), 0, 0, 0); + } + } + case 34: { + if ((ruin39 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 39), 0, 0, 0); + } + } + case 33: { + if ((ruin39 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 39), 0, 0, 0); + } + } + case 32: { + if ((ruin39 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 39), 0, 0, 0); + } + } + case 31: { + if ((ruin39 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 39), 0, 0, 0); + } + } + case 30: { + if ((ruin39 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 39), 0, 0, 0); + } + } + case 29: { + if ((ruin39 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 39), 0, 0, 0); + } + } + case 28: { + if ((ruin39 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 39), 0, 0, 0); + } + } + case 27: { + if ((ruin39 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 39), 0, 0, 0); + } + } + case 26: { + if ((ruin39 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 39), 0, 0, 0); + } + } + case 25: { + if ((ruin39 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 39), 0, 0, 0); + } + } + case 24: { + if ((ruin39 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 39), 0, 0, 0); + } + } + case 23: { + if ((ruin39 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 39), 0, 0, 0); + } + } + case 22: { + if ((ruin39 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 39), 0, 0, 0); + } + } + case 21: { + if ((ruin39 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 39), 0, 0, 0); + } + } + case 20: { + if ((ruin39 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 39), 0, 0, 0); + } + } + case 19: { + if ((ruin39 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 39), 0, 0, 0); + } + } + case 18: { + if ((ruin39 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 39), 0, 0, 0); + } + } + case 17: { + if ((ruin39 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 39), 0, 0, 0); + } + } + case 16: { + if ((ruin39 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 39), 0, 0, 0); + } + } + case 15: { + if ((ruin39 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 39), 0, 0, 0); + } + } + case 14: { + if ((ruin39 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 39), 0, 0, 0); + } + } + case 13: { + if ((ruin39 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 39), 0, 0, 0); + } + } + case 12: { + if ((ruin39 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 39), 0, 0, 0); + } + } + case 11: { + if ((ruin39 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 39), 0, 0, 0); + } + } + case 10: { + if ((ruin39 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 39), 0, 0, 0); + } + } + case 9: { + if ((ruin39 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 39), 0, 0, 0); + } + } + case 8: { + if ((ruin39 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 39), 0, 0, 0); + } + } + case 7: { + if ((ruin39 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 39), 0, 0, 0); + } + } + case 6: { + if ((ruin39 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 39), 0, 0, 0); + } + } + case 5: { + if ((ruin39 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 39), 0, 0, 0); + } + } + case 4: { + if ((ruin39 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 39), 0, 0, 0); + } + } + case 3: { + if ((ruin39 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 39), 0, 0, 0); + } + } + case 2: { + if ((ruin39 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 39), 0, 0, 0); + } + } + case 1: { + if ((ruin39 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 39), 0, 0, 0); + } + } + case 0: { + if ((ruin39 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 39), 0, 0, 0); + } + } + } + } + } + + + + public static void display4() throws GameActionException { + + if (ruin40 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin40 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 40), 0, 0, 0); + } + } + case 59: { + if ((ruin40 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 40), 0, 0, 0); + } + } + case 58: { + if ((ruin40 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 40), 0, 0, 0); + } + } + case 57: { + if ((ruin40 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 40), 0, 0, 0); + } + } + case 56: { + if ((ruin40 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 40), 0, 0, 0); + } + } + case 55: { + if ((ruin40 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 40), 0, 0, 0); + } + } + case 54: { + if ((ruin40 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 40), 0, 0, 0); + } + } + case 53: { + if ((ruin40 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 40), 0, 0, 0); + } + } + case 52: { + if ((ruin40 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 40), 0, 0, 0); + } + } + case 51: { + if ((ruin40 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 40), 0, 0, 0); + } + } + case 50: { + if ((ruin40 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 40), 0, 0, 0); + } + } + case 49: { + if ((ruin40 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 40), 0, 0, 0); + } + } + case 48: { + if ((ruin40 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 40), 0, 0, 0); + } + } + case 47: { + if ((ruin40 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 40), 0, 0, 0); + } + } + case 46: { + if ((ruin40 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 40), 0, 0, 0); + } + } + case 45: { + if ((ruin40 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 40), 0, 0, 0); + } + } + case 44: { + if ((ruin40 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 40), 0, 0, 0); + } + } + case 43: { + if ((ruin40 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 40), 0, 0, 0); + } + } + case 42: { + if ((ruin40 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 40), 0, 0, 0); + } + } + case 41: { + if ((ruin40 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 40), 0, 0, 0); + } + } + case 40: { + if ((ruin40 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 40), 0, 0, 0); + } + } + case 39: { + if ((ruin40 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 40), 0, 0, 0); + } + } + case 38: { + if ((ruin40 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 40), 0, 0, 0); + } + } + case 37: { + if ((ruin40 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 40), 0, 0, 0); + } + } + case 36: { + if ((ruin40 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 40), 0, 0, 0); + } + } + case 35: { + if ((ruin40 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 40), 0, 0, 0); + } + } + case 34: { + if ((ruin40 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 40), 0, 0, 0); + } + } + case 33: { + if ((ruin40 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 40), 0, 0, 0); + } + } + case 32: { + if ((ruin40 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 40), 0, 0, 0); + } + } + case 31: { + if ((ruin40 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 40), 0, 0, 0); + } + } + case 30: { + if ((ruin40 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 40), 0, 0, 0); + } + } + case 29: { + if ((ruin40 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 40), 0, 0, 0); + } + } + case 28: { + if ((ruin40 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 40), 0, 0, 0); + } + } + case 27: { + if ((ruin40 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 40), 0, 0, 0); + } + } + case 26: { + if ((ruin40 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 40), 0, 0, 0); + } + } + case 25: { + if ((ruin40 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 40), 0, 0, 0); + } + } + case 24: { + if ((ruin40 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 40), 0, 0, 0); + } + } + case 23: { + if ((ruin40 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 40), 0, 0, 0); + } + } + case 22: { + if ((ruin40 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 40), 0, 0, 0); + } + } + case 21: { + if ((ruin40 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 40), 0, 0, 0); + } + } + case 20: { + if ((ruin40 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 40), 0, 0, 0); + } + } + case 19: { + if ((ruin40 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 40), 0, 0, 0); + } + } + case 18: { + if ((ruin40 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 40), 0, 0, 0); + } + } + case 17: { + if ((ruin40 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 40), 0, 0, 0); + } + } + case 16: { + if ((ruin40 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 40), 0, 0, 0); + } + } + case 15: { + if ((ruin40 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 40), 0, 0, 0); + } + } + case 14: { + if ((ruin40 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 40), 0, 0, 0); + } + } + case 13: { + if ((ruin40 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 40), 0, 0, 0); + } + } + case 12: { + if ((ruin40 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 40), 0, 0, 0); + } + } + case 11: { + if ((ruin40 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 40), 0, 0, 0); + } + } + case 10: { + if ((ruin40 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 40), 0, 0, 0); + } + } + case 9: { + if ((ruin40 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 40), 0, 0, 0); + } + } + case 8: { + if ((ruin40 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 40), 0, 0, 0); + } + } + case 7: { + if ((ruin40 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 40), 0, 0, 0); + } + } + case 6: { + if ((ruin40 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 40), 0, 0, 0); + } + } + case 5: { + if ((ruin40 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 40), 0, 0, 0); + } + } + case 4: { + if ((ruin40 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 40), 0, 0, 0); + } + } + case 3: { + if ((ruin40 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 40), 0, 0, 0); + } + } + case 2: { + if ((ruin40 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 40), 0, 0, 0); + } + } + case 1: { + if ((ruin40 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 40), 0, 0, 0); + } + } + case 0: { + if ((ruin40 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 40), 0, 0, 0); + } + } + } + }if (ruin41 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin41 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 41), 0, 0, 0); + } + } + case 59: { + if ((ruin41 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 41), 0, 0, 0); + } + } + case 58: { + if ((ruin41 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 41), 0, 0, 0); + } + } + case 57: { + if ((ruin41 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 41), 0, 0, 0); + } + } + case 56: { + if ((ruin41 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 41), 0, 0, 0); + } + } + case 55: { + if ((ruin41 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 41), 0, 0, 0); + } + } + case 54: { + if ((ruin41 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 41), 0, 0, 0); + } + } + case 53: { + if ((ruin41 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 41), 0, 0, 0); + } + } + case 52: { + if ((ruin41 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 41), 0, 0, 0); + } + } + case 51: { + if ((ruin41 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 41), 0, 0, 0); + } + } + case 50: { + if ((ruin41 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 41), 0, 0, 0); + } + } + case 49: { + if ((ruin41 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 41), 0, 0, 0); + } + } + case 48: { + if ((ruin41 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 41), 0, 0, 0); + } + } + case 47: { + if ((ruin41 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 41), 0, 0, 0); + } + } + case 46: { + if ((ruin41 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 41), 0, 0, 0); + } + } + case 45: { + if ((ruin41 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 41), 0, 0, 0); + } + } + case 44: { + if ((ruin41 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 41), 0, 0, 0); + } + } + case 43: { + if ((ruin41 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 41), 0, 0, 0); + } + } + case 42: { + if ((ruin41 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 41), 0, 0, 0); + } + } + case 41: { + if ((ruin41 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 41), 0, 0, 0); + } + } + case 40: { + if ((ruin41 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 41), 0, 0, 0); + } + } + case 39: { + if ((ruin41 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 41), 0, 0, 0); + } + } + case 38: { + if ((ruin41 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 41), 0, 0, 0); + } + } + case 37: { + if ((ruin41 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 41), 0, 0, 0); + } + } + case 36: { + if ((ruin41 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 41), 0, 0, 0); + } + } + case 35: { + if ((ruin41 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 41), 0, 0, 0); + } + } + case 34: { + if ((ruin41 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 41), 0, 0, 0); + } + } + case 33: { + if ((ruin41 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 41), 0, 0, 0); + } + } + case 32: { + if ((ruin41 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 41), 0, 0, 0); + } + } + case 31: { + if ((ruin41 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 41), 0, 0, 0); + } + } + case 30: { + if ((ruin41 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 41), 0, 0, 0); + } + } + case 29: { + if ((ruin41 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 41), 0, 0, 0); + } + } + case 28: { + if ((ruin41 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 41), 0, 0, 0); + } + } + case 27: { + if ((ruin41 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 41), 0, 0, 0); + } + } + case 26: { + if ((ruin41 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 41), 0, 0, 0); + } + } + case 25: { + if ((ruin41 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 41), 0, 0, 0); + } + } + case 24: { + if ((ruin41 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 41), 0, 0, 0); + } + } + case 23: { + if ((ruin41 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 41), 0, 0, 0); + } + } + case 22: { + if ((ruin41 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 41), 0, 0, 0); + } + } + case 21: { + if ((ruin41 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 41), 0, 0, 0); + } + } + case 20: { + if ((ruin41 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 41), 0, 0, 0); + } + } + case 19: { + if ((ruin41 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 41), 0, 0, 0); + } + } + case 18: { + if ((ruin41 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 41), 0, 0, 0); + } + } + case 17: { + if ((ruin41 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 41), 0, 0, 0); + } + } + case 16: { + if ((ruin41 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 41), 0, 0, 0); + } + } + case 15: { + if ((ruin41 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 41), 0, 0, 0); + } + } + case 14: { + if ((ruin41 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 41), 0, 0, 0); + } + } + case 13: { + if ((ruin41 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 41), 0, 0, 0); + } + } + case 12: { + if ((ruin41 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 41), 0, 0, 0); + } + } + case 11: { + if ((ruin41 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 41), 0, 0, 0); + } + } + case 10: { + if ((ruin41 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 41), 0, 0, 0); + } + } + case 9: { + if ((ruin41 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 41), 0, 0, 0); + } + } + case 8: { + if ((ruin41 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 41), 0, 0, 0); + } + } + case 7: { + if ((ruin41 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 41), 0, 0, 0); + } + } + case 6: { + if ((ruin41 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 41), 0, 0, 0); + } + } + case 5: { + if ((ruin41 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 41), 0, 0, 0); + } + } + case 4: { + if ((ruin41 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 41), 0, 0, 0); + } + } + case 3: { + if ((ruin41 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 41), 0, 0, 0); + } + } + case 2: { + if ((ruin41 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 41), 0, 0, 0); + } + } + case 1: { + if ((ruin41 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 41), 0, 0, 0); + } + } + case 0: { + if ((ruin41 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 41), 0, 0, 0); + } + } + } + }if (ruin42 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin42 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 42), 0, 0, 0); + } + } + case 59: { + if ((ruin42 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 42), 0, 0, 0); + } + } + case 58: { + if ((ruin42 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 42), 0, 0, 0); + } + } + case 57: { + if ((ruin42 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 42), 0, 0, 0); + } + } + case 56: { + if ((ruin42 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 42), 0, 0, 0); + } + } + case 55: { + if ((ruin42 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 42), 0, 0, 0); + } + } + case 54: { + if ((ruin42 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 42), 0, 0, 0); + } + } + case 53: { + if ((ruin42 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 42), 0, 0, 0); + } + } + case 52: { + if ((ruin42 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 42), 0, 0, 0); + } + } + case 51: { + if ((ruin42 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 42), 0, 0, 0); + } + } + case 50: { + if ((ruin42 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 42), 0, 0, 0); + } + } + case 49: { + if ((ruin42 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 42), 0, 0, 0); + } + } + case 48: { + if ((ruin42 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 42), 0, 0, 0); + } + } + case 47: { + if ((ruin42 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 42), 0, 0, 0); + } + } + case 46: { + if ((ruin42 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 42), 0, 0, 0); + } + } + case 45: { + if ((ruin42 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 42), 0, 0, 0); + } + } + case 44: { + if ((ruin42 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 42), 0, 0, 0); + } + } + case 43: { + if ((ruin42 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 42), 0, 0, 0); + } + } + case 42: { + if ((ruin42 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 42), 0, 0, 0); + } + } + case 41: { + if ((ruin42 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 42), 0, 0, 0); + } + } + case 40: { + if ((ruin42 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 42), 0, 0, 0); + } + } + case 39: { + if ((ruin42 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 42), 0, 0, 0); + } + } + case 38: { + if ((ruin42 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 42), 0, 0, 0); + } + } + case 37: { + if ((ruin42 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 42), 0, 0, 0); + } + } + case 36: { + if ((ruin42 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 42), 0, 0, 0); + } + } + case 35: { + if ((ruin42 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 42), 0, 0, 0); + } + } + case 34: { + if ((ruin42 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 42), 0, 0, 0); + } + } + case 33: { + if ((ruin42 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 42), 0, 0, 0); + } + } + case 32: { + if ((ruin42 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 42), 0, 0, 0); + } + } + case 31: { + if ((ruin42 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 42), 0, 0, 0); + } + } + case 30: { + if ((ruin42 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 42), 0, 0, 0); + } + } + case 29: { + if ((ruin42 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 42), 0, 0, 0); + } + } + case 28: { + if ((ruin42 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 42), 0, 0, 0); + } + } + case 27: { + if ((ruin42 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 42), 0, 0, 0); + } + } + case 26: { + if ((ruin42 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 42), 0, 0, 0); + } + } + case 25: { + if ((ruin42 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 42), 0, 0, 0); + } + } + case 24: { + if ((ruin42 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 42), 0, 0, 0); + } + } + case 23: { + if ((ruin42 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 42), 0, 0, 0); + } + } + case 22: { + if ((ruin42 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 42), 0, 0, 0); + } + } + case 21: { + if ((ruin42 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 42), 0, 0, 0); + } + } + case 20: { + if ((ruin42 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 42), 0, 0, 0); + } + } + case 19: { + if ((ruin42 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 42), 0, 0, 0); + } + } + case 18: { + if ((ruin42 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 42), 0, 0, 0); + } + } + case 17: { + if ((ruin42 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 42), 0, 0, 0); + } + } + case 16: { + if ((ruin42 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 42), 0, 0, 0); + } + } + case 15: { + if ((ruin42 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 42), 0, 0, 0); + } + } + case 14: { + if ((ruin42 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 42), 0, 0, 0); + } + } + case 13: { + if ((ruin42 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 42), 0, 0, 0); + } + } + case 12: { + if ((ruin42 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 42), 0, 0, 0); + } + } + case 11: { + if ((ruin42 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 42), 0, 0, 0); + } + } + case 10: { + if ((ruin42 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 42), 0, 0, 0); + } + } + case 9: { + if ((ruin42 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 42), 0, 0, 0); + } + } + case 8: { + if ((ruin42 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 42), 0, 0, 0); + } + } + case 7: { + if ((ruin42 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 42), 0, 0, 0); + } + } + case 6: { + if ((ruin42 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 42), 0, 0, 0); + } + } + case 5: { + if ((ruin42 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 42), 0, 0, 0); + } + } + case 4: { + if ((ruin42 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 42), 0, 0, 0); + } + } + case 3: { + if ((ruin42 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 42), 0, 0, 0); + } + } + case 2: { + if ((ruin42 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 42), 0, 0, 0); + } + } + case 1: { + if ((ruin42 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 42), 0, 0, 0); + } + } + case 0: { + if ((ruin42 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 42), 0, 0, 0); + } + } + } + }if (ruin43 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin43 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 43), 0, 0, 0); + } + } + case 59: { + if ((ruin43 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 43), 0, 0, 0); + } + } + case 58: { + if ((ruin43 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 43), 0, 0, 0); + } + } + case 57: { + if ((ruin43 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 43), 0, 0, 0); + } + } + case 56: { + if ((ruin43 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 43), 0, 0, 0); + } + } + case 55: { + if ((ruin43 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 43), 0, 0, 0); + } + } + case 54: { + if ((ruin43 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 43), 0, 0, 0); + } + } + case 53: { + if ((ruin43 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 43), 0, 0, 0); + } + } + case 52: { + if ((ruin43 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 43), 0, 0, 0); + } + } + case 51: { + if ((ruin43 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 43), 0, 0, 0); + } + } + case 50: { + if ((ruin43 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 43), 0, 0, 0); + } + } + case 49: { + if ((ruin43 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 43), 0, 0, 0); + } + } + case 48: { + if ((ruin43 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 43), 0, 0, 0); + } + } + case 47: { + if ((ruin43 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 43), 0, 0, 0); + } + } + case 46: { + if ((ruin43 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 43), 0, 0, 0); + } + } + case 45: { + if ((ruin43 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 43), 0, 0, 0); + } + } + case 44: { + if ((ruin43 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 43), 0, 0, 0); + } + } + case 43: { + if ((ruin43 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 43), 0, 0, 0); + } + } + case 42: { + if ((ruin43 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 43), 0, 0, 0); + } + } + case 41: { + if ((ruin43 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 43), 0, 0, 0); + } + } + case 40: { + if ((ruin43 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 43), 0, 0, 0); + } + } + case 39: { + if ((ruin43 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 43), 0, 0, 0); + } + } + case 38: { + if ((ruin43 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 43), 0, 0, 0); + } + } + case 37: { + if ((ruin43 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 43), 0, 0, 0); + } + } + case 36: { + if ((ruin43 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 43), 0, 0, 0); + } + } + case 35: { + if ((ruin43 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 43), 0, 0, 0); + } + } + case 34: { + if ((ruin43 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 43), 0, 0, 0); + } + } + case 33: { + if ((ruin43 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 43), 0, 0, 0); + } + } + case 32: { + if ((ruin43 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 43), 0, 0, 0); + } + } + case 31: { + if ((ruin43 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 43), 0, 0, 0); + } + } + case 30: { + if ((ruin43 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 43), 0, 0, 0); + } + } + case 29: { + if ((ruin43 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 43), 0, 0, 0); + } + } + case 28: { + if ((ruin43 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 43), 0, 0, 0); + } + } + case 27: { + if ((ruin43 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 43), 0, 0, 0); + } + } + case 26: { + if ((ruin43 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 43), 0, 0, 0); + } + } + case 25: { + if ((ruin43 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 43), 0, 0, 0); + } + } + case 24: { + if ((ruin43 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 43), 0, 0, 0); + } + } + case 23: { + if ((ruin43 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 43), 0, 0, 0); + } + } + case 22: { + if ((ruin43 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 43), 0, 0, 0); + } + } + case 21: { + if ((ruin43 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 43), 0, 0, 0); + } + } + case 20: { + if ((ruin43 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 43), 0, 0, 0); + } + } + case 19: { + if ((ruin43 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 43), 0, 0, 0); + } + } + case 18: { + if ((ruin43 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 43), 0, 0, 0); + } + } + case 17: { + if ((ruin43 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 43), 0, 0, 0); + } + } + case 16: { + if ((ruin43 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 43), 0, 0, 0); + } + } + case 15: { + if ((ruin43 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 43), 0, 0, 0); + } + } + case 14: { + if ((ruin43 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 43), 0, 0, 0); + } + } + case 13: { + if ((ruin43 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 43), 0, 0, 0); + } + } + case 12: { + if ((ruin43 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 43), 0, 0, 0); + } + } + case 11: { + if ((ruin43 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 43), 0, 0, 0); + } + } + case 10: { + if ((ruin43 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 43), 0, 0, 0); + } + } + case 9: { + if ((ruin43 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 43), 0, 0, 0); + } + } + case 8: { + if ((ruin43 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 43), 0, 0, 0); + } + } + case 7: { + if ((ruin43 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 43), 0, 0, 0); + } + } + case 6: { + if ((ruin43 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 43), 0, 0, 0); + } + } + case 5: { + if ((ruin43 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 43), 0, 0, 0); + } + } + case 4: { + if ((ruin43 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 43), 0, 0, 0); + } + } + case 3: { + if ((ruin43 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 43), 0, 0, 0); + } + } + case 2: { + if ((ruin43 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 43), 0, 0, 0); + } + } + case 1: { + if ((ruin43 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 43), 0, 0, 0); + } + } + case 0: { + if ((ruin43 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 43), 0, 0, 0); + } + } + } + }if (ruin44 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin44 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 44), 0, 0, 0); + } + } + case 59: { + if ((ruin44 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 44), 0, 0, 0); + } + } + case 58: { + if ((ruin44 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 44), 0, 0, 0); + } + } + case 57: { + if ((ruin44 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 44), 0, 0, 0); + } + } + case 56: { + if ((ruin44 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 44), 0, 0, 0); + } + } + case 55: { + if ((ruin44 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 44), 0, 0, 0); + } + } + case 54: { + if ((ruin44 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 44), 0, 0, 0); + } + } + case 53: { + if ((ruin44 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 44), 0, 0, 0); + } + } + case 52: { + if ((ruin44 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 44), 0, 0, 0); + } + } + case 51: { + if ((ruin44 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 44), 0, 0, 0); + } + } + case 50: { + if ((ruin44 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 44), 0, 0, 0); + } + } + case 49: { + if ((ruin44 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 44), 0, 0, 0); + } + } + case 48: { + if ((ruin44 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 44), 0, 0, 0); + } + } + case 47: { + if ((ruin44 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 44), 0, 0, 0); + } + } + case 46: { + if ((ruin44 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 44), 0, 0, 0); + } + } + case 45: { + if ((ruin44 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 44), 0, 0, 0); + } + } + case 44: { + if ((ruin44 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 44), 0, 0, 0); + } + } + case 43: { + if ((ruin44 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 44), 0, 0, 0); + } + } + case 42: { + if ((ruin44 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 44), 0, 0, 0); + } + } + case 41: { + if ((ruin44 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 44), 0, 0, 0); + } + } + case 40: { + if ((ruin44 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 44), 0, 0, 0); + } + } + case 39: { + if ((ruin44 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 44), 0, 0, 0); + } + } + case 38: { + if ((ruin44 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 44), 0, 0, 0); + } + } + case 37: { + if ((ruin44 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 44), 0, 0, 0); + } + } + case 36: { + if ((ruin44 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 44), 0, 0, 0); + } + } + case 35: { + if ((ruin44 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 44), 0, 0, 0); + } + } + case 34: { + if ((ruin44 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 44), 0, 0, 0); + } + } + case 33: { + if ((ruin44 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 44), 0, 0, 0); + } + } + case 32: { + if ((ruin44 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 44), 0, 0, 0); + } + } + case 31: { + if ((ruin44 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 44), 0, 0, 0); + } + } + case 30: { + if ((ruin44 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 44), 0, 0, 0); + } + } + case 29: { + if ((ruin44 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 44), 0, 0, 0); + } + } + case 28: { + if ((ruin44 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 44), 0, 0, 0); + } + } + case 27: { + if ((ruin44 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 44), 0, 0, 0); + } + } + case 26: { + if ((ruin44 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 44), 0, 0, 0); + } + } + case 25: { + if ((ruin44 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 44), 0, 0, 0); + } + } + case 24: { + if ((ruin44 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 44), 0, 0, 0); + } + } + case 23: { + if ((ruin44 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 44), 0, 0, 0); + } + } + case 22: { + if ((ruin44 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 44), 0, 0, 0); + } + } + case 21: { + if ((ruin44 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 44), 0, 0, 0); + } + } + case 20: { + if ((ruin44 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 44), 0, 0, 0); + } + } + case 19: { + if ((ruin44 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 44), 0, 0, 0); + } + } + case 18: { + if ((ruin44 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 44), 0, 0, 0); + } + } + case 17: { + if ((ruin44 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 44), 0, 0, 0); + } + } + case 16: { + if ((ruin44 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 44), 0, 0, 0); + } + } + case 15: { + if ((ruin44 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 44), 0, 0, 0); + } + } + case 14: { + if ((ruin44 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 44), 0, 0, 0); + } + } + case 13: { + if ((ruin44 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 44), 0, 0, 0); + } + } + case 12: { + if ((ruin44 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 44), 0, 0, 0); + } + } + case 11: { + if ((ruin44 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 44), 0, 0, 0); + } + } + case 10: { + if ((ruin44 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 44), 0, 0, 0); + } + } + case 9: { + if ((ruin44 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 44), 0, 0, 0); + } + } + case 8: { + if ((ruin44 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 44), 0, 0, 0); + } + } + case 7: { + if ((ruin44 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 44), 0, 0, 0); + } + } + case 6: { + if ((ruin44 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 44), 0, 0, 0); + } + } + case 5: { + if ((ruin44 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 44), 0, 0, 0); + } + } + case 4: { + if ((ruin44 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 44), 0, 0, 0); + } + } + case 3: { + if ((ruin44 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 44), 0, 0, 0); + } + } + case 2: { + if ((ruin44 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 44), 0, 0, 0); + } + } + case 1: { + if ((ruin44 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 44), 0, 0, 0); + } + } + case 0: { + if ((ruin44 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 44), 0, 0, 0); + } + } + } + }if (ruin45 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin45 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 45), 0, 0, 0); + } + } + case 59: { + if ((ruin45 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 45), 0, 0, 0); + } + } + case 58: { + if ((ruin45 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 45), 0, 0, 0); + } + } + case 57: { + if ((ruin45 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 45), 0, 0, 0); + } + } + case 56: { + if ((ruin45 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 45), 0, 0, 0); + } + } + case 55: { + if ((ruin45 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 45), 0, 0, 0); + } + } + case 54: { + if ((ruin45 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 45), 0, 0, 0); + } + } + case 53: { + if ((ruin45 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 45), 0, 0, 0); + } + } + case 52: { + if ((ruin45 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 45), 0, 0, 0); + } + } + case 51: { + if ((ruin45 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 45), 0, 0, 0); + } + } + case 50: { + if ((ruin45 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 45), 0, 0, 0); + } + } + case 49: { + if ((ruin45 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 45), 0, 0, 0); + } + } + case 48: { + if ((ruin45 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 45), 0, 0, 0); + } + } + case 47: { + if ((ruin45 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 45), 0, 0, 0); + } + } + case 46: { + if ((ruin45 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 45), 0, 0, 0); + } + } + case 45: { + if ((ruin45 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 45), 0, 0, 0); + } + } + case 44: { + if ((ruin45 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 45), 0, 0, 0); + } + } + case 43: { + if ((ruin45 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 45), 0, 0, 0); + } + } + case 42: { + if ((ruin45 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 45), 0, 0, 0); + } + } + case 41: { + if ((ruin45 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 45), 0, 0, 0); + } + } + case 40: { + if ((ruin45 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 45), 0, 0, 0); + } + } + case 39: { + if ((ruin45 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 45), 0, 0, 0); + } + } + case 38: { + if ((ruin45 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 45), 0, 0, 0); + } + } + case 37: { + if ((ruin45 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 45), 0, 0, 0); + } + } + case 36: { + if ((ruin45 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 45), 0, 0, 0); + } + } + case 35: { + if ((ruin45 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 45), 0, 0, 0); + } + } + case 34: { + if ((ruin45 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 45), 0, 0, 0); + } + } + case 33: { + if ((ruin45 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 45), 0, 0, 0); + } + } + case 32: { + if ((ruin45 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 45), 0, 0, 0); + } + } + case 31: { + if ((ruin45 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 45), 0, 0, 0); + } + } + case 30: { + if ((ruin45 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 45), 0, 0, 0); + } + } + case 29: { + if ((ruin45 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 45), 0, 0, 0); + } + } + case 28: { + if ((ruin45 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 45), 0, 0, 0); + } + } + case 27: { + if ((ruin45 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 45), 0, 0, 0); + } + } + case 26: { + if ((ruin45 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 45), 0, 0, 0); + } + } + case 25: { + if ((ruin45 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 45), 0, 0, 0); + } + } + case 24: { + if ((ruin45 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 45), 0, 0, 0); + } + } + case 23: { + if ((ruin45 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 45), 0, 0, 0); + } + } + case 22: { + if ((ruin45 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 45), 0, 0, 0); + } + } + case 21: { + if ((ruin45 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 45), 0, 0, 0); + } + } + case 20: { + if ((ruin45 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 45), 0, 0, 0); + } + } + case 19: { + if ((ruin45 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 45), 0, 0, 0); + } + } + case 18: { + if ((ruin45 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 45), 0, 0, 0); + } + } + case 17: { + if ((ruin45 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 45), 0, 0, 0); + } + } + case 16: { + if ((ruin45 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 45), 0, 0, 0); + } + } + case 15: { + if ((ruin45 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 45), 0, 0, 0); + } + } + case 14: { + if ((ruin45 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 45), 0, 0, 0); + } + } + case 13: { + if ((ruin45 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 45), 0, 0, 0); + } + } + case 12: { + if ((ruin45 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 45), 0, 0, 0); + } + } + case 11: { + if ((ruin45 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 45), 0, 0, 0); + } + } + case 10: { + if ((ruin45 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 45), 0, 0, 0); + } + } + case 9: { + if ((ruin45 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 45), 0, 0, 0); + } + } + case 8: { + if ((ruin45 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 45), 0, 0, 0); + } + } + case 7: { + if ((ruin45 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 45), 0, 0, 0); + } + } + case 6: { + if ((ruin45 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 45), 0, 0, 0); + } + } + case 5: { + if ((ruin45 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 45), 0, 0, 0); + } + } + case 4: { + if ((ruin45 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 45), 0, 0, 0); + } + } + case 3: { + if ((ruin45 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 45), 0, 0, 0); + } + } + case 2: { + if ((ruin45 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 45), 0, 0, 0); + } + } + case 1: { + if ((ruin45 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 45), 0, 0, 0); + } + } + case 0: { + if ((ruin45 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 45), 0, 0, 0); + } + } + } + }if (ruin46 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin46 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 46), 0, 0, 0); + } + } + case 59: { + if ((ruin46 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 46), 0, 0, 0); + } + } + case 58: { + if ((ruin46 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 46), 0, 0, 0); + } + } + case 57: { + if ((ruin46 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 46), 0, 0, 0); + } + } + case 56: { + if ((ruin46 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 46), 0, 0, 0); + } + } + case 55: { + if ((ruin46 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 46), 0, 0, 0); + } + } + case 54: { + if ((ruin46 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 46), 0, 0, 0); + } + } + case 53: { + if ((ruin46 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 46), 0, 0, 0); + } + } + case 52: { + if ((ruin46 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 46), 0, 0, 0); + } + } + case 51: { + if ((ruin46 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 46), 0, 0, 0); + } + } + case 50: { + if ((ruin46 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 46), 0, 0, 0); + } + } + case 49: { + if ((ruin46 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 46), 0, 0, 0); + } + } + case 48: { + if ((ruin46 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 46), 0, 0, 0); + } + } + case 47: { + if ((ruin46 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 46), 0, 0, 0); + } + } + case 46: { + if ((ruin46 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 46), 0, 0, 0); + } + } + case 45: { + if ((ruin46 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 46), 0, 0, 0); + } + } + case 44: { + if ((ruin46 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 46), 0, 0, 0); + } + } + case 43: { + if ((ruin46 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 46), 0, 0, 0); + } + } + case 42: { + if ((ruin46 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 46), 0, 0, 0); + } + } + case 41: { + if ((ruin46 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 46), 0, 0, 0); + } + } + case 40: { + if ((ruin46 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 46), 0, 0, 0); + } + } + case 39: { + if ((ruin46 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 46), 0, 0, 0); + } + } + case 38: { + if ((ruin46 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 46), 0, 0, 0); + } + } + case 37: { + if ((ruin46 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 46), 0, 0, 0); + } + } + case 36: { + if ((ruin46 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 46), 0, 0, 0); + } + } + case 35: { + if ((ruin46 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 46), 0, 0, 0); + } + } + case 34: { + if ((ruin46 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 46), 0, 0, 0); + } + } + case 33: { + if ((ruin46 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 46), 0, 0, 0); + } + } + case 32: { + if ((ruin46 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 46), 0, 0, 0); + } + } + case 31: { + if ((ruin46 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 46), 0, 0, 0); + } + } + case 30: { + if ((ruin46 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 46), 0, 0, 0); + } + } + case 29: { + if ((ruin46 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 46), 0, 0, 0); + } + } + case 28: { + if ((ruin46 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 46), 0, 0, 0); + } + } + case 27: { + if ((ruin46 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 46), 0, 0, 0); + } + } + case 26: { + if ((ruin46 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 46), 0, 0, 0); + } + } + case 25: { + if ((ruin46 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 46), 0, 0, 0); + } + } + case 24: { + if ((ruin46 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 46), 0, 0, 0); + } + } + case 23: { + if ((ruin46 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 46), 0, 0, 0); + } + } + case 22: { + if ((ruin46 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 46), 0, 0, 0); + } + } + case 21: { + if ((ruin46 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 46), 0, 0, 0); + } + } + case 20: { + if ((ruin46 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 46), 0, 0, 0); + } + } + case 19: { + if ((ruin46 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 46), 0, 0, 0); + } + } + case 18: { + if ((ruin46 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 46), 0, 0, 0); + } + } + case 17: { + if ((ruin46 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 46), 0, 0, 0); + } + } + case 16: { + if ((ruin46 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 46), 0, 0, 0); + } + } + case 15: { + if ((ruin46 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 46), 0, 0, 0); + } + } + case 14: { + if ((ruin46 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 46), 0, 0, 0); + } + } + case 13: { + if ((ruin46 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 46), 0, 0, 0); + } + } + case 12: { + if ((ruin46 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 46), 0, 0, 0); + } + } + case 11: { + if ((ruin46 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 46), 0, 0, 0); + } + } + case 10: { + if ((ruin46 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 46), 0, 0, 0); + } + } + case 9: { + if ((ruin46 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 46), 0, 0, 0); + } + } + case 8: { + if ((ruin46 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 46), 0, 0, 0); + } + } + case 7: { + if ((ruin46 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 46), 0, 0, 0); + } + } + case 6: { + if ((ruin46 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 46), 0, 0, 0); + } + } + case 5: { + if ((ruin46 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 46), 0, 0, 0); + } + } + case 4: { + if ((ruin46 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 46), 0, 0, 0); + } + } + case 3: { + if ((ruin46 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 46), 0, 0, 0); + } + } + case 2: { + if ((ruin46 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 46), 0, 0, 0); + } + } + case 1: { + if ((ruin46 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 46), 0, 0, 0); + } + } + case 0: { + if ((ruin46 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 46), 0, 0, 0); + } + } + } + }if (ruin47 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin47 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 47), 0, 0, 0); + } + } + case 59: { + if ((ruin47 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 47), 0, 0, 0); + } + } + case 58: { + if ((ruin47 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 47), 0, 0, 0); + } + } + case 57: { + if ((ruin47 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 47), 0, 0, 0); + } + } + case 56: { + if ((ruin47 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 47), 0, 0, 0); + } + } + case 55: { + if ((ruin47 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 47), 0, 0, 0); + } + } + case 54: { + if ((ruin47 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 47), 0, 0, 0); + } + } + case 53: { + if ((ruin47 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 47), 0, 0, 0); + } + } + case 52: { + if ((ruin47 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 47), 0, 0, 0); + } + } + case 51: { + if ((ruin47 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 47), 0, 0, 0); + } + } + case 50: { + if ((ruin47 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 47), 0, 0, 0); + } + } + case 49: { + if ((ruin47 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 47), 0, 0, 0); + } + } + case 48: { + if ((ruin47 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 47), 0, 0, 0); + } + } + case 47: { + if ((ruin47 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 47), 0, 0, 0); + } + } + case 46: { + if ((ruin47 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 47), 0, 0, 0); + } + } + case 45: { + if ((ruin47 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 47), 0, 0, 0); + } + } + case 44: { + if ((ruin47 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 47), 0, 0, 0); + } + } + case 43: { + if ((ruin47 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 47), 0, 0, 0); + } + } + case 42: { + if ((ruin47 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 47), 0, 0, 0); + } + } + case 41: { + if ((ruin47 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 47), 0, 0, 0); + } + } + case 40: { + if ((ruin47 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 47), 0, 0, 0); + } + } + case 39: { + if ((ruin47 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 47), 0, 0, 0); + } + } + case 38: { + if ((ruin47 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 47), 0, 0, 0); + } + } + case 37: { + if ((ruin47 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 47), 0, 0, 0); + } + } + case 36: { + if ((ruin47 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 47), 0, 0, 0); + } + } + case 35: { + if ((ruin47 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 47), 0, 0, 0); + } + } + case 34: { + if ((ruin47 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 47), 0, 0, 0); + } + } + case 33: { + if ((ruin47 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 47), 0, 0, 0); + } + } + case 32: { + if ((ruin47 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 47), 0, 0, 0); + } + } + case 31: { + if ((ruin47 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 47), 0, 0, 0); + } + } + case 30: { + if ((ruin47 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 47), 0, 0, 0); + } + } + case 29: { + if ((ruin47 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 47), 0, 0, 0); + } + } + case 28: { + if ((ruin47 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 47), 0, 0, 0); + } + } + case 27: { + if ((ruin47 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 47), 0, 0, 0); + } + } + case 26: { + if ((ruin47 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 47), 0, 0, 0); + } + } + case 25: { + if ((ruin47 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 47), 0, 0, 0); + } + } + case 24: { + if ((ruin47 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 47), 0, 0, 0); + } + } + case 23: { + if ((ruin47 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 47), 0, 0, 0); + } + } + case 22: { + if ((ruin47 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 47), 0, 0, 0); + } + } + case 21: { + if ((ruin47 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 47), 0, 0, 0); + } + } + case 20: { + if ((ruin47 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 47), 0, 0, 0); + } + } + case 19: { + if ((ruin47 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 47), 0, 0, 0); + } + } + case 18: { + if ((ruin47 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 47), 0, 0, 0); + } + } + case 17: { + if ((ruin47 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 47), 0, 0, 0); + } + } + case 16: { + if ((ruin47 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 47), 0, 0, 0); + } + } + case 15: { + if ((ruin47 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 47), 0, 0, 0); + } + } + case 14: { + if ((ruin47 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 47), 0, 0, 0); + } + } + case 13: { + if ((ruin47 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 47), 0, 0, 0); + } + } + case 12: { + if ((ruin47 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 47), 0, 0, 0); + } + } + case 11: { + if ((ruin47 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 47), 0, 0, 0); + } + } + case 10: { + if ((ruin47 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 47), 0, 0, 0); + } + } + case 9: { + if ((ruin47 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 47), 0, 0, 0); + } + } + case 8: { + if ((ruin47 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 47), 0, 0, 0); + } + } + case 7: { + if ((ruin47 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 47), 0, 0, 0); + } + } + case 6: { + if ((ruin47 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 47), 0, 0, 0); + } + } + case 5: { + if ((ruin47 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 47), 0, 0, 0); + } + } + case 4: { + if ((ruin47 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 47), 0, 0, 0); + } + } + case 3: { + if ((ruin47 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 47), 0, 0, 0); + } + } + case 2: { + if ((ruin47 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 47), 0, 0, 0); + } + } + case 1: { + if ((ruin47 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 47), 0, 0, 0); + } + } + case 0: { + if ((ruin47 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 47), 0, 0, 0); + } + } + } + }if (ruin48 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin48 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 48), 0, 0, 0); + } + } + case 59: { + if ((ruin48 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 48), 0, 0, 0); + } + } + case 58: { + if ((ruin48 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 48), 0, 0, 0); + } + } + case 57: { + if ((ruin48 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 48), 0, 0, 0); + } + } + case 56: { + if ((ruin48 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 48), 0, 0, 0); + } + } + case 55: { + if ((ruin48 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 48), 0, 0, 0); + } + } + case 54: { + if ((ruin48 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 48), 0, 0, 0); + } + } + case 53: { + if ((ruin48 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 48), 0, 0, 0); + } + } + case 52: { + if ((ruin48 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 48), 0, 0, 0); + } + } + case 51: { + if ((ruin48 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 48), 0, 0, 0); + } + } + case 50: { + if ((ruin48 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 48), 0, 0, 0); + } + } + case 49: { + if ((ruin48 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 48), 0, 0, 0); + } + } + case 48: { + if ((ruin48 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 48), 0, 0, 0); + } + } + case 47: { + if ((ruin48 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 48), 0, 0, 0); + } + } + case 46: { + if ((ruin48 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 48), 0, 0, 0); + } + } + case 45: { + if ((ruin48 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 48), 0, 0, 0); + } + } + case 44: { + if ((ruin48 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 48), 0, 0, 0); + } + } + case 43: { + if ((ruin48 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 48), 0, 0, 0); + } + } + case 42: { + if ((ruin48 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 48), 0, 0, 0); + } + } + case 41: { + if ((ruin48 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 48), 0, 0, 0); + } + } + case 40: { + if ((ruin48 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 48), 0, 0, 0); + } + } + case 39: { + if ((ruin48 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 48), 0, 0, 0); + } + } + case 38: { + if ((ruin48 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 48), 0, 0, 0); + } + } + case 37: { + if ((ruin48 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 48), 0, 0, 0); + } + } + case 36: { + if ((ruin48 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 48), 0, 0, 0); + } + } + case 35: { + if ((ruin48 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 48), 0, 0, 0); + } + } + case 34: { + if ((ruin48 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 48), 0, 0, 0); + } + } + case 33: { + if ((ruin48 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 48), 0, 0, 0); + } + } + case 32: { + if ((ruin48 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 48), 0, 0, 0); + } + } + case 31: { + if ((ruin48 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 48), 0, 0, 0); + } + } + case 30: { + if ((ruin48 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 48), 0, 0, 0); + } + } + case 29: { + if ((ruin48 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 48), 0, 0, 0); + } + } + case 28: { + if ((ruin48 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 48), 0, 0, 0); + } + } + case 27: { + if ((ruin48 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 48), 0, 0, 0); + } + } + case 26: { + if ((ruin48 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 48), 0, 0, 0); + } + } + case 25: { + if ((ruin48 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 48), 0, 0, 0); + } + } + case 24: { + if ((ruin48 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 48), 0, 0, 0); + } + } + case 23: { + if ((ruin48 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 48), 0, 0, 0); + } + } + case 22: { + if ((ruin48 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 48), 0, 0, 0); + } + } + case 21: { + if ((ruin48 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 48), 0, 0, 0); + } + } + case 20: { + if ((ruin48 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 48), 0, 0, 0); + } + } + case 19: { + if ((ruin48 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 48), 0, 0, 0); + } + } + case 18: { + if ((ruin48 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 48), 0, 0, 0); + } + } + case 17: { + if ((ruin48 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 48), 0, 0, 0); + } + } + case 16: { + if ((ruin48 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 48), 0, 0, 0); + } + } + case 15: { + if ((ruin48 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 48), 0, 0, 0); + } + } + case 14: { + if ((ruin48 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 48), 0, 0, 0); + } + } + case 13: { + if ((ruin48 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 48), 0, 0, 0); + } + } + case 12: { + if ((ruin48 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 48), 0, 0, 0); + } + } + case 11: { + if ((ruin48 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 48), 0, 0, 0); + } + } + case 10: { + if ((ruin48 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 48), 0, 0, 0); + } + } + case 9: { + if ((ruin48 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 48), 0, 0, 0); + } + } + case 8: { + if ((ruin48 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 48), 0, 0, 0); + } + } + case 7: { + if ((ruin48 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 48), 0, 0, 0); + } + } + case 6: { + if ((ruin48 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 48), 0, 0, 0); + } + } + case 5: { + if ((ruin48 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 48), 0, 0, 0); + } + } + case 4: { + if ((ruin48 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 48), 0, 0, 0); + } + } + case 3: { + if ((ruin48 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 48), 0, 0, 0); + } + } + case 2: { + if ((ruin48 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 48), 0, 0, 0); + } + } + case 1: { + if ((ruin48 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 48), 0, 0, 0); + } + } + case 0: { + if ((ruin48 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 48), 0, 0, 0); + } + } + } + }if (ruin49 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin49 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 49), 0, 0, 0); + } + } + case 59: { + if ((ruin49 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 49), 0, 0, 0); + } + } + case 58: { + if ((ruin49 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 49), 0, 0, 0); + } + } + case 57: { + if ((ruin49 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 49), 0, 0, 0); + } + } + case 56: { + if ((ruin49 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 49), 0, 0, 0); + } + } + case 55: { + if ((ruin49 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 49), 0, 0, 0); + } + } + case 54: { + if ((ruin49 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 49), 0, 0, 0); + } + } + case 53: { + if ((ruin49 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 49), 0, 0, 0); + } + } + case 52: { + if ((ruin49 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 49), 0, 0, 0); + } + } + case 51: { + if ((ruin49 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 49), 0, 0, 0); + } + } + case 50: { + if ((ruin49 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 49), 0, 0, 0); + } + } + case 49: { + if ((ruin49 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 49), 0, 0, 0); + } + } + case 48: { + if ((ruin49 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 49), 0, 0, 0); + } + } + case 47: { + if ((ruin49 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 49), 0, 0, 0); + } + } + case 46: { + if ((ruin49 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 49), 0, 0, 0); + } + } + case 45: { + if ((ruin49 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 49), 0, 0, 0); + } + } + case 44: { + if ((ruin49 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 49), 0, 0, 0); + } + } + case 43: { + if ((ruin49 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 49), 0, 0, 0); + } + } + case 42: { + if ((ruin49 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 49), 0, 0, 0); + } + } + case 41: { + if ((ruin49 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 49), 0, 0, 0); + } + } + case 40: { + if ((ruin49 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 49), 0, 0, 0); + } + } + case 39: { + if ((ruin49 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 49), 0, 0, 0); + } + } + case 38: { + if ((ruin49 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 49), 0, 0, 0); + } + } + case 37: { + if ((ruin49 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 49), 0, 0, 0); + } + } + case 36: { + if ((ruin49 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 49), 0, 0, 0); + } + } + case 35: { + if ((ruin49 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 49), 0, 0, 0); + } + } + case 34: { + if ((ruin49 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 49), 0, 0, 0); + } + } + case 33: { + if ((ruin49 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 49), 0, 0, 0); + } + } + case 32: { + if ((ruin49 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 49), 0, 0, 0); + } + } + case 31: { + if ((ruin49 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 49), 0, 0, 0); + } + } + case 30: { + if ((ruin49 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 49), 0, 0, 0); + } + } + case 29: { + if ((ruin49 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 49), 0, 0, 0); + } + } + case 28: { + if ((ruin49 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 49), 0, 0, 0); + } + } + case 27: { + if ((ruin49 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 49), 0, 0, 0); + } + } + case 26: { + if ((ruin49 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 49), 0, 0, 0); + } + } + case 25: { + if ((ruin49 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 49), 0, 0, 0); + } + } + case 24: { + if ((ruin49 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 49), 0, 0, 0); + } + } + case 23: { + if ((ruin49 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 49), 0, 0, 0); + } + } + case 22: { + if ((ruin49 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 49), 0, 0, 0); + } + } + case 21: { + if ((ruin49 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 49), 0, 0, 0); + } + } + case 20: { + if ((ruin49 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 49), 0, 0, 0); + } + } + case 19: { + if ((ruin49 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 49), 0, 0, 0); + } + } + case 18: { + if ((ruin49 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 49), 0, 0, 0); + } + } + case 17: { + if ((ruin49 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 49), 0, 0, 0); + } + } + case 16: { + if ((ruin49 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 49), 0, 0, 0); + } + } + case 15: { + if ((ruin49 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 49), 0, 0, 0); + } + } + case 14: { + if ((ruin49 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 49), 0, 0, 0); + } + } + case 13: { + if ((ruin49 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 49), 0, 0, 0); + } + } + case 12: { + if ((ruin49 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 49), 0, 0, 0); + } + } + case 11: { + if ((ruin49 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 49), 0, 0, 0); + } + } + case 10: { + if ((ruin49 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 49), 0, 0, 0); + } + } + case 9: { + if ((ruin49 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 49), 0, 0, 0); + } + } + case 8: { + if ((ruin49 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 49), 0, 0, 0); + } + } + case 7: { + if ((ruin49 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 49), 0, 0, 0); + } + } + case 6: { + if ((ruin49 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 49), 0, 0, 0); + } + } + case 5: { + if ((ruin49 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 49), 0, 0, 0); + } + } + case 4: { + if ((ruin49 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 49), 0, 0, 0); + } + } + case 3: { + if ((ruin49 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 49), 0, 0, 0); + } + } + case 2: { + if ((ruin49 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 49), 0, 0, 0); + } + } + case 1: { + if ((ruin49 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 49), 0, 0, 0); + } + } + case 0: { + if ((ruin49 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 49), 0, 0, 0); + } + } + } + } + } + + + + public static void display5() throws GameActionException { + + if (ruin50 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin50 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 50), 0, 0, 0); + } + } + case 59: { + if ((ruin50 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 50), 0, 0, 0); + } + } + case 58: { + if ((ruin50 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 50), 0, 0, 0); + } + } + case 57: { + if ((ruin50 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 50), 0, 0, 0); + } + } + case 56: { + if ((ruin50 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 50), 0, 0, 0); + } + } + case 55: { + if ((ruin50 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 50), 0, 0, 0); + } + } + case 54: { + if ((ruin50 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 50), 0, 0, 0); + } + } + case 53: { + if ((ruin50 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 50), 0, 0, 0); + } + } + case 52: { + if ((ruin50 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 50), 0, 0, 0); + } + } + case 51: { + if ((ruin50 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 50), 0, 0, 0); + } + } + case 50: { + if ((ruin50 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 50), 0, 0, 0); + } + } + case 49: { + if ((ruin50 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 50), 0, 0, 0); + } + } + case 48: { + if ((ruin50 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 50), 0, 0, 0); + } + } + case 47: { + if ((ruin50 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 50), 0, 0, 0); + } + } + case 46: { + if ((ruin50 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 50), 0, 0, 0); + } + } + case 45: { + if ((ruin50 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 50), 0, 0, 0); + } + } + case 44: { + if ((ruin50 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 50), 0, 0, 0); + } + } + case 43: { + if ((ruin50 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 50), 0, 0, 0); + } + } + case 42: { + if ((ruin50 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 50), 0, 0, 0); + } + } + case 41: { + if ((ruin50 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 50), 0, 0, 0); + } + } + case 40: { + if ((ruin50 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 50), 0, 0, 0); + } + } + case 39: { + if ((ruin50 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 50), 0, 0, 0); + } + } + case 38: { + if ((ruin50 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 50), 0, 0, 0); + } + } + case 37: { + if ((ruin50 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 50), 0, 0, 0); + } + } + case 36: { + if ((ruin50 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 50), 0, 0, 0); + } + } + case 35: { + if ((ruin50 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 50), 0, 0, 0); + } + } + case 34: { + if ((ruin50 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 50), 0, 0, 0); + } + } + case 33: { + if ((ruin50 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 50), 0, 0, 0); + } + } + case 32: { + if ((ruin50 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 50), 0, 0, 0); + } + } + case 31: { + if ((ruin50 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 50), 0, 0, 0); + } + } + case 30: { + if ((ruin50 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 50), 0, 0, 0); + } + } + case 29: { + if ((ruin50 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 50), 0, 0, 0); + } + } + case 28: { + if ((ruin50 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 50), 0, 0, 0); + } + } + case 27: { + if ((ruin50 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 50), 0, 0, 0); + } + } + case 26: { + if ((ruin50 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 50), 0, 0, 0); + } + } + case 25: { + if ((ruin50 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 50), 0, 0, 0); + } + } + case 24: { + if ((ruin50 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 50), 0, 0, 0); + } + } + case 23: { + if ((ruin50 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 50), 0, 0, 0); + } + } + case 22: { + if ((ruin50 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 50), 0, 0, 0); + } + } + case 21: { + if ((ruin50 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 50), 0, 0, 0); + } + } + case 20: { + if ((ruin50 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 50), 0, 0, 0); + } + } + case 19: { + if ((ruin50 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 50), 0, 0, 0); + } + } + case 18: { + if ((ruin50 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 50), 0, 0, 0); + } + } + case 17: { + if ((ruin50 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 50), 0, 0, 0); + } + } + case 16: { + if ((ruin50 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 50), 0, 0, 0); + } + } + case 15: { + if ((ruin50 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 50), 0, 0, 0); + } + } + case 14: { + if ((ruin50 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 50), 0, 0, 0); + } + } + case 13: { + if ((ruin50 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 50), 0, 0, 0); + } + } + case 12: { + if ((ruin50 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 50), 0, 0, 0); + } + } + case 11: { + if ((ruin50 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 50), 0, 0, 0); + } + } + case 10: { + if ((ruin50 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 50), 0, 0, 0); + } + } + case 9: { + if ((ruin50 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 50), 0, 0, 0); + } + } + case 8: { + if ((ruin50 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 50), 0, 0, 0); + } + } + case 7: { + if ((ruin50 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 50), 0, 0, 0); + } + } + case 6: { + if ((ruin50 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 50), 0, 0, 0); + } + } + case 5: { + if ((ruin50 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 50), 0, 0, 0); + } + } + case 4: { + if ((ruin50 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 50), 0, 0, 0); + } + } + case 3: { + if ((ruin50 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 50), 0, 0, 0); + } + } + case 2: { + if ((ruin50 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 50), 0, 0, 0); + } + } + case 1: { + if ((ruin50 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 50), 0, 0, 0); + } + } + case 0: { + if ((ruin50 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 50), 0, 0, 0); + } + } + } + }if (ruin51 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin51 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 51), 0, 0, 0); + } + } + case 59: { + if ((ruin51 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 51), 0, 0, 0); + } + } + case 58: { + if ((ruin51 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 51), 0, 0, 0); + } + } + case 57: { + if ((ruin51 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 51), 0, 0, 0); + } + } + case 56: { + if ((ruin51 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 51), 0, 0, 0); + } + } + case 55: { + if ((ruin51 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 51), 0, 0, 0); + } + } + case 54: { + if ((ruin51 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 51), 0, 0, 0); + } + } + case 53: { + if ((ruin51 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 51), 0, 0, 0); + } + } + case 52: { + if ((ruin51 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 51), 0, 0, 0); + } + } + case 51: { + if ((ruin51 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 51), 0, 0, 0); + } + } + case 50: { + if ((ruin51 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 51), 0, 0, 0); + } + } + case 49: { + if ((ruin51 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 51), 0, 0, 0); + } + } + case 48: { + if ((ruin51 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 51), 0, 0, 0); + } + } + case 47: { + if ((ruin51 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 51), 0, 0, 0); + } + } + case 46: { + if ((ruin51 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 51), 0, 0, 0); + } + } + case 45: { + if ((ruin51 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 51), 0, 0, 0); + } + } + case 44: { + if ((ruin51 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 51), 0, 0, 0); + } + } + case 43: { + if ((ruin51 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 51), 0, 0, 0); + } + } + case 42: { + if ((ruin51 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 51), 0, 0, 0); + } + } + case 41: { + if ((ruin51 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 51), 0, 0, 0); + } + } + case 40: { + if ((ruin51 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 51), 0, 0, 0); + } + } + case 39: { + if ((ruin51 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 51), 0, 0, 0); + } + } + case 38: { + if ((ruin51 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 51), 0, 0, 0); + } + } + case 37: { + if ((ruin51 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 51), 0, 0, 0); + } + } + case 36: { + if ((ruin51 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 51), 0, 0, 0); + } + } + case 35: { + if ((ruin51 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 51), 0, 0, 0); + } + } + case 34: { + if ((ruin51 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 51), 0, 0, 0); + } + } + case 33: { + if ((ruin51 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 51), 0, 0, 0); + } + } + case 32: { + if ((ruin51 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 51), 0, 0, 0); + } + } + case 31: { + if ((ruin51 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 51), 0, 0, 0); + } + } + case 30: { + if ((ruin51 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 51), 0, 0, 0); + } + } + case 29: { + if ((ruin51 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 51), 0, 0, 0); + } + } + case 28: { + if ((ruin51 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 51), 0, 0, 0); + } + } + case 27: { + if ((ruin51 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 51), 0, 0, 0); + } + } + case 26: { + if ((ruin51 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 51), 0, 0, 0); + } + } + case 25: { + if ((ruin51 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 51), 0, 0, 0); + } + } + case 24: { + if ((ruin51 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 51), 0, 0, 0); + } + } + case 23: { + if ((ruin51 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 51), 0, 0, 0); + } + } + case 22: { + if ((ruin51 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 51), 0, 0, 0); + } + } + case 21: { + if ((ruin51 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 51), 0, 0, 0); + } + } + case 20: { + if ((ruin51 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 51), 0, 0, 0); + } + } + case 19: { + if ((ruin51 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 51), 0, 0, 0); + } + } + case 18: { + if ((ruin51 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 51), 0, 0, 0); + } + } + case 17: { + if ((ruin51 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 51), 0, 0, 0); + } + } + case 16: { + if ((ruin51 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 51), 0, 0, 0); + } + } + case 15: { + if ((ruin51 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 51), 0, 0, 0); + } + } + case 14: { + if ((ruin51 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 51), 0, 0, 0); + } + } + case 13: { + if ((ruin51 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 51), 0, 0, 0); + } + } + case 12: { + if ((ruin51 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 51), 0, 0, 0); + } + } + case 11: { + if ((ruin51 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 51), 0, 0, 0); + } + } + case 10: { + if ((ruin51 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 51), 0, 0, 0); + } + } + case 9: { + if ((ruin51 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 51), 0, 0, 0); + } + } + case 8: { + if ((ruin51 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 51), 0, 0, 0); + } + } + case 7: { + if ((ruin51 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 51), 0, 0, 0); + } + } + case 6: { + if ((ruin51 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 51), 0, 0, 0); + } + } + case 5: { + if ((ruin51 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 51), 0, 0, 0); + } + } + case 4: { + if ((ruin51 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 51), 0, 0, 0); + } + } + case 3: { + if ((ruin51 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 51), 0, 0, 0); + } + } + case 2: { + if ((ruin51 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 51), 0, 0, 0); + } + } + case 1: { + if ((ruin51 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 51), 0, 0, 0); + } + } + case 0: { + if ((ruin51 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 51), 0, 0, 0); + } + } + } + }if (ruin52 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin52 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 52), 0, 0, 0); + } + } + case 59: { + if ((ruin52 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 52), 0, 0, 0); + } + } + case 58: { + if ((ruin52 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 52), 0, 0, 0); + } + } + case 57: { + if ((ruin52 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 52), 0, 0, 0); + } + } + case 56: { + if ((ruin52 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 52), 0, 0, 0); + } + } + case 55: { + if ((ruin52 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 52), 0, 0, 0); + } + } + case 54: { + if ((ruin52 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 52), 0, 0, 0); + } + } + case 53: { + if ((ruin52 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 52), 0, 0, 0); + } + } + case 52: { + if ((ruin52 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 52), 0, 0, 0); + } + } + case 51: { + if ((ruin52 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 52), 0, 0, 0); + } + } + case 50: { + if ((ruin52 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 52), 0, 0, 0); + } + } + case 49: { + if ((ruin52 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 52), 0, 0, 0); + } + } + case 48: { + if ((ruin52 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 52), 0, 0, 0); + } + } + case 47: { + if ((ruin52 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 52), 0, 0, 0); + } + } + case 46: { + if ((ruin52 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 52), 0, 0, 0); + } + } + case 45: { + if ((ruin52 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 52), 0, 0, 0); + } + } + case 44: { + if ((ruin52 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 52), 0, 0, 0); + } + } + case 43: { + if ((ruin52 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 52), 0, 0, 0); + } + } + case 42: { + if ((ruin52 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 52), 0, 0, 0); + } + } + case 41: { + if ((ruin52 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 52), 0, 0, 0); + } + } + case 40: { + if ((ruin52 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 52), 0, 0, 0); + } + } + case 39: { + if ((ruin52 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 52), 0, 0, 0); + } + } + case 38: { + if ((ruin52 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 52), 0, 0, 0); + } + } + case 37: { + if ((ruin52 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 52), 0, 0, 0); + } + } + case 36: { + if ((ruin52 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 52), 0, 0, 0); + } + } + case 35: { + if ((ruin52 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 52), 0, 0, 0); + } + } + case 34: { + if ((ruin52 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 52), 0, 0, 0); + } + } + case 33: { + if ((ruin52 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 52), 0, 0, 0); + } + } + case 32: { + if ((ruin52 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 52), 0, 0, 0); + } + } + case 31: { + if ((ruin52 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 52), 0, 0, 0); + } + } + case 30: { + if ((ruin52 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 52), 0, 0, 0); + } + } + case 29: { + if ((ruin52 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 52), 0, 0, 0); + } + } + case 28: { + if ((ruin52 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 52), 0, 0, 0); + } + } + case 27: { + if ((ruin52 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 52), 0, 0, 0); + } + } + case 26: { + if ((ruin52 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 52), 0, 0, 0); + } + } + case 25: { + if ((ruin52 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 52), 0, 0, 0); + } + } + case 24: { + if ((ruin52 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 52), 0, 0, 0); + } + } + case 23: { + if ((ruin52 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 52), 0, 0, 0); + } + } + case 22: { + if ((ruin52 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 52), 0, 0, 0); + } + } + case 21: { + if ((ruin52 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 52), 0, 0, 0); + } + } + case 20: { + if ((ruin52 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 52), 0, 0, 0); + } + } + case 19: { + if ((ruin52 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 52), 0, 0, 0); + } + } + case 18: { + if ((ruin52 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 52), 0, 0, 0); + } + } + case 17: { + if ((ruin52 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 52), 0, 0, 0); + } + } + case 16: { + if ((ruin52 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 52), 0, 0, 0); + } + } + case 15: { + if ((ruin52 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 52), 0, 0, 0); + } + } + case 14: { + if ((ruin52 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 52), 0, 0, 0); + } + } + case 13: { + if ((ruin52 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 52), 0, 0, 0); + } + } + case 12: { + if ((ruin52 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 52), 0, 0, 0); + } + } + case 11: { + if ((ruin52 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 52), 0, 0, 0); + } + } + case 10: { + if ((ruin52 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 52), 0, 0, 0); + } + } + case 9: { + if ((ruin52 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 52), 0, 0, 0); + } + } + case 8: { + if ((ruin52 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 52), 0, 0, 0); + } + } + case 7: { + if ((ruin52 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 52), 0, 0, 0); + } + } + case 6: { + if ((ruin52 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 52), 0, 0, 0); + } + } + case 5: { + if ((ruin52 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 52), 0, 0, 0); + } + } + case 4: { + if ((ruin52 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 52), 0, 0, 0); + } + } + case 3: { + if ((ruin52 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 52), 0, 0, 0); + } + } + case 2: { + if ((ruin52 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 52), 0, 0, 0); + } + } + case 1: { + if ((ruin52 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 52), 0, 0, 0); + } + } + case 0: { + if ((ruin52 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 52), 0, 0, 0); + } + } + } + }if (ruin53 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin53 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 53), 0, 0, 0); + } + } + case 59: { + if ((ruin53 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 53), 0, 0, 0); + } + } + case 58: { + if ((ruin53 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 53), 0, 0, 0); + } + } + case 57: { + if ((ruin53 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 53), 0, 0, 0); + } + } + case 56: { + if ((ruin53 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 53), 0, 0, 0); + } + } + case 55: { + if ((ruin53 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 53), 0, 0, 0); + } + } + case 54: { + if ((ruin53 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 53), 0, 0, 0); + } + } + case 53: { + if ((ruin53 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 53), 0, 0, 0); + } + } + case 52: { + if ((ruin53 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 53), 0, 0, 0); + } + } + case 51: { + if ((ruin53 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 53), 0, 0, 0); + } + } + case 50: { + if ((ruin53 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 53), 0, 0, 0); + } + } + case 49: { + if ((ruin53 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 53), 0, 0, 0); + } + } + case 48: { + if ((ruin53 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 53), 0, 0, 0); + } + } + case 47: { + if ((ruin53 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 53), 0, 0, 0); + } + } + case 46: { + if ((ruin53 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 53), 0, 0, 0); + } + } + case 45: { + if ((ruin53 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 53), 0, 0, 0); + } + } + case 44: { + if ((ruin53 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 53), 0, 0, 0); + } + } + case 43: { + if ((ruin53 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 53), 0, 0, 0); + } + } + case 42: { + if ((ruin53 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 53), 0, 0, 0); + } + } + case 41: { + if ((ruin53 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 53), 0, 0, 0); + } + } + case 40: { + if ((ruin53 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 53), 0, 0, 0); + } + } + case 39: { + if ((ruin53 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 53), 0, 0, 0); + } + } + case 38: { + if ((ruin53 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 53), 0, 0, 0); + } + } + case 37: { + if ((ruin53 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 53), 0, 0, 0); + } + } + case 36: { + if ((ruin53 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 53), 0, 0, 0); + } + } + case 35: { + if ((ruin53 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 53), 0, 0, 0); + } + } + case 34: { + if ((ruin53 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 53), 0, 0, 0); + } + } + case 33: { + if ((ruin53 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 53), 0, 0, 0); + } + } + case 32: { + if ((ruin53 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 53), 0, 0, 0); + } + } + case 31: { + if ((ruin53 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 53), 0, 0, 0); + } + } + case 30: { + if ((ruin53 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 53), 0, 0, 0); + } + } + case 29: { + if ((ruin53 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 53), 0, 0, 0); + } + } + case 28: { + if ((ruin53 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 53), 0, 0, 0); + } + } + case 27: { + if ((ruin53 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 53), 0, 0, 0); + } + } + case 26: { + if ((ruin53 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 53), 0, 0, 0); + } + } + case 25: { + if ((ruin53 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 53), 0, 0, 0); + } + } + case 24: { + if ((ruin53 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 53), 0, 0, 0); + } + } + case 23: { + if ((ruin53 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 53), 0, 0, 0); + } + } + case 22: { + if ((ruin53 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 53), 0, 0, 0); + } + } + case 21: { + if ((ruin53 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 53), 0, 0, 0); + } + } + case 20: { + if ((ruin53 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 53), 0, 0, 0); + } + } + case 19: { + if ((ruin53 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 53), 0, 0, 0); + } + } + case 18: { + if ((ruin53 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 53), 0, 0, 0); + } + } + case 17: { + if ((ruin53 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 53), 0, 0, 0); + } + } + case 16: { + if ((ruin53 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 53), 0, 0, 0); + } + } + case 15: { + if ((ruin53 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 53), 0, 0, 0); + } + } + case 14: { + if ((ruin53 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 53), 0, 0, 0); + } + } + case 13: { + if ((ruin53 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 53), 0, 0, 0); + } + } + case 12: { + if ((ruin53 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 53), 0, 0, 0); + } + } + case 11: { + if ((ruin53 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 53), 0, 0, 0); + } + } + case 10: { + if ((ruin53 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 53), 0, 0, 0); + } + } + case 9: { + if ((ruin53 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 53), 0, 0, 0); + } + } + case 8: { + if ((ruin53 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 53), 0, 0, 0); + } + } + case 7: { + if ((ruin53 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 53), 0, 0, 0); + } + } + case 6: { + if ((ruin53 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 53), 0, 0, 0); + } + } + case 5: { + if ((ruin53 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 53), 0, 0, 0); + } + } + case 4: { + if ((ruin53 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 53), 0, 0, 0); + } + } + case 3: { + if ((ruin53 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 53), 0, 0, 0); + } + } + case 2: { + if ((ruin53 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 53), 0, 0, 0); + } + } + case 1: { + if ((ruin53 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 53), 0, 0, 0); + } + } + case 0: { + if ((ruin53 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 53), 0, 0, 0); + } + } + } + }if (ruin54 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin54 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 54), 0, 0, 0); + } + } + case 59: { + if ((ruin54 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 54), 0, 0, 0); + } + } + case 58: { + if ((ruin54 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 54), 0, 0, 0); + } + } + case 57: { + if ((ruin54 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 54), 0, 0, 0); + } + } + case 56: { + if ((ruin54 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 54), 0, 0, 0); + } + } + case 55: { + if ((ruin54 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 54), 0, 0, 0); + } + } + case 54: { + if ((ruin54 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 54), 0, 0, 0); + } + } + case 53: { + if ((ruin54 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 54), 0, 0, 0); + } + } + case 52: { + if ((ruin54 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 54), 0, 0, 0); + } + } + case 51: { + if ((ruin54 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 54), 0, 0, 0); + } + } + case 50: { + if ((ruin54 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 54), 0, 0, 0); + } + } + case 49: { + if ((ruin54 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 54), 0, 0, 0); + } + } + case 48: { + if ((ruin54 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 54), 0, 0, 0); + } + } + case 47: { + if ((ruin54 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 54), 0, 0, 0); + } + } + case 46: { + if ((ruin54 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 54), 0, 0, 0); + } + } + case 45: { + if ((ruin54 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 54), 0, 0, 0); + } + } + case 44: { + if ((ruin54 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 54), 0, 0, 0); + } + } + case 43: { + if ((ruin54 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 54), 0, 0, 0); + } + } + case 42: { + if ((ruin54 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 54), 0, 0, 0); + } + } + case 41: { + if ((ruin54 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 54), 0, 0, 0); + } + } + case 40: { + if ((ruin54 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 54), 0, 0, 0); + } + } + case 39: { + if ((ruin54 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 54), 0, 0, 0); + } + } + case 38: { + if ((ruin54 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 54), 0, 0, 0); + } + } + case 37: { + if ((ruin54 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 54), 0, 0, 0); + } + } + case 36: { + if ((ruin54 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 54), 0, 0, 0); + } + } + case 35: { + if ((ruin54 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 54), 0, 0, 0); + } + } + case 34: { + if ((ruin54 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 54), 0, 0, 0); + } + } + case 33: { + if ((ruin54 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 54), 0, 0, 0); + } + } + case 32: { + if ((ruin54 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 54), 0, 0, 0); + } + } + case 31: { + if ((ruin54 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 54), 0, 0, 0); + } + } + case 30: { + if ((ruin54 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 54), 0, 0, 0); + } + } + case 29: { + if ((ruin54 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 54), 0, 0, 0); + } + } + case 28: { + if ((ruin54 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 54), 0, 0, 0); + } + } + case 27: { + if ((ruin54 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 54), 0, 0, 0); + } + } + case 26: { + if ((ruin54 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 54), 0, 0, 0); + } + } + case 25: { + if ((ruin54 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 54), 0, 0, 0); + } + } + case 24: { + if ((ruin54 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 54), 0, 0, 0); + } + } + case 23: { + if ((ruin54 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 54), 0, 0, 0); + } + } + case 22: { + if ((ruin54 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 54), 0, 0, 0); + } + } + case 21: { + if ((ruin54 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 54), 0, 0, 0); + } + } + case 20: { + if ((ruin54 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 54), 0, 0, 0); + } + } + case 19: { + if ((ruin54 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 54), 0, 0, 0); + } + } + case 18: { + if ((ruin54 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 54), 0, 0, 0); + } + } + case 17: { + if ((ruin54 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 54), 0, 0, 0); + } + } + case 16: { + if ((ruin54 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 54), 0, 0, 0); + } + } + case 15: { + if ((ruin54 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 54), 0, 0, 0); + } + } + case 14: { + if ((ruin54 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 54), 0, 0, 0); + } + } + case 13: { + if ((ruin54 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 54), 0, 0, 0); + } + } + case 12: { + if ((ruin54 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 54), 0, 0, 0); + } + } + case 11: { + if ((ruin54 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 54), 0, 0, 0); + } + } + case 10: { + if ((ruin54 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 54), 0, 0, 0); + } + } + case 9: { + if ((ruin54 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 54), 0, 0, 0); + } + } + case 8: { + if ((ruin54 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 54), 0, 0, 0); + } + } + case 7: { + if ((ruin54 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 54), 0, 0, 0); + } + } + case 6: { + if ((ruin54 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 54), 0, 0, 0); + } + } + case 5: { + if ((ruin54 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 54), 0, 0, 0); + } + } + case 4: { + if ((ruin54 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 54), 0, 0, 0); + } + } + case 3: { + if ((ruin54 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 54), 0, 0, 0); + } + } + case 2: { + if ((ruin54 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 54), 0, 0, 0); + } + } + case 1: { + if ((ruin54 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 54), 0, 0, 0); + } + } + case 0: { + if ((ruin54 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 54), 0, 0, 0); + } + } + } + }if (ruin55 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin55 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 55), 0, 0, 0); + } + } + case 59: { + if ((ruin55 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 55), 0, 0, 0); + } + } + case 58: { + if ((ruin55 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 55), 0, 0, 0); + } + } + case 57: { + if ((ruin55 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 55), 0, 0, 0); + } + } + case 56: { + if ((ruin55 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 55), 0, 0, 0); + } + } + case 55: { + if ((ruin55 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 55), 0, 0, 0); + } + } + case 54: { + if ((ruin55 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 55), 0, 0, 0); + } + } + case 53: { + if ((ruin55 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 55), 0, 0, 0); + } + } + case 52: { + if ((ruin55 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 55), 0, 0, 0); + } + } + case 51: { + if ((ruin55 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 55), 0, 0, 0); + } + } + case 50: { + if ((ruin55 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 55), 0, 0, 0); + } + } + case 49: { + if ((ruin55 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 55), 0, 0, 0); + } + } + case 48: { + if ((ruin55 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 55), 0, 0, 0); + } + } + case 47: { + if ((ruin55 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 55), 0, 0, 0); + } + } + case 46: { + if ((ruin55 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 55), 0, 0, 0); + } + } + case 45: { + if ((ruin55 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 55), 0, 0, 0); + } + } + case 44: { + if ((ruin55 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 55), 0, 0, 0); + } + } + case 43: { + if ((ruin55 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 55), 0, 0, 0); + } + } + case 42: { + if ((ruin55 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 55), 0, 0, 0); + } + } + case 41: { + if ((ruin55 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 55), 0, 0, 0); + } + } + case 40: { + if ((ruin55 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 55), 0, 0, 0); + } + } + case 39: { + if ((ruin55 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 55), 0, 0, 0); + } + } + case 38: { + if ((ruin55 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 55), 0, 0, 0); + } + } + case 37: { + if ((ruin55 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 55), 0, 0, 0); + } + } + case 36: { + if ((ruin55 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 55), 0, 0, 0); + } + } + case 35: { + if ((ruin55 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 55), 0, 0, 0); + } + } + case 34: { + if ((ruin55 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 55), 0, 0, 0); + } + } + case 33: { + if ((ruin55 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 55), 0, 0, 0); + } + } + case 32: { + if ((ruin55 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 55), 0, 0, 0); + } + } + case 31: { + if ((ruin55 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 55), 0, 0, 0); + } + } + case 30: { + if ((ruin55 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 55), 0, 0, 0); + } + } + case 29: { + if ((ruin55 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 55), 0, 0, 0); + } + } + case 28: { + if ((ruin55 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 55), 0, 0, 0); + } + } + case 27: { + if ((ruin55 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 55), 0, 0, 0); + } + } + case 26: { + if ((ruin55 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 55), 0, 0, 0); + } + } + case 25: { + if ((ruin55 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 55), 0, 0, 0); + } + } + case 24: { + if ((ruin55 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 55), 0, 0, 0); + } + } + case 23: { + if ((ruin55 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 55), 0, 0, 0); + } + } + case 22: { + if ((ruin55 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 55), 0, 0, 0); + } + } + case 21: { + if ((ruin55 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 55), 0, 0, 0); + } + } + case 20: { + if ((ruin55 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 55), 0, 0, 0); + } + } + case 19: { + if ((ruin55 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 55), 0, 0, 0); + } + } + case 18: { + if ((ruin55 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 55), 0, 0, 0); + } + } + case 17: { + if ((ruin55 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 55), 0, 0, 0); + } + } + case 16: { + if ((ruin55 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 55), 0, 0, 0); + } + } + case 15: { + if ((ruin55 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 55), 0, 0, 0); + } + } + case 14: { + if ((ruin55 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 55), 0, 0, 0); + } + } + case 13: { + if ((ruin55 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 55), 0, 0, 0); + } + } + case 12: { + if ((ruin55 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 55), 0, 0, 0); + } + } + case 11: { + if ((ruin55 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 55), 0, 0, 0); + } + } + case 10: { + if ((ruin55 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 55), 0, 0, 0); + } + } + case 9: { + if ((ruin55 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 55), 0, 0, 0); + } + } + case 8: { + if ((ruin55 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 55), 0, 0, 0); + } + } + case 7: { + if ((ruin55 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 55), 0, 0, 0); + } + } + case 6: { + if ((ruin55 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 55), 0, 0, 0); + } + } + case 5: { + if ((ruin55 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 55), 0, 0, 0); + } + } + case 4: { + if ((ruin55 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 55), 0, 0, 0); + } + } + case 3: { + if ((ruin55 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 55), 0, 0, 0); + } + } + case 2: { + if ((ruin55 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 55), 0, 0, 0); + } + } + case 1: { + if ((ruin55 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 55), 0, 0, 0); + } + } + case 0: { + if ((ruin55 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 55), 0, 0, 0); + } + } + } + }if (ruin56 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin56 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 56), 0, 0, 0); + } + } + case 59: { + if ((ruin56 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 56), 0, 0, 0); + } + } + case 58: { + if ((ruin56 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 56), 0, 0, 0); + } + } + case 57: { + if ((ruin56 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 56), 0, 0, 0); + } + } + case 56: { + if ((ruin56 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 56), 0, 0, 0); + } + } + case 55: { + if ((ruin56 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 56), 0, 0, 0); + } + } + case 54: { + if ((ruin56 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 56), 0, 0, 0); + } + } + case 53: { + if ((ruin56 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 56), 0, 0, 0); + } + } + case 52: { + if ((ruin56 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 56), 0, 0, 0); + } + } + case 51: { + if ((ruin56 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 56), 0, 0, 0); + } + } + case 50: { + if ((ruin56 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 56), 0, 0, 0); + } + } + case 49: { + if ((ruin56 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 56), 0, 0, 0); + } + } + case 48: { + if ((ruin56 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 56), 0, 0, 0); + } + } + case 47: { + if ((ruin56 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 56), 0, 0, 0); + } + } + case 46: { + if ((ruin56 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 56), 0, 0, 0); + } + } + case 45: { + if ((ruin56 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 56), 0, 0, 0); + } + } + case 44: { + if ((ruin56 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 56), 0, 0, 0); + } + } + case 43: { + if ((ruin56 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 56), 0, 0, 0); + } + } + case 42: { + if ((ruin56 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 56), 0, 0, 0); + } + } + case 41: { + if ((ruin56 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 56), 0, 0, 0); + } + } + case 40: { + if ((ruin56 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 56), 0, 0, 0); + } + } + case 39: { + if ((ruin56 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 56), 0, 0, 0); + } + } + case 38: { + if ((ruin56 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 56), 0, 0, 0); + } + } + case 37: { + if ((ruin56 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 56), 0, 0, 0); + } + } + case 36: { + if ((ruin56 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 56), 0, 0, 0); + } + } + case 35: { + if ((ruin56 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 56), 0, 0, 0); + } + } + case 34: { + if ((ruin56 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 56), 0, 0, 0); + } + } + case 33: { + if ((ruin56 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 56), 0, 0, 0); + } + } + case 32: { + if ((ruin56 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 56), 0, 0, 0); + } + } + case 31: { + if ((ruin56 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 56), 0, 0, 0); + } + } + case 30: { + if ((ruin56 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 56), 0, 0, 0); + } + } + case 29: { + if ((ruin56 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 56), 0, 0, 0); + } + } + case 28: { + if ((ruin56 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 56), 0, 0, 0); + } + } + case 27: { + if ((ruin56 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 56), 0, 0, 0); + } + } + case 26: { + if ((ruin56 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 56), 0, 0, 0); + } + } + case 25: { + if ((ruin56 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 56), 0, 0, 0); + } + } + case 24: { + if ((ruin56 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 56), 0, 0, 0); + } + } + case 23: { + if ((ruin56 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 56), 0, 0, 0); + } + } + case 22: { + if ((ruin56 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 56), 0, 0, 0); + } + } + case 21: { + if ((ruin56 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 56), 0, 0, 0); + } + } + case 20: { + if ((ruin56 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 56), 0, 0, 0); + } + } + case 19: { + if ((ruin56 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 56), 0, 0, 0); + } + } + case 18: { + if ((ruin56 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 56), 0, 0, 0); + } + } + case 17: { + if ((ruin56 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 56), 0, 0, 0); + } + } + case 16: { + if ((ruin56 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 56), 0, 0, 0); + } + } + case 15: { + if ((ruin56 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 56), 0, 0, 0); + } + } + case 14: { + if ((ruin56 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 56), 0, 0, 0); + } + } + case 13: { + if ((ruin56 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 56), 0, 0, 0); + } + } + case 12: { + if ((ruin56 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 56), 0, 0, 0); + } + } + case 11: { + if ((ruin56 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 56), 0, 0, 0); + } + } + case 10: { + if ((ruin56 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 56), 0, 0, 0); + } + } + case 9: { + if ((ruin56 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 56), 0, 0, 0); + } + } + case 8: { + if ((ruin56 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 56), 0, 0, 0); + } + } + case 7: { + if ((ruin56 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 56), 0, 0, 0); + } + } + case 6: { + if ((ruin56 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 56), 0, 0, 0); + } + } + case 5: { + if ((ruin56 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 56), 0, 0, 0); + } + } + case 4: { + if ((ruin56 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 56), 0, 0, 0); + } + } + case 3: { + if ((ruin56 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 56), 0, 0, 0); + } + } + case 2: { + if ((ruin56 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 56), 0, 0, 0); + } + } + case 1: { + if ((ruin56 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 56), 0, 0, 0); + } + } + case 0: { + if ((ruin56 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 56), 0, 0, 0); + } + } + } + }if (ruin57 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin57 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 57), 0, 0, 0); + } + } + case 59: { + if ((ruin57 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 57), 0, 0, 0); + } + } + case 58: { + if ((ruin57 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 57), 0, 0, 0); + } + } + case 57: { + if ((ruin57 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 57), 0, 0, 0); + } + } + case 56: { + if ((ruin57 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 57), 0, 0, 0); + } + } + case 55: { + if ((ruin57 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 57), 0, 0, 0); + } + } + case 54: { + if ((ruin57 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 57), 0, 0, 0); + } + } + case 53: { + if ((ruin57 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 57), 0, 0, 0); + } + } + case 52: { + if ((ruin57 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 57), 0, 0, 0); + } + } + case 51: { + if ((ruin57 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 57), 0, 0, 0); + } + } + case 50: { + if ((ruin57 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 57), 0, 0, 0); + } + } + case 49: { + if ((ruin57 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 57), 0, 0, 0); + } + } + case 48: { + if ((ruin57 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 57), 0, 0, 0); + } + } + case 47: { + if ((ruin57 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 57), 0, 0, 0); + } + } + case 46: { + if ((ruin57 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 57), 0, 0, 0); + } + } + case 45: { + if ((ruin57 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 57), 0, 0, 0); + } + } + case 44: { + if ((ruin57 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 57), 0, 0, 0); + } + } + case 43: { + if ((ruin57 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 57), 0, 0, 0); + } + } + case 42: { + if ((ruin57 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 57), 0, 0, 0); + } + } + case 41: { + if ((ruin57 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 57), 0, 0, 0); + } + } + case 40: { + if ((ruin57 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 57), 0, 0, 0); + } + } + case 39: { + if ((ruin57 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 57), 0, 0, 0); + } + } + case 38: { + if ((ruin57 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 57), 0, 0, 0); + } + } + case 37: { + if ((ruin57 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 57), 0, 0, 0); + } + } + case 36: { + if ((ruin57 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 57), 0, 0, 0); + } + } + case 35: { + if ((ruin57 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 57), 0, 0, 0); + } + } + case 34: { + if ((ruin57 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 57), 0, 0, 0); + } + } + case 33: { + if ((ruin57 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 57), 0, 0, 0); + } + } + case 32: { + if ((ruin57 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 57), 0, 0, 0); + } + } + case 31: { + if ((ruin57 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 57), 0, 0, 0); + } + } + case 30: { + if ((ruin57 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 57), 0, 0, 0); + } + } + case 29: { + if ((ruin57 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 57), 0, 0, 0); + } + } + case 28: { + if ((ruin57 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 57), 0, 0, 0); + } + } + case 27: { + if ((ruin57 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 57), 0, 0, 0); + } + } + case 26: { + if ((ruin57 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 57), 0, 0, 0); + } + } + case 25: { + if ((ruin57 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 57), 0, 0, 0); + } + } + case 24: { + if ((ruin57 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 57), 0, 0, 0); + } + } + case 23: { + if ((ruin57 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 57), 0, 0, 0); + } + } + case 22: { + if ((ruin57 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 57), 0, 0, 0); + } + } + case 21: { + if ((ruin57 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 57), 0, 0, 0); + } + } + case 20: { + if ((ruin57 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 57), 0, 0, 0); + } + } + case 19: { + if ((ruin57 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 57), 0, 0, 0); + } + } + case 18: { + if ((ruin57 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 57), 0, 0, 0); + } + } + case 17: { + if ((ruin57 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 57), 0, 0, 0); + } + } + case 16: { + if ((ruin57 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 57), 0, 0, 0); + } + } + case 15: { + if ((ruin57 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 57), 0, 0, 0); + } + } + case 14: { + if ((ruin57 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 57), 0, 0, 0); + } + } + case 13: { + if ((ruin57 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 57), 0, 0, 0); + } + } + case 12: { + if ((ruin57 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 57), 0, 0, 0); + } + } + case 11: { + if ((ruin57 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 57), 0, 0, 0); + } + } + case 10: { + if ((ruin57 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 57), 0, 0, 0); + } + } + case 9: { + if ((ruin57 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 57), 0, 0, 0); + } + } + case 8: { + if ((ruin57 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 57), 0, 0, 0); + } + } + case 7: { + if ((ruin57 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 57), 0, 0, 0); + } + } + case 6: { + if ((ruin57 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 57), 0, 0, 0); + } + } + case 5: { + if ((ruin57 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 57), 0, 0, 0); + } + } + case 4: { + if ((ruin57 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 57), 0, 0, 0); + } + } + case 3: { + if ((ruin57 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 57), 0, 0, 0); + } + } + case 2: { + if ((ruin57 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 57), 0, 0, 0); + } + } + case 1: { + if ((ruin57 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 57), 0, 0, 0); + } + } + case 0: { + if ((ruin57 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 57), 0, 0, 0); + } + } + } + }if (ruin58 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin58 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 58), 0, 0, 0); + } + } + case 59: { + if ((ruin58 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 58), 0, 0, 0); + } + } + case 58: { + if ((ruin58 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 58), 0, 0, 0); + } + } + case 57: { + if ((ruin58 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 58), 0, 0, 0); + } + } + case 56: { + if ((ruin58 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 58), 0, 0, 0); + } + } + case 55: { + if ((ruin58 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 58), 0, 0, 0); + } + } + case 54: { + if ((ruin58 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 58), 0, 0, 0); + } + } + case 53: { + if ((ruin58 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 58), 0, 0, 0); + } + } + case 52: { + if ((ruin58 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 58), 0, 0, 0); + } + } + case 51: { + if ((ruin58 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 58), 0, 0, 0); + } + } + case 50: { + if ((ruin58 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 58), 0, 0, 0); + } + } + case 49: { + if ((ruin58 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 58), 0, 0, 0); + } + } + case 48: { + if ((ruin58 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 58), 0, 0, 0); + } + } + case 47: { + if ((ruin58 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 58), 0, 0, 0); + } + } + case 46: { + if ((ruin58 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 58), 0, 0, 0); + } + } + case 45: { + if ((ruin58 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 58), 0, 0, 0); + } + } + case 44: { + if ((ruin58 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 58), 0, 0, 0); + } + } + case 43: { + if ((ruin58 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 58), 0, 0, 0); + } + } + case 42: { + if ((ruin58 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 58), 0, 0, 0); + } + } + case 41: { + if ((ruin58 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 58), 0, 0, 0); + } + } + case 40: { + if ((ruin58 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 58), 0, 0, 0); + } + } + case 39: { + if ((ruin58 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 58), 0, 0, 0); + } + } + case 38: { + if ((ruin58 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 58), 0, 0, 0); + } + } + case 37: { + if ((ruin58 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 58), 0, 0, 0); + } + } + case 36: { + if ((ruin58 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 58), 0, 0, 0); + } + } + case 35: { + if ((ruin58 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 58), 0, 0, 0); + } + } + case 34: { + if ((ruin58 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 58), 0, 0, 0); + } + } + case 33: { + if ((ruin58 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 58), 0, 0, 0); + } + } + case 32: { + if ((ruin58 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 58), 0, 0, 0); + } + } + case 31: { + if ((ruin58 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 58), 0, 0, 0); + } + } + case 30: { + if ((ruin58 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 58), 0, 0, 0); + } + } + case 29: { + if ((ruin58 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 58), 0, 0, 0); + } + } + case 28: { + if ((ruin58 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 58), 0, 0, 0); + } + } + case 27: { + if ((ruin58 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 58), 0, 0, 0); + } + } + case 26: { + if ((ruin58 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 58), 0, 0, 0); + } + } + case 25: { + if ((ruin58 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 58), 0, 0, 0); + } + } + case 24: { + if ((ruin58 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 58), 0, 0, 0); + } + } + case 23: { + if ((ruin58 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 58), 0, 0, 0); + } + } + case 22: { + if ((ruin58 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 58), 0, 0, 0); + } + } + case 21: { + if ((ruin58 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 58), 0, 0, 0); + } + } + case 20: { + if ((ruin58 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 58), 0, 0, 0); + } + } + case 19: { + if ((ruin58 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 58), 0, 0, 0); + } + } + case 18: { + if ((ruin58 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 58), 0, 0, 0); + } + } + case 17: { + if ((ruin58 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 58), 0, 0, 0); + } + } + case 16: { + if ((ruin58 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 58), 0, 0, 0); + } + } + case 15: { + if ((ruin58 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 58), 0, 0, 0); + } + } + case 14: { + if ((ruin58 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 58), 0, 0, 0); + } + } + case 13: { + if ((ruin58 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 58), 0, 0, 0); + } + } + case 12: { + if ((ruin58 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 58), 0, 0, 0); + } + } + case 11: { + if ((ruin58 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 58), 0, 0, 0); + } + } + case 10: { + if ((ruin58 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 58), 0, 0, 0); + } + } + case 9: { + if ((ruin58 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 58), 0, 0, 0); + } + } + case 8: { + if ((ruin58 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 58), 0, 0, 0); + } + } + case 7: { + if ((ruin58 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 58), 0, 0, 0); + } + } + case 6: { + if ((ruin58 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 58), 0, 0, 0); + } + } + case 5: { + if ((ruin58 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 58), 0, 0, 0); + } + } + case 4: { + if ((ruin58 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 58), 0, 0, 0); + } + } + case 3: { + if ((ruin58 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 58), 0, 0, 0); + } + } + case 2: { + if ((ruin58 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 58), 0, 0, 0); + } + } + case 1: { + if ((ruin58 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 58), 0, 0, 0); + } + } + case 0: { + if ((ruin58 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 58), 0, 0, 0); + } + } + } + }if (ruin59 != 0) { + switch (rc.getMapWidth()) { + + case 60: { + if ((ruin59 & 0x1000000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(60, 59), 0, 0, 0); + } + } + case 59: { + if ((ruin59 & 0x800000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(59, 59), 0, 0, 0); + } + } + case 58: { + if ((ruin59 & 0x400000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(58, 59), 0, 0, 0); + } + } + case 57: { + if ((ruin59 & 0x200000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(57, 59), 0, 0, 0); + } + } + case 56: { + if ((ruin59 & 0x100000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(56, 59), 0, 0, 0); + } + } + case 55: { + if ((ruin59 & 0x80000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(55, 59), 0, 0, 0); + } + } + case 54: { + if ((ruin59 & 0x40000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(54, 59), 0, 0, 0); + } + } + case 53: { + if ((ruin59 & 0x20000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(53, 59), 0, 0, 0); + } + } + case 52: { + if ((ruin59 & 0x10000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(52, 59), 0, 0, 0); + } + } + case 51: { + if ((ruin59 & 0x8000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(51, 59), 0, 0, 0); + } + } + case 50: { + if ((ruin59 & 0x4000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(50, 59), 0, 0, 0); + } + } + case 49: { + if ((ruin59 & 0x2000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(49, 59), 0, 0, 0); + } + } + case 48: { + if ((ruin59 & 0x1000000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(48, 59), 0, 0, 0); + } + } + case 47: { + if ((ruin59 & 0x800000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(47, 59), 0, 0, 0); + } + } + case 46: { + if ((ruin59 & 0x400000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(46, 59), 0, 0, 0); + } + } + case 45: { + if ((ruin59 & 0x200000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(45, 59), 0, 0, 0); + } + } + case 44: { + if ((ruin59 & 0x100000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(44, 59), 0, 0, 0); + } + } + case 43: { + if ((ruin59 & 0x80000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(43, 59), 0, 0, 0); + } + } + case 42: { + if ((ruin59 & 0x40000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(42, 59), 0, 0, 0); + } + } + case 41: { + if ((ruin59 & 0x20000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(41, 59), 0, 0, 0); + } + } + case 40: { + if ((ruin59 & 0x10000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(40, 59), 0, 0, 0); + } + } + case 39: { + if ((ruin59 & 0x8000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(39, 59), 0, 0, 0); + } + } + case 38: { + if ((ruin59 & 0x4000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(38, 59), 0, 0, 0); + } + } + case 37: { + if ((ruin59 & 0x2000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(37, 59), 0, 0, 0); + } + } + case 36: { + if ((ruin59 & 0x1000000000L) != 0) { + rc.setIndicatorDot(new MapLocation(36, 59), 0, 0, 0); + } + } + case 35: { + if ((ruin59 & 0x800000000L) != 0) { + rc.setIndicatorDot(new MapLocation(35, 59), 0, 0, 0); + } + } + case 34: { + if ((ruin59 & 0x400000000L) != 0) { + rc.setIndicatorDot(new MapLocation(34, 59), 0, 0, 0); + } + } + case 33: { + if ((ruin59 & 0x200000000L) != 0) { + rc.setIndicatorDot(new MapLocation(33, 59), 0, 0, 0); + } + } + case 32: { + if ((ruin59 & 0x100000000L) != 0) { + rc.setIndicatorDot(new MapLocation(32, 59), 0, 0, 0); + } + } + case 31: { + if ((ruin59 & 0x80000000L) != 0) { + rc.setIndicatorDot(new MapLocation(31, 59), 0, 0, 0); + } + } + case 30: { + if ((ruin59 & 0x40000000L) != 0) { + rc.setIndicatorDot(new MapLocation(30, 59), 0, 0, 0); + } + } + case 29: { + if ((ruin59 & 0x20000000L) != 0) { + rc.setIndicatorDot(new MapLocation(29, 59), 0, 0, 0); + } + } + case 28: { + if ((ruin59 & 0x10000000L) != 0) { + rc.setIndicatorDot(new MapLocation(28, 59), 0, 0, 0); + } + } + case 27: { + if ((ruin59 & 0x08000000L) != 0) { + rc.setIndicatorDot(new MapLocation(27, 59), 0, 0, 0); + } + } + case 26: { + if ((ruin59 & 0x04000000L) != 0) { + rc.setIndicatorDot(new MapLocation(26, 59), 0, 0, 0); + } + } + case 25: { + if ((ruin59 & 0x02000000L) != 0) { + rc.setIndicatorDot(new MapLocation(25, 59), 0, 0, 0); + } + } + case 24: { + if ((ruin59 & 0x01000000L) != 0) { + rc.setIndicatorDot(new MapLocation(24, 59), 0, 0, 0); + } + } + case 23: { + if ((ruin59 & 0x00800000L) != 0) { + rc.setIndicatorDot(new MapLocation(23, 59), 0, 0, 0); + } + } + case 22: { + if ((ruin59 & 0x00400000L) != 0) { + rc.setIndicatorDot(new MapLocation(22, 59), 0, 0, 0); + } + } + case 21: { + if ((ruin59 & 0x00200000L) != 0) { + rc.setIndicatorDot(new MapLocation(21, 59), 0, 0, 0); + } + } + case 20: { + if ((ruin59 & 0x00100000L) != 0) { + rc.setIndicatorDot(new MapLocation(20, 59), 0, 0, 0); + } + } + case 19: { + if ((ruin59 & 0x00080000L) != 0) { + rc.setIndicatorDot(new MapLocation(19, 59), 0, 0, 0); + } + } + case 18: { + if ((ruin59 & 0x00040000L) != 0) { + rc.setIndicatorDot(new MapLocation(18, 59), 0, 0, 0); + } + } + case 17: { + if ((ruin59 & 0x00020000L) != 0) { + rc.setIndicatorDot(new MapLocation(17, 59), 0, 0, 0); + } + } + case 16: { + if ((ruin59 & 0x00010000L) != 0) { + rc.setIndicatorDot(new MapLocation(16, 59), 0, 0, 0); + } + } + case 15: { + if ((ruin59 & 0x00008000L) != 0) { + rc.setIndicatorDot(new MapLocation(15, 59), 0, 0, 0); + } + } + case 14: { + if ((ruin59 & 0x00004000L) != 0) { + rc.setIndicatorDot(new MapLocation(14, 59), 0, 0, 0); + } + } + case 13: { + if ((ruin59 & 0x00002000L) != 0) { + rc.setIndicatorDot(new MapLocation(13, 59), 0, 0, 0); + } + } + case 12: { + if ((ruin59 & 0x00001000L) != 0) { + rc.setIndicatorDot(new MapLocation(12, 59), 0, 0, 0); + } + } + case 11: { + if ((ruin59 & 0x00000800L) != 0) { + rc.setIndicatorDot(new MapLocation(11, 59), 0, 0, 0); + } + } + case 10: { + if ((ruin59 & 0x00000400L) != 0) { + rc.setIndicatorDot(new MapLocation(10, 59), 0, 0, 0); + } + } + case 9: { + if ((ruin59 & 0x00000200L) != 0) { + rc.setIndicatorDot(new MapLocation(9, 59), 0, 0, 0); + } + } + case 8: { + if ((ruin59 & 0x00000100L) != 0) { + rc.setIndicatorDot(new MapLocation(8, 59), 0, 0, 0); + } + } + case 7: { + if ((ruin59 & 0x00000080L) != 0) { + rc.setIndicatorDot(new MapLocation(7, 59), 0, 0, 0); + } + } + case 6: { + if ((ruin59 & 0x00000040L) != 0) { + rc.setIndicatorDot(new MapLocation(6, 59), 0, 0, 0); + } + } + case 5: { + if ((ruin59 & 0x00000020L) != 0) { + rc.setIndicatorDot(new MapLocation(5, 59), 0, 0, 0); + } + } + case 4: { + if ((ruin59 & 0x00000010L) != 0) { + rc.setIndicatorDot(new MapLocation(4, 59), 0, 0, 0); + } + } + case 3: { + if ((ruin59 & 0x00000008L) != 0) { + rc.setIndicatorDot(new MapLocation(3, 59), 0, 0, 0); + } + } + case 2: { + if ((ruin59 & 0x00000004L) != 0) { + rc.setIndicatorDot(new MapLocation(2, 59), 0, 0, 0); + } + } + case 1: { + if ((ruin59 & 0x00000002L) != 0) { + rc.setIndicatorDot(new MapLocation(1, 59), 0, 0, 0); + } + } + case 0: { + if ((ruin59 & 0x00000001L) != 0) { + rc.setIndicatorDot(new MapLocation(0, 59), 0, 0, 0); + } + } + } + } + } + + + +} \ No newline at end of file diff --git a/java/src/moreMoppers/Tower.java b/java/src/moreMoppers/Tower.java new file mode 100644 index 0000000..85003b8 --- /dev/null +++ b/java/src/moreMoppers/Tower.java @@ -0,0 +1,318 @@ + + + +package moreMoppers; +import battlecode.common.*; + +public class Tower { + public static RobotController rc; + public static MapLocation myloc; + public static boolean shouldDefend; + public static int lastDefenseRound = -100; + public static final int defenseWaitRounds = 30; + public static UnitType unitToBuild = null; + public static int enemyLastSeen = 0; + public static void init(RobotController rc) { + Tower.rc = rc; + enemyLastSeen = rc.getRoundNum(); + } + + public static void run() throws GameActionException { + initTurn(); + runTurn(); + } + + public static MapLocation threatLoc = null; + public static void initTurn() throws GameActionException { + myloc = rc.getLocation(); + threatLoc = null; + shouldDefend = false; + for (RobotInfo r: Globals.enemies) { + switch (r.type) { + case SOLDIER, SPLASHER: { + threatLoc = r.location; + break; + } + default: continue; + } + } + if ((threatLoc != null)) { + shouldDefend = true; + lastDefenseRound = rc.getRoundNum(); + } + } + + public static int soldiersBuilt = 0; + public static int splashersBuilt = 0; + public static int moppersBuilt = 0; + public static UnitType getUnitType() throws GameActionException { + int money = rc.getMoney(); + int round = rc.getRoundNum(); + UnitType answer; + if (round < 5) { + answer = UnitType.SOLDIER; + } else if (money < 2000 && Globals.getIncome() < 60) { + int total = (soldiersBuilt + moppersBuilt); + if (total % 5 < 4) answer = UnitType.SOLDIER; + else answer = UnitType.MOPPER; + } else { + int total = (soldiersBuilt + splashersBuilt + moppersBuilt); + if (total % 5 < 2) answer = UnitType.SPLASHER; + else if (total % 5 < 4) answer = UnitType.SOLDIER; + else answer = UnitType.MOPPER; + } + + switch (answer) { + case SOLDIER -> ++soldiersBuilt; + case SPLASHER -> ++splashersBuilt; + case MOPPER -> ++moppersBuilt; + default -> {} + } + return answer; + } + + + public static void runTurn() throws GameActionException { + towerTryAttack(); + if (Globals.enemies.length > 0) + enemyLastSeen = rc.getRoundNum(); + + UnitType t; + if (shouldDefend) { + t = UnitType.MOPPER; + rc.setIndicatorString("Defense! Making a mopper"); + } else if (unitToBuild == null) { + unitToBuild = getUnitType(); + t = unitToBuild; + rc.setIndicatorString("Saving for " + t); + } else { + t = unitToBuild; + rc.setIndicatorString("Saving for " + t); + } + + + if ((rc.getType() == UnitType.LEVEL_ONE_PAINT_TOWER) + && (rc.getMoney() >= (UnitType.LEVEL_TWO_PAINT_TOWER.moneyCost + 1000)) + && (rc.getRoundNum() - enemyLastSeen >= 10)) { + rc.upgradeTower(rc.getLocation()); + } else if ((rc.getType() == UnitType.LEVEL_TWO_PAINT_TOWER) + && (rc.getMoney() >= (UnitType.LEVEL_THREE_PAINT_TOWER.moneyCost + 1000)) + && (rc.getRoundNum() - enemyLastSeen >= 10)) { + rc.upgradeTower(rc.getLocation()); + } + + if (t == null) return; + if (rc.getPaint() < t.paintCost) return; + if (!shouldDefend) { + int lim = 10; + if (rc.getMapHeight() * rc.getMapWidth() <= 600) lim = 50; + if (rc.getRoundNum() > lim) { + if (rc.getMoney() < 1250) return; + } + } + + // This isn't great either. + int closest = 100000000; + MapLocation bestLoc = null; + loop: { + { + MapLocation nextLoc = myloc.add(Direction.NORTH); + if (rc.canBuildRobot(t, nextLoc)) { + if (shouldDefend) { + int d = threatLoc.distanceSquaredTo(nextLoc); + if (d < closest) { + closest = d; + bestLoc = nextLoc; + } + } else { + bestLoc = nextLoc; + break loop; + } + } + } + + { + MapLocation nextLoc = myloc.add(Direction.NORTHEAST); + if (rc.canBuildRobot(t, nextLoc)) { + if (shouldDefend) { + int d = threatLoc.distanceSquaredTo(nextLoc); + if (d < closest) { + closest = d; + bestLoc = nextLoc; + } + } else { + bestLoc = nextLoc; + break loop; + } + } + } + + { + MapLocation nextLoc = myloc.add(Direction.EAST); + if (rc.canBuildRobot(t, nextLoc)) { + if (shouldDefend) { + int d = threatLoc.distanceSquaredTo(nextLoc); + if (d < closest) { + closest = d; + bestLoc = nextLoc; + } + } else { + bestLoc = nextLoc; + break loop; + } + } + } + + { + MapLocation nextLoc = myloc.add(Direction.SOUTHEAST); + if (rc.canBuildRobot(t, nextLoc)) { + if (shouldDefend) { + int d = threatLoc.distanceSquaredTo(nextLoc); + if (d < closest) { + closest = d; + bestLoc = nextLoc; + } + } else { + bestLoc = nextLoc; + break loop; + } + } + } + + { + MapLocation nextLoc = myloc.add(Direction.SOUTH); + if (rc.canBuildRobot(t, nextLoc)) { + if (shouldDefend) { + int d = threatLoc.distanceSquaredTo(nextLoc); + if (d < closest) { + closest = d; + bestLoc = nextLoc; + } + } else { + bestLoc = nextLoc; + break loop; + } + } + } + + { + MapLocation nextLoc = myloc.add(Direction.SOUTHWEST); + if (rc.canBuildRobot(t, nextLoc)) { + if (shouldDefend) { + int d = threatLoc.distanceSquaredTo(nextLoc); + if (d < closest) { + closest = d; + bestLoc = nextLoc; + } + } else { + bestLoc = nextLoc; + break loop; + } + } + } + + { + MapLocation nextLoc = myloc.add(Direction.WEST); + if (rc.canBuildRobot(t, nextLoc)) { + if (shouldDefend) { + int d = threatLoc.distanceSquaredTo(nextLoc); + if (d < closest) { + closest = d; + bestLoc = nextLoc; + } + } else { + bestLoc = nextLoc; + break loop; + } + } + } + + { + MapLocation nextLoc = myloc.add(Direction.NORTHWEST); + if (rc.canBuildRobot(t, nextLoc)) { + if (shouldDefend) { + int d = threatLoc.distanceSquaredTo(nextLoc); + if (d < closest) { + closest = d; + bestLoc = nextLoc; + } + } else { + bestLoc = nextLoc; + break loop; + } + } + } + + { + MapLocation nextLoc = myloc.add(Direction.CENTER); + if (rc.canBuildRobot(t, nextLoc)) { + if (shouldDefend) { + int d = threatLoc.distanceSquaredTo(nextLoc); + if (d < closest) { + closest = d; + bestLoc = nextLoc; + } + } else { + bestLoc = nextLoc; + break loop; + } + } + } + } + if (bestLoc != null && rc.canBuildRobot(t, bestLoc)) { + rc.setIndicatorString("Chose to build " + t + " at " + bestLoc); + rc.buildRobot(t, bestLoc); + unitToBuild = null; + } + } + + public static void towerTryAttack() throws GameActionException { + MapLocation bestSplasherLoc = null; + int smallestSplasherHealth = 100000000; + MapLocation bestSoldierLoc = null; + int smallestSoldierHealth = 100000000; + MapLocation bestNonSoldierLoc = null; + int smallestNonSoldierHealth = 10000000; + for (int i = Globals.enemies.length; --i >= 0;) { + RobotInfo enemy = Globals.enemies[i]; + if (enemy.paintAmount == 0) continue; + MapLocation loc = enemy.location; + if (rc.canAttack(loc)) { + switch (enemy.type) { + case SPLASHER -> { + if (enemy.health < smallestSplasherHealth) { + bestSplasherLoc = loc; + smallestSplasherHealth = enemy.health; + } + } + case SOLDIER -> { + if (enemy.health < smallestSoldierHealth) { + bestSoldierLoc = loc; + smallestSoldierHealth = enemy.health; + } + } + default -> { + if (enemy.health < smallestNonSoldierHealth) { + bestNonSoldierLoc = loc; + smallestNonSoldierHealth = enemy.health; + } + } + } + + } + } + + if (bestSplasherLoc != null) { + rc.setIndicatorDot(bestSplasherLoc, 0, 0, 0); + rc.attack(bestSplasherLoc); + } else if (bestSoldierLoc != null) { + rc.setIndicatorDot(bestSoldierLoc, 0, 0, 0); + rc.attack(bestSoldierLoc); + } else if (bestNonSoldierLoc != null) { + rc.setIndicatorDot(bestNonSoldierLoc, 0, 0, 0); + rc.attack(bestNonSoldierLoc); + } + + if (rc.canAttack(null)) rc.attack(null); + } +} \ No newline at end of file diff --git a/java/src/moreMoppers/TowerBuild.java b/java/src/moreMoppers/TowerBuild.java new file mode 100644 index 0000000..2b09ce0 --- /dev/null +++ b/java/src/moreMoppers/TowerBuild.java @@ -0,0 +1,3609 @@ +package moreMoppers; +import battlecode.common.*; + +public class TowerBuild { + public static RobotController rc; + public static int[] dx = {0, 1, 1, 1, 0, -1, -1, -1}; + public static int[] dy = {1, 1, 0, -1, -1, -1, 0, 1}; + public static int[][] last = null; + public static MapLocation prevRuin = null; + public static boolean[][] moneyTower = null; + public static boolean[][] paintTower = null; + public static boolean[][] defenseTower = null; + public static MapLocation finishedTower = null; + public static MapLocation leaveMark = null; + + public static void init(RobotController rc) throws GameActionException { + TowerBuild.rc = rc; + last = new int[rc.getMapWidth()][rc.getMapHeight()]; + moneyTower = rc.getTowerPattern(UnitType.LEVEL_ONE_MONEY_TOWER); + paintTower = rc.getTowerPattern(UnitType.LEVEL_ONE_PAINT_TOWER); + defenseTower = rc.getTowerPattern(UnitType.LEVEL_ONE_DEFENSE_TOWER); + } + + public static void removePattern() throws GameActionException { + MapLocation paintMark = finishedTower.add(Direction.WEST); + MapLocation moneyMark = finishedTower.add(Direction.SOUTH); + int num = 0; + if (rc.canSenseLocation(paintMark)){ + MapInfo s = rc.senseMapInfo(paintMark); + if (s.getMark() == PaintType.ALLY_SECONDARY) { + if (rc.canRemoveMark(paintMark)) { + rc.removeMark(paintMark); + finishedTower = null; + } + else Pathing.pathTo(paintMark); + return; + } + num++; + } + if (rc.canSenseLocation(moneyMark)) { + MapInfo s = rc.senseMapInfo(moneyMark); + if (s.getMark() == PaintType.ALLY_SECONDARY) { + if (rc.canRemoveMark(moneyMark)) { + rc.removeMark(moneyMark); + finishedTower = null; + } + else Pathing.pathTo(moneyMark); + return; + } + num++; + } + if (num == 2) finishedTower = null; + else Pathing.pathTo(finishedTower); + } + + public static MapLocation getRuin(MapInfo[] near) throws GameActionException { + MapLocation best = null; + + int nearestToMark = 1000000000; + leaveMark = null; + + int closest = 100000000; + for (int i = near.length; --i >= 0; ) { + if (near[i].hasRuin()) { + MapLocation m = near[i].getMapLocation(); + int d = m.distanceSquaredTo(rc.getLocation()); + RobotInfo r = rc.senseRobotAtLocation(m); + if (r == null) { + if (d < closest && last[m.x][m.y] < rc.getRoundNum() && ((rc.getType() == UnitType.MOPPER && seeTaintedRuin(m)) || (rc.getType() == UnitType.SOLDIER && seeIncompleteRuin(m)))) { + closest = d; + best = m; + } + MapLocation t = unmarkedRuin(m); + if (t != null) { + d = rc.getLocation().distanceSquaredTo(t); + if (d < nearestToMark) { + nearestToMark = d; + leaveMark = t; + } + } + } + } + } + if (prevRuin != null && rc.canSenseLocation(prevRuin) && last[prevRuin.x][prevRuin.y] < rc.getRoundNum() && ((rc.getType() == UnitType.MOPPER && (seeTaintedRuin(prevRuin)) || (rc.getType() == UnitType.SOLDIER && seeIncompleteRuin(prevRuin))))){ + return prevRuin; + } + return best; + } + + public static MapLocation unmarkedRuin(MapLocation ruin) throws GameActionException { + MapLocation best = null; + MapLocation tmp; + int dist = 1000000000; + + + + tmp = new MapLocation(ruin.x + 2, ruin.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: break; + default: { + if (mi.getPaint().isAlly()) return null; + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < dist) { + dist = d; + best = tmp; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 2, ruin.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: break; + default: { + if (mi.getPaint().isAlly()) return null; + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < dist) { + dist = d; + best = tmp; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 2, ruin.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: break; + default: { + if (mi.getPaint().isAlly()) return null; + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < dist) { + dist = d; + best = tmp; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 2, ruin.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: break; + default: { + if (mi.getPaint().isAlly()) return null; + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < dist) { + dist = d; + best = tmp; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 2, ruin.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: break; + default: { + if (mi.getPaint().isAlly()) return null; + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < dist) { + dist = d; + best = tmp; + } + } + } + } + + + + + + tmp = new MapLocation(ruin.x + 1, ruin.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: break; + default: { + if (mi.getPaint().isAlly()) return null; + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < dist) { + dist = d; + best = tmp; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 1, ruin.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: break; + default: { + if (mi.getPaint().isAlly()) return null; + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < dist) { + dist = d; + best = tmp; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 1, ruin.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: break; + default: { + if (mi.getPaint().isAlly()) return null; + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < dist) { + dist = d; + best = tmp; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 1, ruin.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: break; + default: { + if (mi.getPaint().isAlly()) return null; + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < dist) { + dist = d; + best = tmp; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 1, ruin.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: break; + default: { + if (mi.getPaint().isAlly()) return null; + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < dist) { + dist = d; + best = tmp; + } + } + } + } + + + + + + tmp = new MapLocation(ruin.x + 0, ruin.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: break; + default: { + if (mi.getPaint().isAlly()) return null; + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < dist) { + dist = d; + best = tmp; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 0, ruin.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: break; + default: { + if (mi.getPaint().isAlly()) return null; + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < dist) { + dist = d; + best = tmp; + } + } + } + } + + + + + + tmp = new MapLocation(ruin.x + 0, ruin.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: break; + default: { + if (mi.getPaint().isAlly()) return null; + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < dist) { + dist = d; + best = tmp; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 0, ruin.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: break; + default: { + if (mi.getPaint().isAlly()) return null; + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < dist) { + dist = d; + best = tmp; + } + } + } + } + + + + + + tmp = new MapLocation(ruin.x + -1, ruin.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: break; + default: { + if (mi.getPaint().isAlly()) return null; + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < dist) { + dist = d; + best = tmp; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + -1, ruin.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: break; + default: { + if (mi.getPaint().isAlly()) return null; + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < dist) { + dist = d; + best = tmp; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + -1, ruin.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: break; + default: { + if (mi.getPaint().isAlly()) return null; + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < dist) { + dist = d; + best = tmp; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + -1, ruin.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: break; + default: { + if (mi.getPaint().isAlly()) return null; + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < dist) { + dist = d; + best = tmp; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + -1, ruin.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: break; + default: { + if (mi.getPaint().isAlly()) return null; + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < dist) { + dist = d; + best = tmp; + } + } + } + } + + + + + + tmp = new MapLocation(ruin.x + -2, ruin.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: break; + default: { + if (mi.getPaint().isAlly()) return null; + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < dist) { + dist = d; + best = tmp; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + -2, ruin.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: break; + default: { + if (mi.getPaint().isAlly()) return null; + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < dist) { + dist = d; + best = tmp; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + -2, ruin.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: break; + default: { + if (mi.getPaint().isAlly()) return null; + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < dist) { + dist = d; + best = tmp; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + -2, ruin.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: break; + default: { + if (mi.getPaint().isAlly()) return null; + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < dist) { + dist = d; + best = tmp; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + -2, ruin.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: break; + default: { + if (mi.getPaint().isAlly()) return null; + int d = rc.getLocation().distanceSquaredTo(tmp); + if (d < dist) { + dist = d; + best = tmp; + } + } + } + } + + + + return best; + } + + public static boolean seeIncompleteRuin(MapLocation ruin) throws GameActionException { + MapLocation tmp; + UnitType t = Globals.getTowerToBuild(ruin); + RobotInfo tower = rc.senseRobotAtLocation(ruin); + boolean needsChanges = (tower == null); + if (tower != null) return false; + + + + tmp = new MapLocation(ruin.x + 2, ruin.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: { + return false; + } + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[4][4]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[4][4]; + break; + } + default : { + targetSecondary = moneyTower[4][4]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges = true; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 2, ruin.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: { + return false; + } + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[4][3]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[4][3]; + break; + } + default : { + targetSecondary = moneyTower[4][3]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges = true; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 2, ruin.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: { + return false; + } + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[4][2]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[4][2]; + break; + } + default : { + targetSecondary = moneyTower[4][2]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges = true; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 2, ruin.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: { + return false; + } + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[4][1]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[4][1]; + break; + } + default : { + targetSecondary = moneyTower[4][1]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges = true; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 2, ruin.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: { + return false; + } + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[4][0]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[4][0]; + break; + } + default : { + targetSecondary = moneyTower[4][0]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges = true; + } + } + } + } + + + + + + tmp = new MapLocation(ruin.x + 1, ruin.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: { + return false; + } + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[3][4]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[3][4]; + break; + } + default : { + targetSecondary = moneyTower[3][4]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges = true; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 1, ruin.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: { + return false; + } + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[3][3]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[3][3]; + break; + } + default : { + targetSecondary = moneyTower[3][3]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges = true; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 1, ruin.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: { + return false; + } + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[3][2]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[3][2]; + break; + } + default : { + targetSecondary = moneyTower[3][2]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges = true; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 1, ruin.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: { + return false; + } + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[3][1]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[3][1]; + break; + } + default : { + targetSecondary = moneyTower[3][1]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges = true; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 1, ruin.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: { + return false; + } + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[3][0]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[3][0]; + break; + } + default : { + targetSecondary = moneyTower[3][0]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges = true; + } + } + } + } + + + + + + tmp = new MapLocation(ruin.x + 0, ruin.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: { + return false; + } + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[2][4]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[2][4]; + break; + } + default : { + targetSecondary = moneyTower[2][4]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges = true; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 0, ruin.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: { + return false; + } + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[2][3]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[2][3]; + break; + } + default : { + targetSecondary = moneyTower[2][3]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges = true; + } + } + } + } + + + + + + tmp = new MapLocation(ruin.x + 0, ruin.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: { + return false; + } + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[2][1]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[2][1]; + break; + } + default : { + targetSecondary = moneyTower[2][1]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges = true; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 0, ruin.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: { + return false; + } + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[2][0]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[2][0]; + break; + } + default : { + targetSecondary = moneyTower[2][0]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges = true; + } + } + } + } + + + + + + tmp = new MapLocation(ruin.x + -1, ruin.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: { + return false; + } + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[1][4]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[1][4]; + break; + } + default : { + targetSecondary = moneyTower[1][4]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges = true; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + -1, ruin.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: { + return false; + } + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[1][3]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[1][3]; + break; + } + default : { + targetSecondary = moneyTower[1][3]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges = true; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + -1, ruin.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: { + return false; + } + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[1][2]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[1][2]; + break; + } + default : { + targetSecondary = moneyTower[1][2]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges = true; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + -1, ruin.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: { + return false; + } + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[1][1]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[1][1]; + break; + } + default : { + targetSecondary = moneyTower[1][1]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges = true; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + -1, ruin.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: { + return false; + } + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[1][0]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[1][0]; + break; + } + default : { + targetSecondary = moneyTower[1][0]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges = true; + } + } + } + } + + + + + + tmp = new MapLocation(ruin.x + -2, ruin.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: { + return false; + } + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[0][4]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[0][4]; + break; + } + default : { + targetSecondary = moneyTower[0][4]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges = true; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + -2, ruin.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: { + return false; + } + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[0][3]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[0][3]; + break; + } + default : { + targetSecondary = moneyTower[0][3]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges = true; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + -2, ruin.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: { + return false; + } + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[0][2]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[0][2]; + break; + } + default : { + targetSecondary = moneyTower[0][2]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges = true; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + -2, ruin.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: { + return false; + } + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[0][1]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[0][1]; + break; + } + default : { + targetSecondary = moneyTower[0][1]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges = true; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + -2, ruin.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: { + return false; + } + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[0][0]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[0][0]; + break; + } + default : { + targetSecondary = moneyTower[0][0]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges = true; + } + } + } + } + + + + return needsChanges; + } + + public static boolean enoughPaint(MapLocation ruin) throws GameActionException { + MapLocation tmp; + UnitType t = Globals.getTowerToBuild(ruin); + RobotInfo tower = rc.senseRobotAtLocation(ruin); + int needsChanges = 0; + if (tower != null) return false; + + + + tmp = new MapLocation(ruin.x + 2, ruin.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: return false; + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[4][4]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[4][4]; + break; + } + default : { + targetSecondary = moneyTower[4][4]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges += 5; + if (rc.getPaint() - needsChanges < 10) return false; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 2, ruin.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: return false; + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[4][3]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[4][3]; + break; + } + default : { + targetSecondary = moneyTower[4][3]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges += 5; + if (rc.getPaint() - needsChanges < 10) return false; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 2, ruin.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: return false; + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[4][2]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[4][2]; + break; + } + default : { + targetSecondary = moneyTower[4][2]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges += 5; + if (rc.getPaint() - needsChanges < 10) return false; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 2, ruin.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: return false; + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[4][1]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[4][1]; + break; + } + default : { + targetSecondary = moneyTower[4][1]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges += 5; + if (rc.getPaint() - needsChanges < 10) return false; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 2, ruin.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: return false; + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[4][0]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[4][0]; + break; + } + default : { + targetSecondary = moneyTower[4][0]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges += 5; + if (rc.getPaint() - needsChanges < 10) return false; + } + } + } + } + + + + + + tmp = new MapLocation(ruin.x + 1, ruin.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: return false; + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[3][4]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[3][4]; + break; + } + default : { + targetSecondary = moneyTower[3][4]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges += 5; + if (rc.getPaint() - needsChanges < 10) return false; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 1, ruin.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: return false; + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[3][3]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[3][3]; + break; + } + default : { + targetSecondary = moneyTower[3][3]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges += 5; + if (rc.getPaint() - needsChanges < 10) return false; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 1, ruin.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: return false; + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[3][2]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[3][2]; + break; + } + default : { + targetSecondary = moneyTower[3][2]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges += 5; + if (rc.getPaint() - needsChanges < 10) return false; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 1, ruin.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: return false; + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[3][1]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[3][1]; + break; + } + default : { + targetSecondary = moneyTower[3][1]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges += 5; + if (rc.getPaint() - needsChanges < 10) return false; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 1, ruin.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: return false; + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[3][0]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[3][0]; + break; + } + default : { + targetSecondary = moneyTower[3][0]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges += 5; + if (rc.getPaint() - needsChanges < 10) return false; + } + } + } + } + + + + + + tmp = new MapLocation(ruin.x + 0, ruin.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: return false; + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[2][4]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[2][4]; + break; + } + default : { + targetSecondary = moneyTower[2][4]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges += 5; + if (rc.getPaint() - needsChanges < 10) return false; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 0, ruin.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: return false; + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[2][3]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[2][3]; + break; + } + default : { + targetSecondary = moneyTower[2][3]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges += 5; + if (rc.getPaint() - needsChanges < 10) return false; + } + } + } + } + + + + + + tmp = new MapLocation(ruin.x + 0, ruin.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: return false; + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[2][1]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[2][1]; + break; + } + default : { + targetSecondary = moneyTower[2][1]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges += 5; + if (rc.getPaint() - needsChanges < 10) return false; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + 0, ruin.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: return false; + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[2][0]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[2][0]; + break; + } + default : { + targetSecondary = moneyTower[2][0]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges += 5; + if (rc.getPaint() - needsChanges < 10) return false; + } + } + } + } + + + + + + tmp = new MapLocation(ruin.x + -1, ruin.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: return false; + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[1][4]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[1][4]; + break; + } + default : { + targetSecondary = moneyTower[1][4]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges += 5; + if (rc.getPaint() - needsChanges < 10) return false; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + -1, ruin.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: return false; + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[1][3]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[1][3]; + break; + } + default : { + targetSecondary = moneyTower[1][3]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges += 5; + if (rc.getPaint() - needsChanges < 10) return false; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + -1, ruin.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: return false; + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[1][2]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[1][2]; + break; + } + default : { + targetSecondary = moneyTower[1][2]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges += 5; + if (rc.getPaint() - needsChanges < 10) return false; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + -1, ruin.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: return false; + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[1][1]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[1][1]; + break; + } + default : { + targetSecondary = moneyTower[1][1]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges += 5; + if (rc.getPaint() - needsChanges < 10) return false; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + -1, ruin.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: return false; + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[1][0]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[1][0]; + break; + } + default : { + targetSecondary = moneyTower[1][0]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges += 5; + if (rc.getPaint() - needsChanges < 10) return false; + } + } + } + } + + + + + + tmp = new MapLocation(ruin.x + -2, ruin.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: return false; + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[0][4]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[0][4]; + break; + } + default : { + targetSecondary = moneyTower[0][4]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges += 5; + if (rc.getPaint() - needsChanges < 10) return false; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + -2, ruin.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: return false; + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[0][3]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[0][3]; + break; + } + default : { + targetSecondary = moneyTower[0][3]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges += 5; + if (rc.getPaint() - needsChanges < 10) return false; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + -2, ruin.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: return false; + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[0][2]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[0][2]; + break; + } + default : { + targetSecondary = moneyTower[0][2]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges += 5; + if (rc.getPaint() - needsChanges < 10) return false; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + -2, ruin.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: return false; + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[0][1]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[0][1]; + break; + } + default : { + targetSecondary = moneyTower[0][1]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges += 5; + if (rc.getPaint() - needsChanges < 10) return false; + } + } + } + } + + + + tmp = new MapLocation(ruin.x + -2, ruin.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY: return false; + default: { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[0][0]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[0][0]; + break; + } + default : { + targetSecondary = moneyTower[0][0]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + needsChanges += 5; + if (rc.getPaint() - needsChanges < 10) return false; + } + } + } + } + + + + return (rc.getPaint() - needsChanges) >= 10; + } + + public static boolean seeTaintedRuin(MapLocation ruin) throws GameActionException { + MapLocation tmp; + UnitType t = Globals.getTowerToBuild(ruin); + + + + tmp = new MapLocation(ruin.x + 2, ruin.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY: return true; + case ENEMY_PRIMARY: return true; + default: {} + } + } + + + + tmp = new MapLocation(ruin.x + 2, ruin.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY: return true; + case ENEMY_PRIMARY: return true; + default: {} + } + } + + + + tmp = new MapLocation(ruin.x + 2, ruin.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY: return true; + case ENEMY_PRIMARY: return true; + default: {} + } + } + + + + tmp = new MapLocation(ruin.x + 2, ruin.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY: return true; + case ENEMY_PRIMARY: return true; + default: {} + } + } + + + + tmp = new MapLocation(ruin.x + 2, ruin.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY: return true; + case ENEMY_PRIMARY: return true; + default: {} + } + } + + + + + + tmp = new MapLocation(ruin.x + 1, ruin.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY: return true; + case ENEMY_PRIMARY: return true; + default: {} + } + } + + + + tmp = new MapLocation(ruin.x + 1, ruin.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY: return true; + case ENEMY_PRIMARY: return true; + default: {} + } + } + + + + tmp = new MapLocation(ruin.x + 1, ruin.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY: return true; + case ENEMY_PRIMARY: return true; + default: {} + } + } + + + + tmp = new MapLocation(ruin.x + 1, ruin.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY: return true; + case ENEMY_PRIMARY: return true; + default: {} + } + } + + + + tmp = new MapLocation(ruin.x + 1, ruin.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY: return true; + case ENEMY_PRIMARY: return true; + default: {} + } + } + + + + + + tmp = new MapLocation(ruin.x + 0, ruin.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY: return true; + case ENEMY_PRIMARY: return true; + default: {} + } + } + + + + tmp = new MapLocation(ruin.x + 0, ruin.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY: return true; + case ENEMY_PRIMARY: return true; + default: {} + } + } + + + + + + tmp = new MapLocation(ruin.x + 0, ruin.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY: return true; + case ENEMY_PRIMARY: return true; + default: {} + } + } + + + + tmp = new MapLocation(ruin.x + 0, ruin.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY: return true; + case ENEMY_PRIMARY: return true; + default: {} + } + } + + + + + + tmp = new MapLocation(ruin.x + -1, ruin.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY: return true; + case ENEMY_PRIMARY: return true; + default: {} + } + } + + + + tmp = new MapLocation(ruin.x + -1, ruin.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY: return true; + case ENEMY_PRIMARY: return true; + default: {} + } + } + + + + tmp = new MapLocation(ruin.x + -1, ruin.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY: return true; + case ENEMY_PRIMARY: return true; + default: {} + } + } + + + + tmp = new MapLocation(ruin.x + -1, ruin.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY: return true; + case ENEMY_PRIMARY: return true; + default: {} + } + } + + + + tmp = new MapLocation(ruin.x + -1, ruin.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY: return true; + case ENEMY_PRIMARY: return true; + default: {} + } + } + + + + + + tmp = new MapLocation(ruin.x + -2, ruin.y + 2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY: return true; + case ENEMY_PRIMARY: return true; + default: {} + } + } + + + + tmp = new MapLocation(ruin.x + -2, ruin.y + 1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY: return true; + case ENEMY_PRIMARY: return true; + default: {} + } + } + + + + tmp = new MapLocation(ruin.x + -2, ruin.y + 0); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY: return true; + case ENEMY_PRIMARY: return true; + default: {} + } + } + + + + tmp = new MapLocation(ruin.x + -2, ruin.y + -1); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY: return true; + case ENEMY_PRIMARY: return true; + default: {} + } + } + + + + tmp = new MapLocation(ruin.x + -2, ruin.y + -2); + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY: return true; + case ENEMY_PRIMARY: return true; + default: {} + } + } + + + + return false; + } + + public static void makeTower(MapLocation buildTower) throws GameActionException { + prevRuin = buildTower; + UnitType t = Globals.getTowerToBuild(buildTower); + + MapLocation paintMark = buildTower.add(Direction.WEST); + MapLocation moneyMark = buildTower.add(Direction.SOUTH); + boolean see = false; + if (rc.canSenseLocation(paintMark) && rc.canSenseLocation(moneyMark)){ + MapInfo pm = rc.senseMapInfo(paintMark); + MapInfo mm = rc.senseMapInfo(moneyMark); + if (mm.getMark() != PaintType.ALLY_SECONDARY && pm.getMark() != PaintType.ALLY_SECONDARY) { + if (t == UnitType.LEVEL_ONE_MONEY_TOWER) { + if (rc.canMark(moneyMark)) { + rc.mark(moneyMark, true); + } + else { + Pathing.pathTo(moneyMark); + } + } + else if (t == UnitType.LEVEL_ONE_PAINT_TOWER) { + if (rc.canMark(paintMark)) { + rc.mark(paintMark, true); + } + else { + Pathing.pathTo(paintMark); + } + } + } + else see = true; + } + else if (rc.canSenseLocation(paintMark)) { + MapInfo pm = rc.senseMapInfo(paintMark); + if (pm.getMark() != PaintType.ALLY_SECONDARY) { + see = true; + } + } + else if (rc.canSenseLocation(moneyMark)) { + MapInfo mm = rc.senseMapInfo(moneyMark); + if (mm.getMark() != PaintType.ALLY_SECONDARY) { + see = true; + } + } + + MapLocation tmp; + MapLocation goal = null; + boolean secondCol = false; + int bestDist = 1000000000; + int d; + + + + tmp = new MapLocation(buildTower.x + 2, buildTower.y + 2); + d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist && (see || (!see && tmp.distanceSquaredTo(buildTower) <= 2))) { + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY -> { + if (rc.getType() == UnitType.MOPPER) { + bestDist = d; + goal = tmp; + } + break; + } + default -> { + if (rc.getType() == UnitType.SOLDIER) { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[4][4]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[4][4]; + break; + } + default : { + targetSecondary = moneyTower[4][4]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + bestDist = d; + goal = tmp; + secondCol = targetSecondary; + } + } + } + } + } + } + + + + tmp = new MapLocation(buildTower.x + 2, buildTower.y + 1); + d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist && (see || (!see && tmp.distanceSquaredTo(buildTower) <= 2))) { + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY -> { + if (rc.getType() == UnitType.MOPPER) { + bestDist = d; + goal = tmp; + } + break; + } + default -> { + if (rc.getType() == UnitType.SOLDIER) { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[4][3]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[4][3]; + break; + } + default : { + targetSecondary = moneyTower[4][3]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + bestDist = d; + goal = tmp; + secondCol = targetSecondary; + } + } + } + } + } + } + + + + tmp = new MapLocation(buildTower.x + 2, buildTower.y + 0); + d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist && (see || (!see && tmp.distanceSquaredTo(buildTower) <= 2))) { + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY -> { + if (rc.getType() == UnitType.MOPPER) { + bestDist = d; + goal = tmp; + } + break; + } + default -> { + if (rc.getType() == UnitType.SOLDIER) { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[4][2]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[4][2]; + break; + } + default : { + targetSecondary = moneyTower[4][2]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + bestDist = d; + goal = tmp; + secondCol = targetSecondary; + } + } + } + } + } + } + + + + tmp = new MapLocation(buildTower.x + 2, buildTower.y + -1); + d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist && (see || (!see && tmp.distanceSquaredTo(buildTower) <= 2))) { + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY -> { + if (rc.getType() == UnitType.MOPPER) { + bestDist = d; + goal = tmp; + } + break; + } + default -> { + if (rc.getType() == UnitType.SOLDIER) { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[4][1]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[4][1]; + break; + } + default : { + targetSecondary = moneyTower[4][1]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + bestDist = d; + goal = tmp; + secondCol = targetSecondary; + } + } + } + } + } + } + + + + tmp = new MapLocation(buildTower.x + 2, buildTower.y + -2); + d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist && (see || (!see && tmp.distanceSquaredTo(buildTower) <= 2))) { + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY -> { + if (rc.getType() == UnitType.MOPPER) { + bestDist = d; + goal = tmp; + } + break; + } + default -> { + if (rc.getType() == UnitType.SOLDIER) { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[4][0]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[4][0]; + break; + } + default : { + targetSecondary = moneyTower[4][0]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + bestDist = d; + goal = tmp; + secondCol = targetSecondary; + } + } + } + } + } + } + + + + + + tmp = new MapLocation(buildTower.x + 1, buildTower.y + 2); + d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist && (see || (!see && tmp.distanceSquaredTo(buildTower) <= 2))) { + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY -> { + if (rc.getType() == UnitType.MOPPER) { + bestDist = d; + goal = tmp; + } + break; + } + default -> { + if (rc.getType() == UnitType.SOLDIER) { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[3][4]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[3][4]; + break; + } + default : { + targetSecondary = moneyTower[3][4]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + bestDist = d; + goal = tmp; + secondCol = targetSecondary; + } + } + } + } + } + } + + + + tmp = new MapLocation(buildTower.x + 1, buildTower.y + 1); + d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist && (see || (!see && tmp.distanceSquaredTo(buildTower) <= 2))) { + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY -> { + if (rc.getType() == UnitType.MOPPER) { + bestDist = d; + goal = tmp; + } + break; + } + default -> { + if (rc.getType() == UnitType.SOLDIER) { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[3][3]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[3][3]; + break; + } + default : { + targetSecondary = moneyTower[3][3]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + bestDist = d; + goal = tmp; + secondCol = targetSecondary; + } + } + } + } + } + } + + + + tmp = new MapLocation(buildTower.x + 1, buildTower.y + 0); + d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist && (see || (!see && tmp.distanceSquaredTo(buildTower) <= 2))) { + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY -> { + if (rc.getType() == UnitType.MOPPER) { + bestDist = d; + goal = tmp; + } + break; + } + default -> { + if (rc.getType() == UnitType.SOLDIER) { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[3][2]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[3][2]; + break; + } + default : { + targetSecondary = moneyTower[3][2]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + bestDist = d; + goal = tmp; + secondCol = targetSecondary; + } + } + } + } + } + } + + + + tmp = new MapLocation(buildTower.x + 1, buildTower.y + -1); + d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist && (see || (!see && tmp.distanceSquaredTo(buildTower) <= 2))) { + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY -> { + if (rc.getType() == UnitType.MOPPER) { + bestDist = d; + goal = tmp; + } + break; + } + default -> { + if (rc.getType() == UnitType.SOLDIER) { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[3][1]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[3][1]; + break; + } + default : { + targetSecondary = moneyTower[3][1]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + bestDist = d; + goal = tmp; + secondCol = targetSecondary; + } + } + } + } + } + } + + + + tmp = new MapLocation(buildTower.x + 1, buildTower.y + -2); + d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist && (see || (!see && tmp.distanceSquaredTo(buildTower) <= 2))) { + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY -> { + if (rc.getType() == UnitType.MOPPER) { + bestDist = d; + goal = tmp; + } + break; + } + default -> { + if (rc.getType() == UnitType.SOLDIER) { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[3][0]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[3][0]; + break; + } + default : { + targetSecondary = moneyTower[3][0]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + bestDist = d; + goal = tmp; + secondCol = targetSecondary; + } + } + } + } + } + } + + + + + + tmp = new MapLocation(buildTower.x + 0, buildTower.y + 2); + d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist && (see || (!see && tmp.distanceSquaredTo(buildTower) <= 2))) { + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY -> { + if (rc.getType() == UnitType.MOPPER) { + bestDist = d; + goal = tmp; + } + break; + } + default -> { + if (rc.getType() == UnitType.SOLDIER) { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[2][4]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[2][4]; + break; + } + default : { + targetSecondary = moneyTower[2][4]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + bestDist = d; + goal = tmp; + secondCol = targetSecondary; + } + } + } + } + } + } + + + + tmp = new MapLocation(buildTower.x + 0, buildTower.y + 1); + d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist && (see || (!see && tmp.distanceSquaredTo(buildTower) <= 2))) { + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY -> { + if (rc.getType() == UnitType.MOPPER) { + bestDist = d; + goal = tmp; + } + break; + } + default -> { + if (rc.getType() == UnitType.SOLDIER) { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[2][3]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[2][3]; + break; + } + default : { + targetSecondary = moneyTower[2][3]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + bestDist = d; + goal = tmp; + secondCol = targetSecondary; + } + } + } + } + } + } + + + + + + tmp = new MapLocation(buildTower.x + 0, buildTower.y + -1); + d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist && (see || (!see && tmp.distanceSquaredTo(buildTower) <= 2))) { + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY -> { + if (rc.getType() == UnitType.MOPPER) { + bestDist = d; + goal = tmp; + } + break; + } + default -> { + if (rc.getType() == UnitType.SOLDIER) { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[2][1]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[2][1]; + break; + } + default : { + targetSecondary = moneyTower[2][1]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + bestDist = d; + goal = tmp; + secondCol = targetSecondary; + } + } + } + } + } + } + + + + tmp = new MapLocation(buildTower.x + 0, buildTower.y + -2); + d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist && (see || (!see && tmp.distanceSquaredTo(buildTower) <= 2))) { + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY -> { + if (rc.getType() == UnitType.MOPPER) { + bestDist = d; + goal = tmp; + } + break; + } + default -> { + if (rc.getType() == UnitType.SOLDIER) { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[2][0]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[2][0]; + break; + } + default : { + targetSecondary = moneyTower[2][0]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + bestDist = d; + goal = tmp; + secondCol = targetSecondary; + } + } + } + } + } + } + + + + + + tmp = new MapLocation(buildTower.x + -1, buildTower.y + 2); + d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist && (see || (!see && tmp.distanceSquaredTo(buildTower) <= 2))) { + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY -> { + if (rc.getType() == UnitType.MOPPER) { + bestDist = d; + goal = tmp; + } + break; + } + default -> { + if (rc.getType() == UnitType.SOLDIER) { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[1][4]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[1][4]; + break; + } + default : { + targetSecondary = moneyTower[1][4]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + bestDist = d; + goal = tmp; + secondCol = targetSecondary; + } + } + } + } + } + } + + + + tmp = new MapLocation(buildTower.x + -1, buildTower.y + 1); + d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist && (see || (!see && tmp.distanceSquaredTo(buildTower) <= 2))) { + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY -> { + if (rc.getType() == UnitType.MOPPER) { + bestDist = d; + goal = tmp; + } + break; + } + default -> { + if (rc.getType() == UnitType.SOLDIER) { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[1][3]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[1][3]; + break; + } + default : { + targetSecondary = moneyTower[1][3]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + bestDist = d; + goal = tmp; + secondCol = targetSecondary; + } + } + } + } + } + } + + + + tmp = new MapLocation(buildTower.x + -1, buildTower.y + 0); + d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist && (see || (!see && tmp.distanceSquaredTo(buildTower) <= 2))) { + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY -> { + if (rc.getType() == UnitType.MOPPER) { + bestDist = d; + goal = tmp; + } + break; + } + default -> { + if (rc.getType() == UnitType.SOLDIER) { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[1][2]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[1][2]; + break; + } + default : { + targetSecondary = moneyTower[1][2]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + bestDist = d; + goal = tmp; + secondCol = targetSecondary; + } + } + } + } + } + } + + + + tmp = new MapLocation(buildTower.x + -1, buildTower.y + -1); + d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist && (see || (!see && tmp.distanceSquaredTo(buildTower) <= 2))) { + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY -> { + if (rc.getType() == UnitType.MOPPER) { + bestDist = d; + goal = tmp; + } + break; + } + default -> { + if (rc.getType() == UnitType.SOLDIER) { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[1][1]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[1][1]; + break; + } + default : { + targetSecondary = moneyTower[1][1]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + bestDist = d; + goal = tmp; + secondCol = targetSecondary; + } + } + } + } + } + } + + + + tmp = new MapLocation(buildTower.x + -1, buildTower.y + -2); + d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist && (see || (!see && tmp.distanceSquaredTo(buildTower) <= 2))) { + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY -> { + if (rc.getType() == UnitType.MOPPER) { + bestDist = d; + goal = tmp; + } + break; + } + default -> { + if (rc.getType() == UnitType.SOLDIER) { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[1][0]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[1][0]; + break; + } + default : { + targetSecondary = moneyTower[1][0]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + bestDist = d; + goal = tmp; + secondCol = targetSecondary; + } + } + } + } + } + } + + + + + + tmp = new MapLocation(buildTower.x + -2, buildTower.y + 2); + d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist && (see || (!see && tmp.distanceSquaredTo(buildTower) <= 2))) { + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY -> { + if (rc.getType() == UnitType.MOPPER) { + bestDist = d; + goal = tmp; + } + break; + } + default -> { + if (rc.getType() == UnitType.SOLDIER) { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[0][4]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[0][4]; + break; + } + default : { + targetSecondary = moneyTower[0][4]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + bestDist = d; + goal = tmp; + secondCol = targetSecondary; + } + } + } + } + } + } + + + + tmp = new MapLocation(buildTower.x + -2, buildTower.y + 1); + d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist && (see || (!see && tmp.distanceSquaredTo(buildTower) <= 2))) { + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY -> { + if (rc.getType() == UnitType.MOPPER) { + bestDist = d; + goal = tmp; + } + break; + } + default -> { + if (rc.getType() == UnitType.SOLDIER) { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[0][3]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[0][3]; + break; + } + default : { + targetSecondary = moneyTower[0][3]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + bestDist = d; + goal = tmp; + secondCol = targetSecondary; + } + } + } + } + } + } + + + + tmp = new MapLocation(buildTower.x + -2, buildTower.y + 0); + d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist && (see || (!see && tmp.distanceSquaredTo(buildTower) <= 2))) { + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY -> { + if (rc.getType() == UnitType.MOPPER) { + bestDist = d; + goal = tmp; + } + break; + } + default -> { + if (rc.getType() == UnitType.SOLDIER) { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[0][2]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[0][2]; + break; + } + default : { + targetSecondary = moneyTower[0][2]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + bestDist = d; + goal = tmp; + secondCol = targetSecondary; + } + } + } + } + } + } + + + + tmp = new MapLocation(buildTower.x + -2, buildTower.y + -1); + d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist && (see || (!see && tmp.distanceSquaredTo(buildTower) <= 2))) { + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY -> { + if (rc.getType() == UnitType.MOPPER) { + bestDist = d; + goal = tmp; + } + break; + } + default -> { + if (rc.getType() == UnitType.SOLDIER) { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[0][1]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[0][1]; + break; + } + default : { + targetSecondary = moneyTower[0][1]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + bestDist = d; + goal = tmp; + secondCol = targetSecondary; + } + } + } + } + } + } + + + + tmp = new MapLocation(buildTower.x + -2, buildTower.y + -2); + d = rc.getLocation().distanceSquaredTo(tmp); + if (d < bestDist && (see || (!see && tmp.distanceSquaredTo(buildTower) <= 2))) { + if (rc.canSenseLocation(tmp)) { + MapInfo mi = rc.senseMapInfo(tmp); + switch (mi.getPaint()) { + case ENEMY_SECONDARY, ENEMY_PRIMARY -> { + if (rc.getType() == UnitType.MOPPER) { + bestDist = d; + goal = tmp; + } + break; + } + default -> { + if (rc.getType() == UnitType.SOLDIER) { + boolean isSecondary = (mi.getPaint() == PaintType.ALLY_SECONDARY); + boolean targetSecondary = false; + switch (t) { + case LEVEL_ONE_DEFENSE_TOWER : { + targetSecondary = defenseTower[0][0]; + break; + } + case LEVEL_ONE_PAINT_TOWER : { + targetSecondary = paintTower[0][0]; + break; + } + default : { + targetSecondary = moneyTower[0][0]; + break; + } + } + if ((mi.getPaint() == PaintType.EMPTY) || (isSecondary != targetSecondary)) { + bestDist = d; + goal = tmp; + secondCol = targetSecondary; + } + } + } + } + } + } + + + + + if (goal != null) { + if (rc.canAttack(goal)) { + rc.setIndicatorDot(goal, 255, 0, 0); + rc.attack(goal, secondCol); + } + if (rc.getType() == UnitType.MOPPER) Mopper.handleMopTarget(goal); + else Pathing.pathTo(goal); + } + else { + if (rc.canCompleteTowerPattern(UnitType.LEVEL_ONE_PAINT_TOWER, buildTower)) { + rc.completeTowerPattern(UnitType.LEVEL_ONE_PAINT_TOWER, buildTower); + finishedTower = buildTower; + removePattern(); + } + if (rc.canCompleteTowerPattern(UnitType.LEVEL_ONE_MONEY_TOWER, buildTower)) { + rc.completeTowerPattern(UnitType.LEVEL_ONE_MONEY_TOWER, buildTower); + finishedTower = buildTower; + removePattern(); + } + Pathing.pathTo(buildTower); + if (rc.getLocation().distanceSquaredTo(buildTower) <= 2) { + int saw = 0; + for (int j = 8; --j >= 0;) { + RobotInfo r = rc.senseRobotAtLocation(new MapLocation(buildTower.x + dx[j], buildTower.y + dy[j])); + if (r != null && rc.getType() == r.getType()) { + if (r.getLocation() == rc.getLocation()) break; + saw++; + if (saw > 1) { + last[buildTower.x][buildTower.y] = rc.getRoundNum() + 10; + break; + } + } + } + } + else Pathing.pathTo(buildTower); + } + } + +} \ No newline at end of file From 592e46fcdee9d2ee3800757da39abbe6228b2d60 Mon Sep 17 00:00:00 2001 From: CyrilSharma Date: Fri, 24 Jan 2025 09:10:31 -0500 Subject: [PATCH 2/2] Better Moppers Micro --- templates/Mopper.java.jinja2 | 2 +- templates/MopperAttack.java.jinja2 | 118 ++++++++++++++++++++++++----- 2 files changed, 100 insertions(+), 20 deletions(-) diff --git a/templates/Mopper.java.jinja2 b/templates/Mopper.java.jinja2 index 00f0f6a..d8af177 100644 --- a/templates/Mopper.java.jinja2 +++ b/templates/Mopper.java.jinja2 @@ -7,7 +7,7 @@ public class Mopper { public static RobotController rc; public static MapLocation buildTower = null; public static MapLocation myloc; - public static int paintCapacity = UnitType.SOLDIER.paintCapacity; + public static int paintCapacity = UnitType.MOPPER.paintCapacity; public static int myPaint; public static MapLocation exploreTarget; public static MapInfo[] near; diff --git a/templates/MopperAttack.java.jinja2 b/templates/MopperAttack.java.jinja2 index 95648a4..c8ce95c 100644 --- a/templates/MopperAttack.java.jinja2 +++ b/templates/MopperAttack.java.jinja2 @@ -33,8 +33,16 @@ public class MopperAttack { } public static void mopperTryAttack() throws GameActionException { - if ((rc.getPaint() < (UnitType.MOPPER.paintCapacity >> 1)) - || (Globals.enemies.length == 1)) { + int nonMoppers = 0; + int moppers = 0; + for (RobotInfo r: Globals.enemies) { + switch (r.type) { + case SOLDIER, SPLASHER -> nonMoppers++; + case MOPPER -> moppers++; + default -> {} + } + } + if (nonMoppers == 1 && moppers == 0) { mopperHealAttack(); } else { mopperMopAttack(); @@ -140,11 +148,12 @@ public class MopperAttack { {% endfor %} } - {# {% for i in range(0, 9) -%} + {% for i in range(0, 9) -%} {% set dir = shortDirections[i] %} {% debug('minDistToEnemy_' ~ dir, 'targetLoc_' ~ dir ~ '.x', 'canMove_' ~ dir, - 'targetLoc_' ~ dir ~ '.y', 'myPaintDmg_' ~ dir, 'paintDmgAttackRange_' ~ dir) %} - {% endfor %} #} + 'targetLoc_' ~ dir ~ '.y', 'myPaintDmg_' ~ dir, 'paintDmgAttackRange_' ~ dir, + 'penalty_' ~ dir, 'unitHealth_' ~ dir, 'inActionRadius_' ~ dir) %} + {% endfor %} boolean bestWins = false; Direction bestDir = {{ directions[0] }}; @@ -154,10 +163,11 @@ public class MopperAttack { {{ chooseBest(i) | indent(4) }} {% endfor %} - {# {% set dir = 'best' %} + {% set dir = 'best' %} {% debug('minDistToEnemy_' ~ dir, 'targetLoc_' ~ dir ~ '.x', 'canMove_' ~ dir, - 'targetLoc_' ~ dir ~ '.y', 'myPaintDmg_' ~ dir, 'paintDmgAttackRange_' ~ dir) %} - System.out.println("\n"); #} + 'targetLoc_' ~ dir ~ '.y', 'myPaintDmg_' ~ dir, 'paintDmgAttackRange_' ~ dir, + 'penalty_' ~ dir, 'unitHealth_' ~ dir, 'inActionRadius_' ~ dir) %} + System.out.println("\n"); if (rc.canMove(bestDir)) { rc.move(bestDir); @@ -174,11 +184,22 @@ public class MopperAttack { bestWins = canMove_{{best}}; {{label}}: { if (!canMove_{{dir}} || !canMove_{{best}}) break {{label}}; + + // If one of the squares is in tower radius, choose the square that moves you away. if (inTowerRadius_{{best}} != inTowerRadius_{{dir}}) { bestWins = !inTowerRadius_{{best}}; break {{label}}; } + // If both squares are in tower radius, prefer the one which lets you get out of tower radius. + if (inTowerRadius_{{best}} && inTowerRadius_{{dir}}) { + if ((minDistToTower_{{best}} <= 2) != (minDistToTower_{{dir}} <= 2)) { + bestWins = !(minDistToTower_{{best}} <= 2); + break {{label}}; + } + } + + // Choose the square which lets me deal the most net paint damage. double bestPaintDmgDiff = paintDmgAttackRange_{{best}} - myPaintDmg_{{best}}; double otherPaintDmgDiff = paintDmgAttackRange_{{dir}} - myPaintDmg_{{dir}}; if (bestPaintDmgDiff != otherPaintDmgDiff) { @@ -186,12 +207,47 @@ public class MopperAttack { break {{label}}; } - if (penalty_{{best}} != penalty_{{dir}}) { - bestWins = penalty_{{best}} < penalty_{{dir}}; - break {{label}}; + if (actionReady || shouldChase) { + // If I can attack at either square, prefer the one which lets me attack a low health unit. + if (inActionRadius_{{best}} && inActionRadius_{{dir}}) { + if (unitHealth_{{best}} != unitHealth_{{dir}}) { + bestWins = unitHealth_{{best}} < unitHealth_{{dir}}; + break {{label}}; + } + } + + // If I can attack choose the square which gets me into action radius. + if (inActionRadius_{{best}} != inActionRadius_{{dir}}) { + bestWins = inActionRadius_{{best}}; + break {{label}}; + } + } else { + // If I can't attack, choose the square which gets me out of action radius. + if (inActionRadius_{{best}} != inActionRadius_{{dir}}) { + bestWins = !inActionRadius_{{best}}; + break {{label}}; + } + } + + // If both squares are in action radius, prefer the one which lets you get out of action radius. + // If you are chasing, then no need to do this, your prey can't fight back. + if (!shouldChase && inActionRadius_{{best}} && inActionRadius_{{dir}}) { + if ((minDistToEnemy_{{best}} <= 2) != (minDistToEnemy_{{dir}} <= 2)) { + bestWins = !(minDistToEnemy_{{best}} <= 2); + break {{label}}; + } } - bestWins = (minDistToEnemy_{{best}} <= minDistToEnemy_{{dir}}); + // If both squares are out of action radius, prefer the one which is closer. + else if (!inActionRadius_{{best}} && !inActionRadius_{{dir}}) { + if (minDistToEnemy_{{best}} != minDistToEnemy_{{dir}}) { + bestWins = minDistToEnemy_{{best}} < minDistToEnemy_{{dir}}; + break {{label}}; + } + } + + // All else equal, prefer the square with better paint penalty. + bestWins = (penalty_{{best}} <= penalty_{{dir}}); break {{label}}; } {# We can get rid of the copy if we use a switch. #} @@ -225,24 +281,40 @@ public class MopperAttack { switch (robot.type) { case SPLASHER: { if (robot.paintAmount == 0 ) break {{label}}; - if (actionReady && d <= mopperDesiredActionRadiusSquared) { - myPaintDmg_{{dir}} = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + if (d <= mopperDesiredActionRadiusSquared) { + inActionRadius_{{dir}} = true; + if (actionReady) { + myPaintDmg_{{dir}} = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + if (robot.paintAmount < unitHealth_{{dir}}) { + unitHealth_{{dir}} = robot.paintAmount; + } + } } if (d < minDistToEnemy_{{dir}}) minDistToEnemy_{{dir}} = d; break {{label}}; } case SOLDIER: { if (robot.paintAmount == 0 ) break {{label}}; - if (actionReady && d <= mopperDesiredActionRadiusSquared) { - myPaintDmg_{{dir}} = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + if (d <= mopperDesiredActionRadiusSquared) { + inActionRadius_{{dir}} = true; + if (actionReady) { + myPaintDmg_{{dir}} = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + if (robot.paintAmount < unitHealth_{{dir}}) { + unitHealth_{{dir}} = robot.paintAmount; + } + } } if (d < minDistToEnemy_{{dir}}) minDistToEnemy_{{dir}} = d; + if (robot.paintAmount < unitHealth_{{dir}}) unitHealth_{{dir}} = robot.paintAmount; break {{label}}; } case MOPPER: { if (robot.paintAmount == 0 ) break {{label}}; - if (actionReady && d <= mopperMaxActionRadiusSquared) { - myPaintDmg_{{dir}} = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + if (d <= mopperMaxActionRadiusSquared) { + inActionRadius_{{dir}} = true; + if (actionReady) { + myPaintDmg_{{dir}} = GameConstants.MOPPER_SWING_PAINT_DEPLETION; + } paintDmgAttackRange_{{dir}} = GameConstants.MOPPER_SWING_PAINT_DEPLETION; } if (d < minDistToEnemy_{{dir}}) minDistToEnemy_{{dir}} = d; @@ -254,6 +326,7 @@ public class MopperAttack { 'LEVEL_TWO_DEFENSE_TOWER', 'LEVEL_TWO_MONEY_TOWER', 'LEVEL_TWO_PAINT_TOWER'] -%} case {{tower}}: { if (d <= UnitType.{{tower}}.actionRadiusSquared) inTowerRadius_{{dir}} = true; + if (d < minDistToTower_{{dir}}) minDistToTower_{{dir}} = d; break {{label}}; } {% endfor %} @@ -279,13 +352,20 @@ public class MopperAttack { double myPaintDmg_{{suffix}} = 0; int minDistToEnemy_{{suffix}} = 100000; boolean inTowerRadius_{{suffix}} = false; + int unitHealth_{{suffix}} = 1000000; + int minDistToTower_{{suffix}} = 10000000; + boolean inActionRadius_{{suffix}} = false; {% endmacro -%} /* ################## INIT TARGET #################### */ /*------------------ COPY --------------------*/ {# WARNING THIS MUST BE UPDATED OR MICRO WILL HAVE BUGS #} {%- macro copy(dest, src) -%} - {%- for attribute in ['targetLoc', 'canMove', 'paintDmgAttackRange', 'myPaintDmg', 'minDistToEnemy', 'penalty', 'inTowerRadius'] -%} + {%- for attribute in [ + 'targetLoc', 'canMove', 'paintDmgAttackRange', + 'myPaintDmg', 'minDistToEnemy', 'penalty', + 'inTowerRadius', 'unitHealth', 'minDistToTower', + 'inActionRadius'] -%} {{attribute}}_{{dest}} = {{attribute}}_{{src}}; {% endfor -%} {% endmacro -%}