Mystery Box functionality

It was a long shot, but I did it! I added the Mystery Box from Pokemon GO! Very happy with the results here.

So here's how it works: When used, the game will replace Pokemon encountered with Meltan until the player leaves the map. This is sort of how it works in GO, with the player unable to close it and naturally petering out as they play.

Now multiple Meltan can be obtained, and in abundance, just like GO. Technically, someone could use this as a pseudo-Repel to replace hard encounters with easy ones.

Oh, and I'm pretty sure this happens vs static encounters as well, but it's awkward to account for I think that's hilarious, so...
This commit is contained in:
Llinos Evans 2023-05-31 05:03:22 +01:00
parent 6d4b0f7a4e
commit 934f8adcac
15 changed files with 189 additions and 89 deletions

View file

@ -92,6 +92,7 @@ KeyItemFlags:
dbit TRUE ; OLD_SEA_MAP
dbit FALSE ; UP_GRADE
dbit FALSE ; METAL_COAT
dbit TRUE ; MYSTERY_BOX
dbit TRUE ; FLOOR_B2F
dbit TRUE ; FLOOR_B1F
dbit TRUE ; FLOOR_1F

View file

@ -92,6 +92,7 @@ ItemNames::
li "OLD SEA MAP"
li "UP-GRADE"
li "METAL COAT"
li "MYSTERY BOX"
assert_list_length NUM_ITEMS
li "B2F"
li "B1F"

View file

@ -92,6 +92,7 @@ ItemPrices::
bcd3 0 ; OLD_SEA_MAP
bcd3 3000 ; UP_GRADE
bcd3 3000 ; METAL_COAT
bcd3 0 ; MYSTERY_BOX
assert_table_length NUM_ITEMS
bcd3 0 ; FLOOR_B2F
bcd3 0 ; FLOOR_B1F