mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-04-25 16:23:20 -05:00
Fixing Pokemon data type
This commit is contained in:
parent
47bd2df4b9
commit
8babbdf2a4
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
extern vu32 newest_save_offset;
|
||||
extern vu32 memory_section_array[14];
|
||||
extern vu32 pkmn[20];
|
||||
extern vu8 pkmn[80];
|
||||
|
||||
void initalize_memory_locations();
|
||||
vu32 read_four_bytes(vu32 address, bool flip_endian);
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
vu32 newest_save_offset = MEM_CRAM + SAVE_A_OFFSET;
|
||||
vu32 memory_section_array[14] = {};
|
||||
vu32 pkmn[20] = {};
|
||||
vu8 pkmn[80] = {};
|
||||
|
||||
void initalize_memory_locations(){
|
||||
if(read_four_bytes(MEM_CRAM + SAVE_B_OFFSET + SAVE_INDEX_OFFSET, true) > read_four_bytes(MEM_CRAM + SAVE_A_OFFSET + SAVE_INDEX_OFFSET, true)){
|
||||
|
|
@ -24,5 +24,5 @@ vu32 read_four_bytes(vu32 address, bool flip_endian){
|
|||
}
|
||||
|
||||
void insert_pokemon(int box_num, int box_spot){
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user