summaryrefslogtreecommitdiff
path: root/mobile
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2018-01-21 20:10:38 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2018-01-21 20:10:38 -0500
commit5ddea59ec5637f51637af321bd41c855493f21b5 (patch)
treeedbfbdefd263e24cd546c57ed8f96f401af4d401 /mobile
parentf091bb8f032b61f035e0b0ef6cace19adc7d7107 (diff)
wGBCOnlyDecompressBuffer
Diffstat (limited to 'mobile')
-rwxr-xr-xmobile/mobile_5c.asm20
1 files changed, 10 insertions, 10 deletions
diff --git a/mobile/mobile_5c.asm b/mobile/mobile_5c.asm
index cb6589fb0..f973c2378 100755
--- a/mobile/mobile_5c.asm
+++ b/mobile/mobile_5c.asm
@@ -265,25 +265,25 @@ CheckBTMonMovesForErrors: ; 170c98
Function170cc6: ; 170cc6
ld a, [rSVBK]
push af
- ld a, $6
+ ld a, BANK(wDecompressScratch)
ld [rSVBK], a
- ld hl, LZ_170d16
+ ld hl, PichuAnimatedMobileGFX
ld de, wDecompressScratch
call Decompress
- ld a, $1
+ ld a, 1
ld [rVBK], a
- ld de, wDecompressBuffer
+ ld de, wDecompressScratch
ld hl, vTiles0
- lb bc, $6, $c1
+ lb bc, BANK(wDecompressScratch), 193
call Get2bpp
xor a
ld [rVBK], a
- ld hl, LZ_1715a4
- ld de, wDecompressBuffer
+ ld hl, ElectroBallMobileGFX
+ ld de, wDecompressScratch
call Decompress
ld de, wBGPals1
ld hl, vTiles0
- lb bc, $6, $53
+ lb bc, BANK(wDecompressScratch), 83
call Get2bpp
pop af
ld [rSVBK], a
@@ -304,10 +304,10 @@ Function170d02: ; 170d02
; 170d16
-LZ_170d16:
+PichuAnimatedMobileGFX:
INCBIN "gfx/mobile/pichu_animated.2bpp.lz"
-LZ_1715a4:
+ElectroBallMobileGFX:
INCBIN "gfx/mobile/electro_ball.2bpp.lz"
GFX_171848: