Skip to content

Adding "POKé" as a Stylized Text Option

iriv24 edited this page Jun 21, 2024 · 3 revisions

Very simple tutorial for adding "POKé" as a fancy little stylized text that you can reference in any string! (see pic for example)

poketextexample

First, open the file charmap.txt (this file should be at the top-level of your project, it's not in src or include or anything).
Next, find the the line: POKEBLOCK = 55 56 57 58 59.
Finally, above that line add POKE = 55 56.
And you're done! See small diff below:

PKMN        = 53 54
+POKE        = 55 56
POKEBLOCK   = 55 56 57 58 59

Now, in any of your strings, you can add {POKE} and it will display "POKé" in the stylized text seen in the screenshot above.
The example line of code that prints that string from the screenshot is: .string "This {POKE} looks like it can be\n".

The last thing I'll add is that if you look in your graphics/fonts folder, you can see the images where these characters get pulled from, so if you want to do more things like this, I'd suggest looking there!

Clone this wiki locally