Update 'src/state_gameplay.asm'
This commit is contained in:
parent
a9aebb6a24
commit
8e8e5b0a48
|
@ -70,16 +70,8 @@ SwitchToGameplay::
|
||||||
ld [wModeCounter], a
|
ld [wModeCounter], a
|
||||||
|
|
||||||
; Install the event loop handlers.
|
; Install the event loop handlers.
|
||||||
ld hl, GamePlayEventLoopHandler
|
ld a, 1
|
||||||
ld a, l
|
ldh [hGameState], a
|
||||||
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
|
|
||||||
|
|
||||||
; And turn the LCD back on before we start.
|
; And turn the LCD back on before we start.
|
||||||
ldh a, [rLCDC]
|
ldh a, [rLCDC]
|
||||||
|
|
Loading…
Reference in New Issue