tumbledemerald-legacy/data/maps/Route114_FossilManiacsHouse/scripts.inc
2022-05-19 17:14:13 +00:00

55 lines
1.8 KiB
PHP

Route114_FossilManiacsHouse_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, Route114_FossilManiacsHouse_OnTransition
.byte 0
Route114_FossilManiacsHouse_OnTransition:
setflag FLAG_LANDMARK_FOSSIL_MANIACS_HOUSE
end
Route114_FossilManiacsHouse_EventScript_FossilManiacsBrother::
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM28, Route114_FossilManiacsHouse_EventScript_ReceivedDig
msgbox Route114_FossilManiacsHouse_Text_HaveThisToDigLikeMyBrother, MSGBOX_DEFAULT
giveitem ITEM_TM28
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_TM28
release
end
Route114_FossilManiacsHouse_EventScript_ReceivedDig::
msgbox Route114_FossilManiacsHouse_Text_DigReturnsYouToEntrance, MSGBOX_DEFAULT
release
end
Route114_FossilManiacsHouse_EventScript_RockDisplay::
msgbox Route114_FossilManiacsHouse_Text_RocksFillDisplayCase, MSGBOX_SIGN
end
Route114_FossilManiacsHouse_EventScript_Bookshelf::
msgbox Route114_FossilManiacsHouse_Text_CrammedWithBooks, MSGBOX_SIGN
end
Route114_FossilManiacsHouse_Text_HaveThisToDigLikeMyBrother:
.string "My big brother's the FOSSIL MANIAC…\n"
.string "He's a nice guy who loves FOSSILS…\p"
.string "He loves digging holes, too…\n"
.string "He dug this hole by himself…\p"
.string "You can have this, so you can DIG\n"
.string "holes just like my big brother…$"
Route114_FossilManiacsHouse_Text_DigReturnsYouToEntrance:
.string "If you make a POKéMON DIG inside a\n"
.string "cave, you're returned to the entrance…$"
Route114_FossilManiacsHouse_Text_RocksFillDisplayCase:
.string "Rocks in peculiar shapes fill\n"
.string "the display case…$"
Route114_FossilManiacsHouse_Text_CrammedWithBooks:
.string "THE COMPOSITION OF STRATA…\n"
.string "HOW RAIN SHAPES THE LAND…\l"
.string "STONES, SOIL, AND ROCK…\p"
.string "It's crammed with books.$"