#dyn 0x740000 #org @main lock faceplayer textcolor RED trainerbattle 0x1 0x001 0x0 @intro @defeat @aftermath message @done callstd MSG_NORMAL release end #org @aftermath setflag FR_BADGE_1 message @congrats callstd MSG_NORMAL textcolor BLUE message @fanfare callstd MSG_NOCLOSE pause 0xA closemsg textcolor 0x1 textcolor RED message @giveitem callstd MSG_NORMAL additem POKEBALL 1 textcolor BLUE message @gotitem callstd MSG_ITEM release end #org @intro = JOHN DOE: Hello. I guess we have\nto battle now. #org @defeat = JOHN DOE: Oh, I lost.\nWhat a surprise. #org @congrats = Good job! You win.\nYou get a badge. #org @fanfare = \v\h01 got a badge! #org @giveitem = JOHN DOE: I guess I also have\nto give you something now. #org @gotitem = \v\h01 got a pokeball from JOHN DOE! #org @done = We are now done.