$80:B123
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 |
Return type | RTL |