Uninline wmAreaSetVisibleState
This commit is contained in:
parent
1b6e29acc0
commit
06618d9e21
|
@ -3364,13 +3364,11 @@ static int wmWorldMapFunc(int a1)
|
||||||
int wmCheckGameAreaEvents()
|
int wmCheckGameAreaEvents()
|
||||||
{
|
{
|
||||||
if (wmGenData.currentAreaId == CITY_FAKE_VAULT_13_A) {
|
if (wmGenData.currentAreaId == CITY_FAKE_VAULT_13_A) {
|
||||||
if (wmGenData.currentAreaId < wmMaxAreaNum) {
|
// NOTE: Uninline.
|
||||||
wmAreaInfoList[CITY_FAKE_VAULT_13_A].state = CITY_STATE_UNKNOWN;
|
wmAreaSetVisibleState(CITY_FAKE_VAULT_13_A, CITY_STATE_UNKNOWN, true);
|
||||||
}
|
|
||||||
|
|
||||||
if (wmMaxAreaNum > CITY_FAKE_VAULT_13_B) {
|
// NOTE: Uninline.
|
||||||
wmAreaInfoList[CITY_FAKE_VAULT_13_B].state = CITY_STATE_KNOWN;
|
wmAreaSetVisibleState(CITY_FAKE_VAULT_13_B, CITY_STATE_KNOWN, true);
|
||||||
}
|
|
||||||
|
|
||||||
wmAreaMarkVisitedState(CITY_FAKE_VAULT_13_B, 2);
|
wmAreaMarkVisitedState(CITY_FAKE_VAULT_13_B, 2);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue