Level selection menu: entry transition events (#12) (#35) [commit 3]

This commit is contained in:
xCrystal
2024-02-03 14:22:00 +01:00
parent 403d2aee7e
commit 435d441d58
8 changed files with 64 additions and 56 deletions

View File

@@ -510,27 +510,6 @@ GetFrameOAMPointer:
add hl, de
ret
UnusedLoadSpriteAnimGFX: ; unreferenced
push hl
ld l, a
ld h, 0
add hl, hl
add hl, hl
ld de, UnusedSpriteAnimGFX
add hl, de
ld c, [hl]
inc hl
ld b, [hl]
inc hl
ld e, [hl]
inc hl
ld d, [hl]
pop hl
push bc
call Request2bpp
pop bc
ret
INCLUDE "data/sprite_anims/objects.asm"
INCLUDE "engine/sprite_anims/functions.asm"
@@ -539,8 +518,6 @@ INCLUDE "data/sprite_anims/framesets.asm"
INCLUDE "data/sprite_anims/oam.asm"
INCLUDE "data/sprite_anims/unused_gfx.asm"
Sprites_Cosine:
; a = d * cos(a * pi/32)
add %010000 ; cos(x) = sin(x + pi/2)