Document Fortree scripts

This commit is contained in:
GriffinR
2019-11-07 14:49:52 -05:00
parent 03a7995570
commit 979ece7d56
14 changed files with 164 additions and 164 deletions

View File

@@ -1,76 +1,76 @@
FortreeCity_MapScripts:: @ 81E25A4
map_script MAP_SCRIPT_ON_TRANSITION, FortreeCity_OnTransition
map_script MAP_SCRIPT_ON_RESUME, FortreeCity_MapScript1_1E25B3
map_script MAP_SCRIPT_ON_RESUME, FortreeCity_OnResume
.byte 0
FortreeCity_OnTransition: @ 81E25AF
setflag FLAG_VISITED_FORTREE_CITY
end
FortreeCity_MapScript1_1E25B3: @ 81E25B3
FortreeCity_OnResume: @ 81E25B3
setstepcallback STEP_CB_FORTREE_BRIDGE
end
FortreeCity_EventScript_1E25B6:: @ 81E25B6
msgbox FortreeCity_Text_1E2676, MSGBOX_NPC
FortreeCity_EventScript_Man:: @ 81E25B6
msgbox FortreeCity_Text_SawGiganticPokemonInSky, MSGBOX_NPC
end
FortreeCity_EventScript_1E25BF:: @ 81E25BF
FortreeCity_EventScript_Woman:: @ 81E25BF
lock
faceplayer
goto_if_set FLAG_KECLEON_FLED_FORTREE, FortreeCity_EventScript_1E25D4
msgbox FortreeCity_Text_1E2738, MSGBOX_DEFAULT
goto_if_set FLAG_KECLEON_FLED_FORTREE, FortreeCity_EventScript_WomanGymAccessible
msgbox FortreeCity_Text_SomethingBlockingGym, MSGBOX_DEFAULT
release
end
FortreeCity_EventScript_1E25D4:: @ 81E25D4
msgbox FortreeCity_Text_1E27B6, MSGBOX_DEFAULT
FortreeCity_EventScript_WomanGymAccessible:: @ 81E25D4
msgbox FortreeCity_Text_ThisTimeIllBeatWinona, MSGBOX_DEFAULT
release
end
FortreeCity_EventScript_1E25DE:: @ 81E25DE
msgbox FortreeCity_Text_1E27FE, MSGBOX_NPC
FortreeCity_EventScript_Girl:: @ 81E25DE
msgbox FortreeCity_Text_TreesGrowByDrinkingRainwater, MSGBOX_NPC
end
FortreeCity_EventScript_1E25E7:: @ 81E25E7
msgbox FortreeCity_Text_1E2880, MSGBOX_NPC
FortreeCity_EventScript_OldMan:: @ 81E25E7
msgbox FortreeCity_Text_EveryoneHealthyAndLively, MSGBOX_NPC
end
FortreeCity_EventScript_1E25F0:: @ 81E25F0
msgbox FortreeCity_Text_1E292E, MSGBOX_NPC
FortreeCity_EventScript_Boy:: @ 81E25F0
msgbox FortreeCity_Text_BugPokemonComeThroughWindow, MSGBOX_NPC
end
FortreeCity_EventScript_1E25F9:: @ 81E25F9
msgbox FortreeCity_Text_1E299D, MSGBOX_NPC
FortreeCity_EventScript_GameboyKid:: @ 81E25F9
msgbox FortreeCity_Text_PokemonThatEvolveWhenTraded, MSGBOX_NPC
end
FortreeCity_EventScript_1E2602:: @ 81E2602
msgbox FortreeCity_Text_1E2AAC, MSGBOX_SIGN
FortreeCity_EventScript_CitySign:: @ 81E2602
msgbox FortreeCity_Text_CitySign, MSGBOX_SIGN
end
FortreeCity_EventScript_1E260B:: @ 81E260B
msgbox FortreeCity_Text_1E2AE6, MSGBOX_SIGN
FortreeCity_EventScript_GymSign:: @ 81E260B
msgbox FortreeCity_Text_GymSign, MSGBOX_SIGN
end
FortreeCity_EventScript_1E2614:: @ 81E2614
FortreeCity_EventScript_Kecleon:: @ 81E2614
lock
faceplayer
checkitem ITEM_DEVON_SCOPE, 1
compare VAR_RESULT, 1
goto_if_eq FortreeCity_EventScript_1E2630
msgbox FortreeCity_Text_1E29E5, MSGBOX_DEFAULT
compare VAR_RESULT, TRUE
goto_if_eq FortreeCity_EventScript_AskUseDevonScope
msgbox FortreeCity_Text_SomethingUnseeable, MSGBOX_DEFAULT
release
end
FortreeCity_EventScript_1E2630:: @ 81E2630
msgbox FortreeCity_Text_1E2A08, MSGBOX_YESNO
FortreeCity_EventScript_AskUseDevonScope:: @ 81E2630
msgbox FortreeCity_Text_UnseeableUseDevonScope, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq FortreeCity_EventScript_1E2645
goto_if_eq FortreeCity_EventScript_UseDevonScope
release
end
FortreeCity_EventScript_1E2645:: @ 81E2645
msgbox FortreeCity_Text_1E2A48, MSGBOX_DEFAULT
FortreeCity_EventScript_UseDevonScope:: @ 81E2645
msgbox FortreeCity_Text_UsedDevonScopePokemonFled, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, Movement_KecleonAppears
waitmovement 0
@@ -78,18 +78,18 @@ FortreeCity_EventScript_1E2645:: @ 81E2645
playmoncry SPECIES_KECLEON, 2
delay 40
waitmoncry
applymovement VAR_LAST_TALKED, FortreeCity_Movement_1E2674
applymovement VAR_LAST_TALKED, FortreeCity_Movement_KecleonFlee
waitmovement 0
removeobject VAR_LAST_TALKED
setflag FLAG_KECLEON_FLED_FORTREE
release
end
FortreeCity_Movement_1E2674: @ 81E2674
FortreeCity_Movement_KecleonFlee: @ 81E2674
walk_right
step_end
FortreeCity_Text_1E2676: @ 81E2676
FortreeCity_Text_SawGiganticPokemonInSky: @ 81E2676
.string "No one believes me, but I saw this\n"
.string "gigantic POKéMON in the sky.\p"
.string "It seemed to squirm as it flew toward\n"
@@ -98,23 +98,23 @@ FortreeCity_Text_1E2676: @ 81E2676
.string "Um… You, uh…smell singed.\p"
.string "Were you at a volcano or something?$"
FortreeCity_Text_1E2738: @ 81E2738
FortreeCity_Text_SomethingBlockingGym: @ 81E2738
.string "I want to go to the POKéMON GYM,\n"
.string "but something's blocking the way.\p"
.string "After all the bother I went through\n"
.string "training on ROUTE 120…$"
FortreeCity_Text_1E27B6: @ 81E27B6
FortreeCity_Text_ThisTimeIllBeatWinona: @ 81E27B6
.string "I've got my pride-and-joy POKéMON\n"
.string "with me. This time, I'll beat WINONA.$"
FortreeCity_Text_1E27FE: @ 81E27FE
FortreeCity_Text_TreesGrowByDrinkingRainwater: @ 81E27FE
.string "The ground absorbs rainwater, and\n"
.string "trees grow by drinking that water…\p"
.string "Our FORTREE CITY exists because\n"
.string "there's both water and soil.$"
FortreeCity_Text_1E2880: @ 81E2880
FortreeCity_Text_EveryoneHealthyAndLively: @ 81E2880
.string "The CITY consists of homes built on\n"
.string "trees.\p"
.string "Perhaps because of that lifestyle,\n"
@@ -122,35 +122,35 @@ FortreeCity_Text_1E2880: @ 81E2880
.string "Why, even myself--I feel as if I've\n"
.string "grown thirty years younger.$"
FortreeCity_Text_1E292E: @ 81E292E
FortreeCity_Text_BugPokemonComeThroughWindow: @ 81E292E
.string "Living on top of trees is okay.\p"
.string "But sometimes BUG POKéMON come in\n"
.string "through windows.\l"
.string "It can be really startling.$"
FortreeCity_Text_1E299D: @ 81E299D
FortreeCity_Text_PokemonThatEvolveWhenTraded: @ 81E299D
.string "There are POKéMON that evolve when\n"
.string "you trade them! That's what I heard.$"
FortreeCity_Text_1E29E5: @ 81E29E5
FortreeCity_Text_SomethingUnseeable: @ 81E29E5
.string "Something unseeable is in the way.$"
FortreeCity_Text_1E2A08: @ 81E2A08
FortreeCity_Text_UnseeableUseDevonScope: @ 81E2A08
.string "Something unseeable is in the way.\p"
.string "Want to use the DEVON SCOPE?$"
FortreeCity_Text_1E2A48: @ 81E2A48
FortreeCity_Text_UsedDevonScopePokemonFled: @ 81E2A48
.string "{PLAYER} used the DEVON SCOPE.\p"
.string "An invisible POKéMON became completely\n"
.string "visible!\p"
.string "The startled POKéMON fled!$"
FortreeCity_Text_1E2AAC: @ 81E2AAC
FortreeCity_Text_CitySign: @ 81E2AAC
.string "FORTREE CITY\n"
.string "“The treetop city that frolics with\l"
.string "nature.”$"
FortreeCity_Text_1E2AE6: @ 81E2AE6
FortreeCity_Text_GymSign: @ 81E2AE6
.string "FORTREE CITY POKéMON GYM\n"
.string "LEADER: WINONA\p"
.string "“The bird user taking flight into\n"