From 5210eb7c63188ae3242741e2b2513e6504b00ee5 Mon Sep 17 00:00:00 2001 From: walkingeyerobot Date: Fri, 4 Sep 2020 01:17:05 -0400 Subject: minor formatting --- printf-in-mGBA.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/printf-in-mGBA.md b/printf-in-mGBA.md index 72c361f..c7a7abb 100644 --- a/printf-in-mGBA.md +++ b/printf-in-mGBA.md @@ -164,7 +164,8 @@ This will print out the species number for the wild Pokémon about to be encount **Note that any time you want to call `ConvertToAscii` you'll need to `#include "../gflib/string_util.h"`!** Now we'll change our `mgba_printf` call to the following: -`mgba_printf(MGBA_LOG_DEBUG, "%d %s", species, ConvertToAscii(gSpeciesNames[species]));`. + +`mgba_printf(MGBA_LOG_DEBUG, "%d %s", species, ConvertToAscii(gSpeciesNames[species]));` ## 6. Viewing the logs In order to view our logs, we'll need to use the [mGBA](https://mgba.io/) emulator. Open the log viewer by going to the "Tools" menu and selecting "View Logs...". Make sure the "Debug" checkbox is checked and you should see a message like this one when you encounter a wild Pokémon: `[DEBUG] GBA Debug: 286 POOCHYENA`. \ No newline at end of file -- cgit v1.2.3