• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Cyndy, May, Hero (Conquest), or Wes - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

Script: Pokemon Outbreaks

I tried it and I got this error:

---------------------------
Pokemon Essentials
---------------------------
[Pokémon Essentials version 17.2]

Exception: RuntimeError

Message: Script error within event 4 (coords 12,13), map 155 (ROUTE 1):

Exception: SyntaxError

Message: (eval):1:in `pbExecuteScript'compile error
(eval):1: syntax error
@pbOutbreakInformation(0,1)
^

***Full script:

@pbOutbreakInformation(0,1)




Interpreter:276:in `pbExecuteScript'

Interpreter:1606:in `command_355'

Interpreter:494:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'

Scene_Map:163:in `follow_update'

Scene_Map:161:in `loop'

Scene_Map:170:in `follow_update'

Following_Pokemon:1935:in `update'



This exception was logged in

C:\Users\Kids\Saved Games\Pokemon Essentials\errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------

You don't need that @ when calling it in a script
 
This looks and works great, and adds that extra bit of authenticity to the original games. Thanks for this!
 
Can somebody help me making a NPC who can tell you were the Outbreak is. I do not know how to use pbOutbreakInformation(speciesvar,mapvar) and how I can turn a map number into the actual Map name
 
Can somebody help me making a NPC who can tell you were the Outbreak is. I do not know how to use pbOutbreakInformation(speciesvar,mapvar) and how I can turn a map number into the actual Map name

Pass in the map number into this function:
pbGetMessage(MessageTypes::MapNames,map_id)
 
Hello
This script is really good.
I wanted to know if it was possible to make a script for meteorological encounters.
A can as in Pokémon Sword and Shield.

I've never played a game past BW, so I don't really know how SwSh works on that front, but chances are you'll need to register a new EncounterModifier to return your special encounters depending on the weather, I guess?
It's just a matter of making a proc that returns a [species,level] array, for the most part, the rest is the conditions to get it to run.

I don't have much more than that for you, as I can't really code something I don't understand.
 
Back
Top