Adding a second button(input)?

I didn't get much luck the last time i asked for help maybe i wasn't clear enuff last time i don't know so i will try to explain it in a diffident way and i need it explained to me as simple as possible because i'm very new to all of this and I DON'T KNOW EVERYTHING : P haha. So this is my code it control's an RGB led with one push button that go's throw 71 case functions(cut down to 5 to fit on the page)

const int redledPin = 2;
const int greenledPin = 1;
const int blueledPin = 0;
const int buttonPin = 3;
int RGB=1;

int prevUp = HIGH;
int prevDn = HIGH;

void setup ()
{
  pinMode (redledPin, OUTPUT);
  pinMode (greenledPin, OUTPUT);
  pinMode (blueledPin, OUTPUT);
  pinMode (buttonPin, INPUT);
  }

void loop ()
{
int currUp = digitalRead(buttonPin);

   if(currUp != prevUp)
   {
      delay(25);

      currUp = digitalRead(buttonPin);

      if(currUp != prevUp)
      {
         if(currUp == LOW)
            RGB++;
      }
   }
  
   switch (RGB){
    case 1:
    analogWrite(redledPin, 0);
    analogWrite(blueledPin, 250);
    analogWrite(greenledPin, 0);
    delay(200);
    analogWrite(redledPin, 250);
    analogWrite(blueledPin, 250);
    analogWrite(greenledPin, 0);
    delay(100);
    break;
     
    case 2:
    analogWrite(redledPin, 0);
    analogWrite(blueledPin, 0);
    analogWrite(greenledPin, 0);
    break;    
    
    case 3:
    analogWrite(redledPin, 250);
    analogWrite(blueledPin, 250);
    analogWrite(greenledPin, 250);
    break;
    
    case 4:
    analogWrite(redledPin, 250);
    analogWrite(blueledPin, 250);
    analogWrite(greenledPin, 250);
    delay(600);
    analogWrite(redledPin, 0);
    analogWrite(blueledPin, 0);
    analogWrite(greenledPin, 0);
    delay(300);
    break;
        
   }
    prevUp = currUp;
}

it works fine but its got to many functions to go throw i would like to add another button to make things a bit more user friendly but i have know idea where to start. What i would like the buttons(button 1 = B1 & button 2 = B2) to do pressing B1 will go throw the different colours available so every time you press it go's to the next red, blue, green ect.. and soon as youv found the colour you want pressing B2 will select the flash pattern and different flashing effects ect.. could someone show me how i would be able to Incorporate this into my code?

It sounds like you need a state machine. Pressing B1 moves from state to state state 1 is red state 2 is green state 3 is blue Back to state 1 if pressed again.

Then, by checking which state you are in when pressing B2 you know which LED value to change.

Could you show me an example of what the code would look like for a state machine?

could you post some pseudocode to show exactly what you want to happen? http://www.unf.edu/~broggio/cop2221/2221pseu.htm

PlasticOne: Could you show me an example of what the code would look like for a state machine?

pseudocode for your program

declare a global variable to hold the state and set it to 0
declare other variables
set up pins

start of loop
if button B1 pressed
  increment state
  if state equals 3 
    set state to 0
  end of if
end of if

if button B2 pressed
  if state equals 0
    adjust red LED
  end of if
  else if state equals 1
    adjust green LED
  end of if
  else
     adjust blue LED
  end of else
end of if
end of loop