remove more externs from dungeon files

This commit is contained in:
DizzyEggg
2025-10-26 17:55:23 +01:00
parent db0b90b255
commit a25912e9fa
19 changed files with 21 additions and 78 deletions

View File

@@ -4,5 +4,6 @@
#include "structs/dungeon_entity.h"
void RunMonsterAI(Entity *pokemon, u32 unused);
void sub_8075BA4(Entity *param_1, u8 param_2);
#endif

View File

@@ -31,6 +31,7 @@ extern bool8 gUnknown_203B434;
void sub_80521D0(void);
void sub_8052210(bool8 a0);
void sub_805229C(void);
// These functions display the string if certain conditions are met. The conditions differ depending on the function. The string is then saved to the message log.
void LogMessageByIdWithPopupCheckUser(Entity *pokemon, const u8 *str);

View File

@@ -55,6 +55,7 @@ void sub_806A1B0(Entity *pokemon);
void sub_806A1E8(Entity *pokemon);
void sub_806A240(Entity *pokemon, Entity *target);
void TryPointCameraToMonster(Entity *pokemon, u8 param_2);
void nullsub_95(Entity *pokemon);
void sub_806A338(void);
void sub_806A390(Entity *pokemon);
void sub_806A3D4(u8 *dst, s32 _a1, s32 id, bool32 _a3);

View File

@@ -17,9 +17,13 @@ bool8 EntityIsValid(Entity *pokemon);
u32 GetEntityType(Entity *entity);
u8 GetEntityRoom(Entity *entity);
Tile *GetTileAtEntitySafe(Entity *entity);
void sub_804513C(void);
void sub_804522C(void);
void UpdateEntityPixelPos(Entity *entity, PixelPos *pos);
void SetEntityPixelPos(Entity *entity, s32 x, s32 y);
void IncreaseEntityPixelPos(Entity *entity, s32 x, s32 y);
Entity *sub_80453AC(s32 _species);
Entity *sub_804550C(s32 _species);
Item *GetItemInfo(Entity *entity);
Item *GetItemData_1(Entity *entity);
Trap *GetTrapInfo(Entity *entity);
@@ -27,6 +31,7 @@ Trap* GetTrapData_1(Entity *entity);
Entity *SpawnTrap(u8 trapID, DungeonPos *pos, u8 c);
Entity *SpawnItemEntity(DungeonPos *pos);
void sub_80457DC(Entity* ent);
bool8 ShouldMinimapDisplayEntity(Entity *ent);
bool8 ShouldDisplayEntity(Entity *ent);
bool8 CanSeeTarget(Entity *entity, Entity *targetEntity);
bool8 CanTargetEntity(Entity *entity, Entity *targetEntity);