mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-29 13:50:42 +01:00
99 lines
3.0 KiB
PHP
99 lines
3.0 KiB
PHP
.set LOCALID_WINGULL, 3
|
|
|
|
FortreeCity_House4_MapScripts:: @ 8217C80
|
|
.byte 0
|
|
|
|
FortreeCity_House4_EventScript_Woman:: @ 8217C81
|
|
msgbox FortreeCity_House4_Text_BringsWorldCloserTogether, MSGBOX_NPC
|
|
end
|
|
|
|
FortreeCity_House4_EventScript_Boy:: @ 8217C8A
|
|
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:: @ 8217CC4
|
|
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
|
|
waitmovement 0
|
|
msgbox FortreeCity_House4_Text_AskedWingullToRunErrand, MSGBOX_DEFAULT
|
|
releaseall
|
|
end
|
|
|
|
FortreeCity_House4_EventScript_WingullReturned:: @ 8217CD8
|
|
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
|
|
waitmovement 0
|
|
msgbox FortreeCity_House4_Text_WelcomeWingullTakeMentalHerb, MSGBOX_DEFAULT
|
|
giveitem ITEM_MENTAL_HERB
|
|
compare VAR_RESULT, FALSE
|
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
|
setflag FLAG_RECEIVED_MENTAL_HERB
|
|
releaseall
|
|
end
|
|
|
|
FortreeCity_House4_EventScript_ReceivedMentalHerb:: @ 8217D06
|
|
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
|
|
waitmovement 0
|
|
msgbox FortreeCity_House4_Text_FriendsFarAwayThanksToWingull, MSGBOX_DEFAULT
|
|
releaseall
|
|
end
|
|
|
|
FortreeCity_House4_Movement_WingullExit: @ 8217D1A
|
|
walk_fast_down
|
|
walk_fast_down
|
|
walk_fast_right
|
|
walk_in_place_fastest_down
|
|
delay_8
|
|
step_end
|
|
|
|
FortreeCity_House4_EventScript_Wingull:: @ 8217D20
|
|
lock
|
|
faceplayer
|
|
waitse
|
|
playmoncry SPECIES_WINGULL, 0
|
|
msgbox FortreeCity_House4_Text_Wingull, MSGBOX_DEFAULT
|
|
waitmoncry
|
|
release
|
|
end
|
|
|
|
FortreeCity_House4_Text_BringsWorldCloserTogether: @ 8217D33
|
|
.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: @ 8217DB9
|
|
.string "There!\n"
|
|
.string "Go, BIRD POKéMON!$"
|
|
|
|
FortreeCity_House4_Text_AskedWingullToRunErrand: @ 8217DD2
|
|
.string "Heheh, I asked my WINGULL to run\n"
|
|
.string "an errand for me.$"
|
|
|
|
FortreeCity_House4_Text_WelcomeWingullTakeMentalHerb: @ 8217E05
|
|
.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: @ 8217EA8
|
|
.string "Thanks to my WINGULL, I have friends\n"
|
|
.string "who live far away.$"
|
|
|
|
FortreeCity_House4_Text_Wingull: @ 8217EE0
|
|
.string "WINGULL: Pihyoh!$"
|
|
|