aboutsummaryrefslogtreecommitdiff
path: root/definitions.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2024-09-17 18:14:17 +0900
committerAstatin <astatin@redacted>2024-09-17 18:14:17 +0900
commitfa37dcacf1ff0de66f5c4eed7b89be6006d6d77b (patch)
treee47ab067c67fa760434dd4d63fbd4bd9e8a7d060 /definitions.gbasm
parent9e420f33a1d42db70df96c3c14d932216df637c0 (diff)
Add entities collisions
Diffstat (limited to 'definitions.gbasm')
-rw-r--r--definitions.gbasm8
1 files changed, 7 insertions, 1 deletions
diff --git a/definitions.gbasm b/definitions.gbasm
index 7342611..d44be40 100644
--- a/definitions.gbasm
+++ b/definitions.gbasm
@@ -45,7 +45,13 @@
; y: u8,
; }
+; a bit of 1 is equivalent to an entity being on the tile
+.DEFINE mem_entities_collisions $c780 ; Takes the memory from c780 to c7ff
+
+; a bit of 1 is equivalent to the tile being free
.DEFINE mem_dungeon_map $c800 ; Takes the memory from c800 to c87f
+.DEFINE mem_dungeon_map_high $c8
+
.DEFINE mem_room_list $c880 ; Takes the memory from c880 to c89f
.DEFINE mem_number_of_rooms ($c8a0)
; struct room {
@@ -64,7 +70,7 @@
; _padding: u24
; }
-.DEFINE mem_entites_list $c980 ; Until c9ff
+.DEFINE mem_entities_list $c980 ; Until c9ff
; struct entity {
; sprite: u8,
; x: u8,