If you save at choices and pay attention to what gets you the little blue heart (that's Joseph's) then you can get the good ending