Next level = 100

This commit is contained in:
Randy Thiemann 2023-10-16 07:52:32 +02:00
parent c33caf39e4
commit 4d46396e37
2 changed files with 9 additions and 5 deletions

View File

@ -47,6 +47,10 @@ SwitchToGameplay::
call LevelInit call LevelInit
call FieldInit call FieldInit
; Next level is 0100.
ld a, 1
ld [wNLevel+1], a
; We don't start with a held piece. ; We don't start with a held piece.
ld a, PIECE_NONE ld a, PIECE_NONE
ld [wHeldPiece], a ld [wHeldPiece], a
@ -54,7 +58,7 @@ SwitchToGameplay::
; Leady mode. ; Leady mode.
ld a, MODE_LEADY ld a, MODE_LEADY
ld [wMode], a ld [wMode], a
ld a, 150 ld a, 90
ld [wModeCounter], a ld [wModeCounter], a
; Install the event loop handlers. ; Install the event loop handlers.
@ -101,7 +105,7 @@ leadyMode:
jr nz, :+ jr nz, :+
ld a, MODE_GO ld a, MODE_GO
ld [wMode], a ld [wMode], a
ld a, 150 ld a, 90
: ld [wModeCounter], a : ld [wModeCounter], a
ld de, sLeady ld de, sLeady
ld hl, wField+(10*10) ld hl, wField+(10*10)

View File

@ -1,5 +1,5 @@
#Emulicious settings file #Emulicious settings file
#Mon Oct 16 07:46:46 CEST 2023 #Mon Oct 16 07:51:58 CEST 2023
WindowEventViewerWindowHeight=861 WindowEventViewerWindowHeight=861
WindowEventViewerWindowDivider=309 WindowEventViewerWindowDivider=309
WindowMemoryTracerWindowY=631 WindowMemoryTracerWindowY=631
@ -198,8 +198,8 @@ GameBoyErrorBreakpointMessage32=
InterruptBreakpointCondition= InterruptBreakpointCondition=
Recent0=C\:\\workspace\\dmgtris\\bin\\out.gb Recent0=C\:\\workspace\\dmgtris\\bin\\out.gb
GameBoyErrorBreakpointMessage20= GameBoyErrorBreakpointMessage20=
WindowEmuliciousY=192 WindowEmuliciousY=340
WindowEmuliciousX=661 WindowEmuliciousX=947
GameBoyErrorBreakpointEnabled9=false GameBoyErrorBreakpointEnabled9=false
GameBoyErrorBreakpointEnabled8=false GameBoyErrorBreakpointEnabled8=false
GameBoyErrorBreakpointEnabled7=false GameBoyErrorBreakpointEnabled7=false