Please donate money and help me raise over $3100 for my education.

Pokemon Ruby and Sapphire - Pokemon Battle System in Ruby

Implementation of the Pokemon Advance Battle System in the Ruby language, intended for use in RPG Maker XP. I created these files.

Contents

Latest Release

Code

  • PokeBattle_ActiveSide - Effects that apply to each side of a battle, rather than to individual Pokemon.
  • PokeBattle_Battler - Contains data on the active Pokemon and current in-battle effects.
  • PokeBattle_Battle - Contains data on the current battle. This class is the heart of the battle system.
  • PokeBattle_Pokemon - Contains data on the Pokemon, for non-battle-system use and to provide a relationship with battlers.
  • PokeBattle_Move - Implements damage and accuracy associated with moves. Subclasses of this class can provide special behavior for certain moves.
  • PokeBattle_Scene - Implements the look and feel of the battle system. This class was designed to work completely separately from the battle system proper. The implementation of this class given here is therefore intentionally rudimentary.
  • PBFile - Utility class for convenient access to data types within files.
  • PBMove - Lightweight data structure about a single move and its PP.

Constants

Data Files

Please donate money and help me raise over $3100 for my education.


Discussion