kep-hack/engine
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
..
battle Groundwork for the Candy Jar rework 2023-05-31 13:37:55 +01:00
debug Groundwork for the Candy Jar rework 2023-05-31 13:37:55 +01:00
events Functional Hyper Training! 2023-05-11 20:32:46 +01:00
gfx A few updates 2023-05-19 16:17:44 +01:00
items Groundwork for the Candy Jar rework 2023-05-31 13:37:55 +01:00
link Merge branch 'master' of https://github.com/pret/pokered 2022-12-28 17:38:38 -06:00
math Identify some .asm_* labels 2022-07-10 21:11:03 -04:00
menus Mystery Box functionality 2023-05-31 05:03:22 +01:00
movie Boy/Girl option 2023-05-13 00:08:39 +01:00
overworld Groundwork for the Candy Jar rework 2023-05-31 13:37:55 +01:00
pokemon (mostly) fix the tradeback tutor 2023-05-01 19:39:30 +01:00
slots A few small improvements 2023-04-29 18:10:11 +01:00
battletentdata.asm remove jack from the tent 2023-05-15 09:45:45 +01:00
flag_action.asm split code out of main.asm 2016-12-31 17:23:54 -08:00
joypad.asm Specify the ldh instruction, don't turn ld into ldh 2020-07-06 19:03:05 -04:00
play_time.asm Identify some .asm_* labels 2022-07-10 21:11:03 -04:00
predefs.asm More WRAM label cleanup (still needs UNIONs and renaming) 2021-05-31 16:25:16 -04:00