mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-04-27 05:47:13 +12:00
fixed shiny palette on pokedex new entry + gamecorner
This commit is contained in:
parent
7a8d406605
commit
bc42af64c5
7 changed files with 46 additions and 13 deletions
|
|
@ -210,8 +210,24 @@ endr
|
|||
inc de
|
||||
ld a, c
|
||||
ld [de], a
|
||||
inc de
|
||||
|
||||
; Set Shininess for New Dex Entry
|
||||
dec de
|
||||
ld b, d
|
||||
ld c, e
|
||||
farcall CheckShininess
|
||||
jp c, .shiny
|
||||
xor a
|
||||
jp .shinycont
|
||||
.shiny
|
||||
xor a
|
||||
inc a
|
||||
.shinycont
|
||||
ld [wPokedexShinyToggle], a
|
||||
; Unclobber de
|
||||
inc de
|
||||
inc de
|
||||
|
||||
; Initialize PP.
|
||||
push hl
|
||||
push de
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue