score:2
There's no problem to "switch" passports during your travels. The only rule is to make sure you leave a country with the same passport you entered with.
I don't know if Malaysia has exit passport control, but if they do, show them your US one when you leave, so they know you left. When you enter Indonesia, show them your Irish passport.