View Single Post
  #2    
Old July 21st, 2010, 05:19 AM
Wichu's Avatar
Wichu
Project Amethyst
 
Join Date: Sep 2007
Location: North Herts, England
Age: 21
Gender: Male
Nature: Naive
The reason it doesn't work if you just copy and paste is that the data format in Emerald is different. Also, even if you did repoint it, you'd have to change the number of Pokémon the game thinks there are in the list (if you just copied Emerald's list, Ruby would only consider the first part of the list, up to however many Pokémon are in Ruby's Battle Tower).

Here's the structure of the Battle Tower data for both Emerald and Ruby:
Code:
Emerald:

Pokémon List Offset: 0x5D97BC
Slateport Tent Offset: 0x5DE02C
Verdanturf Tent Offset: 0x5DEC28
Fallarbor Tent Offset: 0x5DF69C
Item List Offset: 0x5CECB0

Species (2 bytes)
Move 1 (2 bytes)
Move 2 (2 bytes)
Move 3 (2 bytes)
Move 4 (2 bytes)
Item (1 byte)
EVs (1 byte)
Nature (1 byte)
Padding (3 bytes)

Ruby:

Pokémon List Offset: 0x4038E0
Item List Offset: 0x403860

Species (2 bytes)
Item (1 byte)
?? (1 byte)
Move 1 (2 bytes)
Move 2 (2 bytes)
Move 3 (2 bytes)
Move 4 (2 bytes)
EVs (1 byte)
Nature (1 byte)
Padding (2 bytes)
Firstly, does anyone know what the unknown byte in Ruby does? It's not present in Emerald...

Secondly, is there not an editor for this yet? Looks like I have something to do :)

EDIT: By the way, the Item byte isn't an item ID, it refers to the Battle Tower's own item list. The item list is simply a list of 2-byte item IDs used in the Battle Tower.

EDIT2: Whoops, seems like I accidentally added a byte to the Ruby ROM, so the format was wrong. I've now corrected it.
__________________

Last edited by Wichu; July 22nd, 2010 at 12:06 AM.
Reply With Quote