< >
Hello, guest! Please log in or register.

The PokéCommunity

Go Back     The PokéCommunity Forums > Create & Discover > Game Development > Pokémon Essentials Question Random occurences in battles


Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.

Reply Post Reply
Thread Tools
Old August 28th, 2013 (10:13 AM).
Alexandre's Avatar
Alexandre Alexandre is offline
Join Date: Mar 2005
Age: 21
Nature: Lonely
Posts: 401
Hey everyone, quick question regarding the battle system in Essentials (and in Pokemon in general I guess). I'm wondering which procedures are entirely or partly random and/or rely on probability calculations. I am aware of critical hits, and move effects like confusion, paralysis, burn etc etc but I was wondering if there are any others. It's been a while since I've messed with Essentials or even played Pokemon so it would be a big help. Cheers.
Reply With Quote
Old August 28th, 2013 (5:51 PM).
dexter1o6 dexter1o6 is offline
Join Date: Jul 2013
Age: 27
Gender: Male
Posts: 64
You can start reading here:


For starters, look under 'Other' --> 'Randomization adjustment'

This should be all you need, except that I cannot tell you what is actually implemented in Pokemon Essentials (I would have to test it or at least read through the scripts. But you can do that, right?)
Reply With Quote
Old September 1st, 2013 (4:36 AM).
FL's Avatar
FL FL is offline
Pokémon Island Creator
Join Date: Sep 2010
Gender: Male
Posts: 1,517
Generally uses this method:

def pbRandom(x)
  return rand(x)
rand ranges from 0...x

Critical hit are done using 'pbIsCritical?' method. Some effects durations like confusion are setted when the pokémon become confused.
Reply With Quote
Reply Post Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

  All times are GMT -8. The time now is 4:59 PM.

Contact Us Archive Privacy Statement Terms of Service Top