blob: 0efa5f15d3a0147a370619bfdee326ca2502b74b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
SaveGame: ; 0xda05
ld de, MUSIC_NOTHING
call PlaySong
ld bc, $0004
call AdvanceFrames
call FadeOut
ld a, [wUpdateAudioEngineUsingTimerInterrupt]
and a
call nz, ToggleAudioEngineUpdateMethod
call DisableLCD
ld hl, hSTAT
res 6, [hl]
ld hl, rIE
res 1, [hl]
xor a
ld [wDrawBottomMessageBox], a
ld a, SCREEN_TITLESCREEN
ld [wCurrentScreen], a
xor a
ld [wScreenState], a
ret
|