Put gMonsterFileArchive in file system header

This commit is contained in:
DizzyEggg 2025-02-27 15:53:27 +01:00
parent 5571afa937
commit 4b944408f0
7 changed files with 3 additions and 7 deletions

View File

@ -46,4 +46,6 @@ OpenedFile *OpenFileAndGetFileDataPtr(const u8 *filename, const FileArchive *arc
u32 sub_800A8F8(u32 value);
extern const FileArchive gMonsterFileArchive; // monster_sbin.c
#endif //GUARD_FILE_SYSTEM_H

View File

@ -9,7 +9,6 @@
#include "text.h"
// monster_sbin.s
extern const struct FileArchive gMonsterFileArchive;
// data_8106A4C.s
extern const u8 gUnknown_8106EA0[]; // ax%03d
extern const u8 gUnknown_8106E98[]; // palet

View File

@ -37,7 +37,6 @@ EWRAM_DATA static u8 sCurrDirection = 0;
EWRAM_DATA static u8 sHeldDpadCounter = 0;
extern const FileArchive gTitleMenuFileArchive;
extern const FileArchive gMonsterFileArchive;
static void MoveToNewLocation(s32 destLocationId, s32 direction, s32 nFrames);
static u8 GetChosenDirection(void);

View File

@ -25,7 +25,6 @@ extern void xxx_call_update_bg_sound_input(void);
extern s32 sprintf(char *, const char *, ...);
extern const FileArchive gTitleMenuFileArchive;
extern const FileArchive gMonsterFileArchive;
static inline bool8 CheckAxFlag8000(axdata *ptr)
{

View File

@ -25,7 +25,6 @@ EWRAM_INIT OpenedFile *gUnknown_203B4B4 = {NULL};
// dungeon_sbin.s
extern const struct FileArchive gDungeonFileArchive;
// monster_sbin.s
extern const struct FileArchive gMonsterFileArchive;
// ornament_sbin.s
extern const struct FileArchive gOrnamentFileArchive;
// data_8115F5C.s

View File

@ -11,6 +11,7 @@ const FileArchive gMonsterFileArchive = {
UNUSED static const char sPksDir2[] = "pksdir0";
// Todo: create a directory/file for the mon sprites
extern const u8 gAxBulbasaur[];
extern const u8 gAxIvysaur[];
extern const u8 gAxVenusaur[];
@ -1010,5 +1011,3 @@ const File gMonsterFiles[] = {
};
UNUSED ALIGNED(4) static const char sPksDir3[] = "pksdir0";
//

View File

@ -20,7 +20,6 @@
#include "decompress.h"
extern const FileArchive gTitleMenuFileArchive;
extern const FileArchive gMonsterFileArchive;
extern u16 gUnknown_2026E4E;