Commit Graph

119 Commits

Author SHA1 Message Date
Maruno17
2be698497a Moved compiler methods into module Compiler, moved call to pbSetUpSystem into Main 2020-10-18 17:23:13 +01:00
Maruno17
a6d21de0c1 Merge branch 'pr/43' into refactor 2020-10-17 14:40:52 +01:00
Maruno17
7640736188 Capitalisation of some constants 2020-10-17 01:18:01 +01:00
Maruno17
22c48b98d9 Tidied up credits script 2020-10-17 01:11:22 +01:00
Maruno17
7e627453da Moved item data constants into module ItemData 2020-10-17 00:56:30 +01:00
Maruno17
2b4f1e1aba Moved trainer data constants into module TrainerData 2020-10-17 00:45:39 +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
Maruno17
e82b5409fb Moved global/map metadata constants and schema into modules 2020-10-16 22:05:38 +01:00
Maruno17
71a4d09224 Moved all screen transition classes into module Transitions 2020-10-16 21:30:01 +01:00
jonisavo
47a1cb5462 Clone the Owner object in Pokemon#clone 2020-10-16 19:49:47 +03:00
jonisavo
fc7e5fbfb4 New file for Pokemon::Owner, 006_Pokemon_Owner.rb 2020-10-16 16:22:24 +03:00
jonisavo
bc9b1dc919 Make Pokemon.new accept Owner objects
Also, default the owner argument to $Trainer
2020-10-16 15:00:01 +03:00
jonisavo
ad1487be1d Remove all usage of the newly deprecated methods 2020-10-16 14:32:20 +03:00
jonisavo
b9801ef171 Deprecate Pokemon#language and Pokemon#language= 2020-10-16 14:11:09 +03:00
jonisavo
0122ccadcf Deprecate Pokemon#otgender and Pokemon#otgender= 2020-10-16 14:07:09 +03:00
jonisavo
71c7f9ce76 Add Pokemon::Owner::new_foreign 2020-10-16 12:32:56 +03:00
jonisavo
2b2df4ae8f Use new Pokemon::Owner methods 2020-10-16 12:19:15 +03:00
jonisavo
66c255546d Deprecate Pokemon#ot and Pokemon#ot= 2020-10-16 12:18:41 +03:00
jonisavo
89b490736d Use Kernel.validate 2020-10-16 11:15:26 +03:00
jonisavo
5a3879f294 Merge remote-tracking branch 'upstream/refactor' into pokemon-owner 2020-10-16 11:06:32 +03:00
Joni Savolainen
d860b703b1 Added Kernel.validate (#41) 2020-10-15 20:31:57 +01:00
Joni Savolainen
ae0e13c228 Deprecate Pokemon#trainerID and Pokemon#publicID 2020-10-13 20:55:15 +03:00
Joni Savolainen
c397aeba4e Setters for Pokemon::Owner 2020-10-13 20:49:50 +03:00
Joni Savolainen
ef7eb0eda4 Create Pokemon::Owner 2020-09-26 20:31:37 +03:00
Joni Savolainen
ca761640f8 Revert rename of Pokemon#publicID & #obtainLevel
These changes should be done in their own branch.
2020-09-24 08:34:23 +03:00
Joni Savolainen
8a5b141a8d Merge branch 'master' into PokeBattle_Pokemon-rename 2020-09-23 20:34:07 +03:00
Joni Savolainen
41a304f568 Initial testing of deprecation 2020-09-23 20:26:29 +03:00
Joni Savolainen
194654dbd7 Add 009_Deprecation.rb 2020-09-23 20:24:31 +03:00
Maruno17
7749dec2d4 Fixed default weather not returning after a primal weather ends 2020-09-21 19:23:59 +01:00
Maruno17
7c1b08c6b4 Merge pull request #24 from jonisavo/fix-console
Fix debug console not opening
2020-09-21 18:06:24 +01:00
Maruno17
a5b04d6eb3 Fixed typo in Judgment's code 2020-09-21 08:30:28 +01:00
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