Here's the second Mako Reactor:
August 19, 2011, 05:21:43 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
I was fiddling around with the event system of the game and was able to learn some things. I'm still not 100% sure about everything, but here's what I got so far:
The first event starts at 0x012626
Each event seems to start with a set of bytes. How these bytes work is a mystery to me. They may tell where the event starts at.
08 XX XX XX controls which character should act.The first byte tells the character to move
the second byte of this controls which character should act. 00 is for cloud, 01 for the second character, 02 for the third, and so on...
the third byte controls which way the character should face.
10: face to the right
20: face to the left
80: face up
40: face down
the fourth byte controls how many steps the character should take in the direction set.
09 xx xx xx seems to call on a character sprite to appearThe first byte calls the character sprite
the second byte controls which sprite to appear.
the third byte tells which way the character should face when they appear.
0B:Left
02:right
05:down
08:up
I don't know what the fourth byte does
xx xx xxthis a 3 byte set after the 09 xx xx xx set that sets where the sprite should appear.
The first byte tells where the sprite should appear vertically
I don't know what the second byte does
the third byte tells where the sprite should appear horizontally
0A xx FFThis set tells the sprite to disappear.
I don't know what the first byte does
the second byte tells which character should disappear
more than one byte can go between 0A and FF to have more than one character disappear at the same time.
I don't know what the second byte does
29 xx xx xx
This set of hex calls for dialogue.
the first byte calls the dialogue.
the second byte tells which dialogue bank to call
the third byte tells which dialogue to call
the fourth byte tells how many dialogue boxes to show
16 xx xx xxThe first byte tells two characters to move one step at the same time.
the second and third bytes tell which two characters will move.
the last byte tells which way the characters will move.
The first digit of the last byte controls the first character, and the second one controls the second character.
1: right
2: left
8: up
4: downxx xx xx xx xx xxduring the wire climbing event, this set of bytes appears before the first 16 xx xx xx byte set and after the second 16 xx xx xx byte set.
the second, fourth, and sixth byte selects the character, 00 for cloud, 01 for the second character and so on...
the first, third, and fifth, sets the movement animation while the characters are moving...I think.
0F: no movement
0E: one movement animation