diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-03-06 23:59:52 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-03-07 00:00:14 +0100 |
| commit | 620812b5a9edc882ea5ab159914c4ff75a6cf51e (patch) | |
| tree | 16b31aa3c5dbc2334da0184a500744bc2c7a3629 /src | |
| parent | f21e394e597e198d1e10bca7fd8a5e1103e95a6c (diff) | |
| download | jetpac.nes-620812b5a9edc882ea5ab159914c4ff75a6cf51e.tar.gz jetpac.nes-620812b5a9edc882ea5ab159914c4ff75a6cf51e.zip | |
Update the explosions' pool capacity
More enemies means more possible explosions. Hence, increase the pool's
capacity by one to match the recent change in enemies per screen.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/explosions.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/explosions.s b/src/explosions.s index 58a700e..b5d404c 100644 --- a/src/explosions.s +++ b/src/explosions.s @@ -13,7 +13,7 @@ ;; Maximum amount of explosions allowed on screen at the same time. At ;; maximum it can happen that all enemies explode at the same time (3), plus ;; some animation (e.g. player blasting off). - EXPLOSIONS_POOL_CAPACITY = 3 + 1 + EXPLOSIONS_POOL_CAPACITY = 4 + 1 ;; The capacity of the explosions pool in bytes. EXPLOSIONS_POOL_CAPACITY_BYTES = EXPLOSIONS_POOL_CAPACITY * 3 @@ -32,7 +32,7 @@ zp_pool_base = $70 ; asan:reserve EXPLOSIONS_POOL_CAPACITY_BYTES ;; Number of active explosions at the moment. - zp_active = $7C + zp_active = $7F ;; The amount of time each explosion frame will take. FRAME_TIME = HZ / 20 |
