onEvent(name, value1, value2)
function opponentNoteHit(id, noteData, noteType, isSustainNote)
if getProperty('health') > (value2 / 50) and getProperty('health') < (value1 / 50) then
setProperty('health', (value2 / 50))
else if getProperty('health') > (value2 / 50) and getProperty('health') > (value1 / 50) then
setProperty('health', getProperty('health')-(value1 / 50))
end
end
end
end