mirror of
https://github.com/pret/pokeemerald.git
synced 2026-08-28 05:31:11 -05:00
72 lines
2.4 KiB
C++
72 lines
2.4 KiB
C++
Route111_WinstrateFamilysHouse_MapScripts::
|
|
.byte 0
|
|
|
|
Route111_WinstrateFamilysHouse_EventScript_Victor::
|
|
lock
|
|
faceplayer
|
|
setvar VAR_0x8008, LOCALID_WINSTRATE_HOUSE_VICTOR
|
|
msgbox Route111_WinstrateFamilysHouse_Text_MySonIsStrongerThanYou, MSGBOX_DEFAULT
|
|
goto Route111_WinstrateFamilysHouse_EventScript_FaceOriginalDirection
|
|
end
|
|
|
|
Route111_WinstrateFamilysHouse_EventScript_Victoria::
|
|
lock
|
|
faceplayer
|
|
setvar VAR_0x8008, LOCALID_WINSTRATE_HOUSE_VICTORIA
|
|
goto_if_set FLAG_RECEIVED_MACHO_BRACE, Route111_WinstrateFamilysHouse_EventScript_ReceivedMachoBrace
|
|
msgbox Route111_WinstrateFamilysHouse_Text_LikeYouToHaveMachoBrace, MSGBOX_DEFAULT
|
|
giveitem ITEM_MACHO_BRACE
|
|
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
|
setflag FLAG_RECEIVED_MACHO_BRACE
|
|
goto Route111_WinstrateFamilysHouse_EventScript_FaceOriginalDirection
|
|
end
|
|
|
|
Route111_WinstrateFamilysHouse_EventScript_ReceivedMachoBrace::
|
|
msgbox Route111_WinstrateFamilysHouse_Text_PassionateAboutBattles, MSGBOX_DEFAULT
|
|
goto Route111_WinstrateFamilysHouse_EventScript_FaceOriginalDirection
|
|
end
|
|
|
|
Route111_WinstrateFamilysHouse_EventScript_Vivi::
|
|
lock
|
|
faceplayer
|
|
setvar VAR_0x8008, LOCALID_WINSTRATE_HOUSE_VIVI
|
|
msgbox Route111_WinstrateFamilysHouse_Text_StrongerFamilyMembers, MSGBOX_DEFAULT
|
|
goto Route111_WinstrateFamilysHouse_EventScript_FaceOriginalDirection
|
|
end
|
|
|
|
Route111_WinstrateFamilysHouse_EventScript_Vicky::
|
|
lock
|
|
faceplayer
|
|
setvar VAR_0x8008, LOCALID_WINSTRATE_HOUSE_VICKY
|
|
goto_if_set FLAG_TEMP_4, Route111_WinstrateFamilysHouse_EventScript_AlreadySpokenTo
|
|
msgbox Route111_WinstrateFamilysHouse_Text_GrandsonStrong, MSGBOX_DEFAULT
|
|
setflag FLAG_TEMP_4
|
|
goto Route111_WinstrateFamilysHouse_EventScript_FaceOriginalDirection
|
|
end
|
|
|
|
Route111_WinstrateFamilysHouse_EventScript_AlreadySpokenTo::
|
|
msgbox Route111_WinstrateFamilysHouse_Text_GrandsonStrongShort, MSGBOX_DEFAULT
|
|
goto Route111_WinstrateFamilysHouse_EventScript_FaceOriginalDirection
|
|
end
|
|
|
|
Route111_WinstrateFamilysHouse_EventScript_FaceOriginalDirection::
|
|
closemessage
|
|
applymovement VAR_0x8008, Common_Movement_FaceOriginalDirection
|
|
waitmovement 0
|
|
release
|
|
end
|
|
|
|
.ifdef FRENCH
|
|
.include "data/maps/Route111_WinstrateFamilysHouse/text_fr.inc"
|
|
.else
|
|
.ifdef ITALIAN
|
|
.include "data/maps/Route111_WinstrateFamilysHouse/text_it.inc"
|
|
.else
|
|
.ifdef SPANISH
|
|
.include "data/maps/Route111_WinstrateFamilysHouse/text_es.inc"
|
|
.else
|
|
.include "data/maps/Route111_WinstrateFamilysHouse/text.inc"
|
|
.endif
|
|
.endif
|
|
.endif
|