Commit Graph

352 Commits

Author SHA1 Message Date
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
Maruno17
765104bcef Merge remote-tracking branch 'origin/mkxp-z' into mkxp-z 2020-09-13 15:46:57 +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
m3rein
8da6ef64a3 Fixed text positioning and removed individual character offsets 2020-09-11 16:32:04 +02:00
m3rein
c732b35931 Tweaked general-purpose UI text y offset 2020-09-11 15:45:44 +02:00
m3rein
1defc18797 Extra y position offset for message windows 2020-09-11 15:45:26 +02:00
m3rein
a8b0baaa2d Removed excessive draw command in Options menu 2020-09-11 15:45:11 +02: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