import from github
This commit is contained in:
74
data/maps/Route114_LanettesHouse/map.json
Normal file
74
data/maps/Route114_LanettesHouse/map.json
Normal file
@ -0,0 +1,74 @@
|
||||
{
|
||||
"id": "MAP_ROUTE114_LANETTES_HOUSE",
|
||||
"name": "Route114_LanettesHouse",
|
||||
"layout": "LAYOUT_ROUTE114_LANETTES_HOUSE",
|
||||
"music": "MUS_FALLARBOR",
|
||||
"region_map_section": "MAPSEC_ROUTE_114",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
"map_type": "MAP_TYPE_INDOOR",
|
||||
"allow_cycling": false,
|
||||
"allow_escaping": false,
|
||||
"allow_running": false,
|
||||
"show_map_name": false,
|
||||
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_WOMAN_2",
|
||||
"x": 5,
|
||||
"y": 4,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "Route114_LanettesHouse_EventScript_Lanette",
|
||||
"flag": "FLAG_HIDE_LANETTES_HOUSE_LANETTE"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 5,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_ROUTE114",
|
||||
"dest_warp_id": 2
|
||||
},
|
||||
{
|
||||
"x": 6,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_ROUTE114",
|
||||
"dest_warp_id": 2
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 5,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "Route114_LanettesHouse_EventScript_Notebook"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 8,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "Route114_LanettesHouse_EventScript_PC"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 7,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "Route114_LanettesHouse_EventScript_PC"
|
||||
}
|
||||
]
|
||||
}
|
104
data/maps/Route114_LanettesHouse/scripts.inc
Normal file
104
data/maps/Route114_LanettesHouse/scripts.inc
Normal file
@ -0,0 +1,104 @@
|
||||
Route114_LanettesHouse_MapScripts::
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, Route114_LanettesHouse_OnTransition
|
||||
.byte 0
|
||||
|
||||
Route114_LanettesHouse_OnTransition:
|
||||
setflag FLAG_LANDMARK_LANETTES_HOUSE
|
||||
end
|
||||
|
||||
Route114_LanettesHouse_EventScript_Lanette::
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_RECEIVED_DOLL_LANETTE, Route114_LanettesHouse_EventScript_OfferAdvice
|
||||
setflag FLAG_SYS_PC_LANETTE
|
||||
msgbox Route114_LanettesHouse_Text_EverythingClutteredKeepThis, MSGBOX_DEFAULT
|
||||
givedecoration DECOR_LOTAD_DOLL
|
||||
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowNoRoomForDecor
|
||||
setflag FLAG_RECEIVED_DOLL_LANETTE
|
||||
release
|
||||
end
|
||||
|
||||
Route114_LanettesHouse_EventScript_OfferAdvice::
|
||||
msgbox Route114_LanettesHouse_Text_OrganizeYourBoxes, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
Route114_LanettesHouse_EventScript_Notebook::
|
||||
lockall
|
||||
msgbox Route114_LanettesHouse_Text_ResearchNotesPage1, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, YES, Route114_LanettesHouse_EventScript_NotebookPage2
|
||||
msgbox Route114_LanettesHouse_Text_ClosedTheNotebook, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
|
||||
Route114_LanettesHouse_EventScript_NotebookPage2::
|
||||
msgbox Route114_LanettesHouse_Text_ResearchNotesPage2, MSGBOX_YESNO
|
||||
call_if_eq VAR_RESULT, YES, Route114_LanettesHouse_EventScript_NotebookPage3
|
||||
releaseall
|
||||
end
|
||||
|
||||
Route114_LanettesHouse_EventScript_NotebookPage3::
|
||||
msgbox Route114_LanettesHouse_Text_ResearchNotesPage3, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
Route114_LanettesHouse_EventScript_PC::
|
||||
msgbox Route114_LanettesHouse_Text_EmailFromBill, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
Route114_LanettesHouse_Text_EverythingClutteredKeepThis:
|
||||
.string "LANETTE: Oh! {PLAYER}{KUN}!\p"
|
||||
.string "I'm sorry everything is so cluttered…\n"
|
||||
.string "When I get engrossed in research,\l"
|
||||
.string "things end up this way…\p"
|
||||
.string "This is embarrassing… Please keep\n"
|
||||
.string "this a secret in exchange for this.$"
|
||||
|
||||
Route114_LanettesHouse_Text_OrganizeYourBoxes:
|
||||
.string "May I offer advice about my POKéMON\n"
|
||||
.string "Storage System?\p"
|
||||
.string "You should organize your BOXES so you\n"
|
||||
.string "can tell which POKéMON are in them.$"
|
||||
|
||||
Route114_LanettesHouse_Text_ResearchNotesPage1:
|
||||
.string "It's LANETTE's research notes.\n"
|
||||
.string "There's information about BOXES.\p"
|
||||
.string "Design BOXES to hold 30 POKéMON each.\p"
|
||||
.string "Each TRAINER should be able to store\n"
|
||||
.string "420 POKéMON on the PC system.\p"
|
||||
.string "Keep reading?$"
|
||||
|
||||
Route114_LanettesHouse_Text_ResearchNotesPage2:
|
||||
.string "A marking system should be added to\n"
|
||||
.string "make POKéMON easier to organize.\p"
|
||||
.string "The name and wallpaper design of each\n"
|
||||
.string "BOX will be made changeable to please\l"
|
||||
.string "the stored POKéMON.\p"
|
||||
.string "Keep reading?$"
|
||||
|
||||
Route114_LanettesHouse_Text_ResearchNotesPage3:
|
||||
.string "When storing a POKéMON, it should be\n"
|
||||
.string "sent to the BOX inspected last.\p"
|
||||
.string "If that BOX is full, the received\n"
|
||||
.string "POKéMON is stored in the next BOX.\p"
|
||||
.string "In other words, when a BOX is examined,\n"
|
||||
.string "it is automatically selected as the BOX\l"
|
||||
.string "to which POKéMON are sent.$"
|
||||
|
||||
Route114_LanettesHouse_Text_ClosedTheNotebook:
|
||||
.string "{PLAYER} closed the notebook.$"
|
||||
|
||||
Route114_LanettesHouse_Text_EmailFromBill:
|
||||
.string "There's an e-mail from someone on\n"
|
||||
.string "the PC.\p"
|
||||
.string "“… … … … … … …\p"
|
||||
.string "“Your Storage System offers more\n"
|
||||
.string "convenience than mine.\p"
|
||||
.string "“It has a lot of user-friendly features\n"
|
||||
.string "that make it fun and useful, too.\p"
|
||||
.string "“It makes me proud that I played\n"
|
||||
.string "a part in its development.\p"
|
||||
.string "“Here's hoping that you'll continue\n"
|
||||
.string "research in Storage Systems.\p"
|
||||
.string "“From BILL\n"
|
||||
.string "… … … … … … … …”$"
|
||||
|
Reference in New Issue
Block a user