He's my enemy!

If it has bytes, we can change it. Talk about anything relating to hacking and emulation here.

Moderators: General Moderator, Game Moderator

He's my enemy!

Postby Lenophis » Wed Jan 13, 2010 5:31 am

Friends, countrymen, lend me your ears! While debugging a problem with Vargas for Pandora's Box (he has as many problems as stealing and the RNG do), we (Imzogelmo and myself) finally managed to crack the epic data that is labeled "characters acting as monsters."

It's actually a very simple format, and honestly I'm surprised this wasn't figured out sooner (retrospect does that). Anyway, here's the format:

Code: Select all
Data begins at D0FD00, 24 bytes each
Byte 00: bit 7 removes party, bit 0 removes character names from window
Byte 01: background, FF is "use default background"
Byte 02: monsters targetable, set = can target, clear = cannot target
Byte 03: song, FF is "use default"
Byte 04: bit 7 hides character, bit 6 turns character right, bit 5 puts party in magitek armor, bits 0-3 are character ID, if FF next 4 bytes are skipped
Byte 05: character acting as enemy, FF = no character
Byte 06: boss AI to use (uses monsters 256 - 384)
Byte 07: X coordinate
Byte 08: Y coordinate
Byte 09: bit 7 hides character, bit 6 turns character right, bit 5 puts party in magitek armor, bits 0-3 are character ID, if FF next 4 bytes are skipped
Byte 0A: character acting as enemy, FF = no character
Byte 0B: boss AI to use (uses monsters 256 - 384)
Byte 0C: X coordinate
Byte 0D: Y coordinate
Byte 0E: bit 7 hides character, bit 6 turns character right, bit 5 puts party in magitek armor, bits 0-3 are character ID, if FF next 4 bytes are skipped
Byte 0F: character acting as enemy, FF = no character
Byte 10: boss AI to use (uses monsters 256 - 384)
Byte 11: X coordinate
Byte 12: Y coordinate
Byte 13: bit 7 hides character, bit 6 turns character right, bit 5 puts party in magitek armor, bits 0-3 are character ID, if FF next 4 bytes are skipped
Byte 14: character acting as enemy, FF = no character
Byte 15: boss AI to use (uses monsters 256 - 384)
Byte 16: X coordinate
Byte 17: Y coordinate


So yeah, feast!

:edit:

The dreaded "disable L+R buttons" do not appear to be here, and I fear that is a freaking hardcoded thing we need to muck with. :x
Image
Lenophis
Veteran
Veteran
 
Posts: 588
Joined: Sat Mar 26, 2005 5:52 am
Location: Duluth, MN

Return to ROM Hacking and Emulation

Who is online

Users browsing this forum: No registered users and 1 guest

cron