aboutsummaryrefslogtreecommitdiff
path: root/src/jetpac.s
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-03-07 23:27:28 +0100
committerMiquel Sabaté Solà <mssola@mssola.com>2026-03-08 16:50:06 +0100
commit220c80b987ba54d709180e3d95e9e0d82af4249c (patch)
tree2b84b016d70650ad57a2acb8ad6ca7c28ff8629d /src/jetpac.s
parente8f39dc4a7cc19fb97e24ec0819ccd964cbd325f (diff)
downloadjetpac.nes-220c80b987ba54d709180e3d95e9e0d82af4249c.tar.gz
jetpac.nes-220c80b987ba54d709180e3d95e9e0d82af4249c.zip
Define the bitmap for multiplayer support
Also give it a dummy value on start and initialize it properly after the player's selection on the title screen. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'src/jetpac.s')
-rw-r--r--src/jetpac.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jetpac.s b/src/jetpac.s
index 52ec1f7..e8d6543 100644
--- a/src/jetpac.s
+++ b/src/jetpac.s
@@ -124,6 +124,7 @@
;; have zero as their initial values. Note that it's important to have these
;; variables defined before
sta Globals::zp_flags
+ sta Globals::zp_multiplayer
sta Joypad::zp_buttons1
sta Joypad::zp_buttons2
sta Player::zp_state