Sign Up connects you to ROM Hackers around the world.

Placing NPCs on bridges (3C tiles)

2 Votes
Posted May 29, 2016 by reshilegend
Category: Other
Total Views: 716

Is there any way to create a person event standing on top of a bridge (movement permission 3C) and not below? While it seems unlikely, I was wondering if it's possible to have an event on top while still being able to go under the bridge.
Thanks in advance.

This solved the problem

0 Votes
Posted May 29, 2016 by Alex

This is why there’s a place in all of the entity structs for a height.

It’s labeled in all entity types in 1.95, but in 1.92 it should be an 8-bit “unknown” right above Movement Type (for NPCs), right above warp number (for warps), and… it seems to be defined properly in 1.92 for signposts. Be careful with triggers though, because 1.92 set it as a halfword; just edit the first half of the halfword to set the height and leave the second half zero (for example, 0300 for height 2).

Other Answers

1 Vote
Posted May 29, 2016 by reshilegend

Nvm, seems like you can just make NPCs start on a "10" transition tile like the player would, and when they move on a 3C tile they actually stay on top.
Somewhat of a workaround I guess, though it seems they can't stand still on 3C tiles.