Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/engine/battle/core.asm b/engine/battle/core.asm
- index 9241ce6..3a4a8e6 100755
- --- a/engine/battle/core.asm
- +++ b/engine/battle/core.asm
- @@ -6416,7 +6416,10 @@ LoadPlayerBackPic:
- .next
- ld a, BANK(RedPicBack)
- call UncompressSpriteFromDE
- - predef ScaleSpriteByTwo
- +
- + ;predef ScaleSpriteByTwo
- + call LoadBackSpriteUnzoomed
- +
- ld hl, wOAMBuffer
- xor a
- ld [hOAMTile], a ; initial tile number
- @@ -6448,8 +6451,10 @@ LoadPlayerBackPic:
- ld e, a
- dec b
- jr nz, .loop
- - ld de, vBackPic
- - call InterlaceMergeSpriteBuffers
- +
- + ;ld de, vBackPic
- + ;call InterlaceMergeSpriteBuffers
- +
- ld a, $a
- ld [$0], a
- xor a
- @@ -7108,9 +7113,12 @@ LoadMonBackPic:
- call ClearScreenArea
- ld hl, wMonHBackSprite - wMonHeader
- call UncompressMonSprite
- - predef ScaleSpriteByTwo
- - ld de, vBackPic
- - call InterlaceMergeSpriteBuffers ; combine the two buffers to a single 2bpp sprite
- +
- + ;predef ScaleSpriteByTwo
- + ;ld de, vBackPic
- + ;call InterlaceMergeSpriteBuffers ; combine the two buffers to a single 2bpp sprite
- + call LoadBackSpriteUnzoomed
- +
- ld hl, vSprites
- ld de, vBackPic
- ld c, (2*SPRITEBUFFERSIZE)/16 ; count of 16-byte chunks to be copied
- @@ -7118,6 +7126,12 @@ LoadMonBackPic:
- ld b, a
- jp CopyVideoData
- +LoadBackSpriteUnzoomed:
- + ld a, $44
- + ld de, vBackPic
- + push de
- + jp LoadUncompressedBackSprite
- +
- JumpMoveEffect:
- call _JumpMoveEffect
- ld b, $1
- diff --git a/engine/hall_of_fame.asm b/engine/hall_of_fame.asm
- index 9eb4edc..01cd4dc 100755
- --- a/engine/hall_of_fame.asm
- +++ b/engine/hall_of_fame.asm
- @@ -195,10 +195,12 @@ HoFLoadPlayerPics:
- ld de, RedPicBack
- ld a, BANK(RedPicBack)
- call UncompressSpriteFromDE
- - predef ScaleSpriteByTwo
- - ld de, vBackPic
- - call InterlaceMergeSpriteBuffers
- - ld c, $1
- +
- + ;predef ScaleSpriteByTwo
- + ;ld de, vBackPic
- + ;call InterlaceMergeSpriteBuffers
- + ;ld c, $1
- + callba LoadBackSpriteUnzoomed
- HoFLoadMonPlayerPicTileIDs:
- ; c = base tile ID
- diff --git a/home.asm b/home.asm
- index 62a176c..3c18e1f 100644
- --- a/home.asm
- +++ b/home.asm
- @@ -766,6 +766,7 @@ LoadMonFrontSprite::
- call UncompressMonSprite
- ld hl, wMonHSpriteDim
- ld a, [hli]
- +LoadUncompressedBackSprite:
- ld c, a
- pop de
- ; fall through
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement