import from github
This commit is contained in:
175
data/maps/Route134/map.json
Normal file
175
data/maps/Route134/map.json
Normal file
@ -0,0 +1,175 @@
|
||||
{
|
||||
"id": "MAP_ROUTE134",
|
||||
"name": "Route134",
|
||||
"layout": "LAYOUT_ROUTE134",
|
||||
"music": "MUS_ROUTE119",
|
||||
"region_map_section": "MAPSEC_ROUTE_134",
|
||||
"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_SLATEPORT_CITY"
|
||||
},
|
||||
{
|
||||
"direction": "right",
|
||||
"offset": 0,
|
||||
"map": "MAP_ROUTE133"
|
||||
}
|
||||
],
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_SWIMMER_M",
|
||||
"x": 49,
|
||||
"y": 9,
|
||||
"elevation": 1,
|
||||
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_UP_RIGHT_DOWN_LEFT",
|
||||
"movement_range_x": 3,
|
||||
"movement_range_y": 5,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "2",
|
||||
"script": "Route134_EventScript_Jack",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_SWIMMER_F",
|
||||
"x": 58,
|
||||
"y": 7,
|
||||
"elevation": 1,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "3",
|
||||
"script": "Route134_EventScript_Laurel",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAN_3",
|
||||
"x": 41,
|
||||
"y": 23,
|
||||
"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": "2",
|
||||
"script": "Route134_EventScript_Aaron",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAN_5",
|
||||
"x": 24,
|
||||
"y": 23,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_WALK_DOWN_AND_UP",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 3,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "6",
|
||||
"script": "Route134_EventScript_Alex",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BLACK_BELT",
|
||||
"x": 49,
|
||||
"y": 16,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_WALK_LEFT_AND_RIGHT",
|
||||
"movement_range_x": 6,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "5",
|
||||
"script": "Route134_EventScript_Hitoshi",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_WOMAN_5",
|
||||
"x": 43,
|
||||
"y": 23,
|
||||
"elevation": 1,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "2",
|
||||
"script": "Route134_EventScript_Marley",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_SAILOR",
|
||||
"x": 24,
|
||||
"y": 30,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_WALK_UP_AND_DOWN",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 3,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "6",
|
||||
"script": "Route134_EventScript_Kelvin",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_GIRL_3",
|
||||
"x": 50,
|
||||
"y": 16,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_WALK_RIGHT_AND_LEFT",
|
||||
"movement_range_x": 6,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "5",
|
||||
"script": "Route134_EventScript_Reyna",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_SAILOR",
|
||||
"x": 63,
|
||||
"y": 14,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_RIGHT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "3",
|
||||
"script": "Route134_EventScript_Hudson",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||
"x": 50,
|
||||
"y": 17,
|
||||
"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": "Route134_EventScript_ItemCarbos",
|
||||
"flag": "FLAG_ITEM_ROUTE_134_CARBOS"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||
"x": 22,
|
||||
"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": "Route134_EventScript_ItemStarPiece",
|
||||
"flag": "FLAG_ITEM_ROUTE_134_STAR_PIECE"
|
||||
}
|
||||
],
|
||||
"warp_events": [],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
53
data/maps/Route134/scripts.inc
Normal file
53
data/maps/Route134/scripts.inc
Normal file
@ -0,0 +1,53 @@
|
||||
Route134_MapScripts::
|
||||
map_script MAP_SCRIPT_ON_RESUME, Route134_OnResume
|
||||
.byte 0
|
||||
|
||||
Route134_OnResume:
|
||||
setdivewarp MAP_UNDERWATER_ROUTE134, 8, 6
|
||||
end
|
||||
|
||||
Route134_EventScript_Jack::
|
||||
trainerbattle_single TRAINER_JACK, Route134_Text_JackIntro, Route134_Text_JackDefeat
|
||||
msgbox Route134_Text_JackPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route134_EventScript_Laurel::
|
||||
trainerbattle_single TRAINER_LAUREL, Route134_Text_LaurelIntro, Route134_Text_LaurelDefeat
|
||||
msgbox Route134_Text_LaurelPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route134_EventScript_Alex::
|
||||
trainerbattle_single TRAINER_ALEX, Route134_Text_AlexIntro, Route134_Text_AlexDefeat
|
||||
msgbox Route134_Text_AlexPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route134_EventScript_Aaron::
|
||||
trainerbattle_single TRAINER_AARON, Route134_Text_AaronIntro, Route134_Text_AaronDefeat
|
||||
msgbox Route134_Text_AaronPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route134_EventScript_Hitoshi::
|
||||
trainerbattle_single TRAINER_HITOSHI, Route134_Text_HitoshiIntro, Route134_Text_HitoshiDefeat
|
||||
msgbox Route134_Text_HitoshiPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route134_EventScript_Hudson::
|
||||
trainerbattle_single TRAINER_HUDSON, Route134_Text_HudsonIntro, Route134_Text_HudsonDefeat
|
||||
msgbox Route134_Text_HudsonPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route134_EventScript_Reyna::
|
||||
trainerbattle_single TRAINER_REYNA, Route134_Text_ReynaIntro, Route134_Text_ReynaDefeat
|
||||
msgbox Route134_Text_ReynaPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route134_EventScript_Marley::
|
||||
trainerbattle_single TRAINER_MARLEY, Route134_Text_MarleyIntro, Route134_Text_MarleyDefeat
|
||||
msgbox Route134_Text_MarleyPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route134_EventScript_Kelvin::
|
||||
trainerbattle_single TRAINER_KELVIN, Route134_Text_KelvinIntro, Route134_Text_KelvinDefeat
|
||||
msgbox Route134_Text_KelvinPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
Reference in New Issue
Block a user