summaryrefslogtreecommitdiff
path: root/src/home/save.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/home/save.asm')
-rw-r--r--src/home/save.asm30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/home/save.asm b/src/home/save.asm
new file mode 100644
index 0000000..58a07ce
--- /dev/null
+++ b/src/home/save.asm
@@ -0,0 +1,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