Skip to content

Commit

Permalink
GBCompo demo v1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
DevEd2 committed Sep 27, 2021
1 parent e39f104 commit 427a8cd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Engine/Player.asm
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ ProcessPlayer:
ld a,MUS_STAGE_CLEAR
farcall DS_Init
call EndSprites

ldfar hl,StageClearTiles
ld a,$20
Expand Down Expand Up @@ -432,7 +433,7 @@ ProcessPlayer:
ld a,[sys_CurrentFrame]
call .getYSine
ldfar hl,StageClear_Scroll1
ld c,%00001000
ld b,$20 ; S
ld a,[StageClear_Offset1]
call .getOffset1
Expand Down Expand Up @@ -506,7 +507,7 @@ ProcessPlayer:
ld b,$2a ; C
ld a,[StageClear_Offset5]
call .getOffset2
jr :+
jr .setoffsets

.getOffset1
ld c,%00001000
Expand Down Expand Up @@ -566,7 +567,7 @@ ProcessPlayer:
; ========
; update offsets + delays
:
.setoffsets
ld a,[StageClear_Offset1]
inc a
cp 64
Expand Down

0 comments on commit 427a8cd

Please sign in to comment.