Maruno17
2078f6b116
Ensured consistent PBS file layouts, fixed some script file numberings
2023-06-27 20:38:15 +01:00
Maruno17
60f8a0cf7b
Fixed potential slight irregularities in effect chances of elemental Fang moves, tweaked how credits are gathered,
2023-06-27 19:16:14 +01:00
Maruno17
ce549ab62a
Rewrote AI item usage (inc. adding Revives), various fixes/changes to AI, removed Struggle from PBS files, some bug fixes
2023-04-23 17:52:39 +01:00
Maruno17
5a18f7fd65
Fixed additional effect issues with Eerie Spell/Jaw Lock/Thousand Waves
2023-03-09 20:37:26 +00:00
Maruno17
e93c3c69ac
Merge branch 'dev' into ai
2023-03-09 18:31:30 +00:00
Maruno17
6157c63fa2
Fixed movesets in PBS files, added more compatible TutorMoves
2023-03-04 18:47:32 +00:00
Maruno17
d0c99aa512
Improved AI code for weather-causing moves, added AI getting flags from trainer types, added Legendary/Mythical flags to pokemon.txt, added Setting to make wild Legendary/Mythical Pokémon smarter
2023-02-20 23:33:09 +00:00
Maruno17
3f5c1f0974
Merge branch 'dev' into ai
2023-02-05 19:10:25 +00:00
Keyacom
c233841bb6
Make Clangorous Soul affected by Dancer ( #195 )
...
As discovered by Awesomelink234 of Bulbapedia: https://bulbapedia.bulbagarden.net/wiki/Special:Diff/3633158
2023-02-04 21:29:54 +00:00
Maruno17
a22f75f500
Merge branch 'dev' into ai
2023-01-08 21:56:33 +00:00
Maruno17
ae0d193bba
More item portion name tweaks
2023-01-04 18:21:08 +00:00
Maruno17
2e8329f70b
Implemented item portion names, e.g. "bag of Soft Sand"
2023-01-03 21:32:32 +00:00
Maruno17
05b954e262
Merge branch 'dev' into ai
2022-12-31 17:28:56 +00:00
Maruno17
d654f3edbf
Added BP shop and prices to various items
2022-12-01 22:43:47 +00:00
Maruno17
5a49bbbc94
Renamed function code UseUserBaseDefenseInsteadOfUserBaseAttack, more AI function code changes
2022-10-17 21:13:31 +01:00
Maruno17
265897f9e1
Made AI function code-specific MoveFailureCheck handlers
2022-08-27 20:11:01 +01:00
Maruno17
cfb870c944
Added AI objects for trainers, battlers and the move being assessed, logging battle messages now also echoes them to the console
2022-08-22 21:37:33 +01:00
Maruno17
e3dbc5e690
Updated moves.txt to fix a few mistakes
2022-06-02 17:27:14 +01:00
Keyacom
2ba2893869
Fixed Grav Apple having the incorrect damage boost ( #179 )
...
* Fixed Grav Apple having the incorrect damage boost
In the official games, Grav Apple has a damage boost of 1.5x under Gravity, not 2x. This has been fixed.
* Updated move effect class name
* Apply updated function code
* Update moves.txt
2022-05-29 23:01:34 +01:00
Maruno17
9f09851db9
Renamed moves.txt property BaseDamage to Power
2022-05-29 19:01:49 +01:00
Maruno17
7a88d47b4b
Minor fixes to Pokérus code, fixed some incorrect apostrophes in PBS files
2022-05-06 19:04:13 +01:00
Maruno17
8062b8ed6c
Made "DefaultForm_X" flag apply when changing a Pokémon's species
2022-04-24 12:04:34 +01:00
Maruno17
90328df274
Updated moves that can't be called by Metronome
2022-04-10 22:33:56 +01:00
Maruno17
e87d55f56f
Added underscore in DefaultForm species flag for consistency
2022-03-31 20:20:29 +01:00
Maruno17
c012a7323a
Natural Gift's power/type moved into an item flag
2022-03-31 20:19:58 +01:00
Maruno17
38edb15f0c
Move item powers for Fling into an item flag
2022-03-31 19:53:21 +01:00
Maruno17
a0612b907f
Changed format of "EVs" property in pokemon.txt/pokemon_forms.txt
2022-03-09 23:03:02 +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
6698149083
Restored evolutions depending on Moss Rock/Icy Rock/magnetic field in Gen 8 PBS files
2022-01-30 18:16:19 +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
7d2e1027cd
Updated TMs to BDSP
2021-12-14 22:15:32 +00:00
Maruno17
840e1a8be9
Updated Pokémon PBS files to BDSP
2021-12-13 22:09:21 +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
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
ee16c22388
Added Hidden Power tutor compatibility to Gen 8 PBS files
2021-10-31 15:30:56 +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
f00f030825
Added effect of Pokémon Box Link
2021-09-12 21:08:46 +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
423961e524
Fixed unique Galarian evolutions not being flagged as being able to pass their form on when breeding, fixed bred Sinistea sometimes not being phony form
2021-09-02 22:01:17 +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