Prev: C941 Up: Map Next: C9B7
C959: Door Attributes
Used by the routine at Init_Title_Screen.
Sets the door attributes for the "time of day".
Set_Day_Attributes C959 LD HL,$C96F Call Set_Door_Attributes using Door_Attributes_Day.
C95C JR Set_Door_Attributes
This entry point is used by the routine at Init_Title_Screen.
Set_Dusk_Attributes C95E LD HL,$C987 Call Set_Door_Attributes using Door_Attributes_Dusk.
C961 JR Set_Door_Attributes
This entry point is used by the routine at Init_Title_Screen.
Set_Night_Attributes C963 LD HL,$C99F Call Set_Door_Attributes using Door_Attributes_Night.
Note this is for the opened door background hence it starts from frame 2 (as frame 1 is a closed door).
Set_Door_Attributes C966 LD DE,$D6B9 Copies $18 bytes of data to Door_Attributes_02, then return.
C969 LD BC,$0018
C96C LDIR
C96E RET
Door frame attribute data for each day phase.
Door_Attributes_Day C96F DEFB $28,$28,$30,$30,$30,$30,$30,$30 The attributes for the "day" state.
C977 DEFB $28,$28,$28,$28,$30,$30,$30,$30
C97F DEFB $28,$28,$28,$28,$28,$28,$30,$28
Door_Attributes_Dusk C987 DEFB $0D,$0D,$30,$30,$30,$30,$30,$30 The attributes for the "dusk" state.
C98F DEFB $0D,$0D,$0D,$0D,$30,$30,$30,$30
C997 DEFB $0D,$0D,$0D,$0D,$0D,$0D,$30,$0D
Door_Attributes_Night C99F DEFB $05,$05,$30,$30,$30,$30,$30,$30 The attributes for the "night" state.
C9A7 DEFB $05,$05,$05,$05,$30,$30,$30,$30
C9AF DEFB $05,$05,$05,$05,$05,$05,$30,$05
Prev: C941 Up: Map Next: C9B7