Document remainder of poke centers

This commit is contained in:
GriffinR
2019-11-03 12:29:41 -05:00
committed by huderlem
parent a4b4ecd470
commit 878eb523d7
33 changed files with 282 additions and 262 deletions
@@ -6,15 +6,16 @@ EverGrandeCity_PokemonLeague_1F_MapScripts:: @ 82295D2
EverGrandeCity_PokemonLeague_1F_OnTransition: @ 82295DD
setrespawn HEAL_LOCATION_EVER_GRANDE_CITY_2
setflag FLAG_LANDMARK_POKEMON_LEAGUE
call_if_unset FLAG_ENTERED_ELITE_FOUR, EverGrandeCity_PokemonLeague_1F_EventScript_2295ED
call_if_unset FLAG_ENTERED_ELITE_FOUR, EverGrandeCity_PokemonLeague_1F_EventScript_GuardsBlockDoor
end
EverGrandeCity_PokemonLeague_1F_EventScript_2295ED:: @ 82295ED
EverGrandeCity_PokemonLeague_1F_EventScript_GuardsBlockDoor:: @ 82295ED
setobjectxyperm 3, 9, 2
setobjectxyperm 4, 10, 2
return
EverGrandeCity_PokemonLeague_1F_EventScript_2295FC:: @ 82295FC
@ VAR_0x800B is the Nurse's object event id
EverGrandeCity_PokemonLeague_1F_EventScript_Nurse:: @ 82295FC
setvar VAR_0x800B, 1
call Common_EventScript_PkmnCenterNurse
waitmessage
@@ -22,18 +23,18 @@ EverGrandeCity_PokemonLeague_1F_EventScript_2295FC:: @ 82295FC
release
end
EverGrandeCity_PokemonLeague_1F_EventScript_22960A:: @ 822960A
EverGrandeCity_PokemonLeague_1F_EventScript_Clerk:: @ 822960A
lock
faceplayer
message gText_HowMayIServeYou
waitmessage
pokemart EverGrandeCity_PokemonLeague_1F_Pokemart_229624
pokemart EverGrandeCity_PokemonLeague_1F_Pokemart
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
.align 2
EverGrandeCity_PokemonLeague_1F_Pokemart_229624: @ 8229624
EverGrandeCity_PokemonLeague_1F_Pokemart: @ 8229624
.2byte ITEM_ULTRA_BALL
.2byte ITEM_HYPER_POTION
.2byte ITEM_MAX_POTION
@@ -45,25 +46,27 @@ EverGrandeCity_PokemonLeague_1F_Pokemart_229624: @ 8229624
release
end
EverGrandeCity_PokemonLeague_1F_EventScript_229636:: @ 8229636
@ The door guards only check for FLAG_BADGE06_GET because Winonas badge is the only one that can be skipped
@ Its assumed the player has the remaining badges
EverGrandeCity_PokemonLeague_1F_EventScript_DoorGuard:: @ 8229636
lockall
goto_if_set FLAG_ENTERED_ELITE_FOUR, EverGrandeCity_PokemonLeague_1F_EventScript_2296BB
goto_if_set FLAG_ENTERED_ELITE_FOUR, EverGrandeCity_PokemonLeague_1F_EventScript_GoForth
getplayerxy VAR_TEMP_0, VAR_TEMP_1
compare VAR_TEMP_0, 11
call_if_ge EverGrandeCity_PokemonLeague_1F_EventScript_229698
call_if_ge EverGrandeCity_PokemonLeague_1F_EventScript_PlayerMoveToFrontFromRight
compare VAR_TEMP_0, 8
call_if_le EverGrandeCity_PokemonLeague_1F_EventScript_2296A3
message EverGrandeCity_PokemonLeague_1F_Text_2296E8
call_if_le EverGrandeCity_PokemonLeague_1F_EventScript_PlayerMoveToFrontFromLeft
message EverGrandeCity_PokemonLeague_1F_Text_MustHaveAllGymBadges
waitmessage
delay 120
goto_if_unset FLAG_BADGE06_GET, EverGrandeCity_PokemonLeague_1F_EventScript_2296AE
goto_if_unset FLAG_BADGE06_GET, EverGrandeCity_PokemonLeague_1F_EventScript_NotAllBadges
closemessage
applymovement 3, EverGrandeCity_PokemonLeague_1F_Movement_2296E2
applymovement 4, EverGrandeCity_PokemonLeague_1F_Movement_2296E5
applymovement 3, EverGrandeCity_PokemonLeague_1F_Movement_LeftGuardOutOfWay
applymovement 4, EverGrandeCity_PokemonLeague_1F_Movement_RightGuardOutOfWay
waitmovement 0
delay 10
playfanfare MUS_ME_BACHI
message EverGrandeCity_PokemonLeague_1F_Text_2297EF
message EverGrandeCity_PokemonLeague_1F_Text_GoForth
waitmessage
waitfanfare
closemessage
@@ -73,67 +76,67 @@ EverGrandeCity_PokemonLeague_1F_EventScript_229636:: @ 8229636
releaseall
end
EverGrandeCity_PokemonLeague_1F_EventScript_229698:: @ 8229698
applymovement EVENT_OBJ_ID_PLAYER, EverGrandeCity_PokemonLeague_1F_Movement_2296DA
EverGrandeCity_PokemonLeague_1F_EventScript_PlayerMoveToFrontFromRight:: @ 8229698
applymovement EVENT_OBJ_ID_PLAYER, EverGrandeCity_PokemonLeague_1F_Movement_MoveToFrontFromRight
waitmovement 0
return
EverGrandeCity_PokemonLeague_1F_EventScript_2296A3:: @ 82296A3
applymovement EVENT_OBJ_ID_PLAYER, EverGrandeCity_PokemonLeague_1F_Movement_2296DE
EverGrandeCity_PokemonLeague_1F_EventScript_PlayerMoveToFrontFromLeft:: @ 82296A3
applymovement EVENT_OBJ_ID_PLAYER, EverGrandeCity_PokemonLeague_1F_Movement_MoveToFrontFromLeft
waitmovement 0
return
EverGrandeCity_PokemonLeague_1F_EventScript_2296AE:: @ 82296AE
EverGrandeCity_PokemonLeague_1F_EventScript_NotAllBadges:: @ 82296AE
playse SE_HAZURE
msgbox EverGrandeCity_PokemonLeague_1F_Text_229787, MSGBOX_DEFAULT
msgbox EverGrandeCity_PokemonLeague_1F_Text_HaventObtainedAllBadges, MSGBOX_DEFAULT
releaseall
end
EverGrandeCity_PokemonLeague_1F_EventScript_2296BB:: @ 82296BB
EverGrandeCity_PokemonLeague_1F_EventScript_GoForth:: @ 82296BB
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
waitmovement 0
msgbox EverGrandeCity_PokemonLeague_1F_Text_2297EF, MSGBOX_DEFAULT
msgbox EverGrandeCity_PokemonLeague_1F_Text_GoForth, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
waitmovement 0
releaseall
end
EverGrandeCity_PokemonLeague_1F_Movement_2296DA: @ 82296DA
EverGrandeCity_PokemonLeague_1F_Movement_MoveToFrontFromRight: @ 82296DA
walk_down
walk_left
walk_in_place_fastest_up
step_end
EverGrandeCity_PokemonLeague_1F_Movement_2296DE: @ 82296DE
EverGrandeCity_PokemonLeague_1F_Movement_MoveToFrontFromLeft: @ 82296DE
walk_down
walk_right
walk_in_place_fastest_up
step_end
EverGrandeCity_PokemonLeague_1F_Movement_2296E2: @ 82296E2
EverGrandeCity_PokemonLeague_1F_Movement_LeftGuardOutOfWay: @ 82296E2
walk_left
walk_in_place_fastest_down
step_end
EverGrandeCity_PokemonLeague_1F_Movement_2296E5: @ 82296E5
EverGrandeCity_PokemonLeague_1F_Movement_RightGuardOutOfWay: @ 82296E5
walk_right
walk_in_place_fastest_down
step_end
EverGrandeCity_PokemonLeague_1F_Text_2296E8: @ 82296E8
EverGrandeCity_PokemonLeague_1F_Text_MustHaveAllGymBadges: @ 82296E8
.string "Beyond this point, only those TRAINERS\n"
.string "who have collected all the GYM BADGES\l"
.string "are permitted to enter.\p"
.string "TRAINER, let us confirm that you have\n"
.string "all the GYM BADGES.$"
EverGrandeCity_PokemonLeague_1F_Text_229787: @ 8229787
EverGrandeCity_PokemonLeague_1F_Text_HaventObtainedAllBadges: @ 8229787
.string "You haven't obtained all the BADGES.\p"
.string "If you're bound for the POKéMON\n"
.string "LEAGUE, you must return with them.$"
EverGrandeCity_PokemonLeague_1F_Text_2297EF: @ 82297EF
EverGrandeCity_PokemonLeague_1F_Text_GoForth: @ 82297EF
.string "TRAINER! Believe in yourself and your\n"
.string "POKéMON, and go forth!$"