;Demonstrative ASM for door scroll pointers.
;This 'template' can easily be edited and compiled for any room.
;Just make sure that the "org $8F####" is a pointer to free space.
;The #### will naturally be the door scroll pointer you need to use.
;Use an extra STA $7ECD## for each scroll you want to change.
;The ; before certain text means that it's a comment.
;Comments won't be compiled into the ROM.
;Needless to say, don't remove the ; unless you remove the comment too.
;If you're not using all 3 scroll colors, you can remove the LDA/STAs.

;------------------------------------------------ 
;## = screen # to load scroll color to, +20 

org $8FEB00   ;free space in bank $8F; offset 7EB00
PHP           ;Initiates the ASM below
SEP #$20      ;Initiates the ASM below

LDA #$00      ;load red scroll to...
STA $7ECD##   ;screen ##
STA $7ECD##   ;screen ##

LDA #$01      ;load blue scroll to...
STA $7ECD##   ;screen ##
STA $7ECD##   ;screen ##

LDA #$02      ;load green scroll to...
STA $7ECD##   ;screen ##
STA $7ECD##   ;screen ##

PLP           ;End of door scroll ASM
RTS           ;End of door scroll ASM
;------------------------------------------------


;Do this for each door pointer you need. The above example was for one door.
