ThomasSpeedrunner icon

Monitor Code Related To RG Object

ThomasSpeedrunner | PRO | 07/12/13 01:24:33 PM UTC | 0 ⭐ | 384 👁️ | Never ⏰ | []
text |

270 B

|

None

|

0 👍

/

0 👎

	lea	(Object_Respawn_Table).w,a2
	moveq	#0,d0
	move.b	respawn_index(a0),d0
	bclr	#7,2(a2,d0.w)
	btst	#0,2(a2,d0.w)	; if this bit is set it means the monitor is already broken
	beq.s	+
	move.b	#8,routine(a0)	; set monitor to 'broken' state
	move.b	#$D,mapping_frame(a0)
	rts

Comments