Candy Jar finished

- Fixed a bug where the Candy Jar would load `wIsInBattle`'s 01, causing it to zero itself out every time.
- Fixed a bug where the Candy Jar would display `wMysteryBoxActive` due to the way `text_bcd` was being used. Replaced with `text_decimal` so it actually displays properly as well. No hex!!
- Added a test function for the evolution in the debug party because that's cool
This commit is contained in:
Llinos Evans 2023-05-31 23:56:22 +01:00
parent 228de2b718
commit 9c953339af
4 changed files with 11 additions and 6 deletions

View file

@ -144,7 +144,7 @@ ItemUseCandyJar:
and a
jp nz, ItemUseNotTime
ld [wCandyJarCount], a ; Get the Candy count
ld a, [wCandyJarCount] ; Get the Candy count
cp 40 ; Is it 40? (represented as 400)
jr z, .Evolve ; If yes, jump to Evo Stone Script
ld hl, CandyJarCount ; Otherwise, load the Candy total...