protected ScorpionRed scorpionMove(short[][][] maze, Human man) {//Horizontal then vertical
        // This method was written using a different logic than the current one
        ScorpionRed tam = new ScorpionRed(this.getX(), this.getY());
        
        if (tam.samePlace(man)) {
            return tam;
        } else {
            Mummy.setAttempt(0);
            Mummy.setCount(0);
            while ((Mummy.getAttempt() < 5) && (Mummy.getCount() < 1)) {
                while (this.getX() != man.getX()) {
                    tam = tam.mummyMoveVertical(maze, man);
                    if (!(Mummy.getCount() < 1)) {
                        return tam;
                    }
                    if (Mummy.getAttempt() > 4) break;
                }
                if (tam.samePlace(man)) {
                    return tam;
                }
                tam = tam.mummyMoveHorizontal(maze, man);
                if ((tam.samePlace(man)) || (!(Mummy.getCount() < 1))) {
                    return tam;
                }
            }
            return tam;
        }
    }