• 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!
  • It's time to vote for your favorite Pokémon Battle Revolution protagonist in our new weekly protagonist poll! Click here to cast your vote and let us know which PBR protagonist you like most.
  • 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.

[Archive] Pokemon Essentials: Starter Kit for RPG Maker XP

Status
Not open for further replies.
I had to find out the hard way that stopping an ME merely means setting the ME's volume to 0. Here -- Change the pbPlayTrainerIntroME function on PokemonUtilities (starting at line 254):

Code:
def pbPlayTrainerIntroME(trainertype)
 pbRgssOpen("Data/trainernames.dat","rb"){|f|
  trainernames=Marshal.load(f)
  if trainernames[trainertype]
   bgm=trainernames[trainertype][6]
   if bgm && bgm!=""
    bgm=pbStringToAudioFile(bgm)
    Audio.bgm_play("Audio/ME/#{bgm.name}",bgm.volume,bgm.pitch)
   end
  end
 }
end
 
I hate to moan, but I had some questions.
So sorry for moaning :D
Here are my questions again:
Spoiler:
 
Last edited:
Poccil, I've just noticed you forgot to add these lines to PokemonTrainers:
Code:
    elsif $game_screen.weather_type==5 # Edit
     battle.weather=PBWeather::SUNNYDAY
     battle.weatherduration=-1
at line 292.
 
Oh, OK.
Anyway, I added two more scripts to my thread: they are a random name generator I made, and a change map view (normal/custom/perspective) script poccil sent me once.
 
Nice work, Wichu!

Can someone tell me how to update properly? I tried, but then my game changed to an exact copy of the demo! (Glad I made a copy)
 
I think you just have to move any custom graphics and music over to Essentials. Then if you have no custom scripts/Pokémon etc, copy the System.rxdata, Mapinfos.rxdata and Map###.rxdata files from the original project to Essentials.
In PBS, copy any files you edited (especially metadata, encounters and trainers).
If you have custom Pokémon/items/moves etc, copy those files over, too.
Scripts are harder - you have to carefully copy and paste each of your edits.
Finally, run the game from within RPG Maker. If it doesn't do the "Compiling..." thing, run it again while holding CTRL.
It should be exactly
 
It works!

Thanks ALOT, Wichu! :)
Now I can insert your add-ons!

-Edit-

Is it possible to:

- Make weather effects change with the time of day?
Like in the morning, it's rain (20%)
And at night, it's rain (80%)

- Make events appear on certain days only?
Like a pokémon that only appears on Wednesday?
 
Last edited:
Another Error..Except this time when I try to run the .exe file...

Script 'SpriteWindow' line 1269: Errno::ENOENT occurred

No Such File or Directory-Data/dexdata.dat

Also, I got this error when I tried the Testplay:

Exception: RuntimeError
Message: Undefined Trainer constant name: FISHERMAN'
Compiler:710:in `pbGetConst'
Compiler:743:in `parseTrainer'
Compiler:1036:in `pbCompileTrainers'
Compiler:1035:in `loop'
Compiler:1091:in `pbCompileTrainers'
Compiler:2331
Section112:710:in `pbGetConst'
Section112:743:in `parseTrainer'
Section112:1036:in `pbCompileTrainers'
Section112:1035:in `loop'
Section112:1091:in `pbCompileTrainers'
Section112:2331
...

Can I have the Event Template for a battle?
 
Legend of Awesome:

You will receive a private message.

Devil_Silver:

That can also be achieved using a script-based switch.

Trigger: Action Button
Condition: Switch s:Time.now.wday==1 is ON
Code:
Text:  Today is Monday.
The number after "Time.now.wday" can be 0 for Sunday, 1 for Monday, and so on.

Also, making weather effects change with the time of day is not supported.
 
Last edited:
Ahh, I see now.

But what about the other error? Does that go with the Fisherman error?

ANOTHER Error..

Exception: RuntimeError
Message: In encounters.txt, expected a species entry line,
got "Pidgey,2" instead (probably too few entries in an encounter type).
Please check the format of the section numbered 0029,
which is just before this line.
Compiler:816:in `pbCompileEncounters'
Compiler:808:in `loop'
Compiler:822:in `pbCompileEncounters'
Compiler:779:in `loop'
Compiler:843:in `pbCompileEncounters'
Compiler:2343
Section112:816:in `pbCompileEncounters'
Section112:808:in `loop'
Section112:822:in `pbCompileEncounters'
Section112:779:in `loop'
Section112:843:in `pbCompileEncounters'
Section112:2343

I put it in just like somebody said..
 
Hey, thanks. Except it just kept asking me to remove and remove and remove..so before I remove anymore, is anything wrong here:

Spoiler:
 
For one thing, "Ratatta" is misspelled: it should be "RATTATA". Also, there should be 12 entries
with no blank lines between them.

EDIT: After inspecting the data compiler, I realized that it was reporting the wrong error. The real problem was that "Ratatta" was misspelled, not the number of entries, which was probably correct originally.
 
Last edited:
*Smacks Forehead*
I am being WAAAY to careless..

Dang. ANOTHER ERROR. :P

Script 'PokemonUtilities' line 266:SyntaxError occured

O.o
 
Status
Not open for further replies.
Back
Top