mirror of
https://github.com/pret/pmd-red.git
synced 2026-08-01 08:16:03 -05:00
add other define
This commit is contained in:
parent
c9cd21cad8
commit
23c76bc334
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user