pokeemerald/data/maps/MossdeepCity_House2/scripts.inc
2021-07-20 15:18:31 -04:00

73 lines
1.8 KiB
PHP

.set LOCALID_WINGULL, 3
MossdeepCity_House2_MapScripts::
.byte 0
MossdeepCity_House2_EventScript_Man::
msgbox MossdeepCity_House2_Text_SisterMailsBoyfriendInFortree, MSGBOX_NPC
end
MossdeepCity_House2_EventScript_Twin::
msgbox MossdeepCity_House2_Text_PokemonCarriesMailBackAndForth, MSGBOX_NPC
end
MossdeepCity_House2_EventScript_Wingull::
lock
faceplayer
waitse
playmoncry SPECIES_WINGULL, 0
msgbox MossdeepCity_House2_Text_Wingull, MSGBOX_DEFAULT
waitmoncry
closemessage
setflag FLAG_WINGULL_DELIVERED_MAIL
clearflag FLAG_HIDE_FORTREE_CITY_HOUSE_4_WINGULL
compare VAR_FACING, DIR_NORTH
call_if_eq MossdeepCity_House2_EventScript_WingullExitNorth
compare VAR_FACING, DIR_WEST
call_if_eq MossdeepCity_House2_EventScript_WingullExitWest
removeobject LOCALID_WINGULL
release
end
MossdeepCity_House2_EventScript_WingullExitNorth::
applymovement LOCALID_WINGULL, MossdeepCity_House2_Movement_WingullExitNorth
waitmovement 0
return
MossdeepCity_House2_EventScript_WingullExitWest::
applymovement LOCALID_WINGULL, MossdeepCity_House2_Movement_WingullExitEast
waitmovement 0
return
MossdeepCity_House2_Movement_WingullExitNorth:
walk_fast_right
walk_fast_down
walk_fast_down
walk_fast_left
walk_fast_down
delay_8
step_end
MossdeepCity_House2_Movement_WingullExitEast:
walk_fast_down
walk_fast_down
walk_fast_down
delay_8
step_end
MossdeepCity_House2_Text_SisterMailsBoyfriendInFortree:
.string "My little sister exchanges MAIL with\n"
.string "her boyfriend in FORTREE.\p"
.string "I don't envy her one bit at all.$"
MossdeepCity_House2_Text_PokemonCarriesMailBackAndForth:
.string "Even though I can't see my friend in\n"
.string "FORTREE, my POKéMON carries MAIL\l"
.string "back and forth for us.\p"
.string "I'm not lonesome, even though we're\n"
.string "apart.$"
MossdeepCity_House2_Text_Wingull:
.string "WINGULL: Pihyoh!$"