Pokemon Y crash whenever I reach the santalune foresst

Is it the game that makes it crash because I haven’t tried the Pokemon sun yet is Pokemon sun have a better probability of not crashing than Pokemon y? I have tried many times restarting the game and my laptop is Pokemon sun better??

In order for us to provide better support, we need to see the log generated by Citra. This guide will walk you through how you can obtain the log file: How to Upload the Log File.