Prev: A3F3 Up: Map Next: A404
A3F8: Character -> bed (vischar)
This is the entry point for character_bed_common used when entered_move_a_character is zero.
Used by the routine at character_event.
Input
HL Pointer to location.
character_bed_vischar A3F8 LD A,(IY+$00) Read the current vischar's character index
A3FB AND A If it's not the commandant (0) then goto character_bed_common
A3FC JR NZ,character_bed_common
A3FE LD BC,$2C00 Otherwise set the commandant's route to ($2C,$00) and exit via
A401 JP set_hero_route
Prev: A3F3 Up: Map Next: A404