mirror of
https://github.com/zeldaret/tmc
synced 2026-07-31 00:05:00 -04:00
Remove errant field in LcdControls struct
This commit is contained in:
@@ -35,7 +35,7 @@ void sub_080570B8(Entity *this)
|
||||
this->height.WORD = 0;
|
||||
pbVar1 = ((u8 *)&this->field_0x20 + 1);
|
||||
if (*pbVar1 == 3) {
|
||||
gScreen.affine.bg3xOffset = 1;
|
||||
gScreen.affine.unk4 = 1;
|
||||
}
|
||||
else {
|
||||
gUnk_08107C48[*pbVar1](this);
|
||||
@@ -45,7 +45,7 @@ void sub_080570B8(Entity *this)
|
||||
void sub_080570F8(void)
|
||||
{
|
||||
gScreen.lcd.lcdControl2 &= 0xf7ff;
|
||||
gScreen.controls.windowOutsideControl = 0;
|
||||
gScreen.controls.layerFXControl = 0;
|
||||
sub_08056250();
|
||||
}
|
||||
|
||||
@@ -56,9 +56,9 @@ void sub_08057118(Entity *this)
|
||||
((u8 *)&this->field_0x20)[1] = 0;
|
||||
((u8 *)&this->field_0x20)[2] = 0;
|
||||
this->action = 1;
|
||||
gScreen.affine.unk2 = 0x1e04;
|
||||
*(u16 *)&gScreen.lcd.lcdControl2 |= 0x800;
|
||||
gScreen.controls.windowOutsideControl = 0x3648;
|
||||
gScreen.controls.mosaicSize = 0x1000;
|
||||
gScreen.affine.bg3Control = 0x1e04;
|
||||
gScreen.lcd.lcdControl2 |= 0x800;
|
||||
gScreen.controls.layerFXControl = 0x3648;
|
||||
gScreen.controls.alphaBlend = 0x1000;
|
||||
sub_08052D74(this, sub_080570B8, sub_080570F8);
|
||||
}
|
||||
@@ -10,8 +10,8 @@ void Manager2(Entity *this)
|
||||
{
|
||||
if (this->action == 0) {
|
||||
this->action = 1;
|
||||
gScreen.affine.bg3xOffset = 0;
|
||||
gScreen.bg2.bg0xOffset = 0;
|
||||
gScreen.affine.unk4 = 0;
|
||||
gScreen.bg2.bg0Updated = 0;
|
||||
sub_08052D74(this, sub_080576A0, 0);
|
||||
}
|
||||
sub_0805754C(this);
|
||||
|
||||
Reference in New Issue
Block a user