Random additions because Martha was bored

- Gave the Debug Room its own name and placement on the map, simply being '?????' and up in the top-left corner of Nihon.

- Added a feature where the shiny palette of a Pokemon can be seen by pressing Select on the Pokedex screen.

- Added preliminary sprites for Belledam, Bipulla, Burgela, Coinpur, Jungela, Pupperon, Stromen, and Tricules.

- Added preliminary shiny palettes for Bipulla, Bellignan, Burgela, Coinpur, Jungela and Tricules

- Changed Debug Room's layout again slightly

- Added another NPC to the Debug Room that gives you a bunch of useful items when spoken to, mainly all of the HMs and Apriballs, plus some Master Balls, Rare Candies and more.
This commit is contained in:
Martha Schilling 2024-03-26 21:58:13 +00:00
parent 44db4d67ed
commit 7554222e3c
35 changed files with 131 additions and 61 deletions

View file

@ -62,6 +62,9 @@ Pokedex:
ld [wLastDexMode], a
call Pokedex_ClearLockedIDs
xor a
ld [wPokedexShinyToggle], a
pop af
ldh [hInMenu], a
pop af
@ -429,6 +432,9 @@ Pokedex_UpdateDexEntryScreen:
ld a, [hl]
and A_BUTTON
jr nz, .do_menu_action
ld a, [hl]
and SELECT
jr nz, .toggle_shininess
call Pokedex_NextOrPreviousDexEntry
ret nc
call Pokedex_IncrementDexPointer
@ -453,6 +459,24 @@ Pokedex_UpdateDexEntryScreen:
ld [wJumptableIndex], a
ret
.toggle_shininess
; toggle the current shininess setting
ld a, [wPokedexShinyToggle]
xor 1
ld [wPokedexShinyToggle], a
; refresh palettes
ld a, SCGB_POKEDEX
call Pokedex_GetSGBLayout
; play sound based on setting
ld a, [wPokedexShinyToggle]
and a
ld de, SFX_BUMP
jr z, .got_sound
ld de, SFX_SHINE
.got_sound
call PlaySFX
jp WaitSFX
Pokedex_Page:
ld a, [wPokedexStatus]
xor 1 ; toggle page