You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
wVramState -> wStateFlags and define flag constants (from pokecrystal f72f078c0e68736adf81f6c45c84f0c1e127a231)
This commit is contained in:
@@ -30,10 +30,10 @@ Pokedex:
|
||||
ld a, [hl]
|
||||
push af
|
||||
set NO_TEXT_SCROLL, [hl]
|
||||
ld a, [wVramState]
|
||||
ld a, [wStateFlags]
|
||||
push af
|
||||
xor a
|
||||
ld [wVramState], a
|
||||
ld [wStateFlags], a
|
||||
ldh a, [hInMenu]
|
||||
push af
|
||||
ld a, $1
|
||||
@@ -64,7 +64,7 @@ Pokedex:
|
||||
pop af
|
||||
ldh [hInMenu], a
|
||||
pop af
|
||||
ld [wVramState], a
|
||||
ld [wStateFlags], a
|
||||
pop af
|
||||
ld [wOptions], a
|
||||
pop af
|
||||
|
Reference in New Issue
Block a user