Prev: AD46 Up: Map Next: AD5D
AD57: Update Actor In Room
Used by the routine at UpdateActor.
Draws an actor which is in the same room as the player. If the actor was in the room last time then it is moved with DisplayEntity, otherwise it has just arrived and is drawn with DrawEntity. The attributes of the actor are then set.
Input
C Room of the player
IX Actor record
UpdateActorInRoom AD57 LD A,($96A2) Fetch the previous room of the actor from Previous_Room.
AD5A CP C Jump to DrawActor if the actor has just arrived in the room.
AD5B JR NZ,DrawActor
Prev: AD46 Up: Map Next: AD5D