Use the cancel button (b on controller hence the name) to open the flee dialog when on a battle's main screen. Sauce: https://github.com/xy172/CassetteBeast/tree/main/b2flee_modutils