Now to be completely honest
@T**
, I'm not 100% sure about it because if you have an "extension of stay" stamp and get a new passport you usually go to your immigration office and get the stamps transferred and the notation that you switched passports inside the country.
I would say seeing as the immigration offices are slow now with no tourists that you should swing by yours and double check. I don't wanna steer you wrong on this at all..