summaryrefslogtreecommitdiff
path: root/src/home/save.asm
blob: 58a07ce58067b2d501c82525122a1f2df2132f94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SaveGeneralSaveData:
	farcall _SaveGeneralSaveData
	ret

LoadGeneralSaveData:
	farcall _LoadGeneralSaveData
	ret

ValidateGeneralSaveData:
	farcall _ValidateGeneralSaveData
	ret

; adds card with card ID in register a to collection
; and updates album progress in RAM
AddCardToCollectionAndUpdateAlbumProgress:
	farcall _AddCardToCollectionAndUpdateAlbumProgress
	ret

SaveGame:
	push af
	push bc
	push de
	push hl
	ld c, $00
	farcall _SaveGame
	pop hl
	pop de
	pop bc
	pop af
	ret