import from github
This commit is contained in:
162
data/maps/Route132/map.json
Normal file
162
data/maps/Route132/map.json
Normal file
@ -0,0 +1,162 @@
|
||||
{
|
||||
"id": "MAP_ROUTE132",
|
||||
"name": "Route132",
|
||||
"layout": "LAYOUT_ROUTE132",
|
||||
"music": "MUS_ROUTE119",
|
||||
"region_map_section": "MAPSEC_ROUTE_132",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_SUNNY",
|
||||
"map_type": "MAP_TYPE_OCEAN_ROUTE",
|
||||
"allow_cycling": true,
|
||||
"allow_escaping": false,
|
||||
"allow_running": true,
|
||||
"show_map_name": true,
|
||||
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
|
||||
"connections": [
|
||||
{
|
||||
"direction": "left",
|
||||
"offset": 0,
|
||||
"map": "MAP_ROUTE133"
|
||||
},
|
||||
{
|
||||
"direction": "right",
|
||||
"offset": 0,
|
||||
"map": "MAP_PACIFIDLOG_TOWN"
|
||||
}
|
||||
],
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_SWIMMER_M",
|
||||
"x": 40,
|
||||
"y": 13,
|
||||
"elevation": 1,
|
||||
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_DOWN_RIGHT_UP_LEFT",
|
||||
"movement_range_x": 3,
|
||||
"movement_range_y": 3,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "2",
|
||||
"script": "Route132_EventScript_Gilbert",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_SWIMMER_F",
|
||||
"x": 10,
|
||||
"y": 6,
|
||||
"elevation": 1,
|
||||
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_UP_LEFT_DOWN_RIGHT",
|
||||
"movement_range_x": 3,
|
||||
"movement_range_y": 3,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "2",
|
||||
"script": "Route132_EventScript_Dana",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||
"x": 10,
|
||||
"y": 11,
|
||||
"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": "Route132_EventScript_ItemRareCandy",
|
||||
"flag": "FLAG_ITEM_ROUTE_132_RARE_CANDY"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BLACK_BELT",
|
||||
"x": 9,
|
||||
"y": 15,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "4",
|
||||
"script": "Route132_EventScript_Kiyo",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_FISHERMAN",
|
||||
"x": 49,
|
||||
"y": 28,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "1",
|
||||
"script": "Route132_EventScript_Ronald",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_EXPERT_M",
|
||||
"x": 33,
|
||||
"y": 26,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "4",
|
||||
"script": "Route132_EventScript_Paxton",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_WOMAN_5",
|
||||
"x": 33,
|
||||
"y": 31,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_WALK_UP_AND_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 4,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "4",
|
||||
"script": "Route132_EventScript_Darcy",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_EXPERT_F",
|
||||
"x": 21,
|
||||
"y": 30,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_UP",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "4",
|
||||
"script": "Route132_EventScript_Makayla",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAN_3",
|
||||
"x": 21,
|
||||
"y": 25,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_WALK_DOWN_AND_UP",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 4,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "4",
|
||||
"script": "Route132_EventScript_Jonathan",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||
"x": 20,
|
||||
"y": 27,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "Route132_EventScript_ItemProtein",
|
||||
"flag": "FLAG_ITEM_ROUTE_132_PROTEIN"
|
||||
}
|
||||
],
|
||||
"warp_events": [],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
43
data/maps/Route132/scripts.inc
Normal file
43
data/maps/Route132/scripts.inc
Normal file
@ -0,0 +1,43 @@
|
||||
Route132_MapScripts::
|
||||
.byte 0
|
||||
|
||||
Route132_EventScript_Gilbert::
|
||||
trainerbattle_single TRAINER_GILBERT, Route132_Text_GilbertIntro, Route132_Text_GilbertDefeat
|
||||
msgbox Route132_Text_GilbertPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route132_EventScript_Dana::
|
||||
trainerbattle_single TRAINER_DANA, Route132_Text_DanaIntro, Route132_Text_DanaDefeat
|
||||
msgbox Route132_Text_DanaPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route132_EventScript_Ronald::
|
||||
trainerbattle_single TRAINER_RONALD, Route132_Text_RonaldIntro, Route132_Text_RonaldDefeat
|
||||
msgbox Route132_Text_RonaldPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route132_EventScript_Kiyo::
|
||||
trainerbattle_single TRAINER_KIYO, Route132_Text_KiyoIntro, Route132_Text_KiyoDefeat
|
||||
msgbox Route132_Text_KiyoPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route132_EventScript_Paxton::
|
||||
trainerbattle_single TRAINER_PAXTON, Route132_Text_PaxtonIntro, Route132_Text_PaxtonDefeat
|
||||
msgbox Route132_Text_PaxtonPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route132_EventScript_Darcy::
|
||||
trainerbattle_single TRAINER_DARCY, Route132_Text_DarcyIntro, Route132_Text_DarcyDefeat
|
||||
msgbox Route132_Text_DarcyPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route132_EventScript_Jonathan::
|
||||
trainerbattle_single TRAINER_JONATHAN, Route132_Text_JonathanIntro, Route132_Text_JonathanDefeat
|
||||
msgbox Route132_Text_JonathanPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route132_EventScript_Makayla::
|
||||
trainerbattle_single TRAINER_MAKAYLA, Route132_Text_MakaylaIntro, Route132_Text_MakaylaDefeat
|
||||
msgbox Route132_Text_MakaylaPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
Reference in New Issue
Block a user