Skip to navigation

Sights: sightsMoveAddrLo

Name: sightsMoveAddrLo [Show more] Type: Variable Category: Sights Summary: The change to apply to the screen address of the sights when they move into a new character block or row (low byte)
Context: See this variable in context in the source code References: This variable is used as follows: * SetSightsAddress uses sightsMoveAddrLo
.sightsMoveAddrLo EQUB LO(+8) \ Move right into the next character block EQUB LO(-8) \ Move left into the previous character block EQUB LO(-1) \ Move up within the same character row EQUB LO(+1) \ Move down within the same character row EQUB LO(-320 + 7) \ Move up into the bottom pixel row of the character row \ above EQUB LO(320 - 7) \ Move down into the top pixel row of the character row \ below