From 37b2ae63e1c06a4be338137704ea5d79357f63fa Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Sun, 15 Dec 2024 19:11:52 +0100 Subject: [PATCH] Added docs for room transitions --- src/map.s | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/map.s b/src/map.s index 258d510..9ccc926 100644 --- a/src/map.s +++ b/src/map.s @@ -33,7 +33,7 @@ ; they will transition to the map to the north/south/east/west ; a map also contains a memory region for all the room's tables ; room: - ; a room is a collection of tiles, falgs and actor tables + ; a room is a collection of tiles, falgs, exits and actor tables ; loads a map ; inputs: @@ -49,6 +49,13 @@ room_load_from: call room_load_actors ret + ; transitions to a new room + ; that is part of the map: + ; inputs: + ; curr_room_exits: ptr to exits table + ; a: direction EAST, WEST, NORTH, SOUTH +room_goto: + ret ; loads actors from ; [curr_room_init_act] -- 2.30.2