Commit Graph

108 Commits

Author SHA1 Message Date
jonisavo
b9801ef171 Deprecate Pokemon#language and Pokemon#language= 2020-10-16 14:11:09 +03:00
jonisavo
0122ccadcf Deprecate Pokemon#otgender and Pokemon#otgender= 2020-10-16 14:07:09 +03:00
jonisavo
71c7f9ce76 Add Pokemon::Owner::new_foreign 2020-10-16 12:32:56 +03:00
jonisavo
2b2df4ae8f Use new Pokemon::Owner methods 2020-10-16 12:19:15 +03:00
jonisavo
66c255546d Deprecate Pokemon#ot and Pokemon#ot= 2020-10-16 12:18:41 +03:00
jonisavo
89b490736d Use Kernel.validate 2020-10-16 11:15:26 +03:00
jonisavo
5a3879f294 Merge remote-tracking branch 'upstream/refactor' into pokemon-owner 2020-10-16 11:06:32 +03:00
Joni Savolainen
d860b703b1 Added Kernel.validate (#41) 2020-10-15 20:31:57 +01:00
Joni Savolainen
ae0e13c228 Deprecate Pokemon#trainerID and Pokemon#publicID 2020-10-13 20:55:15 +03:00
Joni Savolainen
c397aeba4e Setters for Pokemon::Owner 2020-10-13 20:49:50 +03:00
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
Maruno17
7749dec2d4 Fixed default weather not returning after a primal weather ends 2020-09-21 19:23:59 +01:00
Maruno17
7c1b08c6b4 Merge pull request #24 from jonisavo/fix-console
Fix debug console not opening
2020-09-21 18:06:24 +01:00
Maruno17
a5b04d6eb3 Fixed typo in Judgment's code 2020-09-21 08:30:28 +01: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
Maruno17
4517a16537 Merge pull request #20 from jonisavo/yard-PokeBattle_Pokemon
Refactoring and YARD-style documentation of PokeBattle_Pokemon
2020-09-20 17:01:59 +01:00
Maruno17
1fe0d36454 Tidying 2020-09-20 17:00:41 +01:00
Maruno17
3099cc4802 Fixed bugs with Metal Burst and Powder 2020-09-20 15:14:27 +01:00
jonisavo
3728afa634 Improve PokeBattle_Pokemon#eggsteps's description 2020-09-20 15:06:34 +03:00
Maruno17
301a4c9b4f The player now moves at walking speed while diving 2020-09-20 12:24:36 +01:00
Maruno17
2fd085728a Fixed AI never using items 2020-09-19 12:14:57 +01:00
Maruno17
3f99fd39e3 Fixed a fainted Pokémon's damage state being reset immediately and stopping certain abilities/effects working properly if they reference it 2020-09-19 01:00:52 +01:00
Maruno17
3cf88f6f72 AI now chooses a move at random if all moves end up with a score of 0 2020-09-18 20:45:20 +01:00
Maruno17
9af513affd Fixed prevolution data not being determined for species that don't evolve further 2020-09-18 20:33:44 +01:00
Maruno17
849b02abb6 Fixed Flame/Toxic Orb being able to replace another status condition 2020-09-18 20:27:01 +01:00
Maruno17
f0c0c0a308 Fixed crashes in debug functions if there's a gap in item ID numbers 2020-09-18 20:22:02 +01:00
Maruno17
c391fb39f8 Fixed Soak affecting the user rather than the target 2020-09-18 20:13:27 +01:00
Maruno17
7ac820beb6 Fixed some items not being consumed when they should upon the holder being hit, and made them trigger Cheeck Pouch/Symbiosis where relevant 2020-09-18 20:09:05 +01: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
Maruno17
a619300a7e Fixed missing method for PokeBattle_FakeBattler 2020-09-17 18:33:08 +01:00
Maruno17
d111f93e35 Fixed bug in Dragon Tail's code 2020-09-16 22:00:51 +01:00
Maruno17
e7b90b54b0 Fixed error with surfacing check if the dive map you're in has no surface map 2020-09-16 20:04:17 +01:00
Maruno17
36e492a3fe Fixed error in evolution data saved to pokemon.txt 2020-09-16 17:56:51 +01:00
Marc Lequime
5367cc475f Fixed default value for delay in PngAnimatedBitmap 2020-09-16 09:41:38 +01:00
jonisavo
39e38cc74f Added documentation to most of PokeBattle_Pokemon 2020-09-13 13:34:44 +03:00
Maruno17
6979fb056b Correction to unstoppable/ungainable ability methods 2020-09-12 22:11:19 +01:00
Maruno17
d4db99719b Grouped all ability blacklists together 2020-09-12 22:00:25 +01:00
Maruno17
0fc544adb8 Compiling data now names each file being compiled 2020-09-12 18:31:36 +01:00