Commit Graph

95 Commits

Author SHA1 Message Date
Maruno17
a112a21a87 Renamed ABC inputs 2021-02-27 22:02:46 +00:00
Joni Savolainen
4e43a06f1b Remove unnecessary utilities (#99)
- Comparable.clamp is already defined
- Boolean class does not exist
- String#start_with? already exists
- String#end_with? already exists
- String#bytesize already exists
- String#capitalize already exists
- Integer#digits already exists
- Array#first and Array#last already exist
- Array#shuffle already exists

Ruby's own Integer#digits returns an array with the least significant digit as the first array element. That means that the method's only usage has to be appended with a call to Array#reverse.
2021-02-26 19:38:27 +00:00
Maruno17
87285a2a1f Added class GameData::Target 2021-02-24 21:05:04 +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
a6b22d5741 Moved status condition common animation names into the definitions of statuses 2021-02-16 22:42:28 +00:00
Maruno17
6a8e4fcfa5 Added class GameData::Status 2021-02-15 23:20:51 +00:00
Maruno17
0c7aab530d Merge branch 'master' into dev 2021-02-08 18:38:54 +00:00
Maruno17
9fe513ca16 Bug fixes for Illusion with 1 Pokémon in team, Magician triggering and Fake Out failing after switching in by an effect 2021-02-08 18:36:02 +00:00
Maruno17
e9ed260277 Some bug fixes 2021-02-03 20:33:46 +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
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
a5d1359dfe Fixing up after merge from master 2021-01-10 19:25:27 +00:00
Maruno17
b11bc133bd Merge branch 'master' into dev 2021-01-10 19:11:26 +00:00
Maruno17
386396cdf6 Condensed references to Unnerve, fixed Copycat always using Copycat 2021-01-10 19:00:03 +00:00
Derxwna Kapsyla
831555616e Fix: Changes an apostrophe in the switch out text (#80)
The apostrophe used in this message is inconsistent with other messages. Further, it does not display properly (at least, not in the FrLg font.)  and a box shows up in its place instead.
2021-01-10 18:00:40 +00:00
Maruno17
d4a7de4bdd Rearranged settings 2021-01-02 21:08:47 +00:00
Maruno17
63e257323b Merge branch 'master' into dev 2020-12-31 21:08:11 +00:00
Maruno17
cbbf6bad93 Player is no longer asked if they want to switch after they already replaced a fainted battler that round 2020-12-31 14:24:34 +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
c8790bafc9 Created and implemented GameData::TrainerType, fixed free text entry text mispositioning 2020-12-06 19:21:18 +00:00
Maruno17
0cbaba70d7 Merge branch 'master' into dev 2020-12-04 20:56:37 +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
01f451b398 Fixed battle graphics being incorrectly positioned, fixed mispositioned number choice window text 2020-11-27 21:14:38 +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
e2dcba2169 Bug fixes: invisible timer, bad poison icon looking like normal poison, errant message when sending in a random replacement, incorrect seen/owned numbers, battle PP restoration item crash 2020-11-25 19:15:49 +00:00
Maruno17
3cd8d59918 Implemented GameData::Move 2020-11-19 21:00:29 +00:00
Maruno17
9841bd2630 Fixed typo in Duel minigame, fixed crash when battling a single trainer while you have a partner, fixed undefined variable in Relic Song's form-changing code 2020-11-11 22:09:34 +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