Skip to navigation

Sights: ySightsStep

Name: ySightsStep [Show more] Type: Variable Category: Sights Summary: Steps to take along the y-axis when drawing the sights
Context: See this variable in context in the source code References: This variable is used as follows: * DrawSights uses ySightsStep

The ySightsStep and xSightsStep tables define a set of 12 steps to follow when drawing the sights, relative to the start position. The steps draw a shape like this, starting at step 0 and showing steps 10 and 11 as A and B): 33 44 55 00112299AABB 66 77 88
.ySightsStep EQUB 0 \ Step 0 = ( 0, 0) -> ( 0, 0) EQUB 2 \ Step 1 = ( 0, 2) -> ( 0, 2) EQUB 2 \ Step 2 = ( 0, 2) -> ( 0, 4) EQUB 1 \ Step 3 = (-5, 1) -> (-5, 5) EQUB 0 \ Step 4 = ( 2, 0) -> (-3, 5) EQUB 0 \ Step 5 = ( 2, 0) -> (-1, 5) EQUB 0 \ Step 6 = ( 2, 0) -> ( 1, 5) EQUB 0 \ Step 7 = ( 2, 0) -> ( 3, 5) EQUB 0 \ Step 8 = ( 2, 0) -> ( 5, 5) EQUB 1 \ Step 9 = (-5, 1) -> ( 0, 6) EQUB 2 \ Step 10 = ( 0, 2) -> ( 0, 8) EQUB 2 \ Step 11 = ( 0, 2) -> ( 0, 10) EQUB %10000000 \ End of table