Skip to content

Commit

Permalink
Disfficulty tweeking
Browse files Browse the repository at this point in the history
PinkySmile committed Feb 23, 2020
1 parent daf94c2 commit b78be20
Showing 2 changed files with 12 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/collision.asm
Original file line number Diff line number Diff line change
@@ -12,15 +12,19 @@ checkCollisionSpaceshipAsteroid::
push af
ld a, [de]
inc de
inc a
inc a
ld b, a
add a, $10
add a, $C
ld hl, PLAYER1_STRUCT + PLAYER_STRUCT_Y_OFF
cp [hl]
jr c, .noCollide

ld a, [de]
inc a
inc a
ld c, a
add a, $10
add a, $C
ld hl, PLAYER1_STRUCT + PLAYER_STRUCT_X_OFF
cp [hl]
jr c, .noCollide
6 changes: 6 additions & 0 deletions src/intro.asm
Original file line number Diff line number Diff line change
@@ -240,9 +240,15 @@ intro::
cp $D0
jr nc, .moveBoss

cp $B0
jr nc, .dec
xor a
ld [INTRO_COUNTER], a
jr .skip
.dec:
ld hl, INTRO_COUNTER
dec [hl]
jr .skip
.moveBoss:
call moveBoss
jr .skip

0 comments on commit b78be20

Please sign in to comment.