===== Family Computer Gun ====== By GOROH Mail goroh_kun@geocities.co.jp Date 1998.07.23 English translation by Ki Mail iskk@geocities.co.jp Date 2000.07.15 $4017 R ---AB--- A - trigger state of the gun 0: not pulled 1: pulled B - state of the gun sight 0: in the range of white square 1: not in the range of white square The program decides the gun was shot when the 5th bit of $4017 is changed from 1 to 0. At the time, the program changes its background to black, with the range of the gun sight filled with white square. The program decides whether the gun was within sight or not, by checking 4th bit of $4017.