mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-29 13:50:42 +01:00
813 lines
20 KiB
PHP
813 lines
20 KiB
PHP
@ Sailing to and from Dewford uses local IDs from different maps
|
|
@ e.g. Route 104's sail to Dewford script references local IDs from Dewford's map
|
|
@ All of these local IDs are labeled here
|
|
.equ LOCALID_BRINEY_DEWFORD, 2
|
|
.equ LOCALID_BOAT_DEWFORD, 4
|
|
|
|
.equ LOCALID_BOAT_R109, 1
|
|
.equ LOCALID_BRINEY_R109, 2
|
|
|
|
.equ LOCALID_BOAT_R104, 7
|
|
.equ LOCALID_BRINEY_R104, 8
|
|
|
|
DewfordTown_MapScripts::
|
|
map_script MAP_SCRIPT_ON_TRANSITION, DewfordTown_OnTransition
|
|
.byte 0
|
|
|
|
DewfordTown_OnTransition:
|
|
setflag FLAG_VISITED_DEWFORD_TOWN
|
|
end
|
|
|
|
DewfordTown_EventScript_Briney::
|
|
lock
|
|
faceplayer
|
|
goto_if_unset FLAG_DELIVERED_STEVEN_LETTER, DewfordTown_EventScript_ReturnToPetalburgPrompt
|
|
message DewfordTown_Text_WhereAreWeBound
|
|
waitmessage
|
|
multichoicedefault 21, 6, MULTI_BRINEY_ON_DEWFORD, 2, FALSE
|
|
switch VAR_RESULT
|
|
case 0, DewfordTown_EventScript_ChoosePetalburg
|
|
case 1, DewfordTown_EventScript_ChooseSlateport
|
|
case 2, DewfordTown_EventScript_CancelSailSelect
|
|
case MULTI_B_PRESSED, DewfordTown_EventScript_CancelSailSelect
|
|
end
|
|
|
|
DewfordTown_EventScript_ChoosePetalburg::
|
|
msgbox DewfordTown_Text_PetalburgWereSettingSail, MSGBOX_DEFAULT
|
|
closemessage
|
|
goto DewfordTown_EventScript_SailToPetalburg
|
|
release
|
|
end
|
|
|
|
DewfordTown_EventScript_ChooseSlateport::
|
|
msgbox DewfordTown_Text_SlateportWereSettingSail, MSGBOX_DEFAULT
|
|
closemessage
|
|
goto DewfordTown_EventScript_SailToSlateport
|
|
release
|
|
end
|
|
|
|
DewfordTown_EventScript_CancelSailSelect::
|
|
msgbox DewfordTown_Text_JustTellMeWhenYouNeedToSetSail, MSGBOX_DEFAULT
|
|
closemessage
|
|
release
|
|
end
|
|
|
|
DewfordTown_EventScript_ReturnToPetalburgPrompt::
|
|
msgbox DewfordTown_Text_SetSailBackToPetalburg, MSGBOX_YESNO
|
|
compare VAR_RESULT, YES
|
|
goto_if_eq DewfordTown_EventScript_SailBackToPetalburg
|
|
msgbox DewfordTown_Text_GoDeliverIllBeWaiting, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
DewfordTown_EventScript_SailBackToPetalburg::
|
|
msgbox DewfordTown_Text_PetalburgWereSettingSail2, MSGBOX_DEFAULT
|
|
closemessage
|
|
goto DewfordTown_EventScript_SailToPetalburg
|
|
end
|
|
|
|
DewfordTown_EventScript_Woman::
|
|
msgbox DewfordTown_Text_TinyIslandCommunity, MSGBOX_NPC
|
|
end
|
|
|
|
DewfordTown_EventScript_TownSign::
|
|
msgbox DewfordTown_Text_TownSign, MSGBOX_SIGN
|
|
end
|
|
|
|
DewfordTown_EventScript_GymSign::
|
|
msgbox DewfordTown_Text_GymSign, MSGBOX_SIGN
|
|
end
|
|
|
|
DewfordTown_EventScript_HallSign::
|
|
msgbox DewfordTown_Text_HallSign, MSGBOX_SIGN
|
|
end
|
|
|
|
DewfordTown_EventScript_OldRodFisherman::
|
|
lock
|
|
faceplayer
|
|
goto_if_set FLAG_RECEIVED_OLD_ROD, DewfordTown_EventScript_HowsFishing
|
|
msgbox DewfordTown_Text_GettingItchToFish, MSGBOX_YESNO
|
|
compare VAR_RESULT, YES
|
|
goto_if_eq DewfordTown_EventScript_GiveOldRod
|
|
compare VAR_RESULT, NO
|
|
goto_if_eq DewfordTown_EventScript_NotGettingItchToFish
|
|
end
|
|
|
|
DewfordTown_EventScript_GiveOldRod::
|
|
msgbox DewfordTown_Text_GiveYouOneOfMyRods, MSGBOX_DEFAULT
|
|
giveitem ITEM_OLD_ROD
|
|
setflag FLAG_RECEIVED_OLD_ROD
|
|
msgbox DewfordTown_Text_ThrowInFishingAdvice, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
DewfordTown_EventScript_NotGettingItchToFish::
|
|
msgbox DewfordTown_Text_ThatsTooBadThen, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
DewfordTown_EventScript_HowsFishing::
|
|
message DewfordTown_Text_HowsYourFishing
|
|
waitmessage
|
|
multichoice 20, 8, MULTI_HOWS_FISHING, TRUE
|
|
compare VAR_RESULT, 0
|
|
goto_if_eq DewfordTown_EventScript_FishingExcellent
|
|
compare VAR_RESULT, 1
|
|
goto_if_eq DewfordTown_EventScript_FishingNotSoGood
|
|
end
|
|
|
|
DewfordTown_EventScript_FishingExcellent::
|
|
msgbox DewfordTown_Text_GreatHaulInSomeBigOnes, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
DewfordTown_EventScript_FishingNotSoGood::
|
|
msgbox DewfordTown_Text_FishingAdvice, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
DewfordTown_EventScript_SailToPetalburg::
|
|
call EventScript_BackupMrBrineyLocation
|
|
setobjectpriority LOCALID_BRINEY_DEWFORD, MAP_DEWFORD_TOWN, 0
|
|
setobjectpriority OBJ_EVENT_ID_PLAYER, MAP_DEWFORD_TOWN, 0
|
|
applymovement LOCALID_BRINEY_DEWFORD, DewfordTown_Movement_BrineyBoardBoat
|
|
waitmovement 0
|
|
removeobject LOCALID_BRINEY_DEWFORD
|
|
applymovement OBJ_EVENT_ID_PLAYER, DewfordTown_Movement_PlayerBoardBoat
|
|
waitmovement 0
|
|
hideobjectat OBJ_EVENT_ID_PLAYER, MAP_DEWFORD_TOWN
|
|
call Common_EventScript_PlayBrineysBoatMusic
|
|
applymovement LOCALID_BOAT_DEWFORD, DewfordTown_Movement_SailToPetalburg
|
|
applymovement OBJ_EVENT_ID_PLAYER, DewfordTown_Movement_SailToPetalburg
|
|
waitmovement 0
|
|
showobjectat OBJ_EVENT_ID_PLAYER, MAP_ROUTE104
|
|
call Common_EventScript_StopBrineysBoatMusic
|
|
applymovement OBJ_EVENT_ID_PLAYER, DewfordTown_Movement_ExitBoatPetalburg
|
|
waitmovement 0
|
|
showobjectat OBJ_EVENT_ID_PLAYER, MAP_ROUTE104
|
|
clearflag FLAG_HIDE_BRINEYS_HOUSE_MR_BRINEY
|
|
clearflag FLAG_HIDE_BRINEYS_HOUSE_PEEKO
|
|
clearflag FLAG_HIDE_ROUTE_104_MR_BRINEY_BOAT
|
|
setflag FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD_TOWN
|
|
hideobjectat LOCALID_BOAT_DEWFORD, MAP_DEWFORD_TOWN
|
|
setvar VAR_BOARD_BRINEY_BOAT_STATE, 2
|
|
resetobjectpriority OBJ_EVENT_ID_PLAYER, MAP_DEWFORD_TOWN
|
|
warp MAP_ROUTE104_MR_BRINEYS_HOUSE, 255, 5, 4
|
|
copyvar VAR_BRINEY_LOCATION, VAR_0x8008
|
|
waitstate
|
|
release
|
|
end
|
|
|
|
DewfordTown_EventScript_SailToSlateport::
|
|
call EventScript_BackupMrBrineyLocation
|
|
setobjectpriority LOCALID_BRINEY_DEWFORD, MAP_DEWFORD_TOWN, 0
|
|
setobjectpriority OBJ_EVENT_ID_PLAYER, MAP_DEWFORD_TOWN, 1
|
|
applymovement LOCALID_BRINEY_DEWFORD, DewfordTown_Movement_BrineyBoardBoat
|
|
waitmovement 0
|
|
removeobject LOCALID_BRINEY_DEWFORD
|
|
applymovement OBJ_EVENT_ID_PLAYER, DewfordTown_Movement_PlayerBoardBoat
|
|
waitmovement 0
|
|
hideobjectat OBJ_EVENT_ID_PLAYER, MAP_DEWFORD_TOWN
|
|
call Common_EventScript_PlayBrineysBoatMusic
|
|
applymovement LOCALID_BOAT_DEWFORD, DewfordTown_Movement_SailToSlateport
|
|
applymovement OBJ_EVENT_ID_PLAYER, DewfordTown_Movement_SailToSlateport
|
|
waitmovement 0
|
|
call Common_EventScript_StopBrineysBoatMusic
|
|
showobjectat OBJ_EVENT_ID_PLAYER, MAP_ROUTE109
|
|
applymovement OBJ_EVENT_ID_PLAYER, DewfordTown_Movement_ExitBoatSlateport
|
|
waitmovement 0
|
|
setobjectxyperm LOCALID_BRINEY_R109, 21, 26
|
|
addobject LOCALID_BRINEY_R109
|
|
setobjectpriority LOCALID_BRINEY_R109, MAP_ROUTE109, 0
|
|
applymovement LOCALID_BRINEY_R109, DewfordTown_Movement_BrineyExitBoat
|
|
waitmovement 0
|
|
clearflag FLAG_HIDE_ROUTE_109_MR_BRINEY
|
|
addobject LOCALID_BOAT_R109
|
|
clearflag FLAG_HIDE_ROUTE_109_MR_BRINEY_BOAT
|
|
setflag FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD_TOWN
|
|
hideobjectat LOCALID_BOAT_DEWFORD, MAP_DEWFORD_TOWN
|
|
call_if_unset FLAG_DELIVERED_DEVON_GOODS, DewfordTown_EventScript_LandedSlateportDeliverGoods
|
|
call_if_set FLAG_DELIVERED_DEVON_GOODS, DewfordTown_EventScript_LandedSlateport
|
|
closemessage
|
|
copyvar VAR_BRINEY_LOCATION, VAR_0x8008
|
|
resetobjectpriority OBJ_EVENT_ID_PLAYER, MAP_DEWFORD_TOWN
|
|
resetobjectpriority LOCALID_BRINEY_R109, MAP_ROUTE109
|
|
copyobjectxytoperm LOCALID_BRINEY_R109
|
|
release
|
|
end
|
|
|
|
DewfordTown_EventScript_LandedSlateportDeliverGoods::
|
|
msgbox DewfordTown_Text_BrineyLandedInSlateportDeliverGoods, MSGBOX_DEFAULT
|
|
return
|
|
|
|
DewfordTown_EventScript_LandedSlateport::
|
|
msgbox DewfordTown_Text_BrineyLandedInSlateport, MSGBOX_DEFAULT
|
|
return
|
|
|
|
DewfordTown_Movement_SailToPetalburg:
|
|
walk_up
|
|
walk_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_up
|
|
walk_up
|
|
walk_left
|
|
walk_left
|
|
walk_fast_left
|
|
walk_fast_left
|
|
walk_fast_left
|
|
walk_fast_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fast_left
|
|
walk_fast_left
|
|
walk_fast_left
|
|
walk_fast_left
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_left
|
|
walk_fast_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fastest_left
|
|
walk_fast_left
|
|
walk_fast_left
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_up
|
|
walk_up
|
|
walk_up
|
|
walk_up
|
|
step_end
|
|
|
|
DewfordTown_Movement_SailToSlateport:
|
|
walk_right
|
|
walk_fast_right
|
|
walk_fast_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fastest_right
|
|
walk_fast_right
|
|
walk_fast_right
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fastest_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
walk_fast_up
|
|
step_end
|
|
|
|
DewfordTown_Movement_PlayerBoardBoat:
|
|
walk_right
|
|
walk_up
|
|
step_end
|
|
|
|
DewfordTown_Movement_ExitBoatPetalburg:
|
|
walk_up
|
|
walk_up
|
|
walk_up
|
|
step_end
|
|
|
|
DewfordTown_Movement_ExitBoatSlateport:
|
|
walk_up
|
|
walk_up
|
|
walk_up
|
|
walk_in_place_fastest_down
|
|
step_end
|
|
|
|
DewfordTown_Movement_BrineyBoardBoat:
|
|
walk_up
|
|
step_end
|
|
|
|
DewfordTown_Movement_BrineyExitBoat:
|
|
walk_up
|
|
walk_up
|
|
step_end
|
|
|
|
DewfordTown_EventScript_TrendyPhraseBoy::
|
|
lock
|
|
faceplayer
|
|
call Common_EventScript_BufferTrendyPhrase
|
|
msgbox DewfordTown_Text_XIsTheBiggestHappeningThingRight, MSGBOX_YESNO
|
|
compare VAR_RESULT, YES
|
|
goto_if_eq DewfordTown_EventScript_ConfirmTrendyPhrase
|
|
compare VAR_RESULT, NO
|
|
goto_if_eq DewfordTown_EventScript_RejectTrendyPhrase
|
|
end
|
|
|
|
DewfordTown_EventScript_ConfirmTrendyPhrase::
|
|
msgbox DewfordTown_Text_YeahDefinitionOfInRightNow, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
DewfordTown_EventScript_RejectTrendyPhrase::
|
|
msgbox DewfordTown_Text_TellMeWhatsNewAndIn, MSGBOX_DEFAULT
|
|
setvar VAR_0x8004, EASY_CHAT_TYPE_TRENDY_PHRASE
|
|
call Common_ShowEasyChatScreen
|
|
lock
|
|
faceplayer
|
|
compare VAR_RESULT, TRUE
|
|
goto_if_eq DewfordTown_EventScript_GiveNewTrendyPhrase
|
|
compare VAR_RESULT, FALSE
|
|
goto_if_eq DewfordTown_EventScript_CancelNewTrendyPhrase
|
|
end
|
|
|
|
DewfordTown_EventScript_GiveNewTrendyPhrase::
|
|
incrementgamestat GAME_STAT_STARTED_TRENDS
|
|
compare VAR_0x8004, FALSE
|
|
goto_if_eq DewfordTown_EventScript_PhraseNotTrendyEnough
|
|
msgbox DewfordTown_Text_OfCourseIKnowAboutThat, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
DewfordTown_EventScript_CancelNewTrendyPhrase::
|
|
msgbox DewfordTown_Text_HearOfAnyTrendsComeShareWithMe, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
DewfordTown_EventScript_PhraseNotTrendyEnough::
|
|
msgbox DewfordTown_Text_XHuhIThinkYIsCool, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
DewfordTown_Text_TinyIslandCommunity:
|
|
.string "DEWFORD is a tiny island community.\n"
|
|
.string "If something gets trendy here,\l"
|
|
.string "everyone picks up on it right away.$"
|
|
|
|
DewfordTown_Text_TownSign:
|
|
.string "DEWFORD TOWN\n"
|
|
.string "“A tiny island in the blue sea.”$"
|
|
|
|
DewfordTown_Text_GymSign:
|
|
.string "DEWFORD TOWN POKéMON GYM\n"
|
|
.string "LEADER: BRAWLY\l"
|
|
.string "“A big wave in fighting!”$"
|
|
|
|
DewfordTown_Text_HallSign:
|
|
.string "DEWFORD HALL\n"
|
|
.string "“Everyone's information exchange!”$"
|
|
|
|
Route104_Text_LandedInDewfordDeliverLetter:
|
|
.string "MR. BRINEY: Ahoy!\n"
|
|
.string "We've hit land in DEWFORD.\p"
|
|
.string "I suppose you're off to deliver that\n"
|
|
.string "LETTER to, who was it now, STEVEN!$"
|
|
|
|
DewfordTown_Text_SetSailBackToPetalburg:
|
|
.string "MR. BRINEY: Have you delivered your\n"
|
|
.string "LETTER?\p"
|
|
.string "Or were you meaning to sail back to\n"
|
|
.string "PETALBURG?$"
|
|
|
|
DewfordTown_Text_PetalburgWereSettingSail2:
|
|
.string "MR. BRINEY: PETALBURG it is, then!\p"
|
|
.string "Anchors aweigh!\n"
|
|
.string "PEEKO, we're setting sail, my darling!$"
|
|
|
|
DewfordTown_Text_GoDeliverIllBeWaiting:
|
|
.string "MR. BRINEY: Then you go on and deliver\n"
|
|
.string "the LETTER. I'll be waiting.$"
|
|
|
|
DewfordTown_Text_BrineyLandedInDewford:
|
|
.string "MR. BRINEY: Ahoy!\n"
|
|
.string "We've hit land in DEWFORD!\p"
|
|
.string "You just go on and tell me whenever\n"
|
|
.string "you want to set sail again!$"
|
|
|
|
DewfordTown_Text_WhereAreWeBound:
|
|
.string "MR. BRINEY: Ahoy!\n"
|
|
.string "For you, I'll go out to sea anytime!\p"
|
|
.string "Now, my friend, where are we bound?$"
|
|
|
|
DewfordTown_Text_PetalburgWereSettingSail:
|
|
.string "MR. BRINEY: PETALBURG, is it?\p"
|
|
.string "Anchors aweigh!\n"
|
|
.string "PEEKO, we're setting sail, my darling!$"
|
|
|
|
DewfordTown_Text_SlateportWereSettingSail:
|
|
.string "MR. BRINEY: SLATEPORT, is it?\p"
|
|
.string "Anchors aweigh!\n"
|
|
.string "PEEKO, we're setting sail, my darling!$"
|
|
|
|
DewfordTown_Text_JustTellMeWhenYouNeedToSetSail:
|
|
.string "MR. BRINEY: You just tell me whenever\n"
|
|
.string "you need to set sail again!$"
|
|
|
|
DewfordTown_Text_GettingItchToFish:
|
|
.string "This is a renowned fishing spot.\n"
|
|
.string "Are you getting the itch to fish?$"
|
|
|
|
DewfordTown_Text_GiveYouOneOfMyRods:
|
|
.string "I hear you, and I like what\n"
|
|
.string "you're saying!\p"
|
|
.string "I'll give you one of my fishing RODS.$"
|
|
|
|
DewfordTown_Text_ThrowInFishingAdvice:
|
|
.string "And, as an added bonus, I'll even throw\n"
|
|
.string "in a little fishing advice!\p"
|
|
.string "First, you want to face the water,\n"
|
|
.string "then use the ROD.\p"
|
|
.string "Focus your mind…\n"
|
|
.string "If you get a bite, pull on the ROD.\p"
|
|
.string "Sometimes you can snag something\n"
|
|
.string "immediately, but with bigger catches,\l"
|
|
.string "you need to time the pulls on your ROD\l"
|
|
.string "to haul them in.$"
|
|
|
|
DewfordTown_Text_ThatsTooBadThen:
|
|
.string "Oh, is that so?\n"
|
|
.string "That's too bad, then.$"
|
|
|
|
DewfordTown_Text_HowsYourFishing:
|
|
.string "Yo!\n"
|
|
.string "How's your fishing?$"
|
|
|
|
DewfordTown_Text_GreatHaulInSomeBigOnes:
|
|
.string "Is that right! That's great!\n"
|
|
.string "Haul in some big ones!$"
|
|
|
|
DewfordTown_Text_FishingAdvice:
|
|
.string "Oh, hey, don't get down on yourself!\n"
|
|
.string "I'll give you a little fishing advice.\p"
|
|
.string "First, you want to face the water,\n"
|
|
.string "then use the ROD.\p"
|
|
.string "Focus your mind…\n"
|
|
.string "If you get a bite, pull the ROD.\p"
|
|
.string "Sometimes you can snag something\n"
|
|
.string "immediately, but with bigger catches,\l"
|
|
.string "you need to time the pulls on your ROD\l"
|
|
.string "to haul them in.$"
|
|
|
|
DewfordTown_Text_XIsTheBiggestHappeningThingRight:
|
|
.string "I like what's hip, happening, and trendy.\n"
|
|
.string "I'm always checking it out.\p"
|
|
.string "Listen, have you heard about this new\n"
|
|
.string "“{STR_VAR_1}”?\p"
|
|
.string "That's right!\n"
|
|
.string "Of course you know!\p"
|
|
.string "I mean, sheesh,\n"
|
|
.string "“{STR_VAR_1}”…\l"
|
|
.string "It's the hottest thing in cool!\p"
|
|
.string "Wherever you're from,\n"
|
|
.string "“{STR_VAR_1}”\l"
|
|
.string "is the biggest happening thing, right?$"
|
|
|
|
DewfordTown_Text_TellMeWhatsNewAndIn:
|
|
.string "Hunh?\n"
|
|
.string "It's not the hip and happening thing?\p"
|
|
.string "Well, hey, you have to tell me,\n"
|
|
.string "what's new and what's “in”?$"
|
|
|
|
DewfordTown_Text_OfCourseIKnowAboutThat:
|
|
.string "Hunh?\n"
|
|
.string "“{STR_VAR_2}”?\p"
|
|
.string "… …\p"
|
|
.string "…Uh… Yeah! That's right!\n"
|
|
.string "Yeah, I knew that! Knew it all along!\p"
|
|
.string "Of course I know about that!\n"
|
|
.string "“{STR_VAR_2},” right?\p"
|
|
.string "Yeah, that's it, it's there!\n"
|
|
.string "Isn't “{STR_VAR_2}”\l"
|
|
.string "the coolest, or what?\p"
|
|
.string "It's the hippest thing in hip.\n"
|
|
.string "You think I'd not know about it?\p"
|
|
.string "“{STR_VAR_1}”…\n"
|
|
.string "It's, like, so five minutes ago.\p"
|
|
.string "Now, “{STR_VAR_2}” is\n"
|
|
.string "what's vital and in tune with the times!$"
|
|
|
|
DewfordTown_Text_XHuhIThinkYIsCool:
|
|
.string "Hmm…\n"
|
|
.string "“{STR_VAR_2},” huh?\p"
|
|
.string "But personally, I think\n"
|
|
.string "“{STR_VAR_1}”\l"
|
|
.string "is what's real in cool.$"
|
|
|
|
DewfordTown_Text_HearOfAnyTrendsComeShareWithMe:
|
|
.string "Well, if you hear of any happening new\n"
|
|
.string "trends, come share them with me, okay?$"
|
|
|
|
DewfordTown_Text_YeahDefinitionOfInRightNow:
|
|
.string "Yeah, absolutely right!\p"
|
|
.string "“{STR_VAR_1}” is the\n"
|
|
.string "definition of “in” right now.$"
|