If your using a Old version of NO$GBA [Doesn't have Auto NDS Battery Option] or Playing Pokemon White or Black on NO$GBA 2.6a you should
use DeSmuMe instead.
My Advice to all.
Keep both NO$GBA 2.6a & DeSmuMe 0.9.7 and test which emulator to play the rom on [I keep a DSi Roms folder in DeSmuMe's Nintendo DSi folder and a DS Roms folder in NO$GBA's Nintendo DS folder. This way I go to the Program and pick my games from there so the ones that work best with that emulator is close.]
When Using DeSmuMe, use this fix, it stops Pokemon [All Pokemon Games in General] from blacking out or freezing after battles;
Go to Config > Emulation Settings > Checkmark "8MB Debugger mode when starting execution" > Okay
That may sound different in DeSmuMe 0.9.5
DeSmuMe 0.9.7 Download Link