2022-05-19 19:14:13 +02:00
|
|
|
PacifidlogTown_House2_MapScripts::
|
|
|
|
.byte 0
|
|
|
|
|
|
|
|
PacifidlogTown_House2_EventScript_FanClubYoungerBrother::
|
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
dotimebasedevents
|
|
|
|
call PacifidlogTown_House2_EventScript_UpdateFanClubTMFlag
|
|
|
|
goto_if_set FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK, PacifidlogTown_House2_EventScript_ComeBackInXDays
|
|
|
|
call_if_set FLAG_MET_FANCLUB_YOUNGER_BROTHER, PacifidlogTown_House2_EventScript_MonAssessment
|
|
|
|
call_if_unset FLAG_MET_FANCLUB_YOUNGER_BROTHER, PacifidlogTown_House2_EventScript_FirstMonAssessment
|
|
|
|
setflag FLAG_MET_FANCLUB_YOUNGER_BROTHER
|
|
|
|
specialvar VAR_RESULT, GetLeadMonFriendshipScore
|
|
|
|
goto_if_ge VAR_RESULT, 4, PacifidlogTown_House2_EventScript_GiveReturn
|
|
|
|
specialvar VAR_RESULT, GetLeadMonFriendshipScore
|
|
|
|
goto_if_ge VAR_RESULT, 2, PacifidlogTown_House2_EventScript_PutInEffort
|
|
|
|
goto PacifidlogTown_House2_EventScript_GiveFrustration
|
|
|
|
end
|
|
|
|
|
|
|
|
PacifidlogTown_House2_EventScript_UpdateFanClubTMFlag::
|
|
|
|
goto_if_unset FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK, Common_EventScript_NopReturn
|
|
|
|
specialvar VAR_RESULT, GetDaysUntilPacifidlogTMAvailable
|
|
|
|
call_if_eq VAR_RESULT, 0, PacifidlogTown_House2_EventScript_ClearReceivedFanClubTM
|
|
|
|
return
|
|
|
|
|
|
|
|
PacifidlogTown_House2_EventScript_MonAssessment::
|
|
|
|
msgbox PacifidlogTown_House2_Text_AhYourPokemon, MSGBOX_DEFAULT
|
|
|
|
return
|
|
|
|
|
|
|
|
PacifidlogTown_House2_EventScript_FirstMonAssessment::
|
|
|
|
msgbox PacifidlogTown_House2_Text_ChairmansYoungerBrotherOnVacation, MSGBOX_DEFAULT
|
|
|
|
msgbox PacifidlogTown_House2_Text_AhYourPokemon, MSGBOX_DEFAULT
|
|
|
|
return
|
|
|
|
|
|
|
|
PacifidlogTown_House2_EventScript_ClearReceivedFanClubTM::
|
|
|
|
clearflag FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK
|
|
|
|
return
|
|
|
|
|
|
|
|
PacifidlogTown_House2_EventScript_GiveReturn::
|
|
|
|
msgbox PacifidlogTown_House2_Text_AdoringPokemonTakeThis, MSGBOX_DEFAULT
|
|
|
|
giveitem ITEM_TM27
|
|
|
|
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
|
|
|
setflag FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK
|
|
|
|
special SetPacifidlogTMReceivedDay
|
|
|
|
msgbox PacifidlogTown_House2_Text_ExplainReturnFrustration, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
PacifidlogTown_House2_EventScript_PutInEffort::
|
|
|
|
msgbox PacifidlogTown_House2_Text_PutInSomeMoreEffort, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
PacifidlogTown_House2_EventScript_GiveFrustration::
|
|
|
|
msgbox PacifidlogTown_House2_Text_ViciousPokemonTakeThis, MSGBOX_DEFAULT
|
|
|
|
giveitem ITEM_TM21
|
|
|
|
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
|
|
|
setflag FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK
|
|
|
|
special SetPacifidlogTMReceivedDay
|
|
|
|
msgbox PacifidlogTown_House2_Text_ExplainReturnFrustration, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
PacifidlogTown_House2_EventScript_ComeBackInXDays::
|
|
|
|
specialvar VAR_RESULT, GetDaysUntilPacifidlogTMAvailable
|
|
|
|
buffernumberstring STR_VAR_1, VAR_RESULT
|
|
|
|
msgbox PacifidlogTown_House2_Text_GetGoodTMInXDays, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
PacifidlogTown_House2_EventScript_HappyAzurill::
|
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
waitse
|
|
|
|
playmoncry SPECIES_AZURILL, CRY_MODE_NORMAL
|
|
|
|
msgbox PacifidlogTown_House2_Text_Rurii, MSGBOX_DEFAULT
|
|
|
|
waitmoncry
|
|
|
|
msgbox PacifidlogTown_House2_Text_VeryFriendlyWithTrainer, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
PacifidlogTown_House2_EventScript_UnhappyAzurill::
|
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
waitse
|
|
|
|
playmoncry SPECIES_AZURILL, CRY_MODE_ENCOUNTER
|
|
|
|
msgbox PacifidlogTown_House2_Text_Rururi, MSGBOX_DEFAULT
|
|
|
|
waitmoncry
|
|
|
|
msgbox PacifidlogTown_House2_Text_DoesntLikeTrainerVeryMuch, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
PacifidlogTown_House2_Text_ChairmansYoungerBrotherOnVacation:
|
|
|
|
.string "Er-hem!\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "I am the Pokémon Fan Club's most\n"
|
|
|
|
.string "important person, the Chairman's\l"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "younger brother.\p"
|
|
|
|
.string "I'm here enjoying my vacation with\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Pokémon, yes, indeed.$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
PacifidlogTown_House2_Text_AhYourPokemon:
|
|
|
|
.string "Ah!\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Your Pokémon…$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
PacifidlogTown_House2_Text_AdoringPokemonTakeThis:
|
|
|
|
.string "It clearly likes you very much.\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "A Pokémon that adoring and adorable\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "deserves a TM like this, no?$"
|
|
|
|
|
|
|
|
PacifidlogTown_House2_Text_PutInSomeMoreEffort:
|
|
|
|
.string "Hmm…\n"
|
|
|
|
.string "It's not bad, but it's also not good.\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "You, as the Trainer, need to put in\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "some more effort.$"
|
|
|
|
|
|
|
|
PacifidlogTown_House2_Text_ViciousPokemonTakeThis:
|
|
|
|
.string "It has a vicious look to it.\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "A frightening Pokémon like that\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "deserves a TM like this.$"
|
|
|
|
|
|
|
|
PacifidlogTown_House2_Text_ExplainReturnFrustration:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "If a Pokémon likes you a lot, Return's\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "power is enhanced.\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "If it doesn't like you, Frustration's\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "power goes up.$"
|
|
|
|
|
|
|
|
PacifidlogTown_House2_Text_GetGoodTMInXDays:
|
|
|
|
.string "Oh, yes. In about {STR_VAR_1} or so days,\n"
|
|
|
|
.string "I should be getting a good TM or two.\p"
|
|
|
|
.string "You should come see me then.\n"
|
|
|
|
.string "I'll give you a TM that's suitable for\l"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "your Pokémon.$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
PacifidlogTown_House2_Text_Rurii:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Azurill: Rurii.$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
PacifidlogTown_House2_Text_VeryFriendlyWithTrainer:
|
|
|
|
.string "It appears to be very friendly with the\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Trainer.$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
PacifidlogTown_House2_Text_Rururi:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Azurill: Rururi!$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
PacifidlogTown_House2_Text_DoesntLikeTrainerVeryMuch:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "It doesn't appear to like the Trainer\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "very much.$"
|
|
|
|
|