Commit Graph

531 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
ba1d225b83 Removed RGSS2 compatibility, condensed BitmapCache into RPG::Cache and made it work 2021-03-10 21:32:00 +00:00
Maruno17
117396f8e2 Minor tidying 2021-03-09 21:31:17 +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
3ca08f27b8 Changed functionality of running key, added compatibility with old Mystery Gifts 2021-03-07 19:16:05 +00:00
Maruno17
3a1b9b6dc6 Added class GameData::EncounterType 2021-03-06 22:01:16 +00:00
Maruno17
ff0c2f00c8 Added class GameData::Stat 2021-03-04 22:59:48 +00:00
Maruno17
934e38662a Tweaks to encounter chance calculator and Rock Smash 2021-03-02 22:09:27 +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
fa99c2bcd7 Fixed screen mispositioning while sliding on ice, fixed broken Marts 2021-03-01 17:12:18 +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
a112a21a87 Renamed ABC inputs 2021-02-27 22:02:46 +00:00
Maruno17
19fe83f932 Fixed battle BGM fading in/being offset 2021-02-27 21:11:24 +00:00
Maruno17
1bf829c3f1 Made window bigger in map connections editor, fixed a couple of bugs, added Generation data to pokemon PBS files 2021-02-27 16:33:32 +00:00
Maruno17
8895d6b1a9 Optimised checking of map connections 2021-02-26 23:59:52 +00:00
Maruno17
5963f0fd07 Undid caching of map_connections.dat as it was already cached 2021-02-26 23:15:54 +00:00
Maruno17
b281734312 Cached MapInfos.rxdata and map_connections.dat, reduced usage of load_data 2021-02-26 23:00:27 +00:00
Roza
c9903c59c8 Add support for timing using delta clocks (#97)
* Small correction to getConstantName. I swear this didn't work before, but now it does.
* Support delta timing in mkxp-z
* refresh Graphics.delta time at the start of update
* Speed up load_data
* Replace Input.count calls with Input.time?
2021-02-26 19:57:52 +00:00
Maruno17
dd0bbe5da4 Fixed some Debug menu options closing the Debug menu automatically when they shouldn't 2021-02-26 19:49:55 +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
Joni Savolainen
d6b80118c9 Remove all usage of missing doubleclick? method (#98) 2021-02-26 19:28:34 +00:00
Maruno17
46ed10a31d Tweaks relating to previous commit 2021-02-25 22:57:39 +00:00
Roza
1f2309c4d2 Remove Win32API calls & upgrade to modern Ruby (#96)
* Win32API removal + Ruby 3 updates
* Update binaries to match mkxp-z 2.1
2021-02-25 22:09:59 +00:00
Maruno17
87285a2a1f Added class GameData::Target 2021-02-24 21:05:04 +00:00
Maruno17
823e7eb8ec Fixed typo in previous commit 2021-02-24 12:42:25 +00:00
Maruno17
eda534f3be Added class GameData::GrowthRate 2021-02-23 22:20:34 +00:00
Maruno17
f302d8346a Added class GameData::BodyShape, some bug fixes, updated some PBS files 2021-02-22 00:21:52 +00:00
Maruno17
bcab462ef0 Added more information to terrain tag editor 2021-02-21 20:24:30 +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
Joni Savolainen
c16311326c Fix a crash in PokeBattle_Trainer.copy (#95) 2021-02-20 15:51:12 +00:00
Maruno17
a6b22d5741 Moved status condition common animation names into the definitions of statuses 2021-02-16 22:42:28 +00:00
Maruno17
d3bf81e764 Fixed X items not being used properly (again) 2021-02-16 20:50:53 +00:00
Maruno17
6a8e4fcfa5 Added class GameData::Status 2021-02-15 23:20:51 +00:00
Maruno17
8b5b9d5fc4 Tweaks to BitmapCache 2021-02-08 19:25:54 +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
6bf749d3f3 Removed support for ID numbers in species/item/trainer graphics filenames 2021-02-07 15:06:21 +00:00
Maruno17
eda301b57b Added class GameData::GenderRatio 2021-02-06 23:11:48 +00:00
Maruno17
2e125019a9 Added class GameData::BodyColor 2021-02-06 22:40:41 +00:00
Maruno17
a5af35beb1 Added class GameData::Habitat 2021-02-06 22:06:55 +00:00
Maruno17
033434807d Commented out support for ID numbers in Pokémon filenames, added class GameData::EggGroup 2021-02-06 21:30:19 +00:00
Maruno17
e9ed260277 Some bug fixes 2021-02-03 20:33:46 +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