Prev: 44358 Up: Map Next: 44381
44375: 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 44375 LD A,(38562) Fetch the previous room of the actor from Previous_Room.
44378 CP C Jump to DrawActor if the actor has just arrived in the room.
44379 JR NZ,DrawActor
Prev: 44358 Up: Map Next: 44381