$80:B123

From ZAMN Hacking
Revision as of 19:44, 10 July 2024 by Piranhaplant (talk | contribs)
ROM address data
Length 0x6C
Type Code
Name findTarget
Description Finds the closest sprite for a monster to target
Arguments/Return value X = [int16] X position
Y = [int16] Y position
Returns A = [uint16] distance to target
Returns X = [pointer16] target sprite
Returns $7E:003E = [int16] x offset
Return $7E:0040 = [int16] y offset
Return type RTL