Thread: [Essentials Tutorial] How to add more features to the Pokégear
View Single Post
Old May 8th, 2013 (4:06 PM).
FL's Avatar
FL FL is offline
Pokémon Island Creator
    Join Date: Sep 2010
    Gender: Male
    Posts: 1,720
    Map, Phone and Jukebox aren't enough features for you? Let's add more!

    In Pokégear script section, after line '@cmdJukebox=-1' add '@cmdSomething=-1', after line 'commands[@cmdJukebox=commands.length]=_INTL("Jukebox")' add 'commands[@cmdSomething=commands.length]=_INTL("Something")'. Before the last line 'return', add the scene call in a 'if' statement with the command index, something like:

          if @cmdSomething>=0 && @sprites["command_window"][email protected]
            pbFadeOutIn(99999) {
    Change all the "Something" for something (lol) like DayCareChecker (works with this script if you use 'screen.startScreen' instead of 'screen.pbStartScreen' in the scene call). You can put a icon if you match the name, like the pokégear icons in Graphics/Pictures folder.
    Reply With Quote