Question about this tutorial which uses outdated functions.


I'm currently going through the tutorial embedded below and it is using some outdated functions. I have time-stamped the video to 5:56 where you can see the code in question.
draw_enable_alphablend has been renamed to gpu_set_blendenable according to this thread I found.
So I assume it just works the same? Or close enough as to work for what was intended?
And there is another function called draw_set_color_write() that I cannot find in the manual, nor can I find reference to it on these forums. Has this been renamed/replaced with something else?
If not, what could I replace it with to get the desired function?
The comments have been disabled on the video so I can't find any answers there.