If/else statement with variables:

I have 3 variables within this if/else statement that i want to do 2 different things if it doesn’t equal the value. When this play button is released then do the following:

2 of the values are called (P1_paddle_ready & P2_paddle_ready). if the value of these 2 variables equal 1, then do the following:

_root.gotoAndPlay(“start_game”);

if they dont (else statement) do the following:

_root.audio.gotoAndPlay(“whistle”);
_root.audio.gotoAndPlay(“compete_your_selection”)difficulty_screen._visible = true;
paddle_screen._visible = false;
controller_screen._visible = true;
bg_screen._visible = true;
bg_load._visible = false;
paddle_load._visible = true;
controller_load._visible = false;
difficulty_load._visible = false;

the thing that is making this code complicated, which is getting me stuck is if that equals 1 paddle ready variable now check the other variable difficulty_ready.

if difficulty ready equals 1, then do the following:
B]_root.gotoAndPlay(“start_game”);**

if they dont (else statement) do the following:

_root.audio.gotoAndPlay(“whistle”);
_root.audio.gotoAndPlay(“compete_your_selection”)
difficulty_screen._visible = false;
paddle_screen._visible = true;
controller_screen._visible = true;
bg_screen._visible = true;
bg_load._visible = false;
paddle_load._visible = false;
controller_load._visible = false;
difficulty_load._visible = true;

So how can i get these both to work when this play button is released???

Any help would be great.
Cheers
Peter.D