Hmm:
That's the error, sorry for my english ~
I have some data about trainer sprites:
ESMERALD (E)
TrainerPics = &H305654
TrainerPals = &H30593C
TrainerPicCount = 93
FIRE RED (E)
TrainerPics = &H23957C
TrainerPals = &H239A1C
TrainerPicCount = 147
RUBY (E)
TrainerPics = &H1EC53C
TrainerPals = &H1EC7D4
TrainerPicCount = 83
(Extracted Data of EliteMap, PokeRoms.ini)
Well, I started to research (in esmerald) few days ago and I have some conclusions:
- In TrainerPics, every sprite have an easy code:
C8 1D D5 08 00 08 00 00 70 22 D5 08 00 08 01 00 F8 25 D5 08 00 08 02 00
Where:
C8 1D D5 08 - Direction of the sprite pic (D51DC8). In that case, the frist sprite (the man hiker).
00 08 - ???
00 00 - Number of the sprite in the sprites list. In that case, 0. As you can look, I think this can get FF FF (655335 Sprites o.o).
Every sprite have 8 bytes x 93 pics = 2E8 bytes to repoint.
- In TrainerPals, every sprite have an easy code:
48 22 D5 08 00 00 00 00 D0 25 D5 08 01 00 00 00 2C 29 D5 08 02 00 00 00
Where:
48 22 D5 08 - Direction of the sprite pal (D52248). In that case, the frist pal (the man hiker).
00 00 - Number of the pals list. In that case, 0. It's complementary to sprites (I think).
00 00 - ???
Every pal have 8 bytes x 93 pics = 2E8 bytes to repoint.
It looks easy, well, I'll wait ur answer ;)
Greetings!