oddtouch

by snydej

Game:

Description: Things behave... odd when Mario holds them.

!stun_timer = $7e1540
!sprite_status = $7e14c8
!invuln_timer = $7E1497

	ldx #$0b

sprite_loop:
	lda !sprite_status,x
	cmp #$0b
	bne loop_end
	
	lda !stun_timer,x
	cmp #$10
	bpl +
	cmp #$01
	bpl loop_end
	
+	lda #$10
	sta !stun_timer,x
	lda #$28
	sta !invuln_timer
	
loop_end:
	dex
	bpl sprite_loop

rtl
back to listings