speccy.h: Add a subset of keyboard port identifiers.
no_idea -> sub_B89C.

A function I'd renamed during the IDA Pro disassembly. Renaming this back until the correct name is determined.
Bracket out a comment which does not form part of the pseudocode.
set_menu_item_attributes: Register A is item index on input. Clarify comment for $F40B.
ff_anded_with_ff -> sub_BAF7.

Another rename from the IDA Pro disassembly which needs fixing. Fold in many general clean-ups.
Document menu_screen and get_tuning.
Mass convert AND A to A &= A.
$7D2B: message_queue_pointer is assigned, not referenced.
$9DDB: Use array syntax. morale_related_also is assigned, not dereferenced.
Mass convert JR to goto.
Mass convert values from hex to decimal.
Document screenlocstring_plot's HL output.
sub_AD59: Pull out BC += A * 2 pattern.
varA13E_is_zero: Pull out if (A <= n) goto … pattern.
use_bribe: Drop redundant use of A.
bounds_check: Move comments for flag setting instructions.
Various simplifications.