.DrawTitleObjects \ We start by drawing a robot or the Sentinel, according \ to the object type in A LDY #1 \ Set Y = 1 so the call to DrawTitleObject chooses the \ configuration for the object standing on the tower in \ the main title screen or secret code screen JSR DrawTitleObject \ Draw an object of type A, so that's either a robot or \ the Sentinel \ We now draw the tower on which the robot or Sentinel \ standing LDY #2 \ Set Y = 2 so the call to DrawTitleObject chooses the \ configuration for the tower on which the robot or \ Sentinel is standing LDA #6 \ Set A to 6, the object type for the Sentinel's tower, \ so DrawTitleObject draws the tower \ Fall through into DrawTitleObject to draw the tower \ beneath the robot or the SentinelName: DrawTitleObjects [Show more] Type: Subroutine Category: Title screen Summary: Draw an object on top of a tower on the title screenContext: See this subroutine in context in the source code References: This subroutine is called as follows: * DrawTitleView calls DrawTitleObjects
Arguments: A The type of object to draw on top of a tower on the right side of the screen: * 0 to draw a robot for the secret code screen * 5 to draw the Sentinel for the main title screen
[X]
Subroutine DrawTitleObject (category: Title screen)
Draw an object on the title screen