.yObjectLo EQUB &00, &00, &00, &00, &00, &00, &00, &00 \ These values are workspace EQUB &00, &00, &00, &00, &00, &00, &00, &00 \ noise and have no meaning EQUB &00, &00, &00, &00, &00, &00, &00, &00 EQUB &00, &00, &00, &00, &00, &00, &00, &00 EQUB &00, &00, &00, &00, &00, &00, &00, &00 EQUB &00, &00, &00, &00, &00, &00, &00, &00 EQUB &00, &00, &00, &00, &00, &00, &00, &00 EQUB &00, &00, &00, &00, &00, &00, &00, &E0Name: yObjectLo [Show more] Type: Variable Category: 3D objects Summary: The y-coordinates in 3D space for the 3D objects (low byte)Context: See this variable in context in the source code References: This variable is used as follows: * DrawObjectStack uses yObjectLo * DrawTitleScreen uses yObjectLo * GetObjectCoords uses yObjectLo * GetTileAltitude uses yObjectLo * GetTileViewAngles (Part 3 of 4) uses yObjectLo * GetVerticalDelta uses yObjectLo * PlaceObjectOnTile uses yObjectLo * ResetVariables uses yObjectLo * SpawnTitleObject uses yObjectLo
The y-coordinate (i.e. the altitude) of each object is stored as a 16-bit number of the form yObject(Hi Lo). The low byte is effectively a fractional part, as a y-coordinate of (1 0) is the same magnitude as an x-coordinate or z-coordinate of 1. A full coordinate in the 3D space is therefore in the form: (xObject, yObject(Hi Lo), zObject)