Faster lanmolas

This commit is contained in:
2023-03-18 23:02:50 -05:00
parent 083a93766c
commit 9f6bd61bdf
2 changed files with 14 additions and 0 deletions

View File

@@ -2689,3 +2689,8 @@ db $30, $2C, $22, $12, $00, $EE, $DE, $D4
db $D0, $D4, $DE, $EE, $00, $12, $22, $2C
db $00, $12, $22, $2C, $30, $2C, $22, $12
db $00, $EE, $DE, $D4, $D0, $D4, $DE, $EE
; make lanmolas faster
org $05A4BD
JSL SetLanmolaVelocity
BRA + : NOP #4 : +

View File

@@ -163,3 +163,12 @@ CheckMoldormRepel:
SEC : RTL
.not_moldorm
CLC : RTL
SetLanmolaVelocity:
LDA.b $00
ASL
STA.w $0D40, X
LDA.b $01
ASL
STA.w $0D50, X
RTL