You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Use constants for bit/set/res more
This commit is contained in:
@@ -2,7 +2,7 @@ _DepositPKMN: ; e2391 (38:6391)
|
||||
ld hl, wOptions
|
||||
ld a, [hl]
|
||||
push af
|
||||
set 4, [hl]
|
||||
set NO_TEXT_SCROLL, [hl]
|
||||
ld a, [wVramState]
|
||||
push af
|
||||
xor a
|
||||
@@ -264,7 +264,7 @@ _WithdrawPKMN: ; e2583 (38:6583)
|
||||
ld hl, wOptions
|
||||
ld a, [hl]
|
||||
push af
|
||||
set 4, [hl]
|
||||
set NO_TEXT_SCROLL, [hl]
|
||||
ld a, [wVramState]
|
||||
push af
|
||||
xor a
|
||||
@@ -507,7 +507,7 @@ _MovePKMNWithoutMail: ; e2759
|
||||
ld hl, wOptions
|
||||
ld a, [hl]
|
||||
push af
|
||||
set 4, [hl]
|
||||
set NO_TEXT_SCROLL, [hl]
|
||||
ld a, [wVramState]
|
||||
push af
|
||||
xor a
|
||||
|
@@ -778,7 +778,7 @@ PrintPartyMenuText: ; 5049a
|
||||
.gotstring ; 504be
|
||||
ld a, [wOptions]
|
||||
push af
|
||||
set 4, a ; disable text delay
|
||||
set NO_TEXT_SCROLL, a
|
||||
ld [wOptions], a
|
||||
hlcoord 1, 16 ; Coord
|
||||
call PlaceString
|
||||
|
Reference in New Issue
Block a user