mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
Eliminate some $xxxx values
This commit is contained in:
parent
5fbd2fb8ba
commit
af29f1f97c
@ -2514,7 +2514,7 @@ BattleAnimFunction_25:
|
|||||||
ld hl, BATTLEANIMSTRUCT_10
|
ld hl, BATTLEANIMSTRUCT_10
|
||||||
add hl, bc
|
add hl, bc
|
||||||
ld e, [hl]
|
ld e, [hl]
|
||||||
ld hl, $ffa0
|
lb hl, -1, $a0
|
||||||
add hl, de
|
add hl, de
|
||||||
ld e, l
|
ld e, l
|
||||||
ld d, h
|
ld d, h
|
||||||
|
@ -46,9 +46,9 @@ _CardFlip:
|
|||||||
call CardFlip_InitAttrPals
|
call CardFlip_InitAttrPals
|
||||||
call EnableLCD
|
call EnableLCD
|
||||||
call WaitBGMap2
|
call WaitBGMap2
|
||||||
ld a, $e4
|
ld a, %11100100
|
||||||
call DmgToCgbBGPals
|
call DmgToCgbBGPals
|
||||||
ld de, $e4e4
|
lb de, %11100100, %11100100
|
||||||
call DmgToCgbObjPals
|
call DmgToCgbObjPals
|
||||||
call DelayFrame
|
call DelayFrame
|
||||||
xor a
|
xor a
|
||||||
|
@ -90,9 +90,9 @@ HDMATransfer_FillBGMap0WithBlack:
|
|||||||
ldh [rHDMA1], a
|
ldh [rHDMA1], a
|
||||||
ld a, LOW(wDecompressScratch)
|
ld a, LOW(wDecompressScratch)
|
||||||
ldh [rHDMA2], a
|
ldh [rHDMA2], a
|
||||||
ld a, HIGH(vBGMap0 % $8000)
|
ld a, HIGH(vBGMap0 - VRAM_Begin)
|
||||||
ldh [rHDMA3], a
|
ldh [rHDMA3], a
|
||||||
ld a, LOW(vBGMap0 % $8000)
|
ld a, LOW(vBGMap0 - VRAM_Begin)
|
||||||
ldh [rHDMA4], a
|
ldh [rHDMA4], a
|
||||||
ld a, $3f
|
ld a, $3f
|
||||||
ldh [hDMATransfer], a
|
ldh [hDMATransfer], a
|
||||||
|
Loading…
Reference in New Issue
Block a user