kep-hack/engine/battle
Llinos Evans 228de2b718 Groundwork for the Candy Jar rework
This does everything except the incrementation.

If you defeat a Meltan, `wCandyJarCount` increments by 1, capping at 40. This is represented in-game as 10, going up to 400, simply by adding a 0 at the end. This, in effect, replicates the Meltan quest from Pokemon Go.

Once 40/400 is reached, the Candy Jar will become an evolution stone, evolving Meltan. Instead of consuming the Jar, the Candies inside are zeroed out.

Currently, the Candy Jar increments, but only once, thus why this is being committed on a separate branch. The bug appears to be at `engine\battle\core.asm`, line 842-861, likely 854-856. It's possible that it could be due to its position in WRAM, or that it's a `db` instead of a `dw`.
2023-05-31 13:37:55 +01:00
..
move_effects FEROCIOUS KICKS AND PUNCHES 2023-04-23 00:26:33 +01:00
animations.asm Decrease flashing damage animation loop 2023-05-17 23:46:07 +01: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 Groundwork for the Candy Jar rework 2023-05-31 13:37:55 +01: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 Name some unnamed animation constants (#396) 2023-03-25 23:31:59 -04:00
end_of_battle.asm Merge branch 'master' of https://github.com/pret/pokered 2022-12-28 17:38:38 -06:00
experience.asm Removed boosted exp text 2023-04-09 19:49:22 +01: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 Battle Tent Port 2023-05-13 02:50:31 +01:00
unused_stats_functions.asm Specify the ldh instruction, don't turn ld into ldh 2020-07-06 19:03:05 -04:00
wild_encounters.asm Celeste Hill & tileset 2023-04-18 17:30:57 +01:00