Commit Graph

56 Commits

Author SHA1 Message Date
Maruno17
3cd8d59918 Implemented GameData::Move 2020-11-19 21:00:29 +00:00
Maruno17
d7e9f6db67 Merge branch 'master' into refactor 2020-11-09 19:17:24 +00:00
Maruno17
1955d3698e Implemented usage of GameData::Item 2020-11-08 22:45:59 +00:00
Maruno17
ff70791104 Battlers now make use of Ability objects to be consistent with Pokemon objects 2020-11-04 21:27:56 +00:00
Maruno17
213347b938 Added class Data::Ability and made all code use symbols for abilities instead of numbers. Also added class Data::Item but it's unused. 2020-11-01 20:10:28 +00:00
Maruno17
c40f95838a Fixed X items being unusable by AI, finally fixed step after battle caused by a turn 2020-10-29 19:53:57 +00:00
Maruno17
a28aa5b4ad Fixed triggering a battle upon turning causing the player to take a step after it 2020-10-28 21:04:37 +00:00
Derxwna Kapsyla
a28eadb9af Fix: Made the "Battle flee" sound effect play before the "Fled from b… (#51)
* Fix: Made the "Battle flee" sound effect play before the "Fled from battle" messages
2020-10-28 18:41:18 +00:00
Maruno17
f6d626e7dd Merge branch 'master' of https://github.com/Maruno17/pokemon-essentials 2020-10-26 17:53:08 +00:00
Maruno17
896ec4ab85 Fixed partner trainers being unable to participate in wild/trainer battles against a single Pokémon even if a battle rule gives them a space in it 2020-10-26 17:52:42 +00:00
Derxwna Kapsyla
70163f2d72 Fix: EXP Full ding using wrong sound file (#50)
Small typo in the Essentials vanilla code that makes the EXP Full sound not play when the EXP bar fills up
2020-10-26 17:41:20 +00:00
Maruno17
3c2b97c21a Merge branch 'master' into refactor 2020-10-18 21:40:04 +01:00
Maruno17
a6d21de0c1 Merge branch 'pr/43' into refactor 2020-10-17 14:40:52 +01:00
Maruno17
7e627453da Moved item data constants into module ItemData 2020-10-17 00:56:30 +01:00
Maruno17
c30e302ccf Moved move data constants into module MoveData 2020-10-17 00:29:58 +01:00
Maruno17
d3ec5c2c53 Moved species data constants into module SpeciesData 2020-10-17 00:17:40 +01:00
jonisavo
ad1487be1d Remove all usage of the newly deprecated methods 2020-10-16 14:32:20 +03:00
jonisavo
2b2df4ae8f Use new Pokemon::Owner methods 2020-10-16 12:19:15 +03:00
Maruno17
5c4c0f4e35 Fixed AI not properly registering switches, fixed typo in def pbMessageOnRecall, fixed Synchronize bypassing type immunities 2020-10-09 20:54:01 +01:00
Maruno17
c02a362031 Fixed bad AI for Sticky Web 2020-10-02 20:16:01 +01:00
Maruno17
25d48e3837 Fixed bugs with Multi-Attack, Illusion, Nature's Madness's definition and Slow Start 2020-10-01 17:54:46 +01:00
Maruno17
c5b1e08383 Tidying and rearranging 2020-09-28 21:07:54 +01:00
Maruno17
a47f40a85b Fixed Rollout doing maximum damage on its first turn 2020-09-27 21:06:04 +01:00
Maruno17
97874a1d62 Fixed error in Mirror Move's code 2020-09-25 20:53:26 +01:00
Maruno17
edafe6f98d Fixed bug in AI for Camouflage 2020-09-23 23:10:14 +01:00
Joni Savolainen
8a5b141a8d Merge branch 'master' into PokeBattle_Pokemon-rename 2020-09-23 20:34:07 +03:00
Maruno17
4a41e98b28 Fixed Regenerator triggering at the end of battle instead of when switching out 2020-09-23 08:15:53 +01:00
Maruno17
7749dec2d4 Fixed default weather not returning after a primal weather ends 2020-09-21 19:23:59 +01:00
Maruno17
a5b04d6eb3 Fixed typo in Judgment's code 2020-09-21 08:30:28 +01:00
Joni Savolainen
1b7ec64d98 Rename MAX_POKEMON_NAME_SIZE to MAX_NAME_SIZE
in Pokemon
2020-09-20 21:25:39 +03:00
jonisavo
c73906170a Rename PokeBattle_Pokemon to Pokemon
Deprecate PokeBattle_Pokemon and pbNewPkmn
2020-09-20 20:55:51 +03:00
Maruno17
3099cc4802 Fixed bugs with Metal Burst and Powder 2020-09-20 15:14:27 +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
849b02abb6 Fixed Flame/Toxic Orb being able to replace another status condition 2020-09-18 20:27:01 +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
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
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
e4436c0fa3 Changed Greninja's forms to add one with the Battle Bond ability 2020-09-12 16:35:56 +01:00
Maruno17
e5139b4d57 Pokémon cry when fainting now has a lower pitch 2020-09-12 01:18:12 +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
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
b43b8a907d Fixed error in PokeBattle_Battler#pbHasMoveType? 2020-09-09 20:37:08 +01: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