import from github
This commit is contained in:
89
data/maps/Route114_FossilManiacsHouse/map.json
Normal file
89
data/maps/Route114_FossilManiacsHouse/map.json
Normal file
@ -0,0 +1,89 @@
|
||||
{
|
||||
"id": "MAP_ROUTE114_FOSSIL_MANIACS_HOUSE",
|
||||
"name": "Route114_FossilManiacsHouse",
|
||||
"layout": "LAYOUT_ROUTE114_FOSSIL_MANIACS_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_NINJA_BOY",
|
||||
"x": 3,
|
||||
"y": 2,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "Route114_FossilManiacsHouse_EventScript_FossilManiacsBrother",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 4,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_ROUTE114",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 5,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_ROUTE114",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_ROUTE114_FOSSIL_MANIACS_TUNNEL",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 5,
|
||||
"y": 3,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "Route114_FossilManiacsHouse_EventScript_RockDisplay"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 6,
|
||||
"y": 3,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "Route114_FossilManiacsHouse_EventScript_RockDisplay"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 7,
|
||||
"y": 2,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "Route114_FossilManiacsHouse_EventScript_Bookshelf"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 8,
|
||||
"y": 2,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "Route114_FossilManiacsHouse_EventScript_Bookshelf"
|
||||
}
|
||||
]
|
||||
}
|
54
data/maps/Route114_FossilManiacsHouse/scripts.inc
Normal file
54
data/maps/Route114_FossilManiacsHouse/scripts.inc
Normal file
@ -0,0 +1,54 @@
|
||||
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.$"
|
||||
|
Reference in New Issue
Block a user