diff options
author | walkingeyerobot <mitch@thefoley.net> | 2020-09-04 01:17:05 -0400 |
---|---|---|
committer | walkingeyerobot <mitch@thefoley.net> | 2020-09-04 01:17:05 -0400 |
commit | 5210eb7c63188ae3242741e2b2513e6504b00ee5 (patch) | |
tree | d2c147dabb2543257f2f093ea421dab6ce4c209f | |
parent | 26ae6afb9c6cad1dabb7f7568b7763ad1355751e (diff) |
minor formatting
-rw-r--r-- | printf-in-mGBA.md | 3 |
1 files changed, 2 insertions, 1 deletions
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 |