.me2 LDA QQ11 ; If this is not the space view, jump down to clynsneed BNE clynsneed ; to skip displaying the in-flight message LDA MCH ; Fetch the token number of the current message into A JSR MESS ; Call MESS to print the token, which will remove it ; from the screen as printing uses EOR logic LDA #0 ; Set the delay in DLY to 0, so any new in-flight STA DLY ; messages will be shown instantly JMP me3 ; Jump back into the main spawning loop at me3 .clynsneed JSR CLYNS ; Clear the bottom three text rows of the upper screen, ; and move the text cursor to the first cleared row JMP me3 ; Jump back into the main spawning loop at me3Name: me2 [Show more] Type: Subroutine Category: Flight Summary: Remove an in-flight message from the space viewContext: See this subroutine in context in the source code References: This subroutine is called as follows: * Main game loop (Part 2 of 6) calls me2
[X]
Subroutine CLYNS (category: Drawing the screen)
Clear the bottom three text rows of the space view
[X]
Subroutine MESS (category: Flight)
Display an in-flight message
[X]
Label clynsneed is local to this routine
[X]
Entry point me3 in subroutine Main game loop (Part 2 of 6) (category: Main loop)
Used by me2 to jump back into the main game loop after printing an in-flight message