mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-04 18:30:07 +01:00
Move hall of fame script
This commit is contained in:
parent
bae4a586d8
commit
03a7995570
@ -645,61 +645,7 @@ Std_MsgboxAutoclose:: @ 8271494
|
|||||||
return
|
return
|
||||||
|
|
||||||
.include "data/scripts/new_game.inc"
|
.include "data/scripts/new_game.inc"
|
||||||
|
.include "data/scripts/hall_of_fame.inc"
|
||||||
@ Below seems to be hall_of_fame.inc and briney.inc together?
|
|
||||||
EverGrandeCity_HallOfFame_EventScript_SetGameClearFlags:: @ 82717C1
|
|
||||||
special SetChampionSaveWarp
|
|
||||||
setflag FLAG_IS_CHAMPION
|
|
||||||
call EverGrandeCity_HallOfFame_EventScript_ResetDefeatedEventLegendaries
|
|
||||||
compare VAR_FOSSIL_MANIAC_STATE, 0
|
|
||||||
call_if_eq EverGrandeCity_HallOfFame_EventScript_SetDesertUnderpassCommentReady
|
|
||||||
clearflag FLAG_HIDE_LILCOVE_MOTEL_GAME_DESIGNERS
|
|
||||||
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
|
|
||||||
compare VAR_DEX_UPGRADE_JOHTO_STARTER_STATE, 0
|
|
||||||
call_if_eq EverGrandeCity_HallOfFame_EventScript_ReadyDexUpgradeEvent
|
|
||||||
return
|
|
||||||
|
|
||||||
EverGrandeCity_HallOfFame_EventScript_ResetDefeatedEventLegendaries:: @ 8271829
|
|
||||||
clearflag FLAG_DEFEATED_MEW
|
|
||||||
clearflag FLAG_DEFEATED_LATIAS_OR_LATIOS
|
|
||||||
clearflag FLAG_DEFEATED_DEOXYS
|
|
||||||
clearflag FLAG_DEFEATED_LUGIA
|
|
||||||
clearflag FLAG_DEFEATED_HO_OH
|
|
||||||
return
|
|
||||||
|
|
||||||
EverGrandeCity_HallOfFame_EventScript_SetDesertUnderpassCommentReady:: @ 8271839
|
|
||||||
setvar VAR_FOSSIL_MANIAC_STATE, 1
|
|
||||||
return
|
|
||||||
|
|
||||||
EverGrandeCity_HallOfFame_EventScript_ShowStevensHouseBeldum:: @ 827183F
|
|
||||||
clearflag FLAG_HIDE_MOSSDEEP_CITY_STEVENS_HOUSE_BELDUM_POKEBALL
|
|
||||||
return
|
|
||||||
|
|
||||||
EverGrandeCity_HallOfFame_EventScript_ReadyReceiveSSTicketEvent:: @ 8271843
|
|
||||||
setvar VAR_LITTLEROOT_HOUSES_STATE, 3
|
|
||||||
setvar VAR_LITTLEROOT_HOUSES_STATE_2, 3
|
|
||||||
clearflag FLAG_HIDE_PLAYERS_HOUSE_DAD
|
|
||||||
return
|
|
||||||
|
|
||||||
EverGrandeCity_HallOfFame_EventScript_ReadyDexUpgradeEvent:: @ 8271851
|
|
||||||
setvar VAR_DEX_UPGRADE_JOHTO_STARTER_STATE, 1
|
|
||||||
return
|
|
||||||
|
|
||||||
EventScript_WhiteOut:: @ 8271857
|
EventScript_WhiteOut:: @ 8271857
|
||||||
call EverGrandeCity_HallOfFame_EventScript_ResetEliteFour
|
call EverGrandeCity_HallOfFame_EventScript_ResetEliteFour
|
||||||
|
53
data/scripts/hall_of_fame.inc
Normal file
53
data/scripts/hall_of_fame.inc
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
EverGrandeCity_HallOfFame_EventScript_SetGameClearFlags:: @ 82717C1
|
||||||
|
special SetChampionSaveWarp
|
||||||
|
setflag FLAG_IS_CHAMPION
|
||||||
|
call EverGrandeCity_HallOfFame_EventScript_ResetDefeatedEventLegendaries
|
||||||
|
compare VAR_FOSSIL_MANIAC_STATE, 0
|
||||||
|
call_if_eq EverGrandeCity_HallOfFame_EventScript_SetDesertUnderpassCommentReady
|
||||||
|
clearflag FLAG_HIDE_LILCOVE_MOTEL_GAME_DESIGNERS
|
||||||
|
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
|
||||||
|
compare VAR_DEX_UPGRADE_JOHTO_STARTER_STATE, 0
|
||||||
|
call_if_eq EverGrandeCity_HallOfFame_EventScript_ReadyDexUpgradeEvent
|
||||||
|
return
|
||||||
|
|
||||||
|
EverGrandeCity_HallOfFame_EventScript_ResetDefeatedEventLegendaries:: @ 8271829
|
||||||
|
clearflag FLAG_DEFEATED_MEW
|
||||||
|
clearflag FLAG_DEFEATED_LATIAS_OR_LATIOS
|
||||||
|
clearflag FLAG_DEFEATED_DEOXYS
|
||||||
|
clearflag FLAG_DEFEATED_LUGIA
|
||||||
|
clearflag FLAG_DEFEATED_HO_OH
|
||||||
|
return
|
||||||
|
|
||||||
|
EverGrandeCity_HallOfFame_EventScript_SetDesertUnderpassCommentReady:: @ 8271839
|
||||||
|
setvar VAR_FOSSIL_MANIAC_STATE, 1
|
||||||
|
return
|
||||||
|
|
||||||
|
EverGrandeCity_HallOfFame_EventScript_ShowStevensHouseBeldum:: @ 827183F
|
||||||
|
clearflag FLAG_HIDE_MOSSDEEP_CITY_STEVENS_HOUSE_BELDUM_POKEBALL
|
||||||
|
return
|
||||||
|
|
||||||
|
EverGrandeCity_HallOfFame_EventScript_ReadyReceiveSSTicketEvent:: @ 8271843
|
||||||
|
setvar VAR_LITTLEROOT_HOUSES_STATE, 3
|
||||||
|
setvar VAR_LITTLEROOT_HOUSES_STATE_2, 3
|
||||||
|
clearflag FLAG_HIDE_PLAYERS_HOUSE_DAD
|
||||||
|
return
|
||||||
|
|
||||||
|
EverGrandeCity_HallOfFame_EventScript_ReadyDexUpgradeEvent:: @ 8271851
|
||||||
|
setvar VAR_DEX_UPGRADE_JOHTO_STARTER_STATE, 1
|
||||||
|
return
|
Loading…
x
Reference in New Issue
Block a user