Fix storage magic numbers

I could *kinda* understand missing SendMonToPc, but IN THE STRUCT ITSELF?!
This commit is contained in:
hjk321 committed 2021-02-22 10:04:27 -06:00
1 parent 33126a0633
commit fc16ee9498
2 files changed
+6 -5

No files matched your search

+4 -3
View File
@@ -4,6 +4,7 @@
#include "global.h"
#include "sprite.h"
#include "constants/pokemon.h"
#include "pokemon_storage_system.h"
struct PokemonSubstruct0
{
@@ -125,9 +126,9 @@ struct Pokemon
struct PokemonStorage
{
/*0x0000*/ u8 currentBox;
/*0x0001*/ struct BoxPokemon boxes[14][30];
/*0x8344*/ u8 boxNames[14][BOX_NAME_LENGTH + 1];
/*0x83C2*/ u8 boxWallpapers[14];
/*0x0001*/ struct BoxPokemon boxes[TOTAL_BOXES_COUNT][IN_BOX_COUNT];
/*0x8344*/ u8 boxNames[TOTAL_BOXES_COUNT][BOX_NAME_LENGTH + 1];
/*0x83C2*/ u8 boxWallpapers[TOTAL_BOXES_COUNT];
};
struct BattleTowerPokemon