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
a6c092a574
Abilities that hasten egg hatching now have a flag in abilities.txt for this effect
2021-12-29 22:13:18 +00:00
Maruno17
f3c4893dbb
Repels now have a flag in items.txt which determines if they can be reused when one runs out
2021-12-29 22:07:10 +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
048a18b415
Refactored ability/item/ball battle handlers, added "UltraBeast" species flag for Beast Ball
2021-11-18 22:52:19 +00:00
Maruno17
7ec8f30f0e
Some battle method refactoring, fixed typo
2021-11-17 20:40:19 +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
10a1fc4430
Added PBS file pokemon_metrics.txt, for all Pokémon sprite positionings
2021-10-23 20:30:09 +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
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
f411867c52
Updated all BaseExp values for species and forms
2021-08-29 20:48:43 +01:00
Maruno17
1b9e7400f9
Minor fixes to some move definitions
2021-08-21 22:47:25 +01:00
Maruno17
45fba56455
Turned fusion items into two separate items for the sake of them having different descriptions, fixed ability-changing items not doing so, added Zygarde Cube's Gen 8 effect
2021-08-21 18:26:48 +01:00
Maruno17
551f64e8a1
Added "Consumable" property to items.txt, light effects now properly centre themselves on the event regardless of graphic size, Disguise/Double Iron Bash Gen 8 changes
2021-07-21 22:46:49 +01:00
Maruno17
8b7a532e29
Updating some PBS files
2021-07-11 21:58:57 +01:00
Maruno17
ba6806aa5b
Added Gen 8 PBS files
2021-07-08 21:19:45 +01:00
Maruno17
987cb7640c
Turned move flags into separate words
2021-07-01 21:54:22 +01:00
Maruno17
c194e1b711
Changed the names of some properties in pokemon.txt and pokemon_forms.txt
2021-06-20 20:57:44 +01:00
Maruno17
565b15dca4
Renamed various PBS files
2021-06-20 20:27:57 +01:00
Maruno17
e201821919
Added new section-based format for abilities.txt
2021-06-20 17:46:36 +01:00
Maruno17
7c42e4ec20
Added new section-based format for moves.txt
2021-06-20 17:29:16 +01:00
Maruno17
e472d0fcdf
Rewrote PBS files to set all their "ID numbers" to 0
2021-06-19 20:18:55 +01:00
Maruno17
327d0de334
Redesigned controls help screen, added example of changing encounter version
2021-04-08 21:20:34 +01:00
Maruno17
d8bf4b7fda
Added class GameData::Evolution, moved evolution-related methods to more appropriate places
2021-03-12 23:20:02 +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
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
f302d8346a
Added class GameData::BodyShape, some bug fixes, updated some PBS files
2021-02-22 00:21:52 +00:00
Maruno17
ad21fc92cb
Created and implemented GameData::Species
2020-12-24 21:25:16 +00:00
Maruno17
af9b9ef812
Fixed incorrect PBS data for Power-Up Punch
2020-10-03 16:29:41 +01:00
Maruno17
25d48e3837
Fixed bugs with Multi-Attack, Illusion, Nature's Madness's definition and Slow Start
2020-10-01 17:54:46 +01:00
Maruno17
dbf8a57b2d
Fixed Alolan Ninetales being able to evolve into itself
2020-09-18 20:10:25 +01:00
Maruno17
36e492a3fe
Fixed error in evolution data saved to pokemon.txt
2020-09-16 17:56:51 +01:00
Maruno17
e4436c0fa3
Changed Greninja's forms to add one with the Battle Bond ability
2020-09-12 16:35:56 +01:00
Maruno17
ba94119d02
Initial commit
2020-09-04 22:00:59 +01:00