you can ask questions on the Q&A thread. Remember that it is your job to ask a question with enough details/information, as we cant guess what you meant. Screenshots, code snippets, and so on, will help explain what you want to do.
battle debrief is handled by menu "battle_debrief" and scripts called by it (Native).