public void bigPkm(boolean selected, Graphics2D g2, Pokemon p) {

    if (p == null) return;

    Font f = Window.FONT;
    f = f.deriveFont(Font.PLAIN, 20);
    g2.setFont(f);

    Color color1 = NOT_SELECTED_UP, color2 = NOT_SELECTED_DOWN, color3 = NOT_SELECTED_OUT_LINE;

    if (selected) {
      color1 = SELECTED_UP;
      color2 = SELECTED_DOWN;
      color3 = SELECTED_OUT_LINE;
    }

    g2.setColor(color3);
    g2.fill(new RoundRectangle2D.Double(X_SHIFT - 5, Y_SHIFT - 5, WIDTH1 + 10, HEIGHT1 + 10, 5, 5));

    g2.setColor(color1);
    g2.fill(new Rectangle2D.Double(X_SHIFT, Y_SHIFT, WIDTH1, HEIGHT1));
    g2.setColor(color2);
    g2.fill(new Rectangle2D.Double(X_SHIFT, Y_SHIFT + HEIGHT1 * 2 / 3, WIDTH1, HEIGHT1 / 3));

    BattleFrontEnd.drawHpBar(
        g2,
        X_SHIFT + 40,
        Y_SHIFT + HEIGHT1 * 2 / 3,
        p.getCurrentHP(),
        p.getMaxHP(),
        p.getCurrentHP() / (double) p.getMaxHP());

    String hp = p.getCurrentHP() + "/" + p.getMaxHP();

    g2.setColor(Color.BLACK);
    g2.drawString(
        hp,
        X_SHIFT + 100,
        (int)
            (Y_SHIFT
                + HEIGHT1 * 2 / 3
                + f.getStringBounds(hp, new FontRenderContext(null, true, true)).getHeight()));
    String name = p.getName() + " Lvl: " + p.getLevel();
    g2.drawString(
        name,
        (int)
            (X_SHIFT
                + WIDTH1 / 2
                - f.getStringBounds(name, new FontRenderContext(null, true, true)).getWidth() / 2),
        (int)
            (Y_SHIFT
                + 30
                + f.getStringBounds(name, new FontRenderContext(null, true, true)).getHeight()));
    g2.drawImage(
        p.getFront().getScaledInstance(40, 40, Image.SCALE_DEFAULT),
        X_SHIFT + 5,
        Y_SHIFT + 5,
        null);
  }
  public void smallPkm(boolean selected, Graphics2D g2, Pokemon p, int shift) {

    if (p == null) return;

    Font f = Window.FONT;
    f = f.deriveFont(Font.PLAIN, 20);
    g2.setFont(f);

    int y = Y_SHIFT2 + shift * (HEIGHT2 + 15);

    Color color1 = NOT_SELECTED_UP, color2 = NOT_SELECTED_DOWN, color3 = NOT_SELECTED_OUT_LINE;

    if (selected) {
      color1 = SELECTED_UP;
      color2 = SELECTED_DOWN;
      color3 = SELECTED_OUT_LINE;
    }

    g2.setColor(color3);
    g2.fill(new RoundRectangle2D.Double(X_SHIFT2 - 5, y - 5, WIDTH2 + 10, HEIGHT2 + 10, 5, 5));

    g2.setColor(color1);
    g2.fill(new Rectangle2D.Double(X_SHIFT2, y, WIDTH2, HEIGHT2));
    g2.setColor(color2);
    g2.fill(new Rectangle2D.Double(X_SHIFT2, y + HEIGHT2 * 2 / 3, WIDTH2, HEIGHT2 / 3));

    BattleFrontEnd.drawHpBar(
        g2,
        X_SHIFT2 + WIDTH2 * 2 / 3,
        y + 10,
        p.getCurrentHP(),
        p.getMaxHP(),
        p.getCurrentHP() / (double) p.getMaxHP());

    String hp = p.getCurrentHP() + "/" + p.getMaxHP();

    g2.setColor(Color.BLACK);
    g2.drawString(
        hp,
        X_SHIFT2 + WIDTH2 * 2 / 3 + 50,
        (int)
            (y
                + HEIGHT2 * 1 / 3
                + f.getStringBounds(hp, new FontRenderContext(null, true, true)).getHeight()));
    String name = p.getName() + " Lvl: " + p.getLevel();
    g2.drawString(
        name,
        (int) (X_SHIFT2 + WIDTH2 / 5),
        (int)
            (y - 5 + f.getStringBounds(name, new FontRenderContext(null, true, true)).getHeight()));
    g2.drawImage(
        p.getFront().getScaledInstance(40, 40, Image.SCALE_DEFAULT), X_SHIFT2 + 5, y + 5, null);
  }