There is a problem with SN:H^object^ and !?FU(OnAdvMapTileHint). They don't work as the native mechanism.
In H3, when the cursor hovers over a hero visiting an object, the hint/pop-up would display the hero's info. However, if SN:H^object^ is set (same as !!HT), it would display the info of the object instead.
The problem of !?FU(OnAdvMapTileHint) is usually it's used to set the hint of an object by MM:M. Yet the pre-defined parameters of it provide only the object type of the entrance underneath the hero, which in most situations is not what we want. Ideally, I hope the object type of the real coordinates is one of the hero (return hero if hero is above the object).
To resolve the inconsistency, I've corrected the script for setting hints/pop-ups:
Setting pop-up/hint for Emerald Tower (depending on whether the tower has been visited)
I don't think it can be shorter without the imrovement of SN:H^object^ and !?FU(OnAdvMapTileHint)