Maruno17
e87d55f56f
Added underscore in DefaultForm species flag for consistency
2022-03-31 20:20:29 +01:00
Maruno17
a0612b907f
Changed format of "EVs" property in pokemon.txt/pokemon_forms.txt
2022-03-09 23:03:02 +00:00
Maruno17
7f8fa16a52
Made Zacian/Zamazenta's rusted items unlosable, made bad poison icon be shown again in battle
2022-03-07 23:16:13 +00:00
Maruno17
dd78075657
Minor tweaks to compiling item data
2022-02-15 19:16:55 +00:00
Keyacom
30c3f472ef
Implement TramplesMinimize as a move flag ( #175 )
...
* Implement "TramplesMinimize" as a move flag
Implemented `TramplesMinimize` as a move flag. Due to it, removed effect codes `FlinchTargetTrampleMinimize` and `ParalyzeTargetTrampleMinimize` (the second one was exclusive to Body Slam). Moves that had them now have the effect codes `FlinchTarget` and `ParalyzeTarget`, respectively.
The code now does not check if the parameter of `tramplesMinimize?` is 1 or 2, it now checks if it is `true` or `false`. For the effect that causes the moves with this flag to skip accuracy checks, it also checks if `Settings::MECHANICS_GENERATION` is equal to or greater than 6.
Data on which moves are to be treated as able to double damage if Minimized and skip accuracy checks are [here](https://bulbapedia.bulbagarden.net/wiki/Minimize_(move)#Vulnerability_to_moves ).
**Remarks:**
- Dragon Rush, Heat Crash and Heavy Slam could not trample Minimize in Gen 5. Dragon Rush and Heat Crash could do so in Gen 6+, but Heavy Slam could not until Gen 7.
- Double Iron Bash could only trample Minimize in Gen 7.
**TL;DR:**
- Implemented `TramplesMinimize` as a move flag.
- Modified the check for this move flag.
- Removed effect codes `FlinchTargetTrampleMinimize` and `ParalyzeTargetTrampleMinimize`. Moves that had them now have the effect codes `FlinchTarget` and `ParalyzeTarget`, respectively.
2022-02-06 19:36:51 +00:00
Maruno17
8a89b7fbf4
Added move flag "CannnotMetronome"
2022-01-12 23:15:46 +00:00
Maruno17
7da449aec3
Merged Events and EncounterModifier into module EventHandlers
2021-12-30 18:59:35 +00:00
Maruno17
35126dfb6b
Fixed regional form-exclusive species producing eggs of the wrong species, fixed eggs not being the appropriate form based on the region they were made in
2021-12-23 18:20:43 +00:00
Maruno17
132a16950d
Yet more Rubocopping
2021-12-23 00:27:17 +00:00
Maruno17
33fcbf623b
More Rubocopping
2021-12-20 17:18:21 +00:00
Maruno17
65b1a8d6c3
More tweaks from the Rubocop overlord
2021-12-19 17:28:59 +00:00
Maruno17
33781493f4
More aligning of code
2021-12-19 12:19:08 +00:00
Maruno17
13a238cc6a
Many more Rubocop-inspired code improvements
2021-12-18 19:06:22 +00:00
Maruno17
d17fc40a47
Added decent spacing to all scripts thanks to Rubocop
2021-12-18 15:25:40 +00:00
Maruno17
2480ab0f9e
Applied most Rubocop-suggested layout fixes
2021-12-18 01:56:10 +00:00
Maruno17
5dc64f1709
Minor refactoring to kill various Rubocop warnings
2021-12-17 20:29:47 +00:00
Maruno17
15b86429a2
Pokémon cries no longer change pitch except when fainting, added support for separate fainting cries
2021-12-14 23:19:08 +00:00
Maruno17
79e04bff6c
Fixed code for happiness-based evolutions
2021-12-08 22:41:44 +00:00
Maruno17
6b841b78d3
Added egg move sharing in Day Care, added some Settings for Day Care/Nursery mechanics, Neutralizing Gas now triggers held items if it negates Unnerve, Imposter now only triggers when the Pokémon enters battle
2021-12-07 22:48:15 +00:00
Maruno17
5a81d447d1
Added Aura Wheel's visible type change in battle, added "display" methods for several move properties and examples of their use
2021-12-06 22:00:27 +00:00
Maruno17
479aeacc2c
Added new section-based format for berry_plants.txt
2021-11-24 19:05:18 +00:00
Maruno17
00c2df5772
Merged species Type1/Type2 into Types, did the same for Pokemon and Battler
2021-11-22 23:55:28 +00:00
Maruno17
d93d73caa8
Wrote a generalised data property editor that deals with a list of things from a GameData module, allowed the WildItem properties for species to contain multiple items each
2021-11-21 22:24:58 +00:00
Maruno17
b445f26a88
Converted Shadow Pokémon PBS file to a section-based format, improved Shadow Pokémon mechanics
2021-11-21 00:44:41 +00:00
Maruno17
7ec8f30f0e
Some battle method refactoring, fixed typo
2021-11-17 20:40:19 +00:00
Maruno17
12fd500dbc
Added Pokémon properties cannot_store, cannot_release and cannot_trade. Allowed Offspring species property to be edited.
2021-11-08 23:21:20 +00:00
Maruno17
15babcf835
Refining event evolution mechanics
2021-11-07 21:20:47 +00:00
Maruno17
34ab0b8afe
Added evolution method for Galarian Yamask, minor refactoring in battle code, a Pokémon's ability no longer needs resetting when changing its ability_index
2021-11-07 18:05:32 +00:00
Maruno17
0ec67f78fa
Added affection effects
2021-10-31 20:43:16 +00:00
Maruno17
899d037255
Added pokemon.txt/pokemon_forms.txt property "Offspring" for species that could be produced by breeding
2021-10-29 20:34:50 +01:00
Maruno17
6c38f769c7
Moved initial money/storage creator's name from Settings to metadata.txt, added initial item storage contents property to global metadata, added Home property to player metadata
2021-10-25 23:07:58 +01:00
Maruno17
10a1fc4430
Added PBS file pokemon_metrics.txt, for all Pokémon sprite positionings
2021-10-23 20:30:09 +01:00
Maruno17
ca680c9feb
Merged class PokemonTemp into class Game_Temp
2021-10-21 22:01:59 +01:00
Maruno17
e49cd8d498
Renamed $Trainer to $player
2021-10-20 22:57:43 +01:00
Maruno17
36ff7c4ba3
Renamed variables and methods relating to the Bag, renamed $PokemonBag to $Bag, $bag.has? can now check for a minimum quantity
2021-10-17 23:02:58 +01:00
Maruno17
56c9b69c44
Added "Name" property to map_metadata.txt, fixed map names not being translated in some cases, fixed minor things from a previous commit
2021-10-13 22:55:29 +01:00
Maruno17
a090f50bc5
Split metadata.txt into metadata.txt and map_metadata.txt, fixed bug when writing certain PBS files
2021-10-09 23:34:45 +01:00
Maruno17
1f9ba94432
Fixed quote marks around LoseText in trainers.txt
2021-10-03 22:42:18 +01:00
Maruno17
c7858de42a
Refactored berry plant code, added missing berry plant PBS data and charsets, fixed berry sparkles sometimes showing on the wrong map
2021-10-03 20:19:28 +01:00
Maruno17
df7c033a9d
Tweaked Fissure's function code, added Mirror Armor's effect
2021-09-10 20:40:45 +01:00
Maruno17
27be1cb330
Tidied up some function codes, added missing ones
2021-09-06 21:26:59 +01:00
Maruno17
c670c63bf5
Renamed all move function codes
2021-09-06 20:56:37 +01:00
Maruno17
885c1193e3
Added Flags property to ribbons
2021-09-02 21:09:18 +01:00
Maruno17
cef3d08917
Generalised form inheritance, making use of species flags
2021-09-02 21:05:53 +01:00
Maruno17
86cbcad382
Added Flags property to types, abilities, species and map metadata. Added LocationFlag evolution method.
2021-09-02 19:01:16 +01:00
Maruno17
cfbefceb00
Renamed skill code property in trainer_types.txt to SkillFlags, and allowed any number of them
2021-08-31 17:36:48 +01:00
Maruno17
3c88c897f0
Refactored checking whether a Pokémon/species is single gendered, tweaked console message.
2021-08-31 00:17:30 +01:00
Maruno17
a31ac0d4af
Merge branch 'master' into dev
2021-08-29 18:24:34 +01:00
Maruno17
6db668b449
Fixed HappinessMoveType, fixed particle effects on events not working
2021-08-29 18:20:52 +01:00
Maruno17
7ae62d74b7
Added terrain tag 17 NoEffect, Terrain Tag Editor now only sets defined terrain tags, fixed some move effects, fixed opposing Shadow Pokémon going into Hyper Mode, fixed Shadow Pokémon nature visibility
2021-08-14 22:36:55 +01:00