Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.
Hello Eveyone!
I'm trying to put in a PC like as if you were in the pokemon center, But I don't know how... I'm guessing it's a script or something and I can't find it anywhere. Please help.
You're not gonna get far on your game if you don't make your own scripts or get a scripter for your hack. I suggest you learn it yourself, there are plenty of good tutorials on the tools, tutorials and resources section, though I recommend diegoiawesome's tutorial.
To make a pokemon center PC you actually only need the tiles - as the computer screen has a 'behaviour byte' that activates the default script. Put that computer tiles on any map and it should work.
For the player's computer script:
Spoiler:
'---------------
#org 0x168CE4
special 0x187
compare LASTRESULT 0x2
if 0x1 goto 0x81A7AE0
lockall
setvar 0x8004 0x20
special 0x17D
setvar 0x8004 0x1
special 0xD6
sound 0x4
msgbox 0x81A5420 MSG_KEEPOPEN '"[player] booted up the PC."
special 0xF9
waitstate
special 0x190
releaseall
end
'---------------
#org 0x1A7AE0
release
end
'---------
' Strings
'---------
#org 0x1A5420
= [player] booted up the PC.
According to this tutorial you can also use special 0x106 to call the PC script (with no animations).
Edit//
Here is the actual PC script, thanks to DavidJCobb:
Spoiler:
'---------------
#org 0x1A6955
special 0x187
compare LASTRESULT 0x2
if 0x1 goto 0x81A7AE0
lockall
checkflag 0x841
if 0x1 goto 0x81A698E
setvar 0x8004 0x1B
special 0x17D
setvar 0x8004 0x0
special 0xD6
sound 0x4
msgbox 0x81A5075 MSG_KEEPOPEN '"[player] booted up the PC."
goto 0x81A6998
'---------------
#org 0x1A7AE0
release
end
'---------------
#org 0x1A698E
msgbox 0x81A1390 MSG_KEEPOPEN '"The usual PC services aren't\navai..."
releaseall
end
'---------------
#org 0x1A6998
preparemsg 0x81A508A '"Which PC should be accessed?"
waitmsg
special 0x106
waitstate
goto 0x81A69A8
'---------------
#org 0x1A69A8
copyvar 0x8000 LASTRESULT
compare 0x8000 0x0
if 0x1 goto 0x81A6A05
compare 0x8000 0x1
if 0x1 goto 0x81A69F0
compare 0x8000 0x2
if 0x1 goto 0x81A6A7A
compare 0x8000 0x3
if 0x1 goto 0x81A6A56
compare 0x8000 0x4
if 0x1 goto 0x81A6A46
compare 0x8000 0x7F
if 0x1 goto 0x81A6A46
end
'---------------
#org 0x1A6A05
sound 0x2
checkflag 0x834
if 0x0 call 0x81A6A34
checkflag 0x834
if 0x1 call 0x81A6A3D
msgbox 0x81A50BE MSG_KEEPOPEN '"POK?MON Storage System opened."
special 0x3C
waitstate
setvar 0x8004 0x1B
special 0x17D
goto 0x81A6998
'---------------
#org 0x1A6A7A
checkflag 0x829
if 0x0 goto 0x81A6A46
sound 0x2
msgbox 0x81A5BC6 MSG_KEEPOPEN '"Accessed PROF. OAK's PC[.]\pAccess..."
msgbox 0x81A5C03 MSG_YESNO '"Would you like to have your\nPOK?D..."
compare LASTRESULT 0x0
if 0x1 goto 0x81A6AB2
setflag 0x2FF
call 0x81A73E0
clearflag 0x2FF
goto 0x81A6AB2
'---------------
#org 0x1A6A56
checkflag 0x82C
if 0x0 goto 0x81A6A46
sound 0x2
setvar 0x8004 0x1F
special 0x17E
special 0x17D
special 0x107
waitstate
special 0x17F
goto 0x81A69A8
'---------------
#org 0x1A6A46
setvar 0x8004 0x0
sound 0x3
special 0xD7
special 0x190
releaseall
end
'---------
' Strings
'---------
#org 0x1A5075
= [player] booted up the PC.
#org 0x1A1390
= The usual PC services aren't\navailable[.]
#org 0x1A508A
= Which PC should be accessed?
#org 0x1A50BE
= POK?MON Storage System opened.
#org 0x1A50DD
= Accessed [player]'s PC.
#org 0x1A5BC6
= Accessed PROF. OAK's PC[.]\pAccessed the POK?DEX Rating\nSystem[.]
#org 0x1A5C03
= Would you like to have your\nPOK?DEX rated?
#org 0x1A50A7
= Accessed Someone's PC.
#org 0x1A50EF
= Accessed BILL's PC.
#org 0x1A5C2E
= Closed link to PROF. OAK's PC.
#org 0x1A6CA3
= The amount of progress you've made\non your POK?DEX is:\p[buffer1] POK?MON seen and\n[buffer2] POK?MON owned.\p\c\h06?PROF. OAK's rating:
#org 0x1A71AA
= And your NATIONAL POK?DEX is:\p[buffer1] POK?MON seen and\n[buffer2] POK?MON owned.
#org 0x1A71EE
= I'll be looking forward to seeing\nyou fill the NATIONAL POK?DEX!
#org 0x1A722F
= Finally[.]\pYou've finally completed the\nPOK?DEX!\pIt's magnificent!\nTruly, this is a fantastic feat!