i need help for extend trainers sprite table work.
it is posible because each rom have diferenr number of trainers sprites
Ruby: 83
Firered: 148
Emerald: 93
I test to expand trainers sprites in Pokémon Firered. The limit for trainers sprites is 255 or FF, because the Trainer Sprite ID use only 1 byte for store your number. (FF - 1 = FE)
well have 3 tables for trainers sprites
*the first in one table is at x 23932c
and is formed with "08 01 00 00" ( 4 bytes per trainer)
148*4 = 592 (250 hex) bytes all table
i not understand very well this table
but have 4 trainers with diferent byte "08 02 00 00"
*the second is a table at x 23957c
it is a trainer sprite table, and have 8 bytes per trainer
148*8 = 1184 (4a0 hex) bytes all table
*the third is a table at x 239a1c
it is a trainer pallete table, and have 8 bytes per trainer
148*8 = 1184 (4a0 hex) bytes all table
it is posible because each rom have diferenr number of trainers sprites
Ruby: 83
Firered: 148
Emerald: 93
I test to expand trainers sprites in Pokémon Firered. The limit for trainers sprites is 255 or FF, because the Trainer Sprite ID use only 1 byte for store your number. (FF - 1 = FE)
well have 3 tables for trainers sprites
*the first in one table is at x 23932c
and is formed with "08 01 00 00" ( 4 bytes per trainer)
148*4 = 592 (250 hex) bytes all table
i not understand very well this table
but have 4 trainers with diferent byte "08 02 00 00"
*the second is a table at x 23957c
it is a trainer sprite table, and have 8 bytes per trainer
148*8 = 1184 (4a0 hex) bytes all table
*the third is a table at x 239a1c
it is a trainer pallete table, and have 8 bytes per trainer
148*8 = 1184 (4a0 hex) bytes all table
Last edited: