Posts: 831
Threads: 41
Joined: Nov 2009
Reputation:
18
Ohh, Interesting!!! I've seen your youtube channel, amazing work and dedication trying to figure out all the code!!
Quick question, were you able to decipher event commands? Like which command loads a different map? Or makes a character walk, say, 4 tiles?
Posts: 4
Threads: 0
Joined: Sep 2011
Reputation:
0
Well, I suppose loading a map is more to say that it takes one of a number of predefined exists into a given area (and there can be multiple ones there, since some rooms in the palaces are just part of the same map); 18xx is that command, though it &'s with 0x3FF to determine what exit to take.
Character movement in an event is a little funky. That would be command 32nndx:
1. Where nn is the character in question and can be 01: Boy, 02: Girl, 03: Sprite, 04: NPC #1, 05: NPC #2, etc.; largely that follows the order their character data is laid out in memory, though I believe 00 has been used (of the two of us, she's worked with events a hell of a lot more than I have).
2. d is the direction and can be 0 for up, 4 down, 8 right, C left.
3. x is the movement distance and can be up to itself plus unused lower bits in d, i.e. 3F total.
Posts: 831
Threads: 41
Joined: Nov 2009
Reputation:
18
I think that last post should be a new thread since it is for a different game (though it is a sequel).
Please create a new thread with the link to the site.
Posts: 831
Threads: 41
Joined: Nov 2009
Reputation:
18
woops...I messed up....
I thought this was for seiken densetsu 3