- Joined
- Feb 22, 2016
- Messages
- 1,626
- Reaction score
- 1,195
- First Language
- English
- Primarily Uses
- RMMV
Hi, could someone help me with some code? I need to change the font for a drawText function. My game currently uses a different font than the default "GameFont" via YEP_CoreEngine.js but I actually want to use that GameFont for this specific instance. This is the part where I want the font changed:
I imagine I'd only have to put it right before the 1st "drawText" since the else portion won't matter. I don't know the proper syntax for changing font though, specifically to "GameFont".
JavaScript:
if ($gameParty.numItems(item) == 0) {
this.drawText('E', x, y, width, textAlign);
} else {
this.drawText($gameParty.numItems(item), x, y, width, textAlign);
}

