mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 00:44:21 +00:00
Changes to GasStation::Create based on beta debug build (#664)
* Implement/match LegoAnimNodeData::FUN_100a0990 * Change GasStation::Create based on beta debug build
This commit is contained in:
committed by
GitHub
parent
dcc3946a08
commit
06080b6492
@@ -62,16 +62,13 @@ MxResult GasStation::Create(MxDSAction& p_dsAction)
|
||||
m_state = (GasStationState*) GameState()->GetState("GasStationState");
|
||||
if (!m_state) {
|
||||
m_state = (GasStationState*) GameState()->CreateState("GasStationState");
|
||||
m_state->GetUnknown0x14().SetUnknown0x00(1);
|
||||
m_state->m_unk0x14.m_unk0x00 = 1;
|
||||
}
|
||||
else if (m_state->m_unk0x14.m_unk0x00 == 4) {
|
||||
m_state->m_unk0x14.m_unk0x00 = 4;
|
||||
}
|
||||
else {
|
||||
GasStationState::Unknown0x14& unk0x14 = m_state->GetUnknown0x14();
|
||||
if (unk0x14.GetUnknown0x00() == 4) {
|
||||
unk0x14.SetUnknown0x00(4);
|
||||
}
|
||||
else {
|
||||
unk0x14.SetUnknown0x00(3);
|
||||
}
|
||||
m_state->m_unk0x14.m_unk0x00 = 3;
|
||||
}
|
||||
|
||||
GameState()->SetCurrentArea(LegoGameState::e_garage);
|
||||
|
||||
Reference in New Issue
Block a user