mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
wGBCOnlyDecompressBuffer
This commit is contained in:
parent
f091bb8f03
commit
5ddea59ec5
@ -10,7 +10,7 @@ GBCOnlyScreen: ; 4ea82
|
|||||||
call ClearTileMap
|
call ClearTileMap
|
||||||
|
|
||||||
ld hl, GBCOnlyGFX
|
ld hl, GBCOnlyGFX
|
||||||
ld de, wDecompressBuffer
|
ld de, wGBCOnlyDecompressBuffer
|
||||||
ld a, [rSVBK]
|
ld a, [rSVBK]
|
||||||
push af
|
push af
|
||||||
ld a, 0 ; this has the same effect as selecting bank 1
|
ld a, 0 ; this has the same effect as selecting bank 1
|
||||||
@ -19,9 +19,9 @@ GBCOnlyScreen: ; 4ea82
|
|||||||
pop af
|
pop af
|
||||||
ld [rSVBK], a
|
ld [rSVBK], a
|
||||||
|
|
||||||
ld de, wDecompressBuffer
|
ld de, wGBCOnlyDecompressBuffer
|
||||||
ld hl, vTiles2
|
ld hl, vTiles2
|
||||||
lb bc, BANK(GBCOnlyGFX), $54
|
lb bc, BANK(GBCOnlyGFX), 84
|
||||||
call Get2bpp
|
call Get2bpp
|
||||||
|
|
||||||
ld de, Font
|
ld de, Font
|
||||||
|
@ -265,25 +265,25 @@ CheckBTMonMovesForErrors: ; 170c98
|
|||||||
Function170cc6: ; 170cc6
|
Function170cc6: ; 170cc6
|
||||||
ld a, [rSVBK]
|
ld a, [rSVBK]
|
||||||
push af
|
push af
|
||||||
ld a, $6
|
ld a, BANK(wDecompressScratch)
|
||||||
ld [rSVBK], a
|
ld [rSVBK], a
|
||||||
ld hl, LZ_170d16
|
ld hl, PichuAnimatedMobileGFX
|
||||||
ld de, wDecompressScratch
|
ld de, wDecompressScratch
|
||||||
call Decompress
|
call Decompress
|
||||||
ld a, $1
|
ld a, 1
|
||||||
ld [rVBK], a
|
ld [rVBK], a
|
||||||
ld de, wDecompressBuffer
|
ld de, wDecompressScratch
|
||||||
ld hl, vTiles0
|
ld hl, vTiles0
|
||||||
lb bc, $6, $c1
|
lb bc, BANK(wDecompressScratch), 193
|
||||||
call Get2bpp
|
call Get2bpp
|
||||||
xor a
|
xor a
|
||||||
ld [rVBK], a
|
ld [rVBK], a
|
||||||
ld hl, LZ_1715a4
|
ld hl, ElectroBallMobileGFX
|
||||||
ld de, wDecompressBuffer
|
ld de, wDecompressScratch
|
||||||
call Decompress
|
call Decompress
|
||||||
ld de, wBGPals1
|
ld de, wBGPals1
|
||||||
ld hl, vTiles0
|
ld hl, vTiles0
|
||||||
lb bc, $6, $53
|
lb bc, BANK(wDecompressScratch), 83
|
||||||
call Get2bpp
|
call Get2bpp
|
||||||
pop af
|
pop af
|
||||||
ld [rSVBK], a
|
ld [rSVBK], a
|
||||||
@ -304,10 +304,10 @@ Function170d02: ; 170d02
|
|||||||
|
|
||||||
; 170d16
|
; 170d16
|
||||||
|
|
||||||
LZ_170d16:
|
PichuAnimatedMobileGFX:
|
||||||
INCBIN "gfx/mobile/pichu_animated.2bpp.lz"
|
INCBIN "gfx/mobile/pichu_animated.2bpp.lz"
|
||||||
|
|
||||||
LZ_1715a4:
|
ElectroBallMobileGFX:
|
||||||
INCBIN "gfx/mobile/electro_ball.2bpp.lz"
|
INCBIN "gfx/mobile/electro_ball.2bpp.lz"
|
||||||
|
|
||||||
GFX_171848:
|
GFX_171848:
|
||||||
|
Loading…
Reference in New Issue
Block a user