Commit Graph
33 Commits
Author SHA1 Message Date
Joni Savolainen ef7eb0eda4 Create Pokemon::Owner 2020-09-26 20:31:37 +03:00
Joni Savolainen ca761640f8 Revert rename of Pokemon#publicID & #obtainLevel
These changes should be done in their own branch.
2020-09-24 08:34:23 +03:00
Joni Savolainen 8a5b141a8d Merge branch 'master' into PokeBattle_Pokemon-rename 2020-09-23 20:34:07 +03:00
Joni Savolainen 41a304f568 Initial testing of deprecation 2020-09-23 20:26:29 +03:00
Joni Savolainen 194654dbd7 Add 009_Deprecation.rb 2020-09-23 20:24:31 +03:00
Joni Savolainen d62c340b28 Better description for Pokemon_Deprecated.rb 2020-09-21 08:20:11 +03:00
Joni Savolainen 7257c7479f Replace all usage of pbNewPkmn with Pokemon.new 2020-09-20 21:34:06 +03:00
Joni Savolainen 1b7ec64d98 Rename MAX_POKEMON_NAME_SIZE to MAX_NAME_SIZE
in Pokemon
2020-09-20 21:25:39 +03:00
Joni Savolainen 61ad59afa6 Create 009_Pokemon_Deprecated.rb 2020-09-20 21:24:05 +03:00
jonisavo 2696e15f67 Fix Debug Console not opening 2020-09-20 20:57:26 +03:00
jonisavo c73906170a Rename PokeBattle_Pokemon to Pokemon
Deprecate PokeBattle_Pokemon and pbNewPkmn
2020-09-20 20:55:51 +03:00
jonisavo 3728afa634 Improve PokeBattle_Pokemon#eggsteps's description 2020-09-20 15:06:34 +03:00
jonisavo 37c1c208aa Added descriptions to #clone, #mail= and #setItem
Also, improved the documentation of #name and #species
2020-09-18 21:02:20 +03:00
jonisavo 1d698a6a44 Documented the rest of PokeBattle_Pokemon 2020-09-18 20:12:35 +03:00
jonisavo 07604a3f61 More documentation, fixed bad YARD formatting 2020-09-18 14:34:26 +03:00
jonisavo d6e9ff6acb Moved methods related to status into a new section
Also, added more documentation
2020-09-18 13:56:24 +03:00
jonisavo 39e38cc74f Added documentation to most of PokeBattle_Pokemon 2020-09-13 13:34:44 +03:00
jonisavo 305cbbb072 More work on documentation 2020-09-09 16:15:15 +03:00
jonisavo 0faff2b546 fix a typo I made in #givePokerus 2020-09-09 16:15:15 +03:00
jonisavo 234f435a75 Additional refactoring, made #mail=(value) into a method that checks whether the passed value is valid 2020-09-09 16:15:15 +03:00
jonisavo 1b3a1f3f3c Further refactoring in PokeBattle_Pokemon 2020-09-09 16:15:14 +03:00
jonisavo 0b1bab3b5c Additional #isSpecies? and #hasItem? refactoring 2020-09-06 20:58:13 +03:00
jonisavo dcf3b18c48 Rename PokeBattle_Pokemon#hasItem?'s item variable to item_id for clarity 2020-09-06 15:57:54 +03:00
jonisavo e73bef533d Use PokeBattle_Pokemon#hasItem? instead of isConst? 2020-09-06 15:41:46 +03:00
jonisavo 97b2548a7e Refactored PokeBattle_Pokemon#hasItem? 2020-09-06 15:13:54 +03:00
jonisavo 1473d83a31 Use PokeBattle_Pokemon#isSpecies? instead of isConst? 2020-09-06 08:42:58 +03:00
jonisavo afd7b090b9 Use PokeBattle_Battler#isSpecies? instead of isConst? 2020-09-06 08:41:27 +03:00
jonisavo 7fb1281eab Add PokeBattle_Battler#isSpecies? 2020-09-06 07:42:36 +03:00
jonisavo cca8264bf5 Merge remote-tracking branch 'upstream/master' into handlerhash-block 2020-09-06 07:02:03 +03:00
jonisavo 4eb705b801 Modified HandlerHash#addIf to accept blocks 2020-09-06 07:01:27 +03:00
jonisavo 069b209851 Better error message for the #add method, and renamed handler_block to handlerBlock 2020-09-05 21:25:29 +03:00
jonisavo 3654575efe Merge remote-tracking branch 'upstream/master' into handlerhash-block 2020-09-05 20:56:27 +03:00
jonisavo 42e4923c86 HandlerHash#add can now take a block 2020-09-05 20:53:48 +03:00