If I understand correctly, you skipped through the guard in front of the gym and went straight to beat Yellow, then you can't access the Ecruteak Dance Theater because the guard won't disappear when you talk to him. If so, you need to beat Ecruteak Gym first and get fog badge, then got talk to the guard, he will disappear and then you can access that map.