diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-03-02 18:34:30 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-03-02 18:34:30 +0100 |
| commit | 3ffbeb74bae2b95452d367501b487323bb72a558 (patch) | |
| tree | c79636f776da57789989bcdda4f0a645e01121aa | |
| parent | be36184b2683e0cb93ce25ec625313fea4b33100 (diff) | |
| download | jetpac.nes-3ffbeb74bae2b95452d367501b487323bb72a558.tar.gz jetpac.nes-3ffbeb74bae2b95452d367501b487323bb72a558.zip | |
Improve some comments in enemies.s
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
| -rw-r--r-- | src/enemies.s | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/enemies.s b/src/enemies.s index b2b9ca6..ddfc5b3 100644 --- a/src/enemies.s +++ b/src/enemies.s @@ -67,6 +67,8 @@ zp_enemy_arg = $D5 ;; Values for the counter of enemies that fall. + ;; + ;; NOTE: values for this have to fit into a nibble. FALLING_VELOCITY_0 = HZ / 5 FALLING_VELOCITY_1 = HZ / 10 FALLING_VELOCITY_2 = HZ / 25 @@ -105,9 +107,7 @@ __fallthrough__ init_pool .endproc - ;; Initializes the enemy pool for this game. It requires an argument to be - ;; passed in 'Globals::zp_arg0' which contains the 'extra' state to be - ;; passed to all enemies of the pool. + ;; Initializes the enemy pool for this game. .proc init_pool ldx #0 @@ -898,7 +898,7 @@ ;; | change from the zero state to homing. ;; |- TT: timer for upwards/downwards movement. ;; - ;; NOTE: whenever we transition to homing attach, then the 'extra' state + ;; NOTE: whenever we transition to homing attack, then the 'extra' state ;; follows the one from 'basic'. Notice that bit 1 is untouched by the ;; 'basic' algorithm, which is used here to determine that we are in the ;; 'homing' state. |
