Add MenuSpeed option

This commit is contained in:
Wulfy
2017-11-12 23:17:00 -05:00
parent 7c876b317e
commit d41c1fbafd
2 changed files with 12 additions and 2 deletions

View File

@@ -142,7 +142,10 @@ BringMenuDownEnhanced:
RTL
+
REP #$20 ; set 16-bit accumulator
LDA $EA : !SUB.w #$0008 : STA $EA : CMP.w #$FF18
LDA $EA : !SUB.l MenuSpeed : STA $EA : CMP.w #$FF18
!BGE .noOvershoot
LDA.w #$FF18 : STA $EA : CMP.w #$FF18
.noOvershoot
SEP #$20 ; set 8-bit accumulator
BNE .notDoneScrolling
INC $0200
@@ -153,7 +156,10 @@ RaiseHudMenu:
LDA.l QuickMenu : AND.l TournamentSeedInverse : AND.w #$00FF : BEQ +
LDA.w #$0000 : STA $EA : RTL
+
LDA $EA : !ADD.w #$0008 : STA $EA
LDA $EA : !ADD.l MenuSpeed : STA $EA
!BLT .noOvershoot
LDA.w #$0000 : STA $EA
.noOvershoot
RTL
;================================================================================
ShowDungeonItems:

View File

@@ -227,6 +227,10 @@ db #$04 ; #$04 - 4 Bottles (default)
BottleLimitReplacement:
db #$47 ; #$47 - 20 Rupees (default)
;--------------------------------------------------------------------------------
org $3080b0 ; PC 0x1800b0
MenuSpeed:
dw #$0008 ; #$0008 (default)
;--------------------------------------------------------------------------------
org $308100 ; PC 0x180100 (0x40 bytes)
ShovelSpawnTable:
db $B2 ; Gold Bee