mirror of
https://github.com/zeldaret/tmc
synced 2026-08-18 05:38:50 -04:00
struct_02002A40 -> structures.h
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user