Work on screenDemo.c

This commit is contained in:
Tal Hayon
2021-12-27 09:56:55 +02:00
parent 60e74d1ba9
commit 4241057135
5 changed files with 148 additions and 41 deletions
+8 -2
View File
@@ -6,11 +6,17 @@
#include "save.h"
typedef struct {
u8 filler0[0x5];
u8 unk_0x0;
u8 filler0[0x4];
u8 state;
u8 subState;
u16 timer;
u8 fillerA[0x26];
u8 fillerA[0x5];
s16 unk_0x10;
u16 unk_0x12;
u8 fillerB[0xC];
u8 unk_0x20;
u8 fillerC[0xF];
} ChooseFileState;
static_assert(sizeof(ChooseFileState) == 0x30);
+3
View File
@@ -10,6 +10,7 @@
#include "room.h"
#include "structures.h"
#include "script.h"
#include "screen.h"
// Identified - to be sorted into header files
extern u32 CheckKinstoneFused(u32);
@@ -223,4 +224,6 @@ extern void sub_080806BC(u32, u32, u32, u32);
extern void LoadObjPalette(Entity*, u32);
extern void sub_080ADA04(OAMCommand*, void*);
#endif
+3 -2
View File
@@ -70,15 +70,16 @@ typedef struct {
/*0x78*/ u32 _78;
} Screen;
struct OAMCommand {
typedef struct {
u16 x;
u16 y;
u16 _4;
u16 _6;
u16 _8;
} extern gOamCmd;
} OAMCommand;
extern BgControls gBgControls;
extern Screen gScreen;
extern OAMCommand gOamCmd;
#endif