Routines |
Prev: A1A0 | Up: Map | Next: A1D3 |
This makes the hero move to bed, then sets the night-time flag.
|
||||
event_night_time | A1C3 | LD A,($A13F) | Is the hero already in his bed? | |
A1C6 | AND A | |||
A1C7 | JR NZ,event_night_time_0 | Skip route setting if so | ||
A1C9 | LD BC,$2C01 | If not in bed set the hero's route to (routeindex_44_HUT2_RIGHT_TO_LEFT, 1) to make him move to bed | ||
A1CC | CALL set_hero_route | |||
event_night_time_0 | A1CF | LD A,$FF | Set the night time flag ($FF) | |
A1D1 | JR set_attrs | Jump to set_attrs |
Prev: A1A0 | Up: Map | Next: A1D3 |