Update 'src/state_gameplay.asm'

This commit is contained in:
villadelfia 2023-10-18 02:10:56 +00:00
parent a9aebb6a24
commit 8e8e5b0a48
1 changed files with 2 additions and 10 deletions

View File

@ -70,16 +70,8 @@ SwitchToGameplay::
ld [wModeCounter], a
; Install the event loop handlers.
ld hl, GamePlayEventLoopHandler
ld a, l
ld [wStateEventHandler], a
ld a, h
ld [wStateEventHandler + 1], a
ld hl, BlitField
ld a, l
ld [wStateVBlankHandler], a
ld a, h
ld [wStateVBlankHandler + 1], a
ld a, 1
ldh [hGameState], a
; And turn the LCD back on before we start.
ldh a, [rLCDC]