mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 19:54:21 +01:00
Fix REG_OFFSET_WININ/OUT mislabeling
This commit is contained in:
parent
42747663b5
commit
ec92241d8f
@ -2828,8 +2828,12 @@ static bool8 sub_811BFA4(void)
|
||||
else
|
||||
{
|
||||
sub_811DE5C(0, 0, 0, 0);
|
||||
SetGpuReg(REG_OFFSET_WININ, WIN_RANGE(0, 63));
|
||||
SetGpuReg(REG_OFFSET_WINOUT, WIN_RANGE(0, 59));
|
||||
SetGpuReg(REG_OFFSET_WININ, WININ_WIN0_BG_ALL | WININ_WIN0_OBJ | WININ_WIN0_CLR);
|
||||
SetGpuReg(REG_OFFSET_WINOUT, WINOUT_WIN01_BG0
|
||||
| WINOUT_WIN01_BG1
|
||||
| WINOUT_WIN01_BG3
|
||||
| WINOUT_WIN01_OBJ
|
||||
| WINOUT_WIN01_CLR);
|
||||
ShowBg(3);
|
||||
ShowBg(1);
|
||||
ShowBg(2);
|
||||
|
Loading…
Reference in New Issue
Block a user