Seems rather pointless to me (from what I've heard, it will be tough to match specifics, for example, the QBWin4 sequence assumes you were in pretty bad shape, now, define what is bad shape)...
Anyway, you will have to change the functions GenerateLoseSequence and GenerateWinSequence in scripts/QuickBattle/QuickBattle.py
Please save headaches for me make it a mutator and don't overwrite the entire file, like NanoFXv2Beta did.