mirror of https://github.com/zeldaret/tmc.git
clang format
This commit is contained in:
parent
44449601b5
commit
a5ff01f1bd
|
|
@ -625,7 +625,7 @@ void sub_0802B1BC(Entity* this) {
|
|||
if (ent == 0) {
|
||||
this->action = 2;
|
||||
this->spriteSettings.draw = 1;
|
||||
}
|
||||
}
|
||||
|
||||
if (ent->field_0x80.HALF.HI) {
|
||||
CopyPosition(ent, this);
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ void sub_08057A18(Manager* this, DiggingCaveEntrance* entr) {
|
|||
gUnk_03004030.unk_04 = gPlayerEntity.x.HALF.HI - gRoomControls.origin_x - ((entr->unk_00 & 0x3F) * 16);
|
||||
gUnk_03004030.unk_06 = gPlayerEntity.y.HALF.HI - gRoomControls.origin_y - ((entr->unk_00 & 0xFC0) >> 2);
|
||||
|
||||
#ifndef EU
|
||||
#ifndef EU
|
||||
tmp = gUnk_03004030.unk_08;
|
||||
if (!tmp) {
|
||||
if ((entr->target_room | 0x80) != gUnk_03004030.unk_0b) {
|
||||
|
|
@ -112,8 +112,8 @@ void sub_08057A18(Manager* this, DiggingCaveEntrance* entr) {
|
|||
}
|
||||
gUnk_03004030.unk_0b = entr->target_room | 0x80;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
sub_08080930(entr->unk_03);
|
||||
DeleteManager(this);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -180,10 +180,10 @@ void sub_08057E7C(u32 unk1) {
|
|||
u32 tmp;
|
||||
const u32* tmp2;
|
||||
|
||||
#ifndef EU
|
||||
#ifndef EU
|
||||
if (unk1 > 4)
|
||||
return;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
LoadPaletteGroup(gUnk_081081E4[unk1]);
|
||||
tmp2 = &gUnk_081080A4[unk1 << 4];
|
||||
|
|
|
|||
Loading…
Reference in New Issue