Commit Graph

16 Commits

Author SHA1 Message Date
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
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