2017-11-10 01:21:31 +00:00
|
|
|
EverGrandeCity_PokemonLeague_1F_MapScripts:: @ 82295D2
|
2019-04-05 00:28:37 +01:00
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, EverGrandeCity_PokemonLeague_1F_OnTransition
|
2019-10-12 03:23:05 +01:00
|
|
|
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
|
2017-11-10 01:21:31 +00:00
|
|
|
.byte 0
|
|
|
|
|
2019-04-05 00:28:37 +01:00
|
|
|
EverGrandeCity_PokemonLeague_1F_OnTransition: @ 82295DD
|
2018-08-10 15:45:15 +01:00
|
|
|
setrespawn HEAL_LOCATION_EVER_GRANDE_CITY_2
|
2017-12-27 03:20:29 +00:00
|
|
|
setflag FLAG_LANDMARK_POKEMON_LEAGUE
|
2019-01-02 21:12:43 +00:00
|
|
|
call_if_unset FLAG_ENTERED_ELITE_FOUR, EverGrandeCity_PokemonLeague_1F_EventScript_2295ED
|
2017-11-10 01:21:31 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonLeague_1F_EventScript_2295ED:: @ 82295ED
|
|
|
|
setobjectxyperm 3, 9, 2
|
|
|
|
setobjectxyperm 4, 10, 2
|
|
|
|
return
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonLeague_1F_EventScript_2295FC:: @ 82295FC
|
|
|
|
setvar VAR_0x800B, 1
|
2019-08-15 04:38:42 +01:00
|
|
|
call Common_EventScript_PkmnCenterNurse
|
2017-11-10 01:21:31 +00:00
|
|
|
waitmessage
|
|
|
|
waitbuttonpress
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonLeague_1F_EventScript_22960A:: @ 822960A
|
|
|
|
lock
|
|
|
|
faceplayer
|
2019-08-15 04:38:42 +01:00
|
|
|
message gText_HowMayIServeYou
|
2017-11-10 01:21:31 +00:00
|
|
|
waitmessage
|
|
|
|
pokemart EverGrandeCity_PokemonLeague_1F_Pokemart_229624
|
2019-08-15 04:38:42 +01:00
|
|
|
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
|
2017-11-10 01:21:31 +00:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2017-11-10 07:36:41 +00:00
|
|
|
.align 2
|
2017-11-10 01:21:31 +00:00
|
|
|
EverGrandeCity_PokemonLeague_1F_Pokemart_229624: @ 8229624
|
|
|
|
.2byte ITEM_ULTRA_BALL
|
|
|
|
.2byte ITEM_HYPER_POTION
|
|
|
|
.2byte ITEM_MAX_POTION
|
|
|
|
.2byte ITEM_FULL_RESTORE
|
|
|
|
.2byte ITEM_FULL_HEAL
|
|
|
|
.2byte ITEM_REVIVE
|
|
|
|
.2byte ITEM_MAX_REPEL
|
|
|
|
.2byte ITEM_NONE
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonLeague_1F_EventScript_229636:: @ 8229636
|
|
|
|
lockall
|
2019-01-02 21:12:43 +00:00
|
|
|
goto_if_set FLAG_ENTERED_ELITE_FOUR, EverGrandeCity_PokemonLeague_1F_EventScript_2296BB
|
2018-05-19 17:02:43 +01:00
|
|
|
getplayerxy VAR_TEMP_0, VAR_TEMP_1
|
|
|
|
compare VAR_TEMP_0, 11
|
2018-12-22 02:32:45 +00:00
|
|
|
call_if_ge EverGrandeCity_PokemonLeague_1F_EventScript_229698
|
2018-05-19 17:02:43 +01:00
|
|
|
compare VAR_TEMP_0, 8
|
2018-12-22 02:32:45 +00:00
|
|
|
call_if_le EverGrandeCity_PokemonLeague_1F_EventScript_2296A3
|
2017-11-10 01:21:31 +00:00
|
|
|
message EverGrandeCity_PokemonLeague_1F_Text_2296E8
|
|
|
|
waitmessage
|
|
|
|
delay 120
|
2018-12-22 01:28:24 +00:00
|
|
|
goto_if_unset FLAG_BADGE06_GET, EverGrandeCity_PokemonLeague_1F_EventScript_2296AE
|
2017-11-10 01:21:31 +00:00
|
|
|
closemessage
|
|
|
|
applymovement 3, EverGrandeCity_PokemonLeague_1F_Movement_2296E2
|
|
|
|
applymovement 4, EverGrandeCity_PokemonLeague_1F_Movement_2296E5
|
|
|
|
waitmovement 0
|
|
|
|
delay 10
|
2017-12-22 07:46:19 +00:00
|
|
|
playfanfare MUS_ME_BACHI
|
2017-11-10 01:21:31 +00:00
|
|
|
message EverGrandeCity_PokemonLeague_1F_Text_2297EF
|
|
|
|
waitmessage
|
|
|
|
waitfanfare
|
|
|
|
closemessage
|
2019-08-17 15:38:02 +01:00
|
|
|
copyobjectxytoperm 3
|
|
|
|
copyobjectxytoperm 4
|
2019-01-02 21:12:43 +00:00
|
|
|
setflag FLAG_ENTERED_ELITE_FOUR
|
2017-11-10 01:21:31 +00:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonLeague_1F_EventScript_229698:: @ 8229698
|
2018-12-19 19:08:01 +00:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, EverGrandeCity_PokemonLeague_1F_Movement_2296DA
|
2017-11-10 01:21:31 +00:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonLeague_1F_EventScript_2296A3:: @ 82296A3
|
2018-12-19 19:08:01 +00:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, EverGrandeCity_PokemonLeague_1F_Movement_2296DE
|
2017-11-10 01:21:31 +00:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonLeague_1F_EventScript_2296AE:: @ 82296AE
|
|
|
|
playse SE_HAZURE
|
2018-12-02 08:37:46 +00:00
|
|
|
msgbox EverGrandeCity_PokemonLeague_1F_Text_229787, MSGBOX_DEFAULT
|
2017-11-10 01:21:31 +00:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonLeague_1F_EventScript_2296BB:: @ 82296BB
|
2019-02-23 01:09:14 +00:00
|
|
|
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
|
2017-11-10 01:21:31 +00:00
|
|
|
waitmovement 0
|
2018-12-02 08:37:46 +00:00
|
|
|
msgbox EverGrandeCity_PokemonLeague_1F_Text_2297EF, MSGBOX_DEFAULT
|
2017-11-10 01:21:31 +00:00
|
|
|
closemessage
|
2019-02-23 01:09:14 +00:00
|
|
|
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
|
2017-11-10 01:21:31 +00:00
|
|
|
waitmovement 0
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonLeague_1F_Movement_2296DA: @ 82296DA
|
2018-06-14 00:19:19 +01:00
|
|
|
walk_down
|
|
|
|
walk_left
|
|
|
|
walk_in_place_fastest_up
|
2017-11-10 01:21:31 +00:00
|
|
|
step_end
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonLeague_1F_Movement_2296DE: @ 82296DE
|
2018-06-14 00:19:19 +01:00
|
|
|
walk_down
|
|
|
|
walk_right
|
|
|
|
walk_in_place_fastest_up
|
2017-11-10 01:21:31 +00:00
|
|
|
step_end
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonLeague_1F_Movement_2296E2: @ 82296E2
|
2018-06-14 00:19:19 +01:00
|
|
|
walk_left
|
|
|
|
walk_in_place_fastest_down
|
2017-11-10 01:21:31 +00:00
|
|
|
step_end
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonLeague_1F_Movement_2296E5: @ 82296E5
|
2018-06-14 00:19:19 +01:00
|
|
|
walk_right
|
|
|
|
walk_in_place_fastest_down
|
2017-11-10 01:21:31 +00:00
|
|
|
step_end
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonLeague_1F_Text_2296E8: @ 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
|
2018-12-07 15:41:08 +00:00
|
|
|
.string "You haven't obtained all the BADGES.\p"
|
|
|
|
.string "If you're bound for the POKéMON\n"
|
2017-11-10 01:21:31 +00:00
|
|
|
.string "LEAGUE, you must return with them.$"
|
|
|
|
|
|
|
|
EverGrandeCity_PokemonLeague_1F_Text_2297EF: @ 82297EF
|
|
|
|
.string "TRAINER! Believe in yourself and your\n"
|
|
|
|
.string "POKéMON, and go forth!$"
|
|
|
|
|