document secret_base_1.inc

This commit is contained in:
GriffinR
2019-09-05 16:16:21 -04:00
parent 1d703e786b
commit 8c6b5648d4
7 changed files with 242 additions and 235 deletions

View File

@@ -444,201 +444,7 @@ gStdScripts_End:: @ 81DC2CC
.include "data/maps/SecretBase_YellowCave3/scripts.inc"
.include "data/maps/SecretBase_YellowCave4/scripts.inc"
EventScript_SecretBasePC:: @ 823B4BB
lockall
playse SE_PC_LOGIN
message Text_SecretBaseBootUpPC
dofieldeffect FLDEFF_PCTURN_ON
waitstate
waitmessage
waitbuttonpress
playse SE_SELECT
goto EventScript_SecretBasePCShowMainMenu
end
EventScript_SecretBasePCShowMainMenu:: @ 823B4D3
message Text_SecretBasePCStartMenu
waitmessage
goto_if_set FLAG_SECRET_BASE_REGISTRY_ENABLED, EventScript_SecretBasePCMainMenuChoice
goto EventScript_23B531
end
EventScript_SecretBasePCCancel:: @ 823B4E8
lockall
goto EventScript_SecretBasePCShowMainMenu
end
EventScript_SecretBasePCMainMenuChoice:: @ 823B4EF
multichoice 0, 0, 6, 0
switch VAR_RESULT
case 0, EventScript_23B581
case 1, EventScript_23B568
case 2, EventScript_23B585
case 3, EventScript_23B66E
case 127, EventScript_23B66E
end
EventScript_23B531:: @ 823B531
multichoice 0, 0, 5, 0
switch VAR_RESULT
case 0, EventScript_23B581
case 1, EventScript_23B568
case 2, EventScript_23B66E
case 127, EventScript_23B66E
end
EventScript_23B568:: @ 823B568
msgbox Text_2766AA, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq EventScript_SecretBasePCShowMainMenu
closemessage
special MoveOutOfSecretBase
releaseall
end
EventScript_23B581:: @ 823B581
special ShowSecretBaseDecorationMenu
end
EventScript_23B585:: @ 823B585
special ShowSecretBaseRegistryMenu
end
EventScript_RecordMixingSecretBasePC:: @ 823B589
lockall
message Text_SecretBaseBootUpPC
playse SE_PC_LOGIN
dofieldeffect FLDEFF_PCTURN_ON
waitstate
waitmessage
waitbuttonpress
playse SE_SELECT
goto EventScript_SecretBasePCStartMenu
end
EventScript_SecretBasePCStartMenu:: @ 823B5A1
message Text_SecretBasePCStartMenu
waitmessage
multichoice 0, 0, 7, 0
switch VAR_RESULT
case 0, EventScript_23B5F0
case 1, EventScript_23B585
case 2, EventScript_23B660
case 3, EventScript_23B66E
case 127, EventScript_23B66E
end
EventScript_SecretBasePCStart:: @ 823B5E9
lockall
goto EventScript_SecretBasePCStartMenu
end
EventScript_23B5F0:: @ 823B5F0
special GetCurSecretBaseRegistrationValidity
compare VAR_RESULT, 1
goto_if_eq EventScript_23B62F
compare VAR_RESULT, 2
goto_if_eq EventScript_CantRegisterTooManyBases
special CopyCurSecretBaseOwnerName_StrVar1
msgbox Text_WantToRegisterSecretBase, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq EventScript_SecretBasePCStartMenu
msgbox Text_2767D1, MSGBOX_SIGN
special ToggleCurSecretBaseRegistry
special DoSecretBasePCTurnOffEffect
releaseall
end
EventScript_23B62F:: @ 823B62F
msgbox Text_276731, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq EventScript_SecretBasePCStartMenu
msgbox Text_2767E9, MSGBOX_SIGN
special ToggleCurSecretBaseRegistry
special DoSecretBasePCTurnOffEffect
releaseall
end
EventScript_CantRegisterTooManyBases:: @ 823B652
msgbox Text_TooManyBasesDeleteSome, MSGBOX_SIGN
special DoSecretBasePCTurnOffEffect
closemessage
releaseall
end
EventScript_23B660:: @ 823B660
msgbox Text_276835, MSGBOX_DEFAULT
goto EventScript_SecretBasePCStartMenu
end
EventScript_23B66E:: @ 823B66E
special DoSecretBasePCTurnOffEffect
closemessage
releaseall
end
EventScript_23B674:: @ 823B674
special SetSecretBaseSecretsTvFlags_Poster
end
EventScript_23B678:: @ 823B678
special SetSecretBaseSecretsTvFlags_MiscFurnature
end
EventScript_23B67C:: @ 823B67C
special SetSecretBaseSecretsTvFlags_LargeDecorationSpot
end
EventScript_23B680:: @ 823B680
special SetSecretBaseSecretsTvFlags_SmallDecorationSpot
end
EventScript_SecretBaseSandOrnament:: @ 823B684
special SetSecretBaseSecretsTvFlags_SandOrnament
dofieldeffect FLDEFF_SAND_PILLAR
waitstate
end
EventScript_SecretBaseShieldOrToyTV:: @ 823B68C
special GetShieldToyTVDecorationInfo
compare VAR_RESULT, 0
goto_if_eq EventScript_23B6BC
compare VAR_RESULT, 1
goto_if_eq EventScript_23B6C5
compare VAR_RESULT, 2
goto_if_eq EventScript_23B6CE
compare VAR_RESULT, 3
goto_if_eq EventScript_23B6D7
end
EventScript_23B6BC:: @ 823B6BC
msgbox SecretBase_Text_BattleTowerShield, MSGBOX_SIGN
end
EventScript_23B6C5:: @ 823B6C5
msgbox SecretBase_Text_ToyTV, MSGBOX_SIGN
end
EventScript_23B6CE:: @ 823B6CE
msgbox SecretBase_Text_SeedotTV, MSGBOX_SIGN
end
EventScript_23B6D7:: @ 823B6D7
msgbox SecretBase_Text_SkittyTV, MSGBOX_SIGN
end
gText_SmallIndentInWall:: @ 823B6E0
.string "There's a small indent in the wall.$"
gText_UseSecretPower:: @ 823B704
.string "There's a small indent in the wall.\p"
.string "Use the SECRET POWER?$"
gText_DiscoveredSmallCavern:: @ 823B73E
.string "Discovered a small cavern!$"
SecretBase_RedCave1_Text_23B759: @ 823B759
.string "Want to make your SECRET BASE here?$"
.include "data/scripts/secret_base_1.inc"
.include "data/maps/SingleBattleColosseum/scripts.inc"
.include "data/maps/TradeCenter/scripts.inc"
@@ -3322,7 +3128,7 @@ EventScript_GotoTrainerScript:: @ 82742F6
end
.include "data/scripts/berry_tree.inc"
.include "data/scripts/secret_base.inc"
.include "data/scripts/secret_base_2.inc"
.include "data/scripts/cable_club.inc"
.include "data/scripts/contest_hall.inc"
.include "data/text/contest_strings.inc"