if Tank2: Armed = True StartFire = False Potato1 = False Tank2 = False Fire = True num = 3.5 elif Potato1: Tank2 = True else: Potato1 = True elif event.type == pygame.MOUSEBUTTONDOWN: #Screen = font.render("1", 1, (0, 0, 0)) if not StartFire: KeyEntry, StartFire, HeadingSel, DistanceSel, HeadingFirstTime, DistanceFirstTime, Adder = Setup.CheckForButton( event.pos[0], event.pos[1], KeyEntry, StartFire, HeadingSel, DistanceSel, HeadingFirstTime, DistanceFirstTime, Adder) if StartFire: if Armed: print "Firing" if Tank2: Armed = True StartFire = False Potato1 = False Tank2 = False Fire = True num = 3.5 elif Potato1: Tank2 = True else: Potato1 = True