def retreatBattle(self, handle, xpos, ypos): """Don't do the battle""" self.result = False SEVENTS.killModalWindow(handle, xpos, ypos)
def doBattle(self, handle, xpos, ypos): """Do the battle""" self.result = True SEVENTS.killModalWindow(handle, xpos, ypos)