add other define

This commit is contained in:
Seth Barberee 2024-07-29 16:34:42 -07:00
parent c9cd21cad8
commit 23c76bc334
3 changed files with 5 additions and 3 deletions

View File

@ -12,6 +12,7 @@
#define DUNGEON_MAX_SIZE_X 56
#define DUNGEON_MAX_SIZE_Y 32
#define DUNGEON_MAX_WILD_POKEMON 16
#define DUNGEON_MAX_WILD_POKEMON_BODY_SIZE 16
#define DUNGEON_MAX_POKEMON MAX_TEAM_MEMBERS + DUNGEON_MAX_WILD_POKEMON
#define DUNGEON_MAX_TRAPS 64
#define DUNGEON_MAX_ITEMS 64

View File

@ -6,7 +6,8 @@
#include "structs/str_traps.h"
extern u8 gUnknown_202EE70[MAX_TEAM_BODY_SIZE];
extern u8 gUnknown_202EE76[0x10];
extern u8 gUnknown_202EE76[DUNGEON_MAX_WILD_POKEMON_BODY_SIZE];
u32 EntityGetStatusSprites(Entity *entity);
void UpdateDungeonPokemonSprite(int id, short species, int status, char visible);
@ -95,7 +96,7 @@ void sub_804513C(void)
gDungeon->wildPokemon[index]->type = ENTITY_NOTHING;
}
for(index = 0; index < 0x10; index++)
for(index = 0; index < DUNGEON_MAX_WILD_POKEMON_BODY_SIZE; index++)
{
gUnknown_202EE76[index] = 0;
}

View File

@ -348,7 +348,7 @@ gUnknown_202EE6C: /* 202EE6C (sub_8044F5C - sub_8067A80) */
gUnknown_202EE70: /* 202EE70 (sub_804513C - sub_80828E0) */
.space 0x6
gUnknown_202EE76: /* 202EE76 (sub_804513C - sub_8082A08) */
.space 0x12
.space 0x10
.include "src/dungeon_map_access.o"