Let's say I'm in a double battle and chose both my moves for Pokemon A and B, and I knock out an opponent with Pokemon A's move. This causes both A and B to gain Exp, and B levels up, and B can learn a new move at this new level, and the game prompts me to choose a move to delete to accommodate the new move. Can I choose to delete that preselected move?
For example, if I chose to use Rock Smash (learnt via TM) with my Heracross at level 18, and it levels up to 19 before executing said Rock Smash. Heracross learns Brick Break at 19, and before the battle continues, the game prompts me to delete a move to make space for Brick Break. In such an instance, can I delete Rock Smash? Would Heracross use Brick Break, or Rock Smash? Or would the game prevent me from deleting Rock Smash?
Thanks in advance!