import from github
This commit is contained in:
95
data/maps/DewfordTown_PokemonCenter_2F/map.json
Normal file
95
data/maps/DewfordTown_PokemonCenter_2F/map.json
Normal file
@ -0,0 +1,95 @@
|
||||
{
|
||||
"id": "MAP_DEWFORD_TOWN_POKEMON_CENTER_2F",
|
||||
"name": "DewfordTown_PokemonCenter_2F",
|
||||
"layout": "LAYOUT_POKEMON_CENTER_2F",
|
||||
"music": "MUS_POKE_CENTER",
|
||||
"region_map_section": "MAPSEC_DEWFORD_TOWN",
|
||||
"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_TEALA",
|
||||
"x": 6,
|
||||
"y": 2,
|
||||
"elevation": 0,
|
||||
"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": "Common_EventScript_UnionRoomAttendant",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_TEALA",
|
||||
"x": 2,
|
||||
"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": "Common_EventScript_WirelessClubAttendant",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_TEALA",
|
||||
"x": 10,
|
||||
"y": 2,
|
||||
"elevation": 0,
|
||||
"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": "Common_EventScript_DirectCornerAttendant",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MYSTERY_GIFT_MAN",
|
||||
"x": 1,
|
||||
"y": 2,
|
||||
"elevation": 0,
|
||||
"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": "CableClub_EventScript_MysteryGiftMan",
|
||||
"flag": "FLAG_HIDE_POKEMON_CENTER_2F_MYSTERY_GIFT_MAN"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 1,
|
||||
"y": 6,
|
||||
"elevation": 4,
|
||||
"dest_map": "MAP_DEWFORD_TOWN_POKEMON_CENTER_1F",
|
||||
"dest_warp_id": 2
|
||||
},
|
||||
{
|
||||
"x": 5,
|
||||
"y": 1,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_UNION_ROOM",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 9,
|
||||
"y": 1,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_TRADE_CENTER",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
20
data/maps/DewfordTown_PokemonCenter_2F/scripts.inc
Normal file
20
data/maps/DewfordTown_PokemonCenter_2F/scripts.inc
Normal file
@ -0,0 +1,20 @@
|
||||
DewfordTown_PokemonCenter_2F_MapScripts::
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, CableClub_OnFrame
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, CableClub_OnWarp
|
||||
map_script MAP_SCRIPT_ON_LOAD, CableClub_OnLoad
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, CableClub_OnTransition
|
||||
.byte 0
|
||||
|
||||
@ The below 3 are unused and leftover from RS
|
||||
DewfordTown_PokemonCenter_2F_EventScript_Colosseum::
|
||||
call CableClub_EventScript_Colosseum
|
||||
end
|
||||
|
||||
DewfordTown_PokemonCenter_2F_EventScript_TradeCenter::
|
||||
call CableClub_EventScript_TradeCenter
|
||||
end
|
||||
|
||||
DewfordTown_PokemonCenter_2F_EventScript_RecordCorner::
|
||||
call CableClub_EventScript_RecordCorner
|
||||
end
|
||||
|
Reference in New Issue
Block a user