if ((game.getLastPhase() == IGame.PHASE_DEPLOYMENT) || game.isDeploymentComplete() || !game.shouldDeployThisRound()) {
if (game.getLastPhase() == IGame.PHASE_DEPLOYMENT || game.isDeploymentComplete() || !game.shouldDeployThisRound()) {
    private void writeInitiativeReport(boolean abbreviatedReport) {        // write to report        Report r;        boolean deployment = false;        if (!abbreviatedReport) {            r = new Report(1210);            r.type = Report.PUBLIC;            if ((game.getLastPhase() == IGame.PHASE_DEPLOYMENT) || game.isDeploymentComplete() || !game.shouldDeployThisRound()) {                r.messageId = 1000;                r.add(game.getRoundCount());            } else {                deployment = true;                if ( game.getRoundCount() == 0 ) {                    r.messageId = 1005;                } else {                    r.messageId = 1010;                    r.add(game.getRoundCount());                }            }            addReport(r);            //write seperator            addReport(new Report(1200, Report.PUBLIC));        } else {            addReport(new Report(1210, Report.PUBLIC)); //newline        }        if(game.getOptions().booleanOption("individual_initiative")) {            r = new Report(1040, Report.PUBLIC);            addReport(r);            for(Enumeration<GameTurn> e = game.getTurns();e.hasMoreElements();) {                GameTurn t = e.nextElement();                if(t instanceof GameTurn.SpecificEntityTurn) {                    Entity entity = game.getEntity(((GameTurn.SpecificEntityTurn)t).getEntityNum());                    r = new Report(1045);                    r.subject = entity.getId();                    r.addDesc(entity);                    r.add(entity.getInitiative().toString());                    addReport(r);                } else {                    Player player = getPlayer( t.getPlayerNum() );                    if ( null != player ) {                        r = new Report(1050, Report.PUBLIC);                        r.add(player.getName());                        addReport(r);                    }                                    }            }        } else {            for (Enumeration i = game.getTeams(); i.hasMoreElements();) {                final Team team = (Team)i.nextElement();                    // If there is only one player, list them as the 'team', and                // use the team iniative                if (team.getSize() == 1) {                    final Player player = (Player)team.getPlayers().nextElement();                    r = new Report(1015, Report.PUBLIC);                    r.add(player.getName());                    r.add(team.getInitiative().toString());                    addReport(r);                } else {                    // Multiple players.  List the team, then break it down.                    r = new Report(1015, Report.PUBLIC);                    r.add(Player.teamNames[team.getId()]);                    r.add(team.getInitiative().toString());                    addReport(r);                    for( Enumeration j = team.getPlayers(); j.hasMoreElements();) {                        final Player player = (Player)j.nextElement();                        r = new Report(1015, Report.PUBLIC);                        r.indent();                        r.add(player.getName());                        r.add(player.getInitiative().toString());                        addReport(r);                    }                }            }                // The turn order is different in movement phase            // if a player has any "even" moving units.            r = new Report(1020, Report.PUBLIC);                boolean firstTurn = true;            boolean hasEven = false;            for (Enumeration i = game.getTurns(); i.hasMoreElements();) {                GameTurn turn = (GameTurn)i.nextElement();                Player player = getPlayer( turn.getPlayerNum() );                if ( null != player ) {                    r.add(player.getName());                    firstTurn = false;                    if (player.getEvenTurns() > 0)                        hasEven = true;                }            }            r.newlines = 2;            addReport(r);            if (hasEven) {                r = new Report(1021, Report.PUBLIC);                if ((game.getOptions().booleanOption("inf_deploy_even")                    || game.getOptions().booleanOption("protos_deploy_even")) &&                    !(game.getLastPhase() == IGame.PHASE_END_REPORT))                    r.choose(true);                else r.choose(false);                r.indent();                r.newlines = 2;                addReport(r);            }        }        if (!abbreviatedReport) {            //Wind direction and strength            r = new Report(1025, Report.PUBLIC);            r.add(game.getStringWindDirection());            if (game.getWindStrength() != -1) {                Report r2 = new Report(1030, Report.PUBLIC);                r2.add(game.getStringWindStrength());                r.newlines = 0;                addReport(r);                addReport(r2);            } else {                addReport(r);            }            if (deployment)                addNewLines();        }    }