How do I get the weapon icon as bitmap?
I don't know how to get the bitmap after this
I don't know how to get the bitmap after this
Code:
var bitmap = ImageManager.loadSystem('IconSet');var pw = Window_Base._iconWidth;var ph = Window_Base._iconHeight;var sx = iconIndex % 16 * pw;var sy = Math.floor(iconIndex / 16) * ph;