summaryrefslogtreecommitdiff
path: root/data/scripts/pc.inc
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-03-05 06:06:51 -0500
committerGitHub <noreply@github.com>2020-03-05 06:06:51 -0500
commit362cddc0f512d86af0d7e9bbf7c8edba2115c175 (patch)
tree9c24f5cc84e71ea519ae1f8ccb32135556f58244 /data/scripts/pc.inc
parent437fe6631adfe04ce89f966c189b7b015d81cf26 (diff)
parent102744163be40ec7fdab95beafac819d1e118bb5 (diff)
Merge pull request #285 from GriffinRichards/doc-scriptclean
Clean up script documentation
Diffstat (limited to 'data/scripts/pc.inc')
-rw-r--r--data/scripts/pc.inc24
1 files changed, 12 insertions, 12 deletions
diff --git a/data/scripts/pc.inc b/data/scripts/pc.inc
index 16cb13647..0c71b9c76 100644
--- a/data/scripts/pc.inc
+++ b/data/scripts/pc.inc
@@ -2,10 +2,10 @@ EventScript_PC:: @ 81A6955
goto_if_questlog EventScript_ReleaseEnd
lockall
goto_if_set FLAG_SYS_PC_STORAGE_DISABLED, EventScript_PCDisabled
- setvar VAR_0x8004, 27
- special Special_SetSomeVariable
+ setvar VAR_0x8004, HELPCONTEXT_PC
+ special Script_SetHelpContext
setvar VAR_0x8004, 0
- special Special_AnimatePcTurnOn
+ special AnimatePcTurnOn
playse SE_PC_ON
msgbox Text_BootedUpPC
goto EventScript_PCMainMenu
@@ -20,7 +20,7 @@ EventScript_PCDisabled:: @ 81A698E
EventScript_PCMainMenu:: @ 81A6998
message Text_AccessWhichPC
waitmessage
- special ScrSpecial_CreatePCMenu
+ special CreatePCMenu
waitstate
goto EventScript_ChoosePCMenu
end
@@ -50,8 +50,8 @@ EventScript_AccessPokemonStorage:: @ 81A6A05
msgbox Text_OpenedPkmnStorage
special ShowPokemonStorageSystem
waitstate
- setvar VAR_0x8004, 27
- special Special_SetSomeVariable
+ setvar VAR_0x8004, HELPCONTEXT_PC
+ special Script_SetHelpContext
goto EventScript_PCMainMenu
end
@@ -66,20 +66,20 @@ EventScript_AccessBillsPC:: @ 81A6A3D
EventScript_TurnOffPC:: @ 81A6A46
setvar VAR_0x8004, 0
playse SE_PC_OFF
- special Special_AnimatePcTurnOff
- special sub_812B35C
+ special AnimatePcTurnOff
+ special SetHelpContextForMap
releaseall
end
EventScript_AccessHallOfFame:: @ 81A6A56
goto_if_unset FLAG_SYS_GAME_CLEAR, EventScript_TurnOffPC
playse SE_PC_LOGIN
- setvar VAR_0x8004, 31
- special HelpSystem_BackupSomeVariable
- special Special_SetSomeVariable
+ setvar VAR_0x8004, HELPCONTEXT_PC_MISC
+ special BackupHelpContext
+ special Script_SetHelpContext
special HallOfFamePCBeginFade
waitstate
- special HelpSystem_RestoreSomeVariable
+ special RestoreHelpContext
goto EventScript_ChoosePCMenu
end