From fa37dcacf1ff0de66f5c4eed7b89be6006d6d77b Mon Sep 17 00:00:00 2001 From: Astatin Date: Tue, 17 Sep 2024 18:14:17 +0900 Subject: Add entities collisions --- definitions.gbasm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'definitions.gbasm') 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, -- cgit v1.2.3-70-g09d2