Mom doesn't give you the outfit box twice (again)

This commit is contained in:
resetes12
2025-09-10 18:48:26 +02:00
parent b6bd4c1505
commit f0fbb59aa2

View File

@@ -325,6 +325,10 @@ PlayersHouse_1F_EventScript_Mom::
end
PlayersHouse_1F_EventScript_Mom_OutfitBox::
goto_if_unset FLAG_OUTFIT_BOX_OBTAINED, PlayersHouse_1F_EventScript_Mom_OutfitBox2
end
PlayersHouse_1F_EventScript_Mom_OutfitBox2::
msgbox PlayersHouse_1F_Mom_OutfitBox_Text, MSGBOX_DEFAULT
closemessage
setflag FLAG_OUTFIT_BOX_OBTAINED
@@ -379,7 +383,7 @@ PlayersHouse_1F_EventScript_TryGiveAmuletCoin::
end
PlayersHouse_1F_EventScript_MomHealsParty::
goto_if_unset FLAG_OUTFIT_BOX_OBTAINED, PlayersHouse_1F_EventScript_Mom_OutfitBox @May be removed in future versions, maybe?
goto_if_set FLAG_RESCUED_BIRCH, PlayersHouse_1F_EventScript_Mom_OutfitBox
specialvar VAR_RESULT, IsPokecenterChallengeActivated
goto_if_eq VAR_RESULT, TRUE, PlayersHouse_1F_EventScript_MomHealsParty_PokecenterChallenge
msgbox PlayersHouse_1F_Text_YouShouldRestABit, MSGBOX_DEFAULT