kep-hack/engine/overworld
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
..
auto_movement.asm Groundwork for Galarian Bird event 2023-04-27 18:00:47 +01:00
clear_variables.asm Groundwork for the Candy Jar rework 2023-05-31 13:37:55 +01:00
cut.asm Merge branch 'master' of https://github.com/pret/pokered 2023-04-19 20:04:38 -05:00
cut2.asm wOAMBuffer -> wShadowOAM (#370) 2022-07-09 17:18:18 -04:00
daycare_exp.asm split code out of main.asm 2016-12-31 17:23:54 -08:00
doors.asm Fix file modes 2020-11-14 20:52:10 -06:00
dust_smoke.asm wOAMBuffer -> wShadowOAM (#370) 2022-07-09 17:18:18 -04:00
elevator.asm Merge branch 'master' of https://github.com/pret/pokered 2022-12-28 17:38:38 -06:00
emotion_bubbles.asm wOAMBuffer -> wShadowOAM (#370) 2022-07-09 17:18:18 -04:00
field_move_messages.asm Identify some .asm_* labels 2022-07-10 21:11:03 -04:00
field_moves.asm Talk to Use Cut. Strength and Surf 2022-09-07 17:09:12 -06:00
healing_machine.asm Merge branch 'master' of https://github.com/dannye/pokered-crysaudio 2023-04-19 21:08:01 -05:00
hidden_objects.asm Fix file modes 2020-11-14 20:52:10 -06:00
is_player_just_outside_map.asm remove address comments 2016-06-11 17:24:04 -07:00
ledges.asm Fix file modes 2020-11-14 20:52:10 -06:00
map_sprites.asm Use a SPRITE_SET_LENGTH constant 2022-09-24 11:39:39 -04:00
missable_objects.asm Identify some .asm_* labels 2022-07-10 21:11:03 -04:00
movement.asm Merge branch 'master' of https://github.com/pret/pokered 2022-12-28 17:38:38 -06:00
pathfinding.asm Identify some .asm_* labels 2022-07-10 21:11:03 -04:00
player_animations.asm Boy/Girl option 2023-05-13 00:08:39 +01:00
player_state.asm Identify some .asm_* labels 2022-07-10 21:11:03 -04:00
push_boulder.asm Some formatting changes 2020-10-19 20:26:35 -04:00
special_warps.asm Disassemble the BLUEMONS.GB debug ROM 2020-07-15 13:35:39 -04:00
spinners.asm faster spinners 2022-09-29 20:07:43 -06:00
sprite_collisions.asm Remove c1x*/c2x* comments, use struct offset constants 2020-07-07 14:15:39 -04:00
tilesets.asm Identify some .asm_* labels 2022-07-10 21:11:03 -04:00
trainer_sight.asm Fix file modes 2020-11-14 20:52:10 -06:00
turn_sprite.asm Fix file modes 2020-11-14 20:52:10 -06:00
update_map.asm Removing version differences, and adding Mew 2022-09-25 14:03:04 +01:00
wild_mons.asm Remove remaining raw $xxxx values, and replace "+ -1" with "- 1" (supported by rgbds 0.4.0) 2020-07-04 01:00:45 -04:00