Yeah, chances are Pylia would've patched you up or fed you a good berry. Pretty sure you only took 3 damage, so one good berry will bring you back to max. That being said, you can still invoke the last lucky point if you want.