import from github
This commit is contained in:
108
data/maps/MauvilleCity_PokemonCenter_2F/map.json
Normal file
108
data/maps/MauvilleCity_PokemonCenter_2F/map.json
Normal file
@ -0,0 +1,108 @@
|
||||
{
|
||||
"id": "MAP_MAUVILLE_CITY_POKEMON_CENTER_2F",
|
||||
"name": "MauvilleCity_PokemonCenter_2F",
|
||||
"layout": "LAYOUT_POKEMON_CENTER_2F",
|
||||
"music": "MUS_POKE_CENTER",
|
||||
"region_map_section": "MAPSEC_MAUVILLE_CITY",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_YOUNGSTER",
|
||||
"x": 8,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_UP",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "MauvilleCity_PokemonCenter_2F_EventScript_Youngster",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 1,
|
||||
"y": 6,
|
||||
"elevation": 4,
|
||||
"dest_map": "MAP_MAUVILLE_CITY_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": []
|
||||
}
|
32
data/maps/MauvilleCity_PokemonCenter_2F/scripts.inc
Normal file
32
data/maps/MauvilleCity_PokemonCenter_2F/scripts.inc
Normal file
@ -0,0 +1,32 @@
|
||||
MauvilleCity_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
|
||||
MauvilleCity_PokemonCenter_2F_EventScript_Colosseum::
|
||||
call CableClub_EventScript_Colosseum
|
||||
end
|
||||
|
||||
MauvilleCity_PokemonCenter_2F_EventScript_TradeCenter::
|
||||
call CableClub_EventScript_TradeCenter
|
||||
end
|
||||
|
||||
MauvilleCity_PokemonCenter_2F_EventScript_RecordCorner::
|
||||
call CableClub_EventScript_RecordCorner
|
||||
end
|
||||
|
||||
MauvilleCity_PokemonCenter_2F_EventScript_Youngster::
|
||||
msgbox MauvilleCity_PokemonCenter_2F_Text_Youngster, MSGBOX_NPC
|
||||
end
|
||||
|
||||
MauvilleCity_PokemonCenter_2F_Text_Youngster:
|
||||
.string "Did you know that you can link battle\n"
|
||||
.string "at the COLOSSEUM here?\p"
|
||||
.string "They put up your record on the wall\n"
|
||||
.string "for everyone to see.\p"
|
||||
.string "It's embarrassing if you lose more\n"
|
||||
.string "often than you win…$"
|
||||
|
Reference in New Issue
Block a user