Here is the ram map of River City Ransom:
https://github.com/BillyWM/FCEUX-Lua-Script-Collection/blob/master/River%20City%...
We have the info we need here.
Player1
00B9: How far player is above ground level | |
0 when on ground | |
31 height of jump | |
32 when on a ledge | |
63 height of jump from top of ledge |
Suppose that (x0, y0) is the bottom left position(BL) of character on 2d space and (x1,y1,z1) is the position of BL of shape in 3d space.
The conversion formula will be:
x1 = x0
y1 = ReadMem(00B9)
z1 = y0 - y1
I think you should have the basic IT background if you want to tack that game because it involves some scripting work here.