fixes (up to 69.43%)

This commit is contained in:
Joshua Peisach 2024-04-02 14:08:09 -04:00
parent d835a080b9
commit b6edcb9edd
No known key found for this signature in database
GPG Key ID: 41C3D4189AFEDB5A

View File

@ -174,6 +174,10 @@ void GasStation::ReadyWorld()
break; break;
} }
comparisonValue = m_state->m_unk0x1a; comparisonValue = m_state->m_unk0x1a;
if (4 < m_state->m_unk0x1a) {
m_state->m_unk0x1a++;
return;
}
break; break;
} }
case 3: { case 3: {
@ -195,7 +199,10 @@ void GasStation::ReadyWorld()
m_unk0x104 = 1; m_unk0x104 = 1;
break; break;
} }
comparisonValue = m_state->m_unk0x1c; if (4 < m_state->m_unk0x1c) {
m_state->m_unk0x1c++;
return;
}
break; break;
} }
case 4: { case 4: {
@ -243,17 +250,19 @@ void GasStation::ReadyWorld()
break; break;
} }
default: { default: {
if (comparisonValue < 5) { FUN_10015820(FALSE, LegoOmni::c_disableInput | LegoOmni::c_disable3d | LegoOmni::c_clearScreen);
m_state->m_unk0x20++; return;
}
break;
} }
} }
if (comparisonValue < 5) {
comparisonValue++;
}
FUN_10015820(FALSE, LegoOmni::c_disableInput | LegoOmni::c_disable3d | LegoOmni::c_clearScreen); FUN_10015820(FALSE, LegoOmni::c_disableInput | LegoOmni::c_disable3d | LegoOmni::c_clearScreen);
} }
// OFFSET: LEGO1 0x10005590 // FUNCTION: LEGO1 0x10005590
void GasStation::FUN_10005590(undefined4 p_param) void GasStation::FUN_10005590(undefined4 p_param)
{ {
// TODO // TODO