.trading .l_restart JSR check_keys \ Call check_keys to wait until a key is pressed, \ quitting the game if the game if COPY (pause) and \ ESCAPE are pressed TXA \ Copy the number of the key pressed into A BEQ l_restart \ If check_keys returned with X = 0, then we paused the \ game with COPY and then unpaused it with DELETE, in \ which case loop back to l_restart to keep checking for \ key presses JMP BAY \ Jump to BAY to go to the docking bay (i.e. show the \ Encyclopedia screen)Name: trading [Show more] Type: Subroutine Category: Encyclopedia Summary: Wait until a key is pressed and show the Encyclopedia screenContext: See this subroutine in context in the source code References: This subroutine is called as follows: * encyclopedia calls trading * controls calls via l_restart * equip_data calls via l_restart
Other entry points: l_restart Does exactly the same as a call to trading
[X]
Subroutine BAY (category: Status)
Go to the docking bay (i.e. show the Status Mode screen)
[X]
Subroutine check_keys (category: Keyboard)
Wait until a key is pressed, quitting the game if the game is paused and ESCAPE is pressed