Shift gameplay a tad for screen effects.

This commit is contained in:
Randy Thiemann 2023-11-02 07:56:44 +01:00
parent 119756a90c
commit 7bfe31210e
8 changed files with 2653 additions and 2639 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -355,6 +355,8 @@ GBCGameplayProcess::
ld [hl], a ld [hl], a
ld hl, wShadowTileAttrs+(row*32)+19 ld hl, wShadowTileAttrs+(row*32)+19
ld [hl], a ld [hl], a
ld hl, wShadowTileAttrs+(row*32)+31
ld [hl], a
DEF row += 1 DEF row += 1
ENDR ENDR

View File

@ -163,20 +163,20 @@ DEF PALETTE_LIGHTER_2 EQU %01000000
DEF PALETTE_LIGHTER_3 EQU %00000000 DEF PALETTE_LIGHTER_3 EQU %00000000
; Sprite base positions. ; Sprite base positions.
DEF NEXT_BASE_X EQU 100 DEF NEXT_BASE_X EQU 102
DEF NEXT_BASE_Y EQU 37 DEF NEXT_BASE_Y EQU 37
DEF HOLD_BASE_X EQU 100 DEF HOLD_BASE_X EQU 102
DEF HOLD_BASE_Y EQU 77 DEF HOLD_BASE_Y EQU 77
DEF QUEUE_BASE_X EQU 131 DEF QUEUE_BASE_X EQU 135
DEF QUEUE_BASE_Y EQU 35 DEF QUEUE_BASE_Y EQU 35
DEF SCORE_BASE_X EQU 112 DEF SCORE_BASE_X EQU 114
DEF SCORE_BASE_Y EQU 112 DEF SCORE_BASE_Y EQU 112
DEF LEVEL_BASE_X EQU 112 DEF LEVEL_BASE_X EQU 114
DEF CLEVEL_BASE_Y EQU 133 DEF CLEVEL_BASE_Y EQU 133
DEF NLEVEL_BASE_Y EQU 145 DEF NLEVEL_BASE_Y EQU 145
DEF GRADE_BASE_X EQU 145 DEF GRADE_BASE_X EQU 147
DEF GRADE_BASE_Y EQU 20 DEF GRADE_BASE_Y EQU 20
DEF TELLS_BASE_X EQU 154 DEF TELLS_BASE_X EQU 156
DEF TELLS_BASE_Y EQU 61 DEF TELLS_BASE_Y EQU 61
DEF TELLS_Y_DIST EQU 10 DEF TELLS_Y_DIST EQU 10

View File

@ -101,6 +101,10 @@ SwitchToGameplayB:
ld bc, sGameplayTileMapEnd - sGameplayTileMap ld bc, sGameplayTileMapEnd - sGameplayTileMap
call UnsafeMemCopy call UnsafeMemCopy
; Zero out SCX.
ld a, -2
ldh [rSCX], a
; Clear OAM. ; Clear OAM.
call ClearOAM call ClearOAM
call SetNumberSpritePositions call SetNumberSpritePositions
@ -726,6 +730,10 @@ SwitchToGameplayBigB:
ld bc, sBigGameplayTileMapEnd - sBigGameplayTileMap ld bc, sBigGameplayTileMapEnd - sBigGameplayTileMap
call UnsafeMemCopy call UnsafeMemCopy
; Zero out SCX.
ld a, -2
ldh [rSCX], a
; Clear OAM. ; Clear OAM.
call ClearOAM call ClearOAM
call SetNumberSpritePositions call SetNumberSpritePositions

View File

@ -127,6 +127,10 @@ SwitchToTitleB:
ld bc, sTitleScreenTileMapEnd - sTitleScreenTileMap ld bc, sTitleScreenTileMapEnd - sTitleScreenTileMap
call UnsafeMemCopy call UnsafeMemCopy
; Zero out SCX.
xor a, a
ldh [rSCX], a
; Title screen easter egg. ; Title screen easter egg.
ld a, [wInitialC] ld a, [wInitialC]
cp a, $14 cp a, $14