Your team size 'gives'. Wailord has a size or **** and Ho-Oh has a size or ****, you can only have ******* weight on your team, and you may not have his friend area, Rainbow Peak. Check Wigglytuff, then go through the dungeon with either 2 *, 1 *, or 1 **.
EDIT: Woo, rank up!