The main game input is driven by functions starting at A72F. The routine is entered at different points with HL pointing to a table - A752, A75C or A764. Each table has the following format: