$80:B22A

From ZAMN Hacking
ROM address data
Length 0x35
Type Code
Name getDirectionToTarget
Description Gets the direction from the given sprite to the given target sprite
Arguments/Return value X = [pointer16] Sprite
Y = [pointer16] Target sprite
Returns A = [direction] Direction to target
Return type RTL