chore: disable union room for emulator users #7

Closed
supersonicsataa wants to merge 2 commits from no-union-check into main
2 changed files with 3 additions and 3 deletions

View File

@ -1258,7 +1258,7 @@ EventScript_CloseMossdeepGameCornerBarrier::
return return
CableClub_OnResume: CableClub_OnResume:
special InitUnionRoom @ special InitUnionRoom commented out to increase performance, as mGBA does not support emulating a Wireless Adapter.
end end
MossdeepCity_GameCorner_1F_EventScript_InfoMan2:: MossdeepCity_GameCorner_1F_EventScript_InfoMan2::

View File

@ -17,7 +17,7 @@ EventScript_PkmnCenterNurse_HealPkmn::
waitmessage waitmessage
call EventScript_PkmnCenterNurse_TakeAndHealPkmn call EventScript_PkmnCenterNurse_TakeAndHealPkmn
goto_if_unset FLAG_POKERUS_EXPLAINED, EventScript_PkmnCenterNurse_CheckPokerus goto_if_unset FLAG_POKERUS_EXPLAINED, EventScript_PkmnCenterNurse_CheckPokerus
goto EventScript_PkmnCenterNurse_CheckTrainerHillAndUnionRoom goto goto EventScript_PkmnCenterNurse_ReturnPkmn @ disable Union Room to increase performance.
end end
EventScript_PkmnCenterNurse_IllTakeYourPkmn:: EventScript_PkmnCenterNurse_IllTakeYourPkmn::
@ -75,7 +75,7 @@ EventScript_PkmnCenterNurse_PlayerWaitingInUnionRoom::
EventScript_PkmnCenterNurse_CheckPokerus:: EventScript_PkmnCenterNurse_CheckPokerus::
specialvar VAR_RESULT, IsPokerusInParty specialvar VAR_RESULT, IsPokerusInParty
goto_if_eq VAR_RESULT, TRUE, EventScript_PkmnCenterNurse_ExplainPokerus goto_if_eq VAR_RESULT, TRUE, EventScript_PkmnCenterNurse_ExplainPokerus
goto_if_eq VAR_RESULT, FALSE, EventScript_PkmnCenterNurse_CheckTrainerHillAndUnionRoom goto_if_eq VAR_RESULT, FALSE, EventScript_PkmnCenterNurse_ReturnPkmn
end end
EventScript_PkmnCenterNurse_ExplainPokerus:: EventScript_PkmnCenterNurse_ExplainPokerus::