.HideObject LDY objectNumber \ Set Y to the number of the object to hide LDA objectStatus,Y \ Set A to the object's status byte ORA #%10000000 \ Set bit 7 in the object's status byte in A, which \ marks the object as hidden \ Fall through into SetObjectStatus to store the updated \ object status byteName: HideObject [Show more] Type: Subroutine Category: 3D objects Summary: Set an object to be hiddenContext: See this subroutine in context in the source code References: This subroutine is called as follows: * BuildVisibleCar calls HideObject * SetObjectDetails calls HideObject
Arguments: objectNumber The number of the object to hide
[X]
Variable objectNumber in workspace Zero page
The object number of the four-part car we are drawing
[X]
Variable objectStatus in workspace Stack variables
Various status flags for each object