mansleftballoon

by soapagent

Game: SMW

Description: taking it to new heights

; Base ASM file - feel free to copy/paste this and use this for your own code.

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


!sprite_2_id = $7e00a0
!sprite_2_status = $7e14ca
!sprite_2_tweaker4 = $7e167c

lda $15
and #$02
beq end

!sprite_2_tweaker5 = $7e1688
!inflation_timer = $7e13f3
!sfx = $7e1df9
!pballoon_timer = $7e1891
	lda #$7d
	sta !sprite_2_id
	lda #$0b
	sta !sprite_2_status
	lda #$09
	sta !inflation_timer
	lda #$9a
	sta !sprite_2_tweaker4
	lda #$29
	sta !sprite_2_tweaker5
	lda #$1e
	sta !sfx

end:
	lda #$00
	rtl
back to listings