aboutsummaryrefslogtreecommitdiff
path: root/definitions.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-01-07 19:29:17 +0900
committerAstatin <[email protected]>2025-01-07 19:30:12 +0900
commitadb2d9935253b0ea0e31b462f342aa7823697a7e (patch)
treeb17bff2c89f69bc2265b3abd09383b061cdde59c /definitions.gbasm
parentba36a613da1ce2dd822429cff4bd994094010abe (diff)
Add support for multiple enemies loaded (up to 4 loaded at dungeon gen time)
Diffstat (limited to 'definitions.gbasm')
-rw-r--r--definitions.gbasm4
1 files changed, 4 insertions, 0 deletions
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,