mirror of
https://github.com/zeldaret/tmc
synced 2026-06-05 03:08:20 -04:00
Match sub_08018BB4 and adjust types
This commit is contained in:
+2
-9
@@ -90,13 +90,6 @@ extern void (*const gUnk_080FF330[])(void);
|
||||
|
||||
void sub_08055994(void);
|
||||
|
||||
typedef struct {
|
||||
u8 unk_0[6];
|
||||
u8 unk_6;
|
||||
u8 unk_7;
|
||||
} struct_080FEAC8;
|
||||
extern struct_080FEAC8 gUnk_080FEAC8[];
|
||||
|
||||
extern void (*const gUnk_080FF35C[])(void);
|
||||
|
||||
extern const EntityData gUnk_080FF33C[];
|
||||
@@ -676,8 +669,8 @@ void sub_08055978(void) {
|
||||
|
||||
void sub_08055994(void) {
|
||||
u32 layer;
|
||||
struct_080FEAC8* ptr = &gUnk_080FEAC8[gMenu.field_0x4];
|
||||
if ((ptr->unk_6 & 1) != 0) {
|
||||
TileEntity* ptr = &gUnk_080FEAC8[gMenu.field_0x4];
|
||||
if ((ptr->_6 & 1) != 0) {
|
||||
layer = 2;
|
||||
} else {
|
||||
layer = 1;
|
||||
|
||||
Reference in New Issue
Block a user