- movesprite2 0x4 0x15 0xb
- movesprite2 is the command used to move NPC's around the map, it is usually used as a level script.
- 0x4 is the person event number to move, if the old man in Advance Map has the person event number 4, you'd write the same in the script.
- 0x15 is the X coordinate on the map where you want to move the NPC. if the X coordinate is 21 in Advance map, you'd write 0x15 in your script since you have to convert decimal to hexadecimal numbers (21 to 15).
- 0xb is the X coordinate on the map where you want to move the NPC. (If the Y coordinate in Advance map is 11, in the script you would write 0xb)
------------------------------------------------------------------------
- spritebehave 0x4 0x8
- spritebehave is the command used to make a certain NPC do something like running, jogging, change the direction in where they look, etc.
- 0x4 is the person event number - explained before
- 0x8 is the behaviour byte. This tells the game what the NPC will do. I am pretty sure that the "behaviour byte in XSE" is the "movement type" in Advance map. The movement type has a drop down list with various movements. No movement is the first one so it would be 0x0, Look around is second one so it's 0x1. If the behaviour byte ends up being something else in game, try using a different number.