2022-05-19 19:14:13 +02:00
|
|
|
FortreeCity_MapScripts::
|
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, FortreeCity_OnTransition
|
|
|
|
map_script MAP_SCRIPT_ON_RESUME, FortreeCity_OnResume
|
|
|
|
.byte 0
|
|
|
|
|
|
|
|
FortreeCity_OnTransition:
|
|
|
|
setflag FLAG_VISITED_FORTREE_CITY
|
|
|
|
end
|
|
|
|
|
|
|
|
FortreeCity_OnResume:
|
|
|
|
setstepcallback STEP_CB_FORTREE_BRIDGE
|
|
|
|
end
|
|
|
|
|
|
|
|
FortreeCity_EventScript_Man::
|
|
|
|
msgbox FortreeCity_Text_SawGiganticPokemonInSky, MSGBOX_NPC
|
|
|
|
end
|
|
|
|
|
|
|
|
FortreeCity_EventScript_Woman::
|
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
goto_if_set FLAG_KECLEON_FLED_FORTREE, FortreeCity_EventScript_WomanGymAccessible
|
|
|
|
msgbox FortreeCity_Text_SomethingBlockingGym, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
FortreeCity_EventScript_WomanGymAccessible::
|
|
|
|
msgbox FortreeCity_Text_ThisTimeIllBeatWinona, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
FortreeCity_EventScript_Girl::
|
|
|
|
msgbox FortreeCity_Text_TreesGrowByDrinkingRainwater, MSGBOX_NPC
|
|
|
|
end
|
|
|
|
|
|
|
|
FortreeCity_EventScript_OldMan::
|
|
|
|
msgbox FortreeCity_Text_EveryoneHealthyAndLively, MSGBOX_NPC
|
|
|
|
end
|
|
|
|
|
|
|
|
FortreeCity_EventScript_Boy::
|
|
|
|
msgbox FortreeCity_Text_BugPokemonComeThroughWindow, MSGBOX_NPC
|
|
|
|
end
|
|
|
|
|
|
|
|
FortreeCity_EventScript_GameboyKid::
|
|
|
|
msgbox FortreeCity_Text_PokemonThatEvolveWhenTraded, MSGBOX_NPC
|
|
|
|
end
|
|
|
|
|
|
|
|
FortreeCity_EventScript_CitySign::
|
|
|
|
msgbox FortreeCity_Text_CitySign, MSGBOX_SIGN
|
|
|
|
end
|
|
|
|
|
|
|
|
FortreeCity_EventScript_GymSign::
|
|
|
|
msgbox FortreeCity_Text_GymSign, MSGBOX_SIGN
|
|
|
|
end
|
|
|
|
|
|
|
|
FortreeCity_EventScript_Kecleon::
|
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
checkitem ITEM_DEVON_SCOPE
|
|
|
|
goto_if_eq VAR_RESULT, TRUE, FortreeCity_EventScript_AskUseDevonScope
|
|
|
|
msgbox FortreeCity_Text_SomethingUnseeable, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
FortreeCity_EventScript_AskUseDevonScope::
|
|
|
|
msgbox FortreeCity_Text_UnseeableUseDevonScope, MSGBOX_YESNO
|
|
|
|
goto_if_eq VAR_RESULT, YES, FortreeCity_EventScript_UseDevonScope
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
FortreeCity_EventScript_UseDevonScope::
|
|
|
|
msgbox FortreeCity_Text_UsedDevonScopePokemonFled, MSGBOX_DEFAULT
|
|
|
|
closemessage
|
|
|
|
applymovement VAR_LAST_TALKED, Movement_KecleonAppears
|
|
|
|
waitmovement 0
|
|
|
|
waitse
|
|
|
|
playmoncry SPECIES_KECLEON, CRY_MODE_ENCOUNTER
|
|
|
|
delay 40
|
|
|
|
waitmoncry
|
|
|
|
applymovement VAR_LAST_TALKED, FortreeCity_Movement_KecleonFlee
|
|
|
|
waitmovement 0
|
|
|
|
removeobject VAR_LAST_TALKED
|
|
|
|
setflag FLAG_KECLEON_FLED_FORTREE
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
FortreeCity_Movement_KecleonFlee:
|
|
|
|
walk_right
|
|
|
|
step_end
|
|
|
|
|
|
|
|
FortreeCity_Text_SawGiganticPokemonInSky:
|
|
|
|
.string "No one believes me, but I saw this\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "gigantic Pokémon in the sky.\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "It seemed to squirm as it flew toward\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Route 131.\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "By the way… Sniff…\n"
|
|
|
|
.string "Um… You, uh…smell singed.\p"
|
|
|
|
.string "Were you at a volcano or something?$"
|
|
|
|
|
|
|
|
FortreeCity_Text_SomethingBlockingGym:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "I want to go to the Pokémon Gym,\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "but something's blocking the way.\p"
|
|
|
|
.string "After all the bother I went through\n"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "training on Route 120…$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
FortreeCity_Text_ThisTimeIllBeatWinona:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "I've got my pride-and-joy Pokémon\n"
|
|
|
|
.string "with me. This time, I'll beat Winona.$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
FortreeCity_Text_TreesGrowByDrinkingRainwater:
|
|
|
|
.string "The ground absorbs rainwater, and\n"
|
|
|
|
.string "trees grow by drinking that water…\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Our Fortree City exists because\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "there's both water and soil.$"
|
|
|
|
|
|
|
|
FortreeCity_Text_EveryoneHealthyAndLively:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "The City consists of homes built on\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "trees.\p"
|
|
|
|
.string "Perhaps because of that lifestyle,\n"
|
|
|
|
.string "everyone is healthy and lively.\p"
|
|
|
|
.string "Why, even myself--I feel as if I've\n"
|
|
|
|
.string "grown thirty years younger.$"
|
|
|
|
|
|
|
|
FortreeCity_Text_BugPokemonComeThroughWindow:
|
|
|
|
.string "Living on top of trees is okay.\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "But sometimes Bug Pokémon come in\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "through windows.\l"
|
|
|
|
.string "It can be really startling.$"
|
|
|
|
|
|
|
|
FortreeCity_Text_PokemonThatEvolveWhenTraded:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "There are Pokémon that evolve when\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "you trade them! That's what I heard.$"
|
|
|
|
|
|
|
|
FortreeCity_Text_SomethingUnseeable:
|
|
|
|
.string "Something unseeable is in the way.$"
|
|
|
|
|
|
|
|
FortreeCity_Text_UnseeableUseDevonScope:
|
|
|
|
.string "Something unseeable is in the way.\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Want to use the Devon Scope?$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
FortreeCity_Text_UsedDevonScopePokemonFled:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "{PLAYER} used the Devon Scope.\p"
|
|
|
|
.string "An invisible Pokémon became completely\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "visible!\p"
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "The startled Pokémon fled!$"
|
2022-05-19 19:14:13 +02:00
|
|
|
|
|
|
|
FortreeCity_Text_CitySign:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Fortree City\n"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "“The treetop city that frolics with\l"
|
|
|
|
.string "nature.”$"
|
|
|
|
|
|
|
|
FortreeCity_Text_GymSign:
|
2022-08-21 22:56:26 +02:00
|
|
|
.string "Fortree City Pokémon Gym\n"
|
|
|
|
.string "Leader: Winona\p"
|
2022-05-19 19:14:13 +02:00
|
|
|
.string "“The bird user taking flight into\n"
|
|
|
|
.string "the world.”$"
|
|
|
|
|