2021-07-20 21:18:31 +02:00
|
|
|
EventScript_PC::
|
2019-10-05 16:52:48 +02:00
|
|
|
lockall
|
|
|
|
setvar VAR_0x8004, 0
|
|
|
|
special DoPCTurnOnEffect
|
|
|
|
playse SE_PC_ON
|
|
|
|
msgbox Text_BootUpPC, MSGBOX_DEFAULT
|
2019-10-07 07:13:34 +02:00
|
|
|
goto EventScript_PCMainMenu
|
2019-10-05 16:52:48 +02:00
|
|
|
end
|
2019-09-28 08:37:01 +02:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
EventScript_PCMainMenu::
|
2019-10-05 16:52:48 +02:00
|
|
|
message gText_WhichPCShouldBeAccessed
|
|
|
|
waitmessage
|
|
|
|
special ScriptMenu_CreatePCMultichoice
|
|
|
|
waitstate
|
2019-10-07 07:13:34 +02:00
|
|
|
goto EventScript_AccessPC
|
2019-10-05 16:52:48 +02:00
|
|
|
end
|
2019-09-28 08:37:01 +02:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
EventScript_AccessPC::
|
2019-10-05 16:52:48 +02:00
|
|
|
switch VAR_RESULT
|
2019-10-07 07:13:34 +02:00
|
|
|
case 0, EventScript_AccessPokemonStorage
|
|
|
|
case 1, EventScript_AccessPlayersPC
|
|
|
|
case 2, EventScript_AccessHallOfFame
|
|
|
|
case 3, EventScript_TurnOffPC
|
|
|
|
case MULTI_B_PRESSED, EventScript_TurnOffPC
|
2019-10-05 16:52:48 +02:00
|
|
|
end
|
2019-09-28 08:37:01 +02:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
EventScript_AccessPlayersPC::
|
2019-10-05 16:52:48 +02:00
|
|
|
playse SE_PC_LOGIN
|
|
|
|
msgbox gText_AccessedPlayersPC, MSGBOX_DEFAULT
|
|
|
|
special PlayerPC
|
|
|
|
waitstate
|
2019-10-07 07:13:34 +02:00
|
|
|
goto EventScript_PCMainMenu
|
2019-10-05 16:52:48 +02:00
|
|
|
end
|
2019-09-28 08:37:01 +02:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
EventScript_AccessPokemonStorage::
|
2019-10-05 16:52:48 +02:00
|
|
|
playse SE_PC_LOGIN
|
2019-10-07 07:13:34 +02:00
|
|
|
call_if_unset FLAG_SYS_PC_LANETTE, EventScript_AccessSomeonesPC
|
|
|
|
call_if_set FLAG_SYS_PC_LANETTE, EventScript_AccessLanettesPC
|
2019-10-05 16:52:48 +02:00
|
|
|
msgbox gText_StorageSystemOpened, MSGBOX_DEFAULT
|
|
|
|
special ShowPokemonStorageSystemPC
|
|
|
|
waitstate
|
2019-10-07 07:13:34 +02:00
|
|
|
goto EventScript_PCMainMenu
|
2019-10-05 16:52:48 +02:00
|
|
|
end
|
2019-09-28 08:37:01 +02:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
EventScript_AccessSomeonesPC::
|
2019-10-05 16:52:48 +02:00
|
|
|
msgbox gText_AccessedSomeonesPC, MSGBOX_DEFAULT
|
|
|
|
return
|
2019-09-28 08:37:01 +02:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
EventScript_AccessLanettesPC::
|
2019-10-05 16:52:48 +02:00
|
|
|
msgbox gText_AccessedLanettesPC, MSGBOX_DEFAULT
|
|
|
|
return
|
2019-09-28 08:37:01 +02:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
EventScript_TurnOffPC::
|
2019-10-05 16:52:48 +02:00
|
|
|
setvar VAR_0x8004, 0
|
|
|
|
playse SE_PC_OFF
|
|
|
|
special DoPCTurnOffEffect
|
|
|
|
releaseall
|
|
|
|
end
|
2019-09-28 08:37:01 +02:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
EventScript_AccessHallOfFame::
|
2019-10-07 07:13:34 +02:00
|
|
|
goto_if_unset FLAG_SYS_GAME_CLEAR, EventScript_TurnOffPC
|
2019-10-05 16:52:48 +02:00
|
|
|
playse SE_PC_LOGIN
|
|
|
|
special AccessHallOfFamePC
|
|
|
|
waitstate
|
2019-10-07 07:13:34 +02:00
|
|
|
goto EventScript_AccessPC
|
2019-10-05 16:52:48 +02:00
|
|
|
end
|