leapmetothestars

by tjb0607

Game: SMW

Description: forces flight (including yoshi flight), and also sets your speed really fast when you jump

;leap me to the stars

	LDA $100|!addr	; \ only run in gamemode 14
	EOR #$14	; |
	ORA $9D		; | and when the game isn't paused
	BEQ +		; |
	RTL		; |
	+		; /
	

LDA $72
CMP #$0B
BNE +
LDA #$0C
STA $72
LDA #$50
STA $149F|!addr
STZ $140D|!addr
LDA #$02
STA $19
+

LDA $77
AND #$04
BEQ +
LDA #$50
STA $149F|!addr
LDA $16
ORA $18
AND #$80
BEQ +++
LDA #$50
LDX $76
BNE ++
LDA #$B0
++
STA $7B
BRA +++
+
LDA $15
AND #$40
BEQ +++
LDA $7D
BMI +++
LDA $1407|!addr
BNE +++
LDA #$02
STA $1407|!addr
STZ $1408|!addr
LDA #$50
STA $149F|!addr
LDA #$02
STA $19
STZ $140D|!addr
;big vertical boost
lda #$C8
sta $1409|!addr
+++
	
	RTL
back to listings