I'm not sure the formula is exactly the same for Pokemon Advanced Generation because I remember someone saying Meowth didn't know the formula yet if he was ever going to get it. But like you said it might relate to the old formula in some ways because you wouldn't just make a completely new formula unless they're were a lot of bugs in the previous one.