Composition = Tile number + (Movement permission * 4)
Thanks guys ! :)
A bit earlier, I wrote a routine which give me the "composition" of the tile at the specified position. The "composition" is in fact tile number + movement permission like that :
For example, the composition of a tile 0x001C with a movement permission 0x1 is :
001C > 1C00 > 1C04
That's enough for what I want to do, but how can the game (and A-Map) differenciate the tile number and the movement permission ?