struct_02002A40 -> structures.h

This commit is contained in:
theo3
2020-08-04 23:55:39 -07:00
parent 2575c0a63d
commit 6824834142
21 changed files with 208 additions and 310 deletions
+2 -8
View File
@@ -3,16 +3,10 @@
#include "flags.h"
#include "functions.h"
typedef struct {
u8 filler[0xAC];
u16 unk;
} ScreenTransition;
extern u32 sub_0805C920(Entity*);
extern void LoadPalettesByPaletteGroupIndex(u32);
extern void (*const gUnk_08108D10[])(Entity*);
extern ScreenTransition gScreenTransition;
extern u8 gUnk_08108D20[];
void Manager27(Entity *this)
@@ -20,10 +14,10 @@ void Manager27(Entity *this)
gUnk_08108D10[this->action](this);
if (CheckLocalFlagByOffset(0x300, this->entityType.form + 0x67)) {
gScreenTransition.unk |= (1 << (this->entityType).form);
gScreenTransition.field_0xac |= (1 << (this->entityType).form);
}
else {
gScreenTransition.unk &= ~(1 << (this->entityType).form);
gScreenTransition.field_0xac &= ~(1 << (this->entityType).form);
}
}