Commit Graph

18 Commits

Author SHA1 Message Date
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
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
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
25d48e3837 Fixed bugs with Multi-Attack, Illusion, Nature's Madness's definition and Slow Start 2020-10-01 17:54:46 +01:00
Joni Savolainen
8a5b141a8d Merge branch 'master' into PokeBattle_Pokemon-rename 2020-09-23 20:34:07 +03:00
Maruno17
7749dec2d4 Fixed default weather not returning after a primal weather ends 2020-09-21 19:23:59 +01:00
jonisavo
c73906170a Rename PokeBattle_Pokemon to Pokemon
Deprecate PokeBattle_Pokemon and pbNewPkmn
2020-09-20 20:55:51 +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
e73bef533d Use PokeBattle_Pokemon#hasItem? instead of isConst? 2020-09-06 15:41:46 +03:00
jonisavo
afd7b090b9 Use PokeBattle_Battler#isSpecies? instead of isConst? 2020-09-06 08:41:27 +03:00
Maruno17
5073f86190 Rearranged some script files 2020-09-05 22:34:32 +01:00