Routines |
Prev: 51521 | Up: Map | Next: 51639 |
Used by the routine at Init_Title_Screen.
|
||||
Sets the door attributes for the "time of day".
|
||||
Set_Day_Attributes | 51545 | LD HL,51567 | Call Set_Door_Attributes using Door_Attributes_Day. | |
51548 | JR Set_Door_Attributes | |||
This entry point is used by the routine at Init_Title_Screen.
|
||||
Set_Dusk_Attributes | 51550 | LD HL,51591 | Call Set_Door_Attributes using Door_Attributes_Dusk. | |
51553 | JR Set_Door_Attributes | |||
This entry point is used by the routine at Init_Title_Screen.
|
||||
Set_Night_Attributes | 51555 | LD HL,51615 | 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 | 51558 | LD DE,54969 | Copies $18 bytes of data to Door_Attributes_02, then return. | |
51561 | LD BC,24 | |||
51564 | LDIR | |||
51566 | RET | |||
Door frame attribute data for each day phase.
|
||||
Door_Attributes_Day | 51567 | DEFB 40,40,48,48,48,48,48,48 | The attributes for the "day" state. | |
51575 | DEFB 40,40,40,40,48,48,48,48 | |||
51583 | DEFB 40,40,40,40,40,40,48,40 | |||
Door_Attributes_Dusk | 51591 | DEFB 13,13,48,48,48,48,48,48 | The attributes for the "dusk" state. | |
51599 | DEFB 13,13,13,13,48,48,48,48 | |||
51607 | DEFB 13,13,13,13,13,13,48,13 | |||
Door_Attributes_Night | 51615 | DEFB 5,5,48,48,48,48,48,48 | The attributes for the "night" state. | |
51623 | DEFB 5,5,5,5,48,48,48,48 | |||
51631 | DEFB 5,5,5,5,5,5,48,5 |
Prev: 51521 | Up: Map | Next: 51639 |