actor: Added ability to perform partial actor updates
authorLukas Krickl <lukas@krickl.dev>
Tue, 28 Oct 2025 17:47:25 +0000 (18:47 +0100)
committerLukas Krickl <lukas@krickl.dev>
Tue, 28 Oct 2025 17:47:25 +0000 (18:47 +0100)
src/actor.s

index 82001baeea0a58d75a5b191b82e48c8d6dcd15f2..419d8d156b157d0d669c46a64e670bbf4e6e1ce4 100644 (file)
@@ -157,6 +157,12 @@ actor_init:
 actor_update_all:
        ld de, actors
        ld b, ACTS_MAX
+       
+       ; updates a partial actor table
+       ; inputs:
+       ;               de: actors
+       ;                b: size
+actor_update_table:
 @loop:
                ; look up rotuine from table
                ld a, [de] ; a = type