Move local IDs to map.json

This commit is contained in:
GriffinR
2024-10-14 23:10:37 -04:00
parent 4dc5c47799
commit 50babdb07f
192 changed files with 863 additions and 891 deletions
@@ -16,6 +16,7 @@
"connections": null,
"object_events": [
{
"local_id": "LOCALID_BERRY_FOREST_LOSTELLE",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_LITTLE_GIRL",
"x": 4,
@@ -1,5 +1,3 @@
.set LOCALID_LOSTELLE, 1
ThreeIsland_BerryForest_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, ThreeIsland_BerryForest_OnTransition
.byte 0
@@ -14,9 +12,9 @@ ThreeIsland_BerryForest_EventScript_Lostelle::
faceplayer
msgbox ThreeIsland_BerryForest_Text_HelpScaryPokemon
playse SE_PIN
applymovement LOCALID_LOSTELLE, Common_Movement_ExclamationMark
applymovement LOCALID_BERRY_FOREST_LOSTELLE, Common_Movement_ExclamationMark
waitmovement 0
applymovement LOCALID_LOSTELLE, ThreeIsland_BerryForest_Movement_LostelleLookAround
applymovement LOCALID_BERRY_FOREST_LOSTELLE, ThreeIsland_BerryForest_Movement_LostelleLookAround
waitmovement 0
msgbox ThreeIsland_BerryForest_Text_HereItComesAgain
goto_if_questlog EventScript_ReleaseEnd
@@ -26,7 +24,7 @@ ThreeIsland_BerryForest_EventScript_Lostelle::
setwildbattle SPECIES_HYPNO, 30
dowildbattle
special QuestLog_CutRecording
applymovement LOCALID_LOSTELLE, Common_Movement_FacePlayer
applymovement LOCALID_BERRY_FOREST_LOSTELLE, Common_Movement_FacePlayer
waitmovement 0
msgbox ThreeIsland_BerryForest_Text_ThankYouHaveThis
giveitem ITEM_IAPAPA_BERRY