menu dark world location names

This commit is contained in:
scawful
2023-03-05 00:34:12 -06:00
parent 939ec60483
commit c3f26476d4
5 changed files with 183 additions and 110 deletions

View File

@@ -143,10 +143,10 @@ Menu_DrawItemName:
; =============================================================================
; ;LDX.w $7E00A0 ; load room number
;-------------------------------------
; -------------------------------------
TestLocationName:
dw "YOUR_HOUSE__"
;-------------------------------------
; -------------------------------------
DrawLocationName:
{
@@ -160,22 +160,23 @@ DrawLocationName:
ASL : ASL : ASL : ASL : ASL
LDY.w #$000
TAX
.loop
.draw_overworld_loop
LDA.w OverworldLocationNames, X ; Load your text character
STA.w $12CC, Y ; Store into the buffer
INX : INX
INY : INY : CPY #$0020 : BCC .loop
INY : INY : CPY #$0020 : BCC .draw_overworld_loop
RTS
.indoors
LDX.w #$16
.loop2
.draw_indoors_loop
LDA.w TestLocationName, X
STA.w $12CC, X
DEX : DEX
BPL .loop2
BPL .draw_indoors_loop
RTS
}