Commit Graph

83 Commits

Author SHA1 Message Date
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
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
Maruno17
6ac7aca902 Minor tweaks 2020-09-12 18:21:05 +01:00
Maruno17
e4436c0fa3 Changed Greninja's forms to add one with the Battle Bond ability 2020-09-12 16:35:56 +01:00
Maruno17
a756539651 Fixed party screen not animating while teaching a machine move 2020-09-12 01:39:31 +01:00
Maruno17
e5139b4d57 Pokémon cry when fainting now has a lower pitch 2020-09-12 01:18:12 +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
Maruno17
aaf5949c13 Removed unnecessary text drawing in Options screen, misc tweaks 2020-09-09 23:03:27 +01:00
Maruno17
ebbc4a0ad8 Altered script file-reading code 2020-09-09 22:11:27 +01:00
Maruno17
891cc2791f Fixed not getting berry's effect at full HP or under Heal Block when using Bug Bite/Pluck 2020-09-09 21:37:37 +01:00
Maruno17
9c808d4c86 Removed being able to give an item to a Pokémon while in item storage 2020-09-09 20:50:53 +01:00
Maruno17
b43b8a907d Fixed error in PokeBattle_Battler#pbHasMoveType? 2020-09-09 20:37:08 +01:00
Maruno17
925c12c831 Corrected MapFactory#isPassable? 2020-09-09 20:30:43 +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
Maruno17
f82ed7f5dc Symbolised enums in module TrainersMetadata 2020-09-07 22:52:59 +01:00
Maruno17
e987c10472 Rearranged some code relating to data and its caching 2020-09-07 22:48:11 +01:00
Maruno17
66671efcde Merge pull request #10 from jonisavo/additional-refactoring
Additional #isSpecies? and #hasItem? refactoring
2020-09-06 19:21:17 +01:00