Skip to content
This repository was archived by the owner on Sep 21, 2025. It is now read-only.

Commit 427a8cd

Browse files
committed
GBCompo demo v1.4.1
1 parent e39f104 commit 427a8cd

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Engine/Player.asm

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,7 @@ ProcessPlayer:
402402
ld a,MUS_STAGE_CLEAR
403403
farcall DS_Init
404404
call EndSprites
405+
405406

406407
ldfar hl,StageClearTiles
407408
ld a,$20
@@ -432,7 +433,7 @@ ProcessPlayer:
432433
ld a,[sys_CurrentFrame]
433434
call .getYSine
434435
ldfar hl,StageClear_Scroll1
435-
ld c,%00001000
436+
ld b,$20 ; S
436437
ld a,[StageClear_Offset1]
437438
call .getOffset1
438439
@@ -506,7 +507,7 @@ ProcessPlayer:
506507
ld b,$2a ; C
507508
ld a,[StageClear_Offset5]
508509
call .getOffset2
509-
jr :+
510+
jr .setoffsets
510511

511512
.getOffset1
512513
ld c,%00001000
@@ -566,7 +567,7 @@ ProcessPlayer:
566567
; ========
567568
568569
; update offsets + delays
569-
:
570+
.setoffsets
570571
ld a,[StageClear_Offset1]
571572
inc a
572573
cp 64

0 commit comments

Comments
 (0)