defs: Reduced actor max to 16
authorLukas Krickl <lukas@krickl.dev>
Sun, 28 Sep 2025 16:02:00 +0000 (18:02 +0200)
committerLukas Krickl <lukas@krickl.dev>
Sun, 28 Sep 2025 16:02:00 +0000 (18:02 +0200)
src/defs.s
src/mem.s

index b39e0dc673833b323e0c699b6c533251422c46c9..b77f0c41859eab6d90ed595c0d9d3d18109d2626 100644 (file)
@@ -13,7 +13,7 @@
 
 #define NULL 0
 
-#define ACTS_MAX 32 
+#define ACTS_MAX 16 
 #define MAP_OBJ_MAX 32
 #define RECT_MAX 12 
 
index f442af9490fcf9122a156120bfdf204e9ba171ef..ae06a618175c983540f2d54f225b5135eb595572 100644 (file)
--- a/src/mem.s
+++ b/src/mem.s
@@ -92,7 +92,9 @@ memset:
   or a, c
   jp nz, @loop
   ret
-
+       
+       ; clears the remaining 
+       ; oam entries in soam
 shadow_oam_clear:
   ld bc, OBJSMAX * oamsize
   ld hl, shadow_oam