From adb2d9935253b0ea0e31b462f342aa7823697a7e Mon Sep 17 00:00:00 2001 From: Astatin Date: Tue, 7 Jan 2025 19:29:17 +0900 Subject: Add support for multiple enemies loaded (up to 4 loaded at dungeon gen time) --- definitions.gbasm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'definitions.gbasm') diff --git a/definitions.gbasm b/definitions.gbasm index f166d8c..4fb03f2 100644 --- a/definitions.gbasm +++ b/definitions.gbasm @@ -123,6 +123,10 @@ ; } .DEFINE mem_number_of_rooms ($c8a0) +.DEFINE mem_loaded_entities_indices $c8a8 ; Takes the memory from $c8a8 to $c8ae +.DEFINE mem_loaded_enemies_indices $c8ab ; Takes the memory from $c8ab to $c8ae +.DEFINE mem_loaded_entities_indices_end $c8af ; Takes the memory from $c8a8 to $c8ae + .DEFINE mem_object_list $c900 ; Takes the memory from c900 to c97f ; struct objects { ; sprite: u8, -- cgit v1.2.3-70-g09d2