>>35338563This has been asked before, I think.
I personally only use the "four move limit" when it comes to official pokemon league matches, in that case it's the first 4 techniques used in the battle are the ones the trainer must stick with when commanding their pokemon.
Pokemon can learn and know their entire moveset, plus any improvised moves or ones that make sense for them to know, but aren't present in the games.