Skip to navigation

Sights: sightsMoveAddrHi

Name: sightsMoveAddrHi [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 (high byte)
Context: See this variable in context in the source code References: This variable is used as follows: * SetSightsAddress uses sightsMoveAddrHi
.sightsMoveAddrHi EQUB HI(+8) \ Move right into the next character block EQUB HI(-8) \ Move left into the previous character block EQUB HI(-1) \ Move up within the same character row EQUB HI(+1) \ Move down within the same character row EQUB HI(-320 + 7) \ Move up into the bottom pixel row of the character row \ above EQUB HI(320 - 7) \ Move down into the top pixel row of the character row \ below