Commit Graph

86 Commits

Author SHA1 Message Date
Maruno17
94a20e55f3 Fixed Advanced Wild Battles not generating true wild Pokémon, removed deprecated move compatibility code, fixed pauses when turning during continuous movement 2020-10-07 21:11:30 +01: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
41a304f568 Initial testing of deprecation 2020-09-23 20:26:29 +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
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
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
Maruno17
e4436c0fa3 Changed Greninja's forms to add one with the Battle Bond ability 2020-09-12 16:35:56 +01:00
Maruno17
32ac1d995c Fixed party screen not animating while using Rare Candy, and party icons refreshing late after Rare Candy evolution 2020-09-12 01:13:05 +01:00
Maruno17
7f522cee43 Tidied up evolution code and added lots more evolution methods 2020-09-12 00:38:06 +01:00
Maruno17
6f353ba813 Rewrote evolution methods to make them modular 2020-09-10 22:22:06 +01: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
Maruno17
3e1c482c21 Fixed Pokémon forms resetting to 0 upon evolving 2020-09-09 10:52:10 +01:00
João Vítor Reis
4d0e9cd331 Update 001_PokeBattle_Pokemon.rb
- Fixed name resetting on Pokémon with new species assigned that wasn't working as intended
- Improved naming on a variable
2020-09-08 15:01:08 -03:00
jonisavo
0b1bab3b5c Additional #isSpecies? and #hasItem? refactoring 2020-09-06 20:58:13 +03:00
Maruno17
6252407160 Merge pull request #9 from jonisavo/pokemon-use-hasItem
Refactor PokeBattle_Pokemon#hasItem? and use it instead of Object.isConst?
2020-09-06 17:39:02 +01:00
Maruno17
a91d13adcb Merge branch 'master' of https://github.com/Maruno17/pokemon-essentials 2020-09-06 17:32:33 +01:00
Maruno17
681a8331ab Resolved many Rubocop warnings 2020-09-06 17:31:12 +01: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
Maruno17
5073f86190 Rearranged some script files 2020-09-05 22:34:32 +01:00