Use LOCALID constants for clone's target_local_id

This commit is contained in:
GriffinR
2024-10-16 15:27:53 -04:00
parent b1d92b79b6
commit 94b8dc79de
16 changed files with 18 additions and 9 deletions
+2 -1
View File
@@ -155,6 +155,7 @@
"flag": "0" "flag": "0"
}, },
{ {
"local_id": "LOCALID_CELADON_BORDER_TREE",
"type": "object", "type": "object",
"graphics_id": "OBJ_EVENT_GFX_CUT_TREE", "graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": 52, "x": 52,
@@ -201,7 +202,7 @@
"graphics_id": "OBJ_EVENT_GFX_CUT_TREE", "graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": -7, "x": -7,
"y": 21, "y": 21,
"target_local_id": 7, "target_local_id": "LOCALID_ROUTE16_CUT_TREE",
"target_map": "MAP_ROUTE16" "target_map": "MAP_ROUTE16"
}, },
{ {
+2 -1
View File
@@ -172,7 +172,7 @@
"graphics_id": "OBJ_EVENT_GFX_CUT_TREE", "graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": 50, "x": 50,
"y": 18, "y": 18,
"target_local_id": 10, "target_local_id": "LOCALID_ROUTE9_CUT_TREE",
"target_map": "MAP_ROUTE9" "target_map": "MAP_ROUTE9"
}, },
{ {
@@ -191,6 +191,7 @@
"flag": "0" "flag": "0"
}, },
{ {
"local_id": "LOCALID_CERULEAN_CAVE_GUARD",
"type": "object", "type": "object",
"graphics_id": "OBJ_EVENT_GFX_COOLTRAINER_M", "graphics_id": "OBJ_EVENT_GFX_COOLTRAINER_M",
"x": 1, "x": 1,
+1 -1
View File
@@ -59,7 +59,7 @@
"graphics_id": "OBJ_EVENT_GFX_CUT_TREE", "graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": 32, "x": 32,
"y": 9, "y": 9,
"target_local_id": 4, "target_local_id": "LOCALID_FIVE_ISLAND_MEADOW_BORDER_TREE",
"target_map": "MAP_FIVE_ISLAND_MEADOW" "target_map": "MAP_FIVE_ISLAND_MEADOW"
} }
], ],
+1
View File
@@ -69,6 +69,7 @@
"flag": "FLAG_HIDE_FIVE_ISLAND_ROCKETS" "flag": "FLAG_HIDE_FIVE_ISLAND_ROCKETS"
}, },
{ {
"local_id": "LOCALID_FIVE_ISLAND_MEADOW_BORDER_TREE",
"type": "object", "type": "object",
"graphics_id": "OBJ_EVENT_GFX_CUT_TREE", "graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": 8, "x": 8,
+1
View File
@@ -42,6 +42,7 @@
"flag": "0" "flag": "0"
}, },
{ {
"local_id": "LOCALID_PALLET_FAT_MAN",
"type": "object", "type": "object",
"graphics_id": "OBJ_EVENT_GFX_FAT_MAN", "graphics_id": "OBJ_EVENT_GFX_FAT_MAN",
"x": 13, "x": 13,
+1
View File
@@ -195,6 +195,7 @@
"flag": "FLAG_TEMP_13" "flag": "FLAG_TEMP_13"
}, },
{ {
"local_id": "LOCALID_ROUTE14_BORDER_TREE",
"type": "object", "type": "object",
"graphics_id": "OBJ_EVENT_GFX_CUT_TREE", "graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": 1, "x": 1,
+1 -1
View File
@@ -213,7 +213,7 @@
"graphics_id": "OBJ_EVENT_GFX_CUT_TREE", "graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": 73, "x": 73,
"y": 7, "y": 7,
"target_local_id": 13, "target_local_id": "LOCALID_ROUTE14_BORDER_TREE",
"target_map": "MAP_ROUTE14" "target_map": "MAP_ROUTE14"
} }
], ],
+1
View File
@@ -111,6 +111,7 @@
"flag": "0" "flag": "0"
}, },
{ {
"local_id": "LOCALID_ROUTE16_CUT_TREE",
"type": "object", "type": "object",
"graphics_id": "OBJ_EVENT_GFX_CUT_TREE", "graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": 41, "x": 41,
+1 -1
View File
@@ -115,7 +115,7 @@
"graphics_id": "OBJ_EVENT_GFX_CUT_TREE", "graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": 6, "x": 6,
"y": 85, "y": 85,
"target_local_id": 8, "target_local_id": "LOCALID_VIRIDIAN_BORDER_TREE",
"target_map": "MAP_VIRIDIAN_CITY" "target_map": "MAP_VIRIDIAN_CITY"
} }
], ],
+1 -1
View File
@@ -101,7 +101,7 @@
"graphics_id": "OBJ_EVENT_GFX_FAT_MAN", "graphics_id": "OBJ_EVENT_GFX_FAT_MAN",
"x": 13, "x": 13,
"y": -3, "y": -3,
"target_local_id": 2, "target_local_id": "LOCALID_PALLET_FAT_MAN",
"target_map": "MAP_PALLET_TOWN" "target_map": "MAP_PALLET_TOWN"
} }
], ],
+1 -1
View File
@@ -115,7 +115,7 @@
"graphics_id": "OBJ_EVENT_GFX_COOLTRAINER_M", "graphics_id": "OBJ_EVENT_GFX_COOLTRAINER_M",
"x": 109, "x": 109,
"y": 3, "y": 3,
"target_local_id": 12, "target_local_id": "LOCALID_CERULEAN_CAVE_GUARD",
"target_map": "MAP_CERULEAN_CITY" "target_map": "MAP_CERULEAN_CITY"
} }
], ],
+1 -1
View File
@@ -31,7 +31,7 @@
"graphics_id": "OBJ_EVENT_GFX_CUT_TREE", "graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": -8, "x": -8,
"y": 12, "y": 12,
"target_local_id": 10, "target_local_id": "LOCALID_CELADON_BORDER_TREE",
"target_map": "MAP_CELADON_CITY" "target_map": "MAP_CELADON_CITY"
} }
], ],
+1
View File
@@ -153,6 +153,7 @@
"flag": "0" "flag": "0"
}, },
{ {
"local_id": "LOCALID_ROUTE9_CUT_TREE",
"type": "object", "type": "object",
"graphics_id": "OBJ_EVENT_GFX_CUT_TREE", "graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": 2, "x": 2,
+1
View File
@@ -27,6 +27,7 @@
], ],
"object_events": [ "object_events": [
{ {
"local_id": "LOCALID_SWORDS_DANCE_TUTOR",
"type": "object", "type": "object",
"graphics_id": "OBJ_EVENT_GFX_COOLTRAINER_M", "graphics_id": "OBJ_EVENT_GFX_COOLTRAINER_M",
"x": 7, "x": 7,
@@ -115,7 +115,7 @@
"graphics_id": "OBJ_EVENT_GFX_COOLTRAINER_M", "graphics_id": "OBJ_EVENT_GFX_COOLTRAINER_M",
"x": 7, "x": 7,
"y": -2, "y": -2,
"target_local_id": 1, "target_local_id": "LOCALID_SWORDS_DANCE_TUTOR",
"target_map": "MAP_SEVEN_ISLAND" "target_map": "MAP_SEVEN_ISLAND"
} }
], ],
+1
View File
@@ -133,6 +133,7 @@
"flag": "0" "flag": "0"
}, },
{ {
"local_id": "LOCALID_VIRIDIAN_BORDER_TREE",
"type": "object", "type": "object",
"graphics_id": "OBJ_EVENT_GFX_CUT_TREE", "graphics_id": "OBJ_EVENT_GFX_CUT_TREE",
"x": 18, "x": 18,