Add local object event ids for referenced objects

This commit is contained in:
GriffinR
2020-06-21 01:56:57 -04:00
parent 46f4a4bbf7
commit fac6288156
192 changed files with 2857 additions and 2205 deletions
@@ -1,10 +1,15 @@
.set LOCALID_VIVI, 1
.set LOCALID_VICTOR, 2
.set LOCALID_VICTORIA, 3
.set LOCALID_VICKY, 4
Route111_WinstrateFamilysHouse_MapScripts:: @ 822A48C
.byte 0
Route111_WinstrateFamilysHouse_EventScript_Victor:: @ 822A48D
lock
faceplayer
setvar VAR_0x8008, 2
setvar VAR_0x8008, LOCALID_VICTOR
msgbox Route111_WinstrateFamilysHouse_Text_MySonIsStrongerThanYou, MSGBOX_DEFAULT
goto Route111_WinstrateFamilysHouse_EventScript_FaceOriginalDirection
end
@@ -12,7 +17,7 @@ Route111_WinstrateFamilysHouse_EventScript_Victor:: @ 822A48D
Route111_WinstrateFamilysHouse_EventScript_Victoria:: @ 822A4A2
lock
faceplayer
setvar VAR_0x8008, 3
setvar VAR_0x8008, LOCALID_VICTORIA
goto_if_set FLAG_RECEIVED_MACHO_BRACE, Route111_WinstrateFamilysHouse_EventScript_ReceivedMachoBrace
msgbox Route111_WinstrateFamilysHouse_Text_LikeYouToHaveMachoBrace, MSGBOX_DEFAULT
giveitem ITEM_MACHO_BRACE
@@ -30,7 +35,7 @@ Route111_WinstrateFamilysHouse_EventScript_ReceivedMachoBrace:: @ 822A4DA
Route111_WinstrateFamilysHouse_EventScript_Vivi:: @ 822A4E8
lock
faceplayer
setvar VAR_0x8008, 1
setvar VAR_0x8008, LOCALID_VIVI
msgbox Route111_WinstrateFamilysHouse_Text_StrongerFamilyMembers, MSGBOX_DEFAULT
goto Route111_WinstrateFamilysHouse_EventScript_FaceOriginalDirection
end
@@ -38,7 +43,7 @@ Route111_WinstrateFamilysHouse_EventScript_Vivi:: @ 822A4E8
Route111_WinstrateFamilysHouse_EventScript_Vicky:: @ 822A4FD
lock
faceplayer
setvar VAR_0x8008, 4
setvar VAR_0x8008, LOCALID_VICKY
goto_if_set FLAG_TEMP_4, Route111_WinstrateFamilysHouse_EventScript_AlreadySpokenTo
msgbox Route111_WinstrateFamilysHouse_Text_GrandsonStrong, MSGBOX_DEFAULT
setflag FLAG_TEMP_4