Users browsing this thread: 1 Guest(s)
Zone Doctor and FF6LE Expansion
(02-22-2015, 05:03 PM)abyssonym Wrote: I had no idea there was that many long exits available. If it's not too much trouble, could you tell me the location and format of the long exits? I could only find information for the short exits, so my Kefka's Tower has no long exits in it.
Long exits are 7 bytes long. They are located here (headered offset) and pointers are included. I'm not sure what the pointer refers to because each exit is 7 bytes long...
Code:
2DF680 2DFA81 DATA No Entrance Triggers - Type 2 (7 bytes each) 8/6/2003
From FF6LE source, the method that initialize a long exit:
Code:
public void InitializeExitLong(byte[] data, int offset)
{
coordX = data[offset]; offset++;
coordY = data[offset]; offset++;
width = (byte)(data[offset] & 0x7F);
direction = (data[offset] & 0x80) == 0x80 ? (byte)1 : (byte)0; offset++;
// GetShort gets two bytes here (offset and offset + 1)
toWorldMap = (ushort)(ByteManage.GetShort(data, offset) & 0x1FF) == 0x1FF;
if (!toWorldMap)
{
destination = (ushort)(ByteManage.GetShort(data, offset) & 0x1FF);
offset++;
}
else
{
offset++;
destination = (data[offset] & 0x02) == 0x02 ? (ushort)0 : (ushort)1;
}
byte3bit1 = (data[offset] & 0x02) == 0x02;
byte3bit2 = (data[offset] & 0x04) == 0x04;
destinationFacing = (byte)((data[offset] & 0x30) >> 4);
showMessage = (data[offset] & 0x08) == 0x08; offset++;
destinationXCoord = data[offset]; offset++;
destinationYCoord = data[offset];
}
So by reading this,
Byte 1: X coordinate
Byte 2: Y coordinate
Byte 3 (bit 0 to 6): Width
Byte 3 (bit 7): Direction
Byte 4-5 : Destination (see code)
Byte 6: X coordinate (Destination)
Byte 7: Y coordinate (Destination)
(02-22-2015, 05:11 PM)Tenkarider Wrote: Btw you said 8 numbers... so i guess there are 8 unused maps actually...
Well you should verify with FF6LE, they are labeled as "unused"...
(02-22-2015, 05:11 PM)Tenkarider Wrote: What's the difference between long and short exits, anyway?
Long exits have variable width and a facing direction, like the ones at the entrance of a village map.
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)