More RAM labels

Fixed tablets checking for item collected, uses NpcFlags+1
Deleted mantle.asm, moved to lampmantlecone.asm
This commit is contained in:
cassidoxa
2022-11-24 18:34:35 -05:00
parent da8576546d
commit 7426ce5945
52 changed files with 1048 additions and 778 deletions

View File

@@ -15,20 +15,20 @@ WriteBlanksToPlayerName:
STA.l ExtendedFileNameSRAM+20
STA.l ExtendedFileNameSRAM+22
STA.l $7003D9, X ;What we wrote over (clear first byte of vanilla name slot)
STA.l FileNameVanillaSRAM, X ;What we wrote over (clear first byte of vanilla name slot)
RTL
WriteCharacterToPlayerName:
STA.l ExtendedFileNameSRAM, X
CPX.w #$0008 : !BGE +
STA.l $7003D9, X ;what we wrote over
STA.l FileNameVanillaSRAM, X ;what we wrote over
+
RTL
ReadCharacterFromPlayerName: ;Only for use on Name Screen
LDA.l ExtendedFileNameSRAM, X
CPX.w #$0008 : !BGE +
LDA.l $7003D9, X ;what we wrote over
LDA.l FileNameVanillaSRAM, X ;what we wrote over
+
RTL
@@ -40,13 +40,13 @@ PLB
RTL
WrapCharacterPosition:
LDA.w $0B12 : BPL +
LDA.w PlayerNameCursor : BPL +
LDA.b #$0B
+
CMP.b #$0C : !BLT +
LDA.b #$00
+
STA.w $0B12
STA.w PlayerNameCursor
RTL
CharacterPositions: