map: renamed base room table to f1 room table
authorLukas Krickl <lukas@krickl.dev>
Fri, 3 Jan 2025 09:27:48 +0000 (10:27 +0100)
committerLukas Krickl <lukas@krickl.dev>
Fri, 3 Jan 2025 09:27:48 +0000 (10:27 +0100)
src/map.s

index d25d4771fae1b1bb954eb4c4610ff68bcc109eb4..7c9a60eef4f036a672bdc4f962e739b92c576c23 100644 (file)
--- a/src/map.s
+++ b/src/map.s
@@ -28,9 +28,6 @@
 
 #define TEXIT1 0x4E
 
-  ;  count of all pointers in base room table
-#define BASE_ROOM_TABLE_LEN ((base_room_table_end - base_room_table) / 2)
-
 
   ; maps: 
   ;   a map is a collection of room structs
@@ -1020,20 +1017,22 @@ map_gen_copy_base_room:
 #include "base_room.s"
 #include "base_room2.s"
 
+  ;  count of all pointers in base room table
+#define F1_ROOM_TABLE_LEN ((f1_room_table_end - f1_room_table) / 2)
 
   ; the first byte of the table is the length of the table 
   ; a table of all base room ptrs
   ; length must be divisible by 2
-base_room_table:
-  .db BASE_ROOM_TABLE_LEN
+f1_room_table:
+  .db F1_ROOM_TABLE_LEN
   dw base_room_header
   dw base_room2_header
-base_room_table_end:
+f1_room_table_end:
 
   ; a table of all room tables 
   ; to allow for room sets per level
 room_tables:
-  dw base_room_table
+  dw f1_room_table
 
   ; exit table for empty exits 
 room_empty_exits: