Skip to content

Commit

Permalink
Use LOCALID constants for clone's target_local_id
Browse files Browse the repository at this point in the history
  • Loading branch information
GriffinRichards committed Oct 16, 2024
1 parent b1d92b7 commit 94b8dc7
Show file tree
Hide file tree
Showing 16 changed files with 18 additions and 9 deletions.
3 changes: 2 additions & 1 deletion data/maps/CeladonCity/map.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@
"flag": "0"
},
{
"local_id": "LOCALID_CELADON_BORDER_TREE",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": 52,
Expand Down Expand Up @@ -201,7 +202,7 @@
"graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": -7,
"y": 21,
"target_local_id": 7,
"target_local_id": "LOCALID_ROUTE16_CUT_TREE",
"target_map": "MAP_ROUTE16"
},
{
Expand Down
3 changes: 2 additions & 1 deletion data/maps/CeruleanCity/map.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
"graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": 50,
"y": 18,
"target_local_id": 10,
"target_local_id": "LOCALID_ROUTE9_CUT_TREE",
"target_map": "MAP_ROUTE9"
},
{
Expand All @@ -191,6 +191,7 @@
"flag": "0"
},
{
"local_id": "LOCALID_CERULEAN_CAVE_GUARD",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_COOLTRAINER_M",
"x": 1,
Expand Down
2 changes: 1 addition & 1 deletion data/maps/FiveIsland/map.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": 32,
"y": 9,
"target_local_id": 4,
"target_local_id": "LOCALID_FIVE_ISLAND_MEADOW_BORDER_TREE",
"target_map": "MAP_FIVE_ISLAND_MEADOW"
}
],
Expand Down
1 change: 1 addition & 0 deletions data/maps/FiveIsland_Meadow/map.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"flag": "FLAG_HIDE_FIVE_ISLAND_ROCKETS"
},
{
"local_id": "LOCALID_FIVE_ISLAND_MEADOW_BORDER_TREE",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": 8,
Expand Down
1 change: 1 addition & 0 deletions data/maps/PalletTown/map.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"flag": "0"
},
{
"local_id": "LOCALID_PALLET_FAT_MAN",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_FAT_MAN",
"x": 13,
Expand Down
1 change: 1 addition & 0 deletions data/maps/Route14/map.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@
"flag": "FLAG_TEMP_13"
},
{
"local_id": "LOCALID_ROUTE14_BORDER_TREE",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": 1,
Expand Down
2 changes: 1 addition & 1 deletion data/maps/Route15/map.json
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
"graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": 73,
"y": 7,
"target_local_id": 13,
"target_local_id": "LOCALID_ROUTE14_BORDER_TREE",
"target_map": "MAP_ROUTE14"
}
],
Expand Down
1 change: 1 addition & 0 deletions data/maps/Route16/map.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
"flag": "0"
},
{
"local_id": "LOCALID_ROUTE16_CUT_TREE",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": 41,
Expand Down
2 changes: 1 addition & 1 deletion data/maps/Route2/map.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
"graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": 6,
"y": 85,
"target_local_id": 8,
"target_local_id": "LOCALID_VIRIDIAN_BORDER_TREE",
"target_map": "MAP_VIRIDIAN_CITY"
}
],
Expand Down
2 changes: 1 addition & 1 deletion data/maps/Route21_North/map.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"graphics_id": "OBJ_EVENT_GFX_FAT_MAN",
"x": 13,
"y": -3,
"target_local_id": 2,
"target_local_id": "LOCALID_PALLET_FAT_MAN",
"target_map": "MAP_PALLET_TOWN"
}
],
Expand Down
2 changes: 1 addition & 1 deletion data/maps/Route4/map.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
"graphics_id": "OBJ_EVENT_GFX_COOLTRAINER_M",
"x": 109,
"y": 3,
"target_local_id": 12,
"target_local_id": "LOCALID_CERULEAN_CAVE_GUARD",
"target_map": "MAP_CERULEAN_CITY"
}
],
Expand Down
2 changes: 1 addition & 1 deletion data/maps/Route7/map.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": -8,
"y": 12,
"target_local_id": 10,
"target_local_id": "LOCALID_CELADON_BORDER_TREE",
"target_map": "MAP_CELADON_CITY"
}
],
Expand Down
1 change: 1 addition & 0 deletions data/maps/Route9/map.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@
"flag": "0"
},
{
"local_id": "LOCALID_ROUTE9_CUT_TREE",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": 2,
Expand Down
1 change: 1 addition & 0 deletions data/maps/SevenIsland/map.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
],
"object_events": [
{
"local_id": "LOCALID_SWORDS_DANCE_TUTOR",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_COOLTRAINER_M",
"x": 7,
Expand Down
2 changes: 1 addition & 1 deletion data/maps/SevenIsland_SevaultCanyon_Entrance/map.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
"graphics_id": "OBJ_EVENT_GFX_COOLTRAINER_M",
"x": 7,
"y": -2,
"target_local_id": 1,
"target_local_id": "LOCALID_SWORDS_DANCE_TUTOR",
"target_map": "MAP_SEVEN_ISLAND"
}
],
Expand Down
1 change: 1 addition & 0 deletions data/maps/ViridianCity/map.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@
"flag": "0"
},
{
"local_id": "LOCALID_VIRIDIAN_BORDER_TREE",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": 18,
Expand Down

0 comments on commit 94b8dc7

Please sign in to comment.