aboutsummaryrefslogtreecommitdiff
path: root/src/title.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/title.s')
-rw-r--r--src/title.s11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/title.s b/src/title.s
index e3a2086..06ca1cb 100644
--- a/src/title.s
+++ b/src/title.s
@@ -89,9 +89,18 @@
rts
.endproc
- ;; Save the selection from the menu (TODO), hide all elements from the title
+ ;; Save the selection from the menu, hide all elements from the title
;; screen, and return always 1.
.proc start
+ ;; Select whether player 2 is to be alive or not.
+ lda #%00000010
+ ldx OAM::m_sprites
+ cpx #SPRITE_Y_POSITION1
+ bne @set_multi
+ ora #%10000100
+ @set_multi:
+ sta Globals::zp_multiplayer
+
;; Hide the sprite from the menu.
lda #$EF
sta OAM::m_sprites