pokeemerald/data/scripts/hall_of_fame.inc

52 lines
2.2 KiB
PHP
Raw Normal View History

2021-07-20 21:18:31 +02:00
EverGrandeCity_HallOfFame_EventScript_SetGameClearFlags::
2019-11-08 09:07:19 +01:00
special SetChampionSaveWarp
setflag FLAG_IS_CHAMPION
call EverGrandeCity_HallOfFame_EventScript_ResetDefeatedEventLegendaries
call_if_eq VAR_FOSSIL_MANIAC_STATE, 0, EverGrandeCity_HallOfFame_EventScript_SetDesertUnderpassCommentReady
2021-02-14 22:38:39 +01:00
clearflag FLAG_HIDE_LILYCOVE_MOTEL_GAME_DESIGNERS
2019-11-08 09:07:19 +01:00
call EverGrandeCity_HallOfFame_EventScript_ResetEliteFour
setflag FLAG_HIDE_SLATEPORT_CITY_STERNS_SHIPYARD_MR_BRINEY
clearflag FLAG_HIDE_SS_TIDAL_CORRIDOR_MR_BRINEY
clearflag FLAG_HIDE_MOSSDEEP_CITY_STEVENS_HOUSE_INVISIBLE_NINJA_BOY
setvar VAR_STEVENS_HOUSE_STATE, 2
setflag FLAG_HIDE_VICTORY_ROAD_ENTRANCE_WALLY
clearflag FLAG_HIDE_VICTORY_ROAD_EXIT_WALLY
clearflag FLAG_HIDE_SLATEPORT_CITY_HARBOR_SS_TIDAL
clearflag FLAG_HIDE_LILYCOVE_HARBOR_SSTIDAL
setflag FLAG_HIDE_SAFARI_ZONE_SOUTH_CONSTRUCTION_WORKERS
clearflag FLAG_HIDE_SAFARI_ZONE_SOUTH_EAST_EXPANSION
setflag FLAG_HIDE_LILYCOVE_CITY_RIVAL
special UpdateTrainerFanClubGameClear
call_if_unset FLAG_RECEIVED_SS_TICKET, EverGrandeCity_HallOfFame_EventScript_ReadyReceiveSSTicketEvent
call_if_unset FLAG_RECEIVED_BELDUM, EverGrandeCity_HallOfFame_EventScript_ShowStevensHouseBeldum
setflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_BEDROOM
setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_BEDROOM
call_if_eq VAR_DEX_UPGRADE_JOHTO_STARTER_STATE, 0, EverGrandeCity_HallOfFame_EventScript_ReadyDexUpgradeEvent
2019-11-08 09:07:19 +01:00
return
2021-07-20 21:18:31 +02:00
EverGrandeCity_HallOfFame_EventScript_ResetDefeatedEventLegendaries::
2019-11-08 09:07:19 +01:00
clearflag FLAG_DEFEATED_MEW
clearflag FLAG_DEFEATED_LATIAS_OR_LATIOS
clearflag FLAG_DEFEATED_DEOXYS
clearflag FLAG_DEFEATED_LUGIA
clearflag FLAG_DEFEATED_HO_OH
return
2021-07-20 21:18:31 +02:00
EverGrandeCity_HallOfFame_EventScript_SetDesertUnderpassCommentReady::
2019-11-08 09:07:19 +01:00
setvar VAR_FOSSIL_MANIAC_STATE, 1
return
2021-07-20 21:18:31 +02:00
EverGrandeCity_HallOfFame_EventScript_ShowStevensHouseBeldum::
2019-11-08 09:07:19 +01:00
clearflag FLAG_HIDE_MOSSDEEP_CITY_STEVENS_HOUSE_BELDUM_POKEBALL
return
2021-07-20 21:18:31 +02:00
EverGrandeCity_HallOfFame_EventScript_ReadyReceiveSSTicketEvent::
2019-11-08 09:07:19 +01:00
setvar VAR_LITTLEROOT_HOUSES_STATE_MAY, 3
setvar VAR_LITTLEROOT_HOUSES_STATE_BRENDAN, 3
clearflag FLAG_HIDE_PLAYERS_HOUSE_DAD
return
2021-07-20 21:18:31 +02:00
EverGrandeCity_HallOfFame_EventScript_ReadyDexUpgradeEvent::
2019-11-08 09:07:19 +01:00
setvar VAR_DEX_UPGRADE_JOHTO_STARTER_STATE, 1
return