From 9b6469a7a3876334e0235202c417c7f1735f18ee Mon Sep 17 00:00:00 2001 From: SatoMew Date: Sat, 10 Apr 2021 18:43:10 +0100 Subject: Fix Record Corner labels --- data/maps/RecordCenter/map.json | 101 ------------------------------------- data/maps/RecordCenter/scripts.inc | 2 - data/maps/RecordCorner/map.json | 101 +++++++++++++++++++++++++++++++++++++ data/maps/RecordCorner/scripts.inc | 2 + data/maps/map_groups.json | 2 +- 5 files changed, 104 insertions(+), 104 deletions(-) delete mode 100644 data/maps/RecordCenter/map.json delete mode 100644 data/maps/RecordCenter/scripts.inc create mode 100644 data/maps/RecordCorner/map.json create mode 100644 data/maps/RecordCorner/scripts.inc (limited to 'data/maps') diff --git a/data/maps/RecordCenter/map.json b/data/maps/RecordCenter/map.json deleted file mode 100644 index 710a91832..000000000 --- a/data/maps/RecordCenter/map.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "id": "MAP_RECORD_CENTER", - "name": "RecordCenter", - "layout": "LAYOUT_RECORD_CENTER", - "music": "MUS_POKE_CENTER", - "region_map_section": "MAPSEC_SPECIAL_AREA", - "requires_flash": false, - "weather": "WEATHER_NONE", - "map_type": "MAP_TYPE_INDOOR", - "allow_cycling": false, - "allow_escaping": false, - "allow_running": false, - "show_map_name": false, - "floor_number": 0, - "battle_scene": "MAP_BATTLE_SCENE_NORMAL", - "connections": null, - "object_events": [ - { - "graphics_id": "OBJ_EVENT_GFX_UNION_ROOM_RECEPTIONIST", - "x": 10, - "y": 5, - "elevation": 0, - "movement_type": "MOVEMENT_TYPE_FACE_DOWN", - "movement_range_x": 0, - "movement_range_y": 0, - "trainer_type": "TRAINER_TYPE_NONE", - "trainer_sight_or_berry_tree_id": "0", - "script": "RecordCenter_EventScript_Attendant", - "flag": "0" - } - ], - "warp_events": [ - { - "x": 8, - "y": 9, - "elevation": 3, - "dest_map": "MAP_NONE", - "dest_warp_id": 127 - }, - { - "x": 9, - "y": 9, - "elevation": 3, - "dest_map": "MAP_NONE", - "dest_warp_id": 127 - }, - { - "x": 11, - "y": 9, - "elevation": 3, - "dest_map": "MAP_NONE", - "dest_warp_id": 127 - }, - { - "x": 10, - "y": 9, - "elevation": 3, - "dest_map": "MAP_NONE", - "dest_warp_id": 127 - } - ], - "coord_events": [ - { - "type": "trigger", - "x": 6, - "y": 4, - "elevation": 3, - "var": "VAR_TEMP_0", - "var_value": "0", - "script": "RecordCenter_EventScript_Spot0" - }, - { - "type": "trigger", - "x": 6, - "y": 6, - "elevation": 3, - "var": "VAR_TEMP_0", - "var_value": "0", - "script": "RecordCenter_EventScript_Spot1" - }, - { - "type": "trigger", - "x": 13, - "y": 4, - "elevation": 3, - "var": "VAR_TEMP_0", - "var_value": "0", - "script": "RecordCenter_EventScript_Spot2" - }, - { - "type": "trigger", - "x": 13, - "y": 6, - "elevation": 3, - "var": "VAR_TEMP_0", - "var_value": "0", - "script": "RecordCenter_EventScript_Spot3" - } - ], - "bg_events": [] -} diff --git a/data/maps/RecordCenter/scripts.inc b/data/maps/RecordCenter/scripts.inc deleted file mode 100644 index 873fc2826..000000000 --- a/data/maps/RecordCenter/scripts.inc +++ /dev/null @@ -1,2 +0,0 @@ -RecordCenter_MapScripts:: @ 816047A - .byte 0 diff --git a/data/maps/RecordCorner/map.json b/data/maps/RecordCorner/map.json new file mode 100644 index 000000000..67d6be4a5 --- /dev/null +++ b/data/maps/RecordCorner/map.json @@ -0,0 +1,101 @@ +{ + "id": "MAP_RECORD_CORNER", + "name": "RecordCorner", + "layout": "LAYOUT_RECORD_CORNER", + "music": "MUS_POKE_CENTER", + "region_map_section": "MAPSEC_SPECIAL_AREA", + "requires_flash": false, + "weather": "WEATHER_NONE", + "map_type": "MAP_TYPE_INDOOR", + "allow_cycling": false, + "allow_escaping": false, + "allow_running": false, + "show_map_name": false, + "floor_number": 0, + "battle_scene": "MAP_BATTLE_SCENE_NORMAL", + "connections": null, + "object_events": [ + { + "graphics_id": "OBJ_EVENT_GFX_UNION_ROOM_RECEPTIONIST", + "x": 10, + "y": 5, + "elevation": 0, + "movement_type": "MOVEMENT_TYPE_FACE_DOWN", + "movement_range_x": 0, + "movement_range_y": 0, + "trainer_type": "TRAINER_TYPE_NONE", + "trainer_sight_or_berry_tree_id": "0", + "script": "RecordCorner_EventScript_Attendant", + "flag": "0" + } + ], + "warp_events": [ + { + "x": 8, + "y": 9, + "elevation": 3, + "dest_map": "MAP_NONE", + "dest_warp_id": 127 + }, + { + "x": 9, + "y": 9, + "elevation": 3, + "dest_map": "MAP_NONE", + "dest_warp_id": 127 + }, + { + "x": 11, + "y": 9, + "elevation": 3, + "dest_map": "MAP_NONE", + "dest_warp_id": 127 + }, + { + "x": 10, + "y": 9, + "elevation": 3, + "dest_map": "MAP_NONE", + "dest_warp_id": 127 + } + ], + "coord_events": [ + { + "type": "trigger", + "x": 6, + "y": 4, + "elevation": 3, + "var": "VAR_TEMP_0", + "var_value": "0", + "script": "RecordCorner_EventScript_Spot0" + }, + { + "type": "trigger", + "x": 6, + "y": 6, + "elevation": 3, + "var": "VAR_TEMP_0", + "var_value": "0", + "script": "RecordCorner_EventScript_Spot1" + }, + { + "type": "trigger", + "x": 13, + "y": 4, + "elevation": 3, + "var": "VAR_TEMP_0", + "var_value": "0", + "script": "RecordCorner_EventScript_Spot2" + }, + { + "type": "trigger", + "x": 13, + "y": 6, + "elevation": 3, + "var": "VAR_TEMP_0", + "var_value": "0", + "script": "RecordCorner_EventScript_Spot3" + } + ], + "bg_events": [] +} diff --git a/data/maps/RecordCorner/scripts.inc b/data/maps/RecordCorner/scripts.inc new file mode 100644 index 000000000..979b17ac2 --- /dev/null +++ b/data/maps/RecordCorner/scripts.inc @@ -0,0 +1,2 @@ +RecordCorner_MapScripts:: @ 816047A + .byte 0 diff --git a/data/maps/map_groups.json b/data/maps/map_groups.json index a7a468351..e8a346f5a 100644 --- a/data/maps/map_groups.json +++ b/data/maps/map_groups.json @@ -47,7 +47,7 @@ "gMapGroup0": [ "BattleColosseum_2P", "TradeCenter", - "RecordCenter", + "RecordCorner", "BattleColosseum_4P", "UnionRoom" ], -- cgit v1.2.3