Skip to navigation

Elite on the BBC Micro and NES

Drawing ships: LL9_FLIGHT

[Elite-A, Parasite]

Name: LL9_FLIGHT [Show more] Type: Subroutine Category: Drawing ships Summary: Draw a ship (flight version)
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * ESCAPE calls LL9_FLIGHT * Main flight loop (Part 12 of 16) calls LL9_FLIGHT
.LL25 JMP PLANET \ Jump to the PLANET routine, returning from the \ subroutine using a tail call .LL9_FLIGHT LDA TYPE \ If the ship type is negative then this indicates a BMI LL25 \ planet or sun, so jump to PLANET via LL25 above JMP LL9 \ Jump to LL9 to draw the ship