Commit Graph

93 Commits

Author SHA1 Message Date
Maruno17
d8bf4b7fda Added class GameData::Evolution, moved evolution-related methods to more appropriate places 2021-03-12 23:20:02 +00:00
Maruno17
4c35a7ecfe Fixed up text positioning and window sizes, fixed crash when choosing how many items to toss from the Bag 2021-03-07 23:08:05 +00:00
Maruno17
ff0c2f00c8 Added class GameData::Stat 2021-03-04 22:59:48 +00:00
Joni Savolainen
47b164f0ab Module#deprecated_method_alias (#101)
* Add Module#deprecated_method_alias
* Use deprecated_method_alias in 010_Pokemon_Deprecated.rb
* Use deprecated_method_alias on the rest of Pokemon methods
Also, use deprecate_constant on MAX_POKEMON_NAME_SIZE
* Use deprecated_method_alias on PlayerTrainer methods
* Ensure aliased method exists in deprecated_method_alias
2021-03-02 20:16:22 +00:00
Maruno17
8b0796588f Altered encounter chance calculation to be closer to Gen 3 (inc. Rock Smash), Pokémon's ball bug fix 2021-03-01 23:28:43 +00:00
Maruno17
ec742ac5f2 Added more save data conversions 2021-03-01 19:12:32 +00:00
Maruno17
57b3fe1b09 Tidied, fixed some bugs 2021-02-28 23:58:53 +00:00
Joni Savolainen
9c2b6e943b Save data rewrite & Game module (#91) 2021-02-28 21:26:16 +00:00
Maruno17
eda534f3be Added class GameData::GrowthRate 2021-02-23 22:20:34 +00:00
Maruno17
611d0a74eb Added class GameData::BattleWeather 2021-02-21 19:04:36 +00:00
Maruno17
63e640c79b Added classes GameData::Environment and GameData::BattleTerrain 2021-02-21 18:37:26 +00:00
Maruno17
6a8e4fcfa5 Added class GameData::Status 2021-02-15 23:20:51 +00:00
Maruno17
eda301b57b Added class GameData::GenderRatio 2021-02-06 23:11:48 +00:00
Maruno17
e1e9706cd9 Fixed bug with trainer data, tidied evolution-checking code 2021-02-02 23:09:57 +00:00
Maruno17
44e3c934ad Implemented GameData::Ribbon 2021-02-02 20:53:43 +00:00
Maruno17
66494b0044 Refactoring, documenting deprecated methods 2021-02-01 22:53:03 +00:00
Maruno17
1209b804e9 Moved all settings into module Settings 2021-02-01 21:03:58 +00:00
Maruno17
9fe14395c0 Implemented GameData::Nature, improved registration of GameData entries 2021-01-31 22:43:51 +00:00
Maruno17
4098b1cd11 Split PokeBattle_Trainer into PlayerTrainer and NPCTrainer 2021-01-24 17:55:39 +00:00
Maruno17
7de034957b More revamping and rearranging 2021-01-23 20:44:07 +00:00
Maruno17
8a89ef1220 Revamped classes Pokemon, PBMove and PokemonMail 2021-01-21 23:04:51 +00:00
Maruno17
736bb9ed10 Fixed code assuming map metadata exists, fixed misplaced species data methods, rewrote class PokeBattle_Pokemon 2021-01-20 20:22:31 +00:00
Maruno17
cb684094be Removed unused audio utilities and audio-recording (e.g. for Chatter) 2021-01-17 20:47:57 +00:00
Maruno17
2ab552ad3c Added method $Trainer.party_full? 2021-01-11 23:41:35 +00:00
Maruno17
f72ce06654 Created setting MAX_PARTY_SIZE, fixed some bugs 2021-01-11 22:44:01 +00:00
Maruno17
2586c09c3c Refactoring and tidying 2021-01-11 19:30:45 +00:00
Maruno17
ad21fc92cb Created and implemented GameData::Species 2020-12-24 21:25:16 +00:00
Maruno17
1ffeddc41c Moved methods that return item/trainer graphics, refactored evolution helper methods, rearranged some methods 2020-12-13 19:40:17 +00:00
Maruno17
bc13517cb7 Created and implemented GameData::Type 2020-12-12 21:26:46 +00:00
Maruno17
c9c6c2bb96 Update 001_Pokemon.rb
Resolving outstanding issues after merge from master
2020-12-04 21:01:55 +00:00
Maruno17
0cbaba70d7 Merge branch 'master' into dev 2020-12-04 20:56:37 +00:00
Maruno17
06682ba697 Fixed crash when a foe trainer tries to replace a caught Shadow Pokémon, fixed Hall of Fame not remembering entries 2020-12-02 21:14:13 +00:00
Maruno17
96fbe1563d Fixed a Pokémon's form being reset upon evolving, fixed Pokémon not using Struggle 2020-11-29 16:28:12 +00:00
Maruno17
eb22e49d9b Deleted rubyscreen.dll, eradicated semicolons from when... statements, compiling is now before setting up the system, appeased vocal dissenters 2020-11-26 21:10:45 +00:00
Maruno17
017cdb8d0f Merge branch 'master' into dev 2020-11-25 22:07:17 +00:00
Maruno17
4af57f6501 Added 1.5x screen size option, fixed 2**32 being 0, tidied up some code 2020-11-22 17:32:10 +00:00
Maruno17
3cd8d59918 Implemented GameData::Move 2020-11-19 21:00:29 +00:00
Maruno17
52ffae9e8a Implemented GameData::Metadata and GameData::MapMetadata 2020-11-15 18:59:07 +00:00
Maruno17
5534f338e7 Fixed using pkmn.species= with a form's internal name not setting the actual species. Fixed Shadow Pokémon not being able to have different Shadow Moves for particular forms. 2020-11-11 21:07:26 +00:00
Vendily
c87a578021 Fix for baby species to return the right species when checked with items (#60)
This fixes a bug in the baby species determination when both parents are holding an item, creating an egg that's fully evolved
Also fixes a related bug, in which it doesn't check items when doing a recursive baby species check, effectively ignoring incense if it has to recurse before reaching the incense'd mon.
2020-11-10 21:05:10 +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
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
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
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