db $42
JMP Mario : JMP Mario : JMP Mario : JMP Sprite : JMP Sprite : JMP Return : JMP Return : JMP Mario : JMP Mario : JMP Mario

!norveg_hurt_timer = $0DA1
!norveg_health = $1DEF
!get_random_number = $81ACF9
!left_hand_delay_timer = $0F3A
!right_hand_delay_timer = $0F3B
!robot_state = $1B7F

Mario:
    lda !robot_state
    cmp #$02
    bcs .return
    lda !norveg_hurt_timer
    beq Return
    lda !norveg_health
    beq Return
    ldy #$00
    lda #$25
    sta $1693
    .return
    rtl

Sprite:
Return:
    rtl