Files
2025-06-11 09:45:39 -04:00

77 lines
1.9 KiB
ObjectPascal

VerdanturfTown_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, VerdanturfTown_OnTransition
.byte 0
VerdanturfTown_OnTransition:
setflag FLAG_VISITED_VERDANTURF_TOWN
setvar VAR_CONTEST_HALL_STATE, 0
end
VerdanturfTown_EventScript_Twin::
lock
faceplayer
goto_if_set FLAG_RUSTURF_TUNNEL_OPENED, VerdanturfTown_EventScript_TwinTunnelOpen
msgbox VerdanturfTown_Text_ManTryingToDigTunnel, MSGBOX_DEFAULT
applymovement LOCALID_VERDANTURF_TWIN, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
VerdanturfTown_EventScript_TwinTunnelOpen::
msgbox VerdanturfTown_Text_ManDugTunnelForLove, MSGBOX_DEFAULT
applymovement LOCALID_VERDANTURF_TWIN, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
VerdanturfTown_EventScript_Man::
msgbox VerdanturfTown_Text_AirCleanHere, MSGBOX_NPC
end
VerdanturfTown_EventScript_Camper::
msgbox VerdanturfTown_Text_MakeBattleTentDebut, MSGBOX_NPC
end
VerdanturfTown_EventScript_Boy::
lock
faceplayer
goto_if_set FLAG_RUSTURF_TUNNEL_OPENED, VerdanturfTown_EventScript_BoyTunnelOpen
msgbox VerdanturfTown_Text_GuyTryingToBustThroughCave, MSGBOX_DEFAULT
release
end
VerdanturfTown_EventScript_BoyTunnelOpen::
msgbox VerdanturfTown_Text_EasyToGetToRustboroNow, MSGBOX_DEFAULT
release
end
VerdanturfTown_EventScript_TownSign::
msgbox VerdanturfTown_Text_TownSign, MSGBOX_SIGN
end
VerdanturfTown_EventScript_WandasHouseSign::
msgbox VerdanturfTown_Text_WandasHouse, MSGBOX_SIGN
end
VerdanturfTown_EventScript_BattleTentSign::
msgbox VerdanturfTown_Text_BattleTentSign, MSGBOX_SIGN
end
VerdanturfTown_EventScript_RusturfTunnelSign::
msgbox VerdanturfTown_Text_RusturfTunnelSign, MSGBOX_SIGN
end
.ifdef FRENCH
.include "data/maps/VerdanturfTown/text_fr.inc"
.else
.ifdef ITALIAN
.include "data/maps/VerdanturfTown/text_it.inc"
.else
.ifdef SPANISH
.include "data/maps/VerdanturfTown/text_es.inc"
.else
.include "data/maps/VerdanturfTown/text.inc"
.endif
.endif
.endif