$80:B379
ROM address data | |
---|---|
Length | 0x78 |
Type | Code |
Name | findShootDirection |
Description | Finds a direction to shoot at a victim or player |
Arguments/Return value | X = [int16] X position Y = [int16] Y position Returns A = [direction x2] Direction |
Return type | RTL |
Will shoot at the first victim or player that is within 8 pixels of the given position on a single axis. Returns 'none' if there is no such victim or player.