How to draw icons?

Hey it's me again...

This time i'm asking how do i draw icons.

I started a script that whenever you get Munny,Item,Armor,Weapon it will display the icon and how many you got in one tile up of the hero's.

And i even touch that music: Tarararin!(Zelda treasure box open se).

And via a script call you can change the se(When you open important treasure box[Like zelda])

I already got the concept of how doing it,but i really don't know how to draw the icon...

Thanks in advance.
Simply call draw_icon(icon_index, x, y) from any window class
Thanks again Theo. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/how-to-draw-icons.33021/