83 lines
2.7 KiB
PHP
83 lines
2.7 KiB
PHP
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_FORTREE_HOUSE_WINGULL, FortreeCity_House4_Movement_WingullExit
|
||
waitmovement 0
|
||
removeobject LOCALID_FORTREE_HOUSE_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 "和宝可梦在一起,\n人们可以交上更多朋友,\p这让我们的世界\n变得更小。这多美妙!$"
|
||
|
||
FortreeCity_House4_Text_GoBirdPokemon:
|
||
.string "好了!\n去吧,我的鸟宝可梦!$"
|
||
|
||
FortreeCity_House4_Text_AskedWingullToRunErrand:
|
||
.string "我让我的长翅鸥\n帮我送信。$"
|
||
|
||
FortreeCity_House4_Text_WelcomeWingullTakeMentalHerb:
|
||
.string "太好了!\n欢迎回来,长翅鸥!\p嗯?这是什么?\n它抓着的是什么?\p心灵香草?\n一定是在哪儿偶然抓到的。\p但我不是训练家,\n这个还是给你吧。$"
|
||
|
||
FortreeCity_House4_Text_FriendsFarAwayThanksToWingull:
|
||
.string "多亏了我的长翅鸥,我才能够\n跟住在很远的地方的人交朋友。$"
|
||
|
||
FortreeCity_House4_Text_Wingull:
|
||
.string "长翅鸥:欧雷欧!$"
|
||
|