That's not Mario - that's the player learning.  The game entity hasn't learned anything and behaves as its program defines.  I play the piano as a hobby.  My music hasn't gained sentience because I've played a piece a gazillion times and it's now second nature.