pokeemerald/data/maps/MossdeepCity_House2/scripts.inc

73 lines
1.9 KiB
PHP
Raw Normal View History

.set LOCALID_WINGULL, 3
2021-07-20 21:18:31 +02:00
MossdeepCity_House2_MapScripts::
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
MossdeepCity_House2_EventScript_Man::
2019-11-09 17:28:28 +01:00
msgbox MossdeepCity_House2_Text_SisterMailsBoyfriendInFortree, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
MossdeepCity_House2_EventScript_Twin::
2019-11-09 17:28:28 +01:00
msgbox MossdeepCity_House2_Text_PokemonCarriesMailBackAndForth, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
MossdeepCity_House2_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-09 17:28:28 +01:00
msgbox MossdeepCity_House2_Text_Wingull, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
waitmoncry
closemessage
2019-01-02 22:12:43 +01:00
setflag FLAG_WINGULL_DELIVERED_MAIL
clearflag FLAG_HIDE_FORTREE_CITY_HOUSE_4_WINGULL
2019-10-07 06:14:10 +02:00
compare VAR_FACING, DIR_NORTH
2019-11-09 17:28:28 +01:00
call_if_eq MossdeepCity_House2_EventScript_WingullExitNorth
2019-10-07 06:14:10 +02:00
compare VAR_FACING, DIR_WEST
2019-11-09 17:28:28 +01:00
call_if_eq MossdeepCity_House2_EventScript_WingullExitWest
removeobject LOCALID_WINGULL
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
MossdeepCity_House2_EventScript_WingullExitNorth::
applymovement LOCALID_WINGULL, MossdeepCity_House2_Movement_WingullExitNorth
2017-11-10 02:21:31 +01:00
waitmovement 0
return
2021-07-20 21:18:31 +02:00
MossdeepCity_House2_EventScript_WingullExitWest::
applymovement LOCALID_WINGULL, MossdeepCity_House2_Movement_WingullExitEast
2017-11-10 02:21:31 +01:00
waitmovement 0
return
2021-07-20 21:18:31 +02:00
MossdeepCity_House2_Movement_WingullExitNorth:
walk_fast_right
walk_fast_down
walk_fast_down
walk_fast_left
walk_fast_down
delay_8
2017-11-10 02:21:31 +01:00
step_end
2021-07-20 21:18:31 +02:00
MossdeepCity_House2_Movement_WingullExitEast:
walk_fast_down
walk_fast_down
walk_fast_down
delay_8
2017-11-10 02:21:31 +01:00
step_end
2021-07-20 21:18:31 +02:00
MossdeepCity_House2_Text_SisterMailsBoyfriendInFortree:
2017-11-10 02:21:31 +01:00
.string "My little sister exchanges MAIL with\n"
.string "her boyfriend in FORTREE.\p"
2018-12-07 16:41:08 +01:00
.string "I don't envy her one bit at all.$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
MossdeepCity_House2_Text_PokemonCarriesMailBackAndForth:
2018-12-07 16:41:08 +01:00
.string "Even though I can't see my friend in\n"
2017-11-10 02:21:31 +01:00
.string "FORTREE, my POKéMON carries MAIL\l"
.string "back and forth for us.\p"
2018-12-07 16:41:08 +01:00
.string "I'm not lonesome, even though we're\n"
2017-11-10 02:21:31 +01:00
.string "apart.$"
2021-07-20 21:18:31 +02:00
MossdeepCity_House2_Text_Wingull:
2017-11-10 02:21:31 +01:00
.string "WINGULL: Pihyoh!$"