kep-hack/engine/battle
Martha Schilling e6763371e4 AI Improvements
This fixes some of the issues with the current AI system to make them better. In short:

- Most Trainers should correctly recognise when a move is not very effective, and not use it. If they have a supereffective move and a regular-effective move, they will slightly prioritise the supereffective one, but not always use it like in regular RBY. This prevents the Lorelei softlock, for example.

- Trainers won't attempt to set status effects on Pokemon that already have one, won't try recovering at full health, and won't attempt to set up multiple Reflects or Light Screen

- Certain high-level trainers will recognise when a Pokemon does not have a status, and will try to inflict one if so. This makes Agatha's, Erika's and Koga's team types much more effective.

- Youngsters and Cue Balls no longer pick moves randomly and will actually give it some thought

- Brock and the Engineers now recognize type effectiveness, Students do not given how early they're encountered.

- General improvements to move choices for all Gym Leaders, E4 and Shinjuku Jacky.

We're almost done.
2024-01-05 13:59:27 +00:00
..
move_effects 1/256 Text and other transparency enhancements 2023-06-12 14:41:13 +01:00
animations.asm PureRGB move enhancements + Nasty Plot and Fake Tears animation fix 2024-01-03 21:41:24 +00:00
battle_transitions.asm polishing the added pokemon a little 2022-09-27 22:58:06 +01:00
common_text.asm Merge branch 'master' of https://github.com/dannye/pokered-crysaudio 2023-04-19 21:08:01 -05:00
core.asm caught icon + ai gets to land status 2023-11-14 08:17:22 +11:00
decrement_pp.asm Sync more with pokeyellow 2020-11-05 16:55:39 -05:00
display_effectiveness.asm Port pokecrystal's formatting of text commands and special characters 2020-07-04 21:14:46 -04:00
draw_hud_pokeball_gfx.asm wOAMBuffer -> wShadowOAM (#370) 2022-07-09 17:18:18 -04:00
effects.asm caught icon + ai gets to land status 2023-11-14 08:17:22 +11:00
end_of_battle.asm Merge branch 'master' of https://github.com/pret/pokered 2022-12-28 17:38:38 -06:00
experience.asm ported Red++ levelup code 2023-09-23 09:28:44 +10:00
get_trainer_name.asm SONY -> RIVAL 2020-07-17 13:27:27 -04:00
ghost_marowak_anim.asm wOAMBuffer -> wShadowOAM (#370) 2022-07-09 17:18:18 -04:00
init_battle_variables.asm Debug Battle doesn't replace attacks with Pound 2023-04-29 18:51:42 +01:00
link_battle_versus_text.asm Sync coordinate macros with pokecrystal 2020-07-07 11:30:10 -04:00
misc.asm Use {interpolation} to generate sequences of RAM labels 2021-04-27 15:49:59 -04:00
print_type.asm Add subdirectories to data/ similar to pokecrystal 2020-07-03 11:51:00 -04:00
read_trainer_party.asm Battle Tent Port 2023-05-13 02:50:31 +01:00
safari_zone.asm Fix file modes 2020-11-14 20:52:10 -06:00
save_trainer_name.asm LOTS of things 2023-02-19 06:25:33 +00:00
scale_sprites.asm Sync more with pokeyellow 2020-11-05 16:55:39 -05:00
scroll_draw_trainer_pic.asm Sync coordinate macros with pokecrystal 2020-07-07 11:30:10 -04:00
trainer_ai.asm AI Improvements 2024-01-05 13:59:27 +00:00
unused_stats_functions.asm AI Improvements 2024-01-05 13:59:27 +00:00
wild_encounters.asm Celeste Hill and Brunswick wild encounter glitch fixed 2023-12-25 13:16:44 +00:00