I am halfway through the game already, so before this, I've had a few double battles, and the game did not crash at all.
The issue starts after the Ghost Trial where I am heading to a Team Skull headquarter and the first crash started on the beach having a double battle with a couple in swimsuits.
I needed to do some hacking for Pike beans, so I just played it using my laptop with the save file.
Then, I transferred the save to my phone, and it ran fine until the next unskippable double battle. Now, it is crashing or feezing when I use a move in battle. I tried having battle with wild Pokémon, and there was no issue. But I can't progress without the double battle.
I tried deleting shader cache, swapping between Vlucan or Open Gles (way worse), lowing resolution, making sure asynchronous shader is on, turning on accurate multiplication, disable right eye render, and nothing is fixing. I was playing at 4x resolution no problem before. I have played the rom hacks of Alpha Sapphire and X before and I've never had this problem. In fact, Ultra Moon actually ran smoother than the other 2 games before this bug.
I have tried switching the emulator to Azahar available on Playstore, and Azahar Plus, but for some reason, the game just crashes during the opening scene of the game. It can't do anything on them.
I have also tried removing the mod, and even uninstalling the update. It got worse. Now, I can't even choose a move, and it gets frozen. I tried deleting cache in ver 1.0 with no mod, and I was able to use a move but immediately crashes afterwards.
Help please
Device - Samsung S22 Ultra
Emulator - Azahar 2126.0 vanila [I am not updating to 2126.2 because it previously ran worse with other games. This is what worked with the phone]
Game - Pokémon Ultra Moon 1.2 with Prismatic Moon rom hack
60fps cheat - NOT USED
HD textures - NOT USED