News:

Don't forget to visit the main site! There's lots of helpful docs, patches, and more!

Main Menu

[SM] x-ray scope offsets?

Started by Munchy, June 29, 2020, 01:43:25 PM

Previous topic - Next topic

Munchy

I think this is the last of my "Munch asks about a million offsets" series  :lol:

Anyone know where the x/y coords are for where xray appears out of samus' visor? I figure it'll probs be limited to a very small number of coords somewhere. Can't see em in 90 or 92 but I could just be being daft.

Munchy

somewhere in 91 I think..? gah, I suck at reading ASM :/

Munchy

gah, it's hdma stuff in 88 innit :/ still not quite sure where the offsets are here but I'm on the right track I think

http://patrickjohnston.org/bank/88

P.JBoy

It's handled by the code in $88:8896

$88:88C1 for X offset facing right
$88:88CE for X offset facing left
$88:88E4 for Y offset when standing (positive = upwards)
$88:88F1 for Y offset when crouching (positive = upwards)
...

Munchy