Marged Gen 8 AI code into existing script file

This commit is contained in:
Maruno17
2021-08-02 23:06:55 +01:00
parent c6da16409e
commit 76eaadda61
3 changed files with 377 additions and 385 deletions

View File

@@ -35,12 +35,6 @@ Other notes:
- In Gen 7+, Shaymin/Hoopa revert their form when withdrawn from storage rather
than when deposited. It still also reverts under other conditions. Shaymin
reverts its form when deposited in the Day Care (all Gens).
- Look at Sweet Scent's out of battle effect, namely whether it should try to
cause a horde battle (and what does that mean in Essentials? Maybe 1v3).
- Maybe have multiple sets of Pickup items for multiple Gens. Probably not.
Gens 7+ seem to have different item probability calculations - investigate.
- Add a newer type of berry tree mechanics? Have a separate setting that
prevents deterioration?
- If a battle ends because of Rocky Helmet damage, the side that the Rocky
Helmet holder is on should lose (Gen 7+) or win (Gen 6-).
- Maybe the N-Solarizer/N-Lunarizer/that other fusion item that changes
@@ -67,7 +61,9 @@ Bicycle that can work on water.
Town Map added to the pause menu. (Don't bother adding.)
Remote access to storage boxes. See the Pokémon Box Link item.
Remote access to storage boxes via the party screen if you have the Pokémon Box
Link item (and it's allowed to be used - in Gyms and some other places it's
forbidden).
New evolution methods:
- Milcery: spinning while holding an item. (Doesn't suit our control scheme.
@@ -83,6 +79,15 @@ their base forms do. I don't think the compiler supports this, and instead
treats Abilities and HiddenAbilities separately. Can work around this by setting
HiddenAbilities to be the same as Abilities. I'm not too happy with this.
Look at Sweet Scent's out of battle effect, namely whether it should try to
cause a horde battle (and what does that mean in Essentials? Maybe 1v3).
Maybe have multiple sets of Pickup items for multiple Gens. Probably not. Gens
7+ seem to have different item probability calculations - investigate.
Add a newer type of berry tree mechanics? Have a separate setting that prevents
deterioration?
#===============================================================================
# Implemented
#===============================================================================
@@ -105,11 +110,7 @@ New evolution methods:
so don't worry about the multiple forms it can evolve into)
- Galarian Farfetch'd (performing 3 critical hits in a single battle)
Escape Rope's code now supports both consumable and non-consumable versions,
depending on whether it is a key item. All it needs is a proper definition in
items.txt.
Add AI for new moves/items/abilities.
Added AI for new moves/items/abilities.
Ability Effect Changes
- Intimidate now triggers Rattled. Rattled needs a new ability handler just for
@@ -130,6 +131,8 @@ Move Effect Changes
chance).
Item Effect Changes
- Escape Rope's code now supports both consumable and non-consumable versions,
depending on its definition in items.txt.
- If Leppa Berry is forced to be consumed, it will first try to work on a move
with 0 PP left (preferring the earliest such move in the list of moves), and
failing that, the earliest move in the list of moves which has any PP missing
@@ -140,6 +143,7 @@ Item Effect Changes
Opted to ignore this effect, and to modify the holder's effectiveness no matter
what.
Other changes:
- Multi-Attack's power changed to 120.
- Rapid Spin's power changed to 50.
- Vice Grip renamed to Vise Grip.