98 lines
2.8 KiB
PHP
98 lines
2.8 KiB
PHP
.set LOCALID_WINGULL, 3
|
|
|
|
FortreeCity_House4_MapScripts::
|
|
.byte 0
|
|
|
|
FortreeCity_House4_EventScript_Woman::
|
|
msgbox FortreeCity_House4_Text_BringsWorldCloserTogether, MSGBOX_NPC
|
|
end
|
|
|
|
FortreeCity_House4_EventScript_Boy::
|
|
lockall
|
|
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
|
|
closemessage
|
|
setflag FLAG_WINGULL_SENT_ON_ERRAND
|
|
clearflag FLAG_HIDE_MOSSDEEP_CITY_HOUSE_2_WINGULL
|
|
applymovement LOCALID_WINGULL, FortreeCity_House4_Movement_WingullExit
|
|
waitmovement 0
|
|
removeobject LOCALID_WINGULL
|
|
releaseall
|
|
end
|
|
|
|
FortreeCity_House4_EventScript_WingullOnErrand::
|
|
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
|
|
waitmovement 0
|
|
msgbox FortreeCity_House4_Text_AskedWingullToRunErrand, MSGBOX_DEFAULT
|
|
releaseall
|
|
end
|
|
|
|
FortreeCity_House4_EventScript_WingullReturned::
|
|
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
|
|
waitmovement 0
|
|
msgbox FortreeCity_House4_Text_WelcomeWingullTakeMentalHerb, MSGBOX_DEFAULT
|
|
giveitem ITEM_MENTAL_HERB
|
|
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
|
setflag FLAG_RECEIVED_MENTAL_HERB
|
|
releaseall
|
|
end
|
|
|
|
FortreeCity_House4_EventScript_ReceivedMentalHerb::
|
|
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
|
|
waitmovement 0
|
|
msgbox FortreeCity_House4_Text_FriendsFarAwayThanksToWingull, MSGBOX_DEFAULT
|
|
releaseall
|
|
end
|
|
|
|
FortreeCity_House4_Movement_WingullExit:
|
|
walk_fast_down
|
|
walk_fast_down
|
|
walk_fast_right
|
|
walk_in_place_faster_down
|
|
delay_8
|
|
step_end
|
|
|
|
FortreeCity_House4_EventScript_Wingull::
|
|
lock
|
|
faceplayer
|
|
waitse
|
|
playmoncry SPECIES_WINGULL, CRY_MODE_NORMAL
|
|
msgbox FortreeCity_House4_Text_Wingull, MSGBOX_DEFAULT
|
|
waitmoncry
|
|
release
|
|
end
|
|
|
|
FortreeCity_House4_Text_BringsWorldCloserTogether:
|
|
.string "By being together with Pokémon,\n"
|
|
.string "people make more and more friends.\p"
|
|
.string "And that brings the world closer\n"
|
|
.string "together. I think it's wonderful!$"
|
|
|
|
FortreeCity_House4_Text_GoBirdPokemon:
|
|
.string "There!\n"
|
|
.string "Go, Bird Pokémon!$"
|
|
|
|
FortreeCity_House4_Text_AskedWingullToRunErrand:
|
|
.string "Heheh, I asked my Wingull to run\n"
|
|
.string "an errand for me.$"
|
|
|
|
FortreeCity_House4_Text_WelcomeWingullTakeMentalHerb:
|
|
.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"
|
|
.string "But I'm not a Trainer, so you can\n"
|
|
.string "have it.$"
|
|
|
|
FortreeCity_House4_Text_FriendsFarAwayThanksToWingull:
|
|
.string "Thanks to my Wingull, I have friends\n"
|
|
.string "who live far away.$"
|
|
|
|
FortreeCity_House4_Text_Wingull:
|
|
.string "Wingull: Pihyoh!$"
|
|
|