Skip to navigation


Flight: me2

[Commodore 64 version]

Name: me2 [Show more] Type: Subroutine Category: Flight Summary: Remove an in-flight message from the space view
Context: 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
.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 me3