public void keyReleased(KeyEvent e) {
        int c = e.getKeyCode();
        if (!Animation.Animation) {
            //updating of images when fireballs are fired
            if (c == KeyEvent.VK_SPACE && player1type == 1) {
                if (!right) {
                    img[0] = new ImageIcon(PATHWAY + "2D Fighter Quade Folder (Sprites and Shit)\\Quade SS\\Custom Poses\\Arms Crossed 1.0.png").getImage();
                } else {
                    img[0] = new ImageIcon(PATHWAY + "2D Fighter Quade Folder (Sprites and Shit)\\Quade SS\\Flipped Poses\\armscrossedflipped.png").getImage();
                }
            } else if (c == KeyEvent.VK_SPACE && player1type == 2) {
                if (!right) {
                    img2[0] = new ImageIcon(PATHWAY + "2D Fighter Quade Folder (Sprites and Shit)\\Hail SS\\Needed Poses\\alert_0.png").getImage();
                } else {
                    img2[0] = new ImageIcon(PATHWAY + "2D Fighter Quade Folder (Sprites and Shit)\\Hail SS\\Flipped Poses\\alert_0.png").getImage();
                }
            }
            //reseting of the frame
            if (c == KeyEvent.VK_E && player1type == 2) {
                currentFrame2 = 0;
            }
            if (c == KeyEvent.VK_A && player1type == 1) {
                currentFrame = 0;
                dx = 0;
                img[0] = new ImageIcon(PATHWAY + "2D Fighter Quade Folder (Sprites and Shit)\\Quade SS\\Custom Poses\\Arms Crossed 1.0.png").getImage();
            } else if (c == KeyEvent.VK_A && player1type == 2) {
                dx2 = 0;
                currentFrame2 = 0;
                img2[0] = new ImageIcon(PATHWAY + "2D Fighter Quade Folder (Sprites and Shit)\\Hail SS\\Needed Poses\\alert_0.png").getImage();
            }
            if (c == KeyEvent.VK_D && player1type == 1) {
                currentFrame = 0;
                dx = 0;
                img[0] = new ImageIcon(PATHWAY + "2D Fighter Quade Folder (Sprites and Shit)\\Quade SS\\Flipped Poses\\armscrossedflipped.png").getImage();
            } else if (c == KeyEvent.VK_D && player1type == 2) {
                dx2 = 0;
                currentFrame2 = 0;
                img2[0] = new ImageIcon(PATHWAY + "2D Fighter Quade Folder (Sprites and Shit)\\Hail SS\\Flipped Poses\\alert_0.png").getImage();
            }

        }
        //same stuff, for multiplayer
        if (numPlayers == 2) {

            if (c == KeyEvent.VK_ENTER && player2type == 2) {
                img2[0] = new ImageIcon(PATHWAY + "2D Fighter Quade Folder (Sprites and Shit)\\Hail SS\\Needed Poses\\alert_0.png").getImage();
            } else if (c == KeyEvent.VK_ENTER && player2type == 1) {
                img[0] = new ImageIcon(PATHWAY + "2D Fighter Quade Folder (Sprites and Shit)\\Quade SS\\Custom Poses\\Arms Crossed 1.0.png").getImage();
            }

            if (c == KeyEvent.VK_LEFT && player2type == 2) {
                dx2 = 0;
                currentFrame2 = 0;
            } else if (c == KeyEvent.VK_LEFT && player2type == 1) {
                currentFrame = 0;
                dx = 0;
                img[0] = new ImageIcon(PATHWAY + "2D Fighter Quade Folder (Sprites and Shit)\\Quade SS\\Flipped Poses\\armscrossedflipped.png").getImage();


            }
            if (c == KeyEvent.VK_RIGHT && player2type == 2) {
                dx2 = 0;
                currentFrame2 = 0;
            } else if (c == KeyEvent.VK_RIGHT && player2type == 1) {
                currentFrame = 0;
                dx = 0;
            }
            if (c == KeyEvent.VK_DOWN) {
                currentFrame2 = 0;
                //crouch?
            }
        }
    }