2020-06-21 07:56:57 +02:00
|
|
|
.set LOCALID_WINGULL, 3
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FortreeCity_House4_MapScripts::
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FortreeCity_House4_EventScript_Woman::
|
2019-11-07 20:49:52 +01:00
|
|
|
msgbox FortreeCity_House4_Text_BringsWorldCloserTogether, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FortreeCity_House4_EventScript_Boy::
|
2017-11-10 02:21:31 +01:00
|
|
|
lockall
|
2019-11-07 20:49:52 +01:00
|
|
|
goto_if_set FLAG_RECEIVED_MENTAL_HERB, FortreeCity_House4_EventScript_ReceivedMentalHerb
|
|
|
|
goto_if_set FLAG_WINGULL_DELIVERED_MAIL, FortreeCity_House4_EventScript_WingullReturned
|
|
|
|
goto_if_set FLAG_WINGULL_SENT_ON_ERRAND, FortreeCity_House4_EventScript_WingullOnErrand
|
|
|
|
msgbox FortreeCity_House4_Text_GoBirdPokemon, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2019-01-02 22:12:43 +01:00
|
|
|
setflag FLAG_WINGULL_SENT_ON_ERRAND
|
2018-10-18 21:28:59 +02:00
|
|
|
clearflag FLAG_HIDE_MOSSDEEP_CITY_HOUSE_2_WINGULL
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_WINGULL, FortreeCity_House4_Movement_WingullExit
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2020-06-21 07:56:57 +02:00
|
|
|
removeobject LOCALID_WINGULL
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FortreeCity_House4_EventScript_WingullOnErrand::
|
2019-02-23 02:09:14 +01:00
|
|
|
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-07 20:49:52 +01:00
|
|
|
msgbox FortreeCity_House4_Text_AskedWingullToRunErrand, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FortreeCity_House4_EventScript_WingullReturned::
|
2019-02-23 02:09:14 +01:00
|
|
|
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-07 20:49:52 +01:00
|
|
|
msgbox FortreeCity_House4_Text_WelcomeWingullTakeMentalHerb, MSGBOX_DEFAULT
|
2020-01-11 18:02:58 +01:00
|
|
|
giveitem ITEM_MENTAL_HERB
|
2021-11-19 05:06:30 +01:00
|
|
|
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
2019-01-02 22:12:43 +01:00
|
|
|
setflag FLAG_RECEIVED_MENTAL_HERB
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FortreeCity_House4_EventScript_ReceivedMentalHerb::
|
2019-02-23 02:09:14 +01:00
|
|
|
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-07 20:49:52 +01:00
|
|
|
msgbox FortreeCity_House4_Text_FriendsFarAwayThanksToWingull, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FortreeCity_House4_Movement_WingullExit:
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_fast_down
|
|
|
|
walk_fast_down
|
|
|
|
walk_fast_right
|
2021-11-04 19:22:28 +01:00
|
|
|
walk_in_place_faster_down
|
2018-06-14 01:19:19 +02:00
|
|
|
delay_8
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FortreeCity_House4_EventScript_Wingull::
|
2017-11-10 02:21:31 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
waitse
|
2021-11-07 18:58:11 +01:00
|
|
|
playmoncry SPECIES_WINGULL, CRY_MODE_NORMAL
|
2019-11-07 20:49:52 +01:00
|
|
|
msgbox FortreeCity_House4_Text_Wingull, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmoncry
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FortreeCity_House4_Text_BringsWorldCloserTogether:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "By being together with POKéMON,\n"
|
|
|
|
.string "people make more and more friends.\p"
|
|
|
|
.string "And that brings the world closer\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "together. I think it's wonderful!$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FortreeCity_House4_Text_GoBirdPokemon:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "There!\n"
|
|
|
|
.string "Go, BIRD POKéMON!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FortreeCity_House4_Text_AskedWingullToRunErrand:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Heheh, I asked my WINGULL to run\n"
|
|
|
|
.string "an errand for me.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FortreeCity_House4_Text_WelcomeWingullTakeMentalHerb:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Good!\n"
|
|
|
|
.string "Welcome back, WINGULL!\p"
|
|
|
|
.string "Huh? What is this?\n"
|
|
|
|
.string "What is it holding?\p"
|
|
|
|
.string "A MENTAL HERB?\n"
|
|
|
|
.string "It must have picked it up somewhere.\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "But I'm not a TRAINER, so you can\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "have it.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FortreeCity_House4_Text_FriendsFarAwayThanksToWingull:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Thanks to my WINGULL, I have friends\n"
|
|
|
|
.string "who live far away.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
FortreeCity_House4_Text_Wingull:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "WINGULL: Pihyoh!$"
|
|
|
|
|